DTR program
Uwe Doering
gemini at geminix.in-berlin.de
Sat May 11 21:56:31 AEST 1991
L-D'Ambrosio at dmr.asa.com (Louis D'Ambrosio) writes:
> I've gotten involved in a project that requires a "C"
>program that can watch a given serial port and wait for DTR
>to go HI. The program would then run a script and continue
>watching the port for a drop of DTR. If this occurs it would
>kill the script.
You can't monitor DTR because it's not an input line. It is an
output and can be controlled by a C program. But I think that's
not what you wanted.
For further informations, look at the termio(7) man page.
Uwe
--
Uwe Doering | INET : gemini at geminix.in-berlin.de
Berlin |----------------------------------------------------------------
Germany | UUCP : ...!unido!fub!geminix.in-berlin.de!gemini
More information about the Comp.unix.questions
mailing list