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

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