Csh and stty

Barry Margolin barmar at mit-eddie.UUCP
Mon Aug 13 09:39:20 AEST 1984


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 at MIT-Multics
    UUCP: ..!genrad!mit-eddie!barmar



More information about the Comp.unix mailing list