Subject: Re: getty/modem issue
To: Frederick Bruckman <>
From: Manuel Bouyer <>
List: tech-misc
Date: 09/30/2000 18:59:21
On Sat, Sep 30, 2000 at 10:48:15AM -0500, Frederick Bruckman wrote:
> Doesn't getty trigger on CD? Sounds to me like, with Adam's modem, CD
> is asserted while the modem is still in dial mode, where any received
> character will cause the modem to abort the connection.

No, CD is asserted by the modem when it's connected to the remote modem.
The connection is aborted because getty gets an EOF and exits, which
cause the serial port to be closed and the modem to hang up.

> In any case, the delay should be conditional on CLOCAL not being set,
> since there's obviously not a problem with non-modem connections. I
> would also venture to guess that 1/4 second or 1/2 second delay would
> work for all modem types.

Hum, clocal can be set for modems too, while in dial mode.

Manuel Bouyer, LIP6, Universite Paris VI.