display a file containing escape sequences

From: Alythh (alythh_at_netscape.net)
Date: 03/15/05


Date: 15 Mar 2005 05:13:56 -0800

Hi people,
I got a text file created by an application, which outputs using the
ncurses library.
The file itself contains a lot of escaped sequences.
There is a way for me to display correctly the file in a terminal?

I know how to output escaped strings from a C program, or in the
terminal a single string (echo -e), but I'm at a loss with cat'ting a
whole file (and no, piping it doesnt work either)

thanks for any hint...

Alessandro Magni



Relevant Pages

  • how to output a file containing escape sequences
    ... The file itself contains a lot of escaped sequences. ... I know how to output escaped strings from a C program, ... thanks for any hint... ... Alessandro Magni ...
    (comp.os.linux.development.apps)
  • Re: how to output a file containing escape sequences
    ... Alythh wrote: ... > The file itself contains a lot of escaped sequences. ... > Alessandro Magni ... You can use sed to filter out the escape sequences of the entire file. ...
    (comp.os.linux.development.apps)