Xref: utzoo comp.unix.questions:24576 comp.unix.wizards:23402 Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!me!sun From: sun@me.utoronto.ca (Andy Sun Anu-guest) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: get terminal speed from shell script Message-ID: <90Aug12.135618edt.18763@me.utoronto.ca> Date: 12 Aug 90 17:56:31 GMT Reply-To: sun@hammer.me.UUCP (Andy Sun Anu-guest) Organization: University of Toronto, Department of Mechanical Engineering Lines: 22 Hi Net, The question I have is: Is there a way to get the terminal speed from a (sh or csh) script? I used to be able to do the following in a Bourne shell script: speed=`stty speed` and got the terminal speed assigned to variable speed. As various OS gets updated (e.g. Ultrix 3.1 and SUN OS 4.0.3), this won't work anymore because all stty outputs are being sent to stderr, not stdout, thus no piping or redirection is possible. Is there any similar commands that can get terminal speed inside a shell script? Andy _______________________________________________________________________________ Andy Sun | Internet: sun@me.utoronto.ca University of Toronto, Canada | UUCP : ...!utai!me!sun Dept. of Mechanical Engineering | BITNET : sun@me.utoronto.BITNET