Newsgroups: comp.unix.ultrix
Path: utzoo!utgpu!watserv1!watcgl!idallen
From: "Ian! D. Allen [CGL]" <idallen@watcgl.waterloo.edu>
Subject: set x=`stty speed` still fails on Ultrix 4.1
Message-ID: <1991Jan30.073059.19868@watcgl.waterloo.edu>
Sender: idallen@watcgl.waterloo.edu (Ian! D. Allen [CGL])
Organization: Computer Graphics Laboratory, University of Waterloo, Ontario, Canada
Date: Wed, 30 Jan 91 07:30:59 GMT
Lines: 18

Another Ultrix bug I thought would have been fixed years ago.

  % set x=`stty speed`
  stty: : Not a typewriter

This happens because stty normally does its ioctl's on stdout and prints
on stderr.  The other Unix systems I use are smart enough to fiddle with
the units so that you can use `stty speed` to actually find out the baud
rate of your tty in a shell script.  You'll find that no combination of
i/o redirection (even using units in /bin/sh) will work on Ultrix.

This has been broken since at least Ultrix 2.1.  I made the obvious fix when
we had Ultrix 3.1 source.  I guess I'll make the same fix on Ultrix 4.1.

Never get Unix without source!
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada
