Article View: net.bugs
Article #262Re: Csh and stty
From: Barry Margolin
Date: Sun, 12 Aug 1984 23:39
Date: Sun, 12 Aug 1984 23:39
14 lines
1077 bytes
1077 bytes
I use Uniplus+ System III, and here "stty" looks at stdin, NOT stdout.
It prints its output on stdout. This seems like a much more reasonable
arrangement. There is an option (-g) which makes it output an octal
string that can be used as input for another stty. Since it outputs on
stdout, this can be used as
OLDMODES=`stty -g`
stty ...
....
stty $OLDMODES
--
Barry Margolin
ARPA: barmar@MIT-Multics
UUCP: ..!genrad!mit-eddie!barmar
Technical Details
Message-ID:
<2540@mit-eddie.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!mgnetp!ihnp4!mit-eddie!barmarReferences:
<895@trwrb.UUCP> <5024@utcsrgv.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!mgnetp!ihnp4!mit-eddie!barmar From: barmar@mit-eddie.UUCP (Barry Margolin) Newsgroups: net.bugs,net.unix Subject: Re: Csh and stty Message-ID: <2540@mit-eddie.UUCP> Date: Sun, 12-Aug-84 19:39:20 EDT Article-I.D.: mit-eddi.2540 Posted: Sun Aug 12 19:39:20 1984 Date-Received: Mon, 13-Aug-84 03:33:20 EDT References: <895@trwrb.UUCP> <5024@utcsrgv.UUCP> Reply-To: barmar@mit-eddie.UUCP (Barry Margolin) Organization: MIT, Cambridge, MA Lines: 14