ups-nut in pkgsrc may have something in there already - I'm using it to monitor a UPS via the serial port, but in this case the UPS is (just) smart enough to respond with a bytestream rather than needing to monitor control lines directly ... -- Malcolm Herbert This brain intentionally mjch@mjch.net left blank