Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 1995 19:15:16 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, yura@rd.zgik.zaporizhzhe.ua
Cc:        eugen@rd.zgik.zaporizhzhe.ua, hackers@FreeBSD.ORG
Subject:   Re: bug or feature in kern/tty.c
Message-ID:  <199512140815.TAA03694@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>     -l 	   disable modem control (CLOCAL) and ignore carrier detect on
>>		   the slip port.  By default the redial-commmand is invoked
>>		   upon carrier drop and slattach aborts if no redial-commmand
>>		                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>		   is specified.

>In any case, this not true. Slattach _not aborts_ if no redial-command is
>specified.

That's because it is broken.  It worked in 1.1.5.  It was easy to use
wirh automatic redial, e.g., `while :; do slattach $slattachargs; done'

>...
>In 2.1.0 slattach not aborts if modem reconnects, but any output to this line
>disabled. You mean this good?

Try using a null redial command.  This should work unless the DTR drop when
the line is closed causes the modem to hang up.  This can probably be worked
around, e.g., by setting the DTR drop time to a low value (comcontrol
/dev/ttyd0 1) or by dsiabling it (stty -hupcl </dev/ttyid0).

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512140815.TAA03694>