[comp.unix.ultrix] log out on dropped line

sullivan@marge.math.binghamton.edu (fred sullivan) (03/05/88)

I recently installed autobaud from comp.sources (which was written for
4.3BSD).  It is a replacement for getty which sets the line speed
automatically.  It works, except for the following intolerable problem:
if a user turns off his terminal, he is not logged out, and the next
person using that line finds himself in the middle of a session.  This 
does NOT happen if the login is done through getty.  I checked the call
to ioctl and NOHANG is not set.  We are running Ultrix 2.0 on a MVII with
a DZQ11 connected to a Develcon data switch.  Now its possible that the
data switch doesn't drop the carrier on a hangup, but it at least drops DSR
(I think).  Something certainly happens.  I'm sure that I just need the
proper flags for ioctl.  Any ideas?

Fred Sullivan
Department of Mathematical Sciences
State University of New York at Binghamton
Binghamton, New York  13903
Email: sullivan@marge.math.binghamton.edu