Path: utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!tolerant.UUCP!uucp From: uucp@tolerant.UUCP (UNIX-UNIX Cp) Newsgroups: comp.unix.microport Subject: Submission for comp-unix-microport Message-ID: <8901070908.AA06842@handel.TOLERANT> Date: 7 Jan 89 09:08:30 GMT Sender: uuclerk@ucbvax.BERKELEY.EDU Lines: 37 Path: tolerant!voder!apple!rutgers!ucsd!sdcc6!sdcc19!sdcc15!pa1293 From: pa1293@sdcc15.ucsd.edu (pa1293) Newsgroups: comp.unix.microport Subject: Re: Compaq 386/25mhz bugs Keywords: Compaq, fuser, getty Message-ID: <836@sdcc15.ucsd.edu> Date: 5 Jan 89 20:09:15 GMT References: <4464@pbhyf.PacBell.COM> Reply-To: pa1293@sdcc15.UUCP () Organization: University of California, San Diego Lines: 25 In article <4464@pbhyf.PacBell.COM> jlkar@pbhyf.PacBell.COM (SRVAC 4w400ee-John L. Karsner) writes: >1) I hooked up a NEC 2420/30 (2400baud) modem to port 0 and found a very >interesting little annoyance. That is, when calling into the machine from the >outer worlds and trying to log off, you can't. Well I mean you can't do it the >normal way. Upon entering ^D or exit at your prompt, this darn thing spawns >a new getty so fast that you get a login in prompt once again. The only thing >that really works and does not leave the modem hung is to logout using the >command stty 0. I called tech support and they confirmed this little bug for try putting this in .profile as a temporary fix. logout () { banner "Bye Bye!!!" stty 0 } trap logout 0 this will leave the logout function in the lowest level shell and will log the user out using "stty 0" even if ctrl-D is hit. I use this method on my account to log both logins and logouts to a file and it has not failed so far. ----------------- John Marco pa1343@sdcc15.ucsd.edu