Path: utzoo!attcan!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!vax1.tcd.ie!rjbolger From: rjbolger@vax1.tcd.ie Newsgroups: comp.os.msdos.misc Subject: ANSI filter Message-ID: <1991Jan11.150007.7435@vax1.tcd.ie> Date: 11 Jan 91 15:00:07 GMT Organization: Trinity College Dublin Lines: 19 Has anyone come across a text filter that strips off ANSI escape sequences from a text file ?. I'm capturing screen output from a TCP/IP session with a mainframe, but I'm receiving all the escape sequences as well. This makes it very messy to read if printed directly, and needs a lot of editing to replace all the escape codes with blanks. Ideally I'd like : C>type textfile | filter >prn But I'd be grateful for any ideas on this - not necessarily DOS based. Thanks in advance. Richard Bolger // Trinity College Dublin // rbolger@vax1.tcd.ie Republic of Ireland //