>>>>> "Brandon" == Brandon Allbery <[email protected]> writes:

Brandon> On Fri, May 30, 2014 at 1:47 PM, craig constantine 
<[email protected]> wrote:
Brandon>     I may resort to experimenting with something like having Perl 
read() and then print() each
Brandon>     logical line to see if I can get the inbuilt print() to consume 
the things like backspaces at
Brandon>     least.
   
Brandon>     Anyone have any other thoughts? (…two great ones so far! :)

Brandon> I don't know of anything that captures the "rendered form" of
Brandon> ANSI terminal traces. You can do various parts of it fairly
Brandon> easily (col -b, removal of the mostly-rationalized ANSI
Brandon> escape sequences, etc.) --- but autoremoval of the completion
Brandon> stuff will be difficult at best. Best bet might be to do use
Brandon> that putty setting that was suggested --- and then start a
Brandon> capture and `cat` the original capture so putty can capture
Brandon> the rendered version.

I have sorta the same problem at times, when I'm looking at conserver
logs.  There should be a way to feed in ncurses (and other) control
sequences to get a clean ascii representation, but it's not going to
be easy.   

John
_______________________________________________
Discuss mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/discuss
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to