Path: utzoo!attcan!uunet!mcsun!ukc!axion!vision!ahall From: ahall@vision.UUCP (Andy Hall) Newsgroups: comp.unix.aix Subject: Pseudo-ttys and hft's Message-ID: <1139@vision.UUCP> Date: 9 Jul 90 15:53:44 GMT Reply-To: ahall@vision.UUCP (Andy Hall) Organization: VisionWare Ltd., Leeds, UK Lines: 35 Hi, I have a 6150 running AIX 2.2.1. I have written a program which uses pseudo ttys to interface to a net much the same as telnet does. I sit on the master side of the pty and regular applications, i.e. sh vi etc., sit on the other. sh -------- | pts | | ------ | pseudo-tty | ptc | -------- my prog | | | the wire My problem is: when I start up vi or pg or the like, someone writes " ESC [ x ......." on the data stream. I have discovered that this is a hft ( High Function Terminal ) ioctl call which gets thrown on the data stream if the device is a pseudo tty. But how did it get there, (did vi write it ?), and how do I stop it. Do I have to inspect the whole data stream and strip out hft calls? Help. Replies via email please: ahall@vision.uucp