Closed GoogleCodeExporter closed 9 years ago
Have a look at the '--log' command line option or the 'Log' config file option.
Original comment by andy.koppe
on 14 Jul 2011 at 6:13
i tried the --log.. but the output is messy. I always have mintty up and
running. I do not always want to have all outputs logged unless i want to
specify it. Is it possible to mimic Putty session logging? Enable it when
needed and only output printable characters?
Original comment by slack...@gmail.com
on 14 Jul 2011 at 7:30
Here's a toolbox to pick and choose from that will hopefully enable you to do
what you want:
- The scrollback buffer. Select all, paste into a text editor, and process it
there.
- The aforementioned '--log' option.
- The 'tee' utility for copying non-interactive output into a file.
- The 'script' utility for logging interactive sessions on demand.
- 'cat -v' or 'less' for displaying control characters in the log in caret
notation.
- Filtering out control sequences. Here's a comprehensive-looking perl script
for doing that:
http://unix.stackexchange.com/questions/14684/removing-control-chars-including-c
onsole-codes-colours-from-script-output/14707#14707
KDE Konsole and Gnome Terminal don't have any logging support, so I'm happy to
leave mintty's as-is.
Original comment by andy.koppe
on 17 Jul 2011 at 10:00
Original issue reported on code.google.com by
slack...@gmail.com
on 14 Jul 2011 at 3:46