Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!lll-crg!styx!ames!ucbcad!ucbvax!mitre-bedford.ARPA!sdl From: sdl@mitre-bedford.ARPA.UUCP Newsgroups: comp.emacs Subject: process filters Message-ID: <8611231836.AA27552@mitre-bedford.ARPA> Date: Sun, 23-Nov-86 13:36:06 EST Article-I.D.: mitre-be.8611231836.AA27552 Posted: Sun Nov 23 13:36:06 1986 Date-Received: Mon, 24-Nov-86 01:28:59 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The MITRE Corp., Bedford, MA Lines: 29 Ken, the function telnet-vt100-filter seems to have gotten somewhat garbaged in transmission (see below); could you post a corrected version? The string-match below looks wrong.... ;;; (Any literals trailing final controls are emitted after the loop.) ;;; Incompleted escape sequence are carried over for prepending to the ;;; subsequent receipt string in 'output-carryover'. (setq output-carryover "") ;;; zero carryover (while (setq next-ctrl (string-match "\\([ (insert-string (substring receipt index (setq index next-ctrl))) (setq ctrl (substring receipt index (setq index (1+ index)))) Steven Litvintchouk MITRE Corporation Burlington Road Bedford, MA 01730 (617)271-7753 ARPA: sdl@mitre-bedford UUCP: ...{cbosgd,decvax,genrad,ll-xn,philabs,security,utzoo}!linus!sdl