Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 1995 18:20:49 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=)
Cc:        ache@freefall.freebsd.org, joerg_wunsch@uriah.heep.sax.de, CVS-commiters@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org
Subject:   Re: cvs commit: src/sbin/slattach uucplock.c Makefile
Message-ID:  <199509191620.SAA06595@uriah.heep.sax.de>
In-Reply-To: <BgTydNm0B0@ache.dialup.demos.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Sep 19, 95 12:28:13 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote:
> 
> >Your changes will most likely now have broken
> >my SLIP wrapper. :-(  You would better have put this into the slipdial
                                               should have been: startslip
> >program.
> 
> It *is* slipdial program. And it needs lock tty, because it can be stolen
> in the middle. Basically all dialout programs needs to lock tty.
> Now it does right thing. Check your wrapper better.

My wrapper does dialing on its own (with chat(1) from the ppp
package).  In order to dial and not being disturbed by e.g. mgetty, i
have to obtain the lock before dialing starts.  Hence i create the
lockfile (or reduce to go on).  If the lock fails, the wrapper will
never start slattach at all.

Well, as long as slattach doesn't give up when the lockfile already
exists, i wouldn't mind.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



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