Xref: utzoo comp.unix.questions:24662 comp.unix.wizards:23442 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!zaphod.mps.ohio-state.edu!ub!rutgers!mephisto!prism!gt0178a From: gt0178a@prism.gatech.EDU (BURNS,JIM) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: get terminal speed from shell script Message-ID: <12584@hydra.gatech.EDU> Date: 15 Aug 90 05:42:34 GMT References: <1990Aug14.181010.29571@jts.com> Followup-To: comp.unix.questions Organization: Georgia Institute of Technology Lines: 20 in article <1990Aug14.181010.29571@jts.com>, gerry@jts.com (Gerry Roderick Singleton ) says: > #! /bin/sh > > speed=`stty speed &1` > echo $speed Nope, on SunOS 4.0, you get: {richsun12:/usr} [196] t=`stty speed &1` {richsun12:/usr} [197] echo $t stty: Operation not supported on socket {richsun12:/usr} [198] -- BURNS,JIM Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a Internet: gt0178a@prism.gatech.edu