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