Compaq 386/25mhz bugs
pa1293
pa1293 at sdcc15.ucsd.edu
Fri Jan 6 06:09:15 AEST 1989
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