Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1+some 2/3/84; site dual.UUCP
Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!ames!dual!fair
From: fair@dual.UUCP (Erik E. Fair)
Newsgroups: net.bugs
Subject: Re: Csh and stty
Message-ID: <747@dual.UUCP>
Date: Wed, 8-Aug-84 22:55:30 EDT
Article-I.D.: dual.747
Posted: Wed Aug  8 22:55:30 1984
Date-Received: Fri, 10-Aug-84 01:50:49 EDT
References: <895@trwrb.UUCP>
Organization: Dual Systems, Berkeley, CA
Lines: 14

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@ucb-arpa.ARPA

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