[TUHS] 4.3BSD help: getty ignoring modem status
lm at mcvoy.com
Sun Mar 19 16:18:54 AEST 2017
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
More information about the TUHS