Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!decvax.dec.com!gsg!lew From: lew@gsg.UUCP (Paul Lew) Newsgroups: comp.unix.questions Subject: Re: get terminal speed from shell script Message-ID: <799@gsg.UUCP> Date: 16 Aug 90 00:43:03 GMT References: <90Aug12.135618edt.18763@me.utoronto.ca> <2857@wyse.wyse.com> Organization: General Systems Group, Inc., Salem, NH Lines: 16 bob@wyse.wyse.com (Bob McGowen x4312 dept208) writes: >In article <90Aug12.135618edt.18763@me.utoronto.ca> sun@hammer.me.UUCP (Andy Sun Anu-guest) writes: > >Is there a way to get the terminal speed from a (sh or csh) script? >Of course, this is the Bourne shell, not csh. I cannot vouch for how or if >this is possible with csh. Try: set speed = `(stty speed > /dev/tty) |& cat` Layers of I/O redirections usually can solve these kind of problems. -- Paul Lew (lew@gsg.gsg.com) UUCP: oliveb---+ uunet---samsung--+ General Systems Group, 5 Manor Parkway harvard--+--gsg--lew Salem, NH 03079 (603) 893-1000 decvax---+