Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!ucsd!sdcsvax!ucsdhub!sdsu!turtle From: turtle@sdsu.UUCP (Andrew Scherpbier) Newsgroups: comp.unix.xenix Subject: How do I do it? Message-ID: <3458@sdsu.UUCP> Date: 2 Feb 89 01:51:46 GMT Organization: San Diego State University, Math/Sciences Dept. Lines: 24 I have a 386 box running Xenix V 2.3.1. With this release there are a couple of programs which do things which I would like to do as well. The programs I am talking about are 'usemouse' and 'mscreen' Usemouse somehow inserts keystrokes between the keyboard and another program. This in itself would not be such an accomplishment since a simple filter could do that as well, but it seems completely transparent and it uses the /dev/ttyp* devices somehow. Mscreen also uses the /dev/ttyp* devices and it accomplishes the reverse of usemouse: it filters the output from a process and does special things when certain escape sequences come through. Here is the big question: How can I write a program to do this same sort of thing? -and- What are these /dev/ttyp* things anyway? Can anyone *Please* give me some clues on this? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "I sometimes get the feeling that | Andrew "Race Turtle" Scherpbier things cannot possibly get worse...| Computer Science Department and sure enough, they do." | San Diego State University --Don Perkins Jr. | ihnp4!jack!sdsu!turtle