Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jul 1996 12:31:48 -0400
From:      Gary Chrysler <tcg@ime.net>
To:        Greg Lehey <grog@lemis.de>
Cc:        FreeBSD Questions <questions@FreeBSD.org>
Subject:   Re: FreeBSD 2.1 Help
Message-ID:  <31DFE674.779D@ime.net>
References:  <199607071622.SAA16843@allegro.lemis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote:
> 
> Gary Chrysler writes:
> >
> > (lots of good stuff omitted)
> >
> > Yea, I agree, Try several different tests.. :)
> > Can't hurt.
> >
> > 99.999% of my experiance is Dos based. So I have no idea what
> > -clocal does. You can bet I'm looking though.. :)
> 
> Sorry, I keep forgetting that I should explain these things.  To quote
> the termios(4) man page,
> 
>      If CLOCAL is set, a connection does not depend on the state of the modem
>      status lines.  If CLOCAL is clear, the modem status lines are monitored.
> 
>      Under normal circumstances, a call to the open() function waits for the
>      modem connection to complete.  However, if the O_NONBLOCK flag is set or
>      if CLOCAL has been set, the open() function returns immediately without
>      waiting for the connection.
> 
> In stty, on is shown as clocal, and off is shown as -clocal.  The
> modem control line to which it refers is DCD (Data Carrier Detect),
> which only comes on when you have established a connection.  In the
> olden days, before modems had autodial capability, this was
> appropriate, but now it's a pain.
> 
> Greg

Thank you for the explanation, I understand.

-Enjoy
Gary
~~~~~~~~~~~~~~~~
Improve America's Knowledge... Share yours
The Borg... Where minds meet
(207) 929-3848



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31DFE674.779D>