…I hadn’t thought of trying to get the terminal emulator (iTerm on Mac) to 
clean up for me as it writes the capture! I’ll look into that.

What I have is hundreds of text files that I want to strip/clean-up. We attach 
the session captures to system journal entries, and I wanted to clean the old 
ones up for readability.

--Craig Constantine, http://constantine.name


On May 30, 2014, at 11:52 AM, Matt Finnigan <[email protected]> wrote:

Without knowing your terminal program (and OS), it's going to be tough to give 
you answers that are applicable to you. I'll give an example that's relevant to 
me. PuTTy, under Windows, allows you to log with the following options:
None
Printable Output (sounds like what you want)
All Session Output (sounds like what you're getting now)
SSH Packets
SSH Packets and Raw Data

http://the.earth.li/~sgtatham/putty/0.63/htmldoc/Chapter4.html#config-logging


On Fri, May 30, 2014 at 11:22 AM, craig constantine <[email protected]> 
wrote:
I have my terminal emulation program automatically perform session captures. 
What I end up with is the full stream of keystrokes (and output of course). The 
captures are useful, but not very easy to read because there are things like 
tab-auto-completion by the shell, backspaces, and ANSI sequences in the output.

Has anyone seen anything that would consume/reduce a stream of captured 
characters to just the ultimate plaintext?

--Craig Constantine, http://constantine.name


_______________________________________________
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/



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
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