I'd recommend the unix 'script' command, but be warned -- it will also save control characters, which makes for some interesting reading if you try to pop it open in your favorite text editor.
You can clean up a script file using the unix command 'col'.
You can also use logging in your terminal program (tf or similar, if your current terminal doesn't support that function) or use something like 'screen'.
Update: For those who aren't aware, windows users can make use of unix commands via programs like cygwin. Another useful command.com replacement is 4DOS and its siblings.
In reply to Re^3: How do I get output from the perl debugger (perl -d) into a text file?
by jhourcle
in thread How do I get output from the perl debugger (perl -d) into a text file?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |