On Tue, 02 Nov 1999, Pete Jewell wrote:

> I was wondering if anyone would explain to me what CLOCAL mode
> actually is - I see from the man entry for 'stty' that it has
> something todo with modem control, but what exactly?

>From my "termios.blurb":

CLOCAL
   Assume local control with no control from the modem.

> The reason I ask is that we've been having trouble with TA's locking
> up the /dev/ttyS* device, a solution for which I found via deja.com
> - a small C program which allows me to specify a stty parameter on a
> locked port, so running 'fixserial /dev/ttyS1 clocal' unlocks the
> serial port, but why?

Read my "locks.blurb".  Using "stty" to configure a port is ephemerial 
in that most applications reconfigure the port.  Thus any
modifications made with "stty" are wiped out.

Read my 'serial_suite.tgz'.  This is a collection of blurbs about the
care and feeding of the serial ports and some simple programs.  There is
a file demonstrating how the lock files should be programmed. There
is a simple getty, a dialer for ppp connections and some other misc
programs.

Via ftp:

ftp scicom.alphacdc.com

Login as "anonymous" then use your full e-mail address as the password.
For me, that is '[EMAIL PROTECTED]'.

cd pub/linux

or:

URL ftp://scicom.alphacdc.com/pub/linux

"termio.blurb" and "locks.blurb" are part of "serial_suite".

vern

-- 
Vernon C. Hoxie                                     [EMAIL PROTECTED]
3975 W. 29th Ave.                                        uucp: 303-455-2670
Denver, Colo., 80212                                    voice: 303-477-1780
               I'm not cheap, but I am on special this week

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to