need modem control lines info

Warren Tucker wht at n4hgf.Mt-Park.GA.US
Tue Nov 20 13:58:33 AEST 1990


In article <1990Nov19.151422.3584 at bagend.uucp> jan at bagend.uucp (Jan Isley) writes:
>
>I need some information on controling and determining the status of
>modem control lines with SCO SYSV/386.  More precisely, I need to:
>
>1. Set DTR on.
open the tty line
>2. Set DTR off.
close the line

This is the only way to manipulate the DTR line.

>3. Set RTS on.
>4. Set RTS off.

These are not directly manipulable.

>5. Determine the state of CD.
>6. Determine the state of CTS.
These are not readable.

You could accomplish these goals by hacking a "public source" driver
such as FAS, but the standard driver, as is true with all standard
System V and BSD drivers, ye are lost.

 
--------------------------------------------------------------------
Warren Tucker, TuckerWare emory!n4hgf!wht or wht at n4hgf.Mt-Park.GA.US
ANSI C should have been named D, or Son of C



More information about the Comp.unix.xenix.sco mailing list