🚀 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 Heimir Thor Sverrisson Mon, 24 Apr 1989 14:07
Trapping ioctl on pty's in AIX 2.2.1
#1715
Author: Heimir Thor Sverrisson
Date: Mon, 24 Apr 1989 14:07
14 lines
916 bytes
Does anyone know how to trap ioctl(2) calls made from the slave side 
of a pty, in a program running on the control side. I've read about
the select(2) call but there seems to be no support for execptions on
pty's.

I have a program running fine reading and writing data on the control-side,
but when a login-shell on the slave side uses 'stty' I get garbage across to
the control-side, and the system seems to hang for a few seconds.

What am I doing wrong here ?

--
Heimir Sverrisson		heimir@rhi.hi.is
NeuroSoft Inc.
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