Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!eru!luth!sunic!mcsun!hp4nl!mhres!jv From: jv@mh.nl (Johan Vromans) Newsgroups: comp.unix.wizards Subject: Re: Which is more portable: stty < or stty > Message-ID: Date: 13 Mar 90 23:23:12 GMT References: <3354@muffin.cme.nist.gov> <12339@smoke.BRL.MIL> Sender: news@mhres.mh.nl Organization: Multihouse Gouda, the Netherlands Lines: 21 In-reply-to: gwyn@smoke.BRL.MIL's message of 13 Mar 90 03:10:39 GMT [On the topic of using stdin or stdout for stty(1)] In article <12339@smoke.BRL.MIL> gwyn@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@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" -------------------------