I'm sure sure if we're talking about the same thing , but U can
set tty properties like this with stty (GNU sh-utils) 1.16 :
stty </dev/ttyS0 <flags-here>
That doesn't work if /dev/ttyS0 has the carrier detect line low, and
CLOCAL is turned off; when the shell opens /dev/ttyS0, it will block
waiting for carrier detect to go high.
That's why you want stty to support:
stty -f /dev/ttyS0 <flags-here>
... where stty uses the proper POSIX-specified way of opening POSIX ttys
without blocking on the carrier detect line.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com