Which is more portable: stty < or stty >
Johan Vromans
jv at mh.nl
Wed Mar 14 09:23:12 AEST 1990
[On the topic of using stdin or stdout for stty(1)]
In article <12339 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
> System V assumes you may want to redirect the output somewhere other
> than the terminal being probed.
This seems quite logical to me, considering things like
STTY_FLAGS=`stty -g < /dev/tty`
sane() { stty ${STTY_FLAGS}; }
You can't do this from your BSD .login .
Johan
--
Johan Vromans jv at mh.nl via internet backbones
Multihouse Automatisering bv uucp: ..!{uunet,hp4nl}!mh.nl!jv
Doesburgweg 7, 2803 PL Gouda, The Netherlands phone/fax: +31 1820 62944/62500
------------------------ "Arms are made for hugging" -------------------------
More information about the Comp.unix.wizards
mailing list