Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!rbj@icst-cmr.arpa From: rbj@icst-cmr.arpa (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: Filtering Everything Message-ID: <6934@brl-adm.ARPA> Date: Fri, 17-Apr-87 00:18:26 EST Article-I.D.: brl-adm.6934 Posted: Fri Apr 17 00:18:26 1987 Date-Received: Sun, 19-Apr-87 10:09:59 EST Sender: news@brl-adm.ARPA Lines: 26 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. Sorry, but to get a better baud rate, the program would have to live in your terminal. I'm surprised nobody mentioned that. Others have mentioned the use of script. That is the place to start. I once wrote a filter for an Intecolor 8001 terminal. This beast was designed back in the days when lower case was rarely used, and so they thought they would do you a favor by causing the shift key to generate lower case! I fixed the input with if (isalpha(c)) c ^= ' '; The thing also wanted a ^Z for backspace, but the tty driver always uses ^H, so on output if (c == 8) c = 26; was needed. But wait! Character addressing was ^C followed by absolute x/y coordinates, and other escape sequences could have ^H in them, so I ended up with a generalized output parser before it was all over. We also have an AED that does cursor motion by pixels, not chars. It's a toss up whether I hack script or implement another :cm: capability. I'll probably do the former, it's less linking. (Root Boy) Jim "Just Say Yes" Cottrell YOW!! The land of the rising SONY!!