home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8822 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!decwrl!csus.edu!netcom.com!james
  3. From: james@netcom.com (James L. Paul)
  4. Subject: getty_ps and modem carrier loss
  5. Message-ID: <k-+n=9m.james@netcom.com>
  6. Date: Sat, 22 Aug 92 04:02:29 GMT
  7. Organization: Netcom
  8. Keywords: getty, modem, dialup
  9. Lines: 19
  10.  
  11. I'm using uugetty and getty from the getty_ps package with Linux 0.97.1
  12. Everything is working great, dialups are easy and the autobaud method is
  13. 'charming.' However, I'm having trouble getting the shell (or whatever the
  14. current parent process is) to die when modem carrier is lost before logout.
  15.  
  16. I have a smart modem, and am using &c1&d2&s1 for the relevant settings.
  17.      &c1 makes the DCD track the modem carrier status
  18.      &d2 disconnects in response to a DTR drop (not really relevant here)
  19.      &s1 makes the DSR follow EIA specs. (I thought this was the key, but no.)
  20.  
  21. I need to generate a SIGHUP (I assume) to the process when a connection dies
  22. before logout, but this doesn't seem to be happening. How do I fix it?
  23. -- 
  24. James L. Paul
  25.  
  26. Internet:    netcom!james@apple.com | AppleLink: D1231 | CompuServe: 72767,3436
  27. UUCP:   {apple,amdahl}!netcom!james | GEnie:    J.PAUL | Voice:    607 776-3070
  28. Packet: N6SIW@WB2PSI.#WNY.NY.USA.NA | Delphi:   JLPaul | Home Fax: 607 776-3070
  29. America Online:   JLPaul or Memorex | BIX:      JLPaul | Prodigy:       PWTB41A
  30.