From owner-freebsd-questions Sun Jul 7 09:30:52 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA16179 for questions-outgoing; Sun, 7 Jul 1996 09:30:52 -0700 (PDT) Received: from ime.net (ime.net [204.97.248.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA16162 for ; Sun, 7 Jul 1996 09:30:49 -0700 (PDT) Received: from kimiko.tcguy.net (buxton-4.ime.net [206.231.148.133]) by ime.net (8.7.4/8.6.12) with SMTP id MAA20218; Sun, 7 Jul 1996 12:30:37 -0400 (EDT) Message-ID: <31DFE674.779D@ime.net> Date: Sun, 07 Jul 1996 12:31:48 -0400 From: Gary Chrysler Reply-To: tcg@ime.net Organization: The Computer Guy X-Mailer: Mozilla 3.0b4Gold (Win95; I) MIME-Version: 1.0 To: Greg Lehey CC: FreeBSD Questions Subject: Re: FreeBSD 2.1 Help References: <199607071622.SAA16843@allegro.lemis.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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