On Sat, 13 May 2000 [EMAIL PROTECTED] wrote
> First, I think a quibble is in order. Well, maybe 2 quibbles. A
> program would have to be crazy to want to be notified when the modem
> control lines (DTR and RTS) change. They are controlled by the program.
Yes, those are output lines.
Reformulated question:
I want to be able to modify the state of DTR, RTS (and of course
send data normally with TXD), receive data normally with RXD, and
be informed of any change in DCD, CTS, DSR as soon as possible,
without using polling on the tty bits, nor blocking (the same
process must handle many of those in a select() or equivalent).
> I guess you could have 2 programs sharing a serial port communicate with
> each other with the modem control lines, but I don't even want to think
> about that.
nono :))
> but it all seems to work fine.
Thank, I will try it. But now this means that for every line I want to
monitor, I need a process (or thread), is that right ?
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]