🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages Started by Pim Zandbergen Wed, 26 Apr 1989 18:04
problems with "stty clocal" and AIX 2.2.1
#1721
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads