Xref: utzoo comp.unix.sysv386:3526 comp.unix.questions:27763 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!uunet!uswnvg!cjackso From: cjackso@uswnvg.UUCP (Clay Jackson) Newsgroups: comp.unix.sysv386,comp.unix.questions Subject: Monitoring Serial Line Status Message-ID: <467@uswnvg.UUCP> Date: 31 Dec 90 17:01:00 GMT Followup-To: poster Organization: US West NewVector, Bellevue, Wash. Lines: 23 Here's one that's got me stumped (probably because I can't find it in TFM); I have a battery baclup (Standby) Power Supply that will report it's status by grounding two pins of a three pin line. When I was running DOS, I had that line connected to a serial port as CTS and DTR, had a program that checked the status of those lines (to see if the machine was running on the SPS, and determine when it was running out of battery capacity, so that I could do a controlled shutdown). Is there an IOCTL (or SOMETHING) that will let me do the same thing under SCO SysV Unix? I've been unable to dig this out of TFM (all 7 volumes) thus far? Alternatively, does anyone have a better way to get what amounts to double-bit (or, for that matter) two single bit input(s) into a microchannel machine (the target machine is a PS/2 Mod 80). Thanks! Clay Jackson cjsysv.wa.com | ....uunet!nwnexus!cjsysv!clayj