home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!utcsri!bonnie.concordia.ca!clyde.concordia.ca!altitude!Nyongwa.CAM.ORG!steve
- From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
- Newsgroups: comp.os.linux
- Subject: Re: getty_ps and modem carrier loss
- Keywords: getty, modem, dialup
- Message-ID: <BtMM4q.16z8@Nyongwa.CAM.ORG>
- Date: 27 Aug 92 05:05:14 GMT
- References: <k-+n=9m.james@netcom.com> <1992Aug22.162204.135@cpumagic.scol.pa.us>
- Organization: Chiral Symmetry Breaking, Inc.
- Lines: 44
-
- In article <1992Aug22.162204.135@cpumagic.scol.pa.us> mloewen@cpumagic.scol.pa.us (Michael C. Loewen) writes:
- >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.
- [..]
- >
- > 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
-
- Yeah, I guess that's one way. A shorter way is using the 'SANE' settings,
- which does include HUPCL.
-
- Are others having this problem?
-
- Last week A. Rumble posted about this, so I logged in to my system over the
- modem and dropped carrier several times. Every time the shell died, even
- if I was running another program like elm or rn.
-
- Then I tried doing weird things like starting a bunch of shells (bash; wait
- for the prompt; bash; wait for the prompt; bash...), or running login to login
- as another user. A couple of times when I did this, some, but not all of
- the shells I started died, leaving two or three running, and of course, no
- getty.
-
- I guess I should see if this is repeatable. But it's late now, and I was
- just wondering if anyone had an idea of what's going on.
-
- Doesn't the signal go to the process that originally opened the device?
- That would be the original shell (exec'd from getty) so why would hanging up
- kill off some of the newer shells, but leave the old one running??
-
- Steve
-
- --
- Steve Robbins -- steve@nyongwa.cam.org
- I asked Hank Williams "how lonely does it get?"
- Hank Williams hasn't answered yet.
-