You could try configuring you tty devices as dial-in devices. That is,
enabling modem-control by clearing the CLOCAL flag.
As soon as the terminal is switched off, the DTR line will drop and the
connection will be closed. Of course the wiring and the terminal will have
to support DTR.
See ya,
Ton
-- -------------------------------------------------------------------------------- // // Ton Nijkes Email: ton@murphy.nl / //|\ || Murphy Software BV, tonn@wau.mis.ah.nl //||\\|| P.O. Box 285, Voice: +31 (0)53 4320055 || \|| 7500 AG Enschede, The Netherlands Fax : +31 (0)53 4326595 --------------------------------------------------------------------------------