Submission for comp-unix-microport
UNIX-UNIX Cp
uucp at tolerant.UUCP
Sat Jan 7 19:08:30 AEST 1989
Path: tolerant!voder!apple!rutgers!ucsd!sdcc6!sdcc19!sdcc15!pa1293
From: pa1293 at sdcc15.ucsd.edu (pa1293)
Newsgroups: comp.unix.microport
Subject: Re: Compaq 386/25mhz bugs
Keywords: Compaq, fuser, getty
Message-ID: <836 at sdcc15.ucsd.edu>
Date: 5 Jan 89 20:09:15 GMT
References: <4464 at pbhyf.PacBell.COM>
Reply-To: pa1293 at sdcc15.UUCP ()
Organization: University of California, San Diego
Lines: 25
In article <4464 at pbhyf.PacBell.COM> jlkar at 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 at sdcc15.ucsd.edu
More information about the Comp.unix.microport
mailing list