home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mips
- Path: sparky!uunet!cs.utexas.edu!tamsun.tamu.edu!ee.tamu.edu!utama
- From: utama@ee.tamu.edu (Peter Utama)
- Subject: uugetty and LCK..tty file
- Message-ID: <1992Nov20.211912.7316@tamsun.tamu.edu>
- Sender: news@tamsun.tamu.edu (Read News)
- Organization: Texas A&M University
- Date: Fri, 20 Nov 1992 21:19:12 GMT
- Lines: 35
-
- Hi !
-
- I am trying to use a faxmodem that can have modem dial-in (for login)
- and fax dial-out. I use mips RS3230 with RISC os 4.52.
-
- I use uugetty on the tty line to get the login.
- my entry at /etc/inittab looks like:
-
- dw:234:respawn:/usr/lib/uucp/uugetty -r -t 60 ttydm0 du_38400 none LDISC0
-
- the fax process will create a LCK..tty file with its pid in it
- in /usr/spool/locks whenever it wants to send a fax and
- the line is free (no LCK..tty created by uugetty)
-
- the problem is that when the Carrier Dettect goes high (when fax process
- dials out and gets connected) uugetty will still try to take control of
- the line even though there is a LCK file created by fax process
- (uugetty first remove the LCK file then created its own).
- According to the manual it shouldn't do that if the pid inside the LCK file
- is a valid one.
-
- What am I doing wrong? is there a special way in creating the LCK file
- so uugetty will recognize it and not try to take control of the line
- when other process is using the line?
- How exactly cu, ct, and uucico use the LCK feature to cooperate with uugetty?
-
- Any comments and helps would be greatly appreciated
-
- thanks,
-
- peter
-
- utama@ee.tamu.edu
- Dept of Electrical Eng
- Texas A&M Univ
-