From mboxrd@z Thu Jan 1 00:00:00 1970 From: lm@mcvoy.com (Larry McVoy) Date: Sat, 18 Mar 2017 23:18:54 -0700 Subject: [TUHS] 4.3BSD help: getty ignoring modem status In-Reply-To: <20170319055736.GA26709@minnie.tuhs.org> References: <20170319055736.GA26709@minnie.tuhs.org> Message-ID: <20170319061854.GA28286@mcvoy.com> This sounds like a setsid() like problem. As in the server is not cleaning up. BSD didn't have setsid, I think that was a POSIX thing and it was one of the good things that POSIX added. That's my memory, someone will correct it. On Sun, Mar 19, 2017 at 03:57:36PM +1000, Warren Toomey wrote: > Hi all, over on the uucp project we are struggling with a problem. If a > user is logged in with telnet, and they disconnect the telnet session, > their shell hangs around. The next person that telnets in gets the shell. > > SimH, with the -a -m flags on a simulated DZ line, has these modem flags: > > Telnet connected: Modem Bits: DTR RTS DCD CTS DSR > Telnet disconnected: Modem Bits: DTR RTS DSR > > So, DCD and CTS are being dropped, but getty (or something) isn't responding > and (presumably) sending a HUP signal to the shell. > > Is there anybody with some modem or getty knowledge that can help? > > Thanks, Warren -- --- Larry McVoy lm at mcvoy.com http://www.mcvoy.com/lm