set x=`stty speed` still fails on Ultrix 4.1
Ian! D. Allen [CGL]
idallen at watcgl.waterloo.edu
Wed Jan 30 18:30:59 AEST 1991
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 at watcgl.uwaterloo.ca idallen at watcgl.waterloo.edu
[129.97.128.64] Computer Graphics Lab/University of Waterloo/Ontario/Canada
More information about the Comp.unix.ultrix
mailing list