From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,871aa55a25743f22,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,871aa55a25743f22,start X-Google-Attributes: gidfee84,public From: grzes@twins.pk.edu.pl (Grzegorz Mucha) Subject: Problem with CLOCAL on RS port Date: 1995/09/16 Message-ID: #1/1 X-Deja-AN: 110249155 sender: news@cyf-kr.edu.pl (News Administrator) organization: Cracow University of Technology, L-5 Institute newsgroups: comp.sys.dec,comp.unix.osf.osf1 Hi, I'm running OSF/1 v3.2 on a DEC 3000/400. I want to connect an UPS to it -> the interface between UPS and the computer is using serial port (/dev/tty00). The UPS uses Carrier Detect to signal some events, e.g. power failure. But, the problem is, that the UPS control program requires serial port to have modem control on. Unfortunately my serial port has modem control off: (11)|alpha:~> file /dev/tty00 /dev/tty00: character special (24/2) VS_SLU #0 terminal #2 modem_control off I can't use getty for setting clocal (modem control) on. I can't also use 'stty -f /dev/tty00 -clocal', because it sets -clocal just for a moment and then changes to default setting again. On Sun machines I can define modem control for serial port on the eprom level, SCO has another device for serial port with and another without modem control. How to *permanently* set modem control to on for serial port? Maybe sth. in kernel configuration? Thanks for any help, Grzegorz -- _/_/_/ _/ _/ _/_/_/_/_/ Grzegorz Mucha _/ _/ _/ _/ Civil Eng. Dept., L-5 Inst. _/ _/ _/ _/ System Administrator _/ _/ _/ _/ tel. +48 12 330340 _/_/_/racow _/_/_/niversity of _/echnology grzes@twins.pk.edu.pl