get terminal speed from shell script

Jim Rogers jimr at hp-lsd.COS.HP.COM
Tue Aug 14 01:38:11 AEST 1990


If your version of stty writes only to stderr then you can redirect
that in a useful manner:

	speed=`stty speed 2>&1`

This will place the the speed of your terminal in the variable speed even
if stty writes to stderr.


Jim Rogers
Hewlett Packard Company



More information about the Comp.unix.questions mailing list