Path: utzoo!mnetor!uunet!ccicpg!felix!zemon From: sullivan@marge.math.binghamton.edu (fred sullivan) Newsgroups: comp.unix.ultrix Subject: log out on dropped line Message-ID: <24044@felix.UUCP> Date: 5 Mar 88 00:58:56 GMT Sender: zemon@felix.UUCP Reply-To: sullivan@marge.math.binghamton.edu (fred sullivan) Organization: SUNY Binghamton, NY Lines: 18 Approved: zemon@felix.UUCP Reply-Path: 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