Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!hafro!krafla!heimir From: heimir@rhi.hi.is (Heimir Thor Sverrisson) Newsgroups: comp.sys.ibm.pc.rt Subject: Trapping ioctl on pty's in AIX 2.2.1 Keywords: pty ioctl AIX Message-ID: <891@krafla.rhi.hi.is> Date: 24 Apr 89 14:07:12 GMT Organization: University of Iceland Lines: 14 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.