Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!seismo!husc6!necntc!cullvax!drw From: drw@cullvax.UUCP Newsgroups: comp.emacs Subject: Control Chars > GNU Emacs Buffers Message-ID: <865@cullvax.UUCP> Date: Sun, 1-Mar-87 21:39:26 EST Article-I.D.: cullvax.865 Posted: Sun Mar 1 21:39:26 1987 Date-Received: Tue, 3-Mar-87 00:21:30 EST Organization: Cullinet Software, Inc., Westwood, MA Lines: 25 jose@inmet.UUCP writes: > Can anyone help? I want to change the way GNU Emacs handles > control characters when echoing them to buffers. Right now > Emacs just echoes control characters as an up arrow "^" > followed by an ASCII graphic charecter. I want to turn > this behavior off so I can run programs that manipulate > the screen in inferior lisp or shell mode. Any > pointers on how to dothis would be welcome. Try setting up a filter process (via set-process-filter) that interprets the output of the subprocess and writes it into the buffer just like a terminal writes the output to its screen. Then the process's output will have appropriate screen handling. Make sure you get the subprocess's termcap set right, particularly screen size. Nothing simpler will work, because the ^L command to Emacs causes it to redraw the screen, so Emacs has to know what the virtual screen of the subprocess contains. Dale -- Dale Worley Cullinet Software UUCP: ...!seismo!harvard!mit-eddie!cullvax!drw ARPA: cullvax!drw@eddie.mit.edu