Hi, Michael Stone: > >If hardware flow control is turned on by mistake, and a character is > >sent, it is impossible to turn flow control off again using stty(1) > >because stty uses tcsetattr(3) with TCSADRAIN, which waits for output > >to be empty. Obviously that's not going to happen... > > > >The appended patch fixes this by adding a new flag "-i" (or "--immed") > >which causes stty to use TCSANOW instead. > > Hmm. Does this happen often?
I've seen it a few times. A modem with aggressive error checking on a bad line can sit there for minutes, futilely retrying and incurring phone charges... -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | [EMAIL PROTECTED] Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Psychiatrists say that one out of four people are mentally ill. Check three friends. If they're ok, you're it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]