🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #1721

problems with "stty clocal" and AIX 2.2.1

#1721
From: Pim Zandbergen
Date: Wed, 26 Apr 1989 18:04
58 lines
2233 bytes
Hi, netlanders.

IBM was so nice to loan us an IBM RT PC 6150 for porting our 
business application to it. The problem I'm stuck with is
that the clocal flag in the termio structure does not
seem to be stable. Examing it from an other terminal actually
changes it. Just opnening the tty can change the clocal value.

Repeat by:

___________________________________________________
$ stty
speed 19200 baud; -parity hupcl 
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3 
echo echoe echok 
$ stty clocal
$ stty
speed 19200 baud; -parity hupcl clocal 
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3 
echo echoe echok 
$ <`tty`
$ stty
speed 19200 baud; -parity hupcl 
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3 
echo echoe echok 
___________________________________________________

This is on a tty that was created specifying "dvam 1"
in the /etc/devices. When "dvam 0" is specified, 
it works the other way around.

Repeat by:

___________________________________________________
$ stty
speed 19200 baud; -parity hupcl clocal
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3 
echo echoe echok 
$ stty -clocal
$ stty
speed 19200 baud; -parity hupcl 
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3 
echo echoe echok 
$ <`tty`
$ stty
speed 19200 baud; -parity hupcl clocal
brkint -inpck -istrip icrnl -ixany ixoff onlcr tab3 
echo echoe echok 
___________________________________________________

Can anyone explain this behaviour ?

-- 
--------------------+----------------------+-----------------------------------
Pim Zandbergen      | phone: +31 70 542302 | CTI Software BV
pim@ctisbv.UUCP     | fax  : +31 70 512837 | Laan Copes van Cattenburch 70
...!uunet!mcvax!hp4nl!ctisbv!pim           | 2585 GD The Hague, The Netherlands
Technical Details
Message-ID: <745@ctisbv.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!ctisbv!pim

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!ctisbv!pim
From: pim@ctisbv.UUCP (Pim Zandbergen)
Newsgroups: comp.sys.ibm.pc.rt
Subject: problems with "stty clocal" and AIX 2.2.1
Message-ID: <745@ctisbv.UUCP>
Date: 26 Apr 89 18:04:24 GMT
Reply-To: pim@ctisbv.UUCP (Pim Zandbergen)
Organization: CTI Software BV, The Hague, The Netherlands
Lines: 58