home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!gatech!psuvax1!cpumagic!mloewen
- From: mloewen@cpumagic.scol.pa.us (Michael C. Loewen)
- Subject: Re: getty_ps and modem carrier loss
- Message-ID: <1992Aug22.162204.135@cpumagic.scol.pa.us>
- Keywords: getty, modem, dialup
- Organization: The Centre Programmers Unit BBS
- References: <k-+n=9m.james@netcom.com>
- Date: Sat, 22 Aug 1992 16:22:04 GMT
- Lines: 29
-
- In article <k-+n=9m.james@netcom.com> james@netcom.com (James L. Paul) writes:
- >I'm using uugetty and getty from the getty_ps package with Linux 0.97.1
- >Everything is working great, dialups are easy and the autobaud method is
- >'charming.' However, I'm having trouble getting the shell (or whatever the
- >current parent process is) to die when modem carrier is lost before logout.
- >
- >I have a smart modem, and am using &c1&d2&s1 for the relevant settings.
- > &c1 makes the DCD track the modem carrier status
- > &d2 disconnects in response to a DTR drop (not really relevant here)
- > &s1 makes the DSR follow EIA specs. (I thought this was the key, but no.)
- >
- >I need to generate a SIGHUP (I assume) to the process when a connection dies
- >before logout, but this doesn't seem to be happening. How do I fix it?
- >--
- >James L. Paul
- >
- [.sig deleted]
-
- Check your /etc/gettydefs file, and make sure the entry you're using has
- 'HUPCL' added to it. I'm running getty_ps on a SVR4 system, with the modem
- locked at 19200 baud. Here's an entry from my gettydefs:
-
- 19200USR# B19200 OPOST ONLCR TAB3 BRKINT IGNPAR IXON IXANY ISTRIP ECHO ECHOE
- ECHOK ICANON ISIG HUPCL CS8 CREAD # B19200 OPOST ONLCR TAB3 BRKINT IGNPAR IXON
- IXANY ISTRIP ECHO ECHOE ECHOK ICANON ISIG HUPCL CS8 CREAD #login: #19200USR
-
- --
- Mike Loewen The Centre Programmers Unit BBS
- mloewen@cpumagic.scol.pa.us (814) 353-0566 V.32bis/HST
-