# Change some defauls for serial devices. # Standard defaults are: # dtrwait 300 drainwait 0 # initial cflag from = cread cs8 hupcl # initial iflag, lflag and oflag all 0 # speed 9600 # special chars from # nothing locked # except for serial consoles the initial iflag, lflag and oflag are from # and clocal is locked on. default() { # Reset everything changed by the other functions to initial defaults. for i in $* do comcontrol /dev/ttyd$i dtrwait 300 drainwait 0 stty