Csh and stty

Erik E. Fair fair at dual.UUCP
Thu Aug 9 12:55:30 AEST 1984


Actually, you're getting the stty information for the pipe...
Stty in V7 & 4BSD did the gtty() call on fd #1 (stdout), which
is where your pipe is going. One construction which will do the
right thing is:

	(stty everything > /dev/tty) |& more

The `&' is necessary because V7/4BSD stty prints its output on stderr.

	Erik E. Fair	ucbvax!fair	fair at ucb-arpa.ARPA

	dual!fair at BERKELEY.ARPA
	{ihnp4,ucbvax,hplabs,decwrl,cbosgd,sun,nsc,apple,pyramid}!dual!fair
	Dual Systems Corporation, Berkeley, California



More information about the Net.bugs mailing list