Re: funny terminal behavior

Carsten Paeth (calle@calle.in-berlin.de)
Mon, 8 Jul 1996 17:47:55 +0200 (MET DST)


>
> I have discovered something very funny.
>
> Log in from the console, serial terminal (I haven't tried modem) or from the
> network.
>
> $ cat big-file
>
> immediately press Ctrl-S
>
> and now you can't shutdown system until you press Ctrl-Q
>
> After Alt-Ctl-Del you can continue your work.
> ps shows:
>
> PID TTY STAT TIME COMMAND
> 176 ? D 0:00 /sbin/shutdown -t3 -rf now
>
>
> I'm not sure if it proper behavior.....

It has nothing to do with the kernel, it is your shutdown
that is broken. It tries to send a message to each user and will
block. Try a newer version of shutdown (util-linux-2.5).
This version opens the tty nonblocking.

>
> Bye,
>
> Jacek
>
> PS. Same in 1.2.13, 2.0.0, 2.0.3
>
>

calle

-- 
calle@calle.in-berlin.de