Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmum!smvorkoetter From: smvorkoetter@watmum.UUCP Newsgroups: comp.unix.questions,comp.unix.wizards,comp.lang.c Subject: Filtering Everything Message-ID: <919@watmum.UUCP> Date: Wed, 1-Apr-87 22:00:47 EST Article-I.D.: watmum.919 Posted: Wed Apr 1 22:00:47 1987 Date-Received: Sat, 4-Apr-87 05:25:39 EST Distribution: comp Organization: U of Waterloo, Ontario Lines: 10 Xref: utgpu comp.unix.questions:1580 comp.unix.wizards:1622 comp.lang.c:1413 I wish to write a program in C that I can somehow set up so all output to my terminal goes through it first, and all input from my terminal goes through it too. I thought of a simple filter using read() and write(), but it only seems to pass things through when a CR is received or sent. I want immediate filtering. My eventual aim is to write an inline data compression routine to speed up 1200 baud terminal use (esp. in vi) to something approximating 2400 baud. Can anyone point me in the right direction for such a project. Thanks.