Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!caen!ox.com!math.fu-berlin.de!fub!geminix.in-berlin.de!gemini From: gemini@geminix.in-berlin.de (Uwe Doering) Newsgroups: comp.unix.questions Subject: Re: DTR program Message-ID: Date: 11 May 91 11:56:31 GMT References: <26854@adm.brl.mil> Organization: Private UNIX Site Lines: 19 L-D'Ambrosio@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@geminix.in-berlin.de Berlin |---------------------------------------------------------------- Germany | UUCP : ...!unido!fub!geminix.in-berlin.de!gemini