Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!ut-ngp!infotel!pollux!bobkat!pedz From: pedz@bobkat.UUCP (Pedz Thing) Newsgroups: comp.emacs Subject: process filters Message-ID: <234@bobkat.UUCP> Date: Wed, 12-Nov-86 22:51:34 EST Article-I.D.: bobkat.234 Posted: Wed Nov 12 22:51:34 1986 Date-Received: Thu, 13-Nov-86 21:57:58 EST Reply-To: pedz@bobkat.UUCP (Pedz Thing) Organization: Digital Lynx; Dallas TX Lines: 19 I want to write a process filter for GNU emacs and can not seem to find all the hooks I am looking for. Basically, I would like to take the string passed to the filter function and look at it character by character. With each character, I would want to either insert it into the process's buffer or execute some function. Actually I would prefer to add the characters to the buffer in "overwrite-mode". I am assuming that the most effecient way to go about doing this is to tie into emac's key-map facilities. I have looked in the help facility and can not find what I need. I can obviously do it by indexing into the string and getting each character. Using the character to index into another vector of functions (like a keymap) and execute the function. That might not be too bad but thought I'd ask if that was a better method. -- Perry Smith {convex!ctvax,{ti-csl,infotel}!pollux}!bobkat!pedz