Subject: Re: bin/3229: pppd sometimes hangs restoring modes
To: None <>
From: Mike Long <>
List: netbsd-bugs
Date: 02/19/1997 11:21:52
>Date: 19 Feb 1997 02:51 +0100
>From: (Christoph Badura)

>raeburn@raeburn.ORG (Ken Raeburn) writes:
>>This call uses TCSAFLUSH, my guess is that's why it's waiting.  But if
>>it's waiting to write characters to the modem, and it's in a mode
>>where it can't write characters because the modem has hung up, maybe
>>it should be discarding the pending output instead?
>With TCSAFLUSH it is supposed to flush the characters when setting the

It flushes all input characters; all output characters must drain.
See termios(4) for details.
Mike Long <>     <URL:>
VLSI Design Engineer         finger for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil