Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!psuvax1!psuvm!JANUS!SVERMEULEN From: svermeulen@JANUS.MTROYAL.AB.CA Newsgroups: bit.listserv.i-amiga Subject: Re: Detecting Carrier Detect Signal in C Message-ID: <900204100906.2a204497@Janus.MtRoyal.AB.CA> Date: 4 Feb 90 17:09:06 GMT Sender: Info-Amiga List Reply-To: Info-Amiga List Lines: 14 Approved: NETNEWS@PSUVM Gateway In-Reply-To: Your message <900203212227.006@ucnet.ucalgary.ca> dated 4-Feb-1990 Greg, Funny you should ask about how to detect the CD line through the serial device, I too am about to do it.... Anyway, it looks like you need to send the serial device a CMD_QUERY command and then look at the io_Status word when the command completes. Bit 5 is the Carrier Detect (active low). Regards, Stephen Vermeulen PO Box 3295 Author: Express Paint, Spritz and Fusion Paint Station B Newsletter Editor of AMUC (the AMiga Users of Calgary) Calgary, Alberta SVermeulen % Janus.MtRoyal.AB.CA @ UncaNet.BITnet ...or... CANADA SVermeulen % Janus.MRC.AdhocNet.CA @ UncaEdu.BITnet T2M 4L8