I have redirected the output from my telnet session to a text file.
The text file contains ANSI characters that I do not want, example:
Erase from cursor to end of screen \027[J or \027[0J
[H[J
Is there a way to suppress these characters so that they do not show up in the output file?