stty

Dave Hammond daveh at marob.MASA.COM
Fri Apr 21 00:24:41 AEST 1989


In article <506 at contact.UUCP> root at contact.UUCP (root at contact.uucp) writes:
> An interesting idea I cam across while trying to fix a user's tty settings. 
>stty sane will reset the terminal settings of your own terminal, but is there
>any way to include (say, for root) the option to affect another user's
>terminal? (ie. in my case, the best way to fix the problem would have been to
>issue a stty sane at the affected terminal (that way done), but is there
>anyway root, or the administrator could issue this in a remote fashion?)

Assumging the terminal to be reset is `/dev/tty4a' :

stty sane < /dev/tty4a

BTW, you probably don't have to be `root' to do this, since user's tty
devices are often world-writeable.

--
Dave Hammond
daveh at marob.masa.com



More information about the Comp.unix.xenix mailing list