# This script set cua[il]a1 back to what I think it probably should be for use # with a hardware flow controlled supra modem, for hylafax # Julian H. Stacey # # Ref: man stty man 4 termios # still to check: -dsrflow -dtrflow -mdmbuf echo "--------------------------------------------------------------------------------" echo cuala1 BEFORE: stty -e -f /dev/cuala1 echo "--------------------------------------------------------------------------------" stty -f /dev/cuala1 \ gfmt1:cflag=34b00:iflag=0:lflag=0:oflag=0:discard=0:dsusp=0:eof=0:eol=0:eol2=0:erase=0:intr=0:kill=0:lnext=0:min=0:quit=0:reprint=0:start=0:status=0:stop=0:susp=0:time=0:werase=0:ispeed=0:ospeed=0 echo cuala1 AFTER: stty -e -f /dev/cuala1 echo "--------------------------------------------------------------------------------" echo cuaia1 BEFORE: stty -e -f /dev/cuaia1 echo "--------------------------------------------------------------------------------" stty -f /dev/cuaia1 \ gfmt1:cflag=34b00:iflag=0:lflag=0:oflag=0:discard=f:dsusp=19:eof=4:eol=ff:eol2=ff:erase=7f:intr=3:kill=15:lnext=16:min=1:quit=1c:reprint=12:start=11:status=ff:stop=13:susp=1a:time=0:werase=17:ispeed=57600:ospeed=57600 echo cuaia1 AFTER: stty -e -f /dev/cuaia1 echo "--------------------------------------------------------------------------------" echo cuaa1 NOW: stty -e -f /dev/cuaa1 echo "--------------------------------------------------------------------------------"