Messages in this thread | | | Date | Thu, 19 Mar 1998 12:50:06 -0500 | From | "Theodore Y. Ts'o" <> | Subject | Re: Warning, cua2 opened, ... |
| |
Date: Thu, 19 Mar 1998 11:47:04 +0100 (MET) From: DAVID BALAZIC <david.balazic@uni-mb.si>
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.
- Ted
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |