Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 1995 16:13:40 +0200 (UKR)
From:      Eugene Polovnikov <eugen@rd.zgik.zaporizhzhe.ua>
To:        ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=)
Cc:        eugen@rd.zgik.zaporizhzhe.ua, hackers@freebsd.org, yura@rd.zgik.zaporizhzhe.ua
Subject:   Re: bug or feature in kern/tty.c
Message-ID:  <199512131413.AA02392@rd.zgik.zaporizhzhe.ua>
In-Reply-To: <Xb-6jpmGW2@ache.dialup.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Dec 13, 95 04:14:38 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> In message <199512131039.AA01605@rd.zgik.zaporizhzhe.ua> Eugene
>     Polovnikov writes:
> 
> >I found strange thing in 2.1.0-RELEASE (and -current) in kern/tty.c.
> >When carrier was lossed then ttymodem() set TS_ZOMBIE and clear
> >TS_CONNECTED in tp->t_state. But TS_ZOMBIE is cleared only in ttioctl()
> >TIOCSETA* when line is setted to ignore modem status and when line is closed.
> >As result in ttymodem() after lossing carrier TS_CONNECTED  is not setting
> >whithout reopening line or changing c_cflag to CLOCAL, and if this line
> >used for SLIP connection as result we have 'No route to host' error
> >when trying output to this line after modem reconnected.
> 
> It is right per POSIX.
> Why you need to output anything to closed line?

Why i can not output to line after reestablish connection ?

> 
> >Or is this bug in slattach ? slattach never set CLOCAL when it's working
> >with modem control and without redial cmd.
> 
> I am not shure, what result you expect...
> If you need to reestablish connection, use redial cmd.

Im my case redial cmd no usable: slattach work with LL dumb short range modem,
with full modem control but whithout commands.



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