🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #256

Re: Csh and stty

#256
From: Chris Burgess
Date: Wed, 08 Aug 1984 23:14
10 lines
1114 bytes
The reason why stty appears confused is because stty does ioctl's
on file descriptor 1 which is standard output for your terminal.
If you try to pipe the output through more it does the ioctl's on
file descriptor 1 again, but csh redefines it to the pipe going
into more. The result being that stty is trying to find out the
terminal characteristics of the pipe rather than the terminal.
This feature is useful when you want to get or set the attributes
of another device e.g. "stty everything > /dev/ttyd0" will give
you the characteristics of ttyd0 rather than sending yours as
output to ttyd0.
Technical Details
Message-ID: <1228@dalcs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!dartvax!dalcs!burgess
References: <895@trwrb.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 dalcs.UUCP
Path: arc1-ca.pugleaf.net!utzoo!linus!decvax!dartvax!dalcs!burgess
From: burgess@dalcs.UUCP (Chris Burgess)
Newsgroups: net.bugs
Subject: Re: Csh and stty
Message-ID: <1228@dalcs.UUCP>
Date: Wed, 8-Aug-84 19:14:40 EDT
Article-I.D.: dalcs.1228
Posted: Wed Aug  8 19:14:40 1984
Date-Received: Fri, 10-Aug-84 07:45:14 EDT
References: <895@trwrb.UUCP>
Organization: Dalhousie U, Halifax N.S.
Lines: 10