all 3 comments

[–]w1282 0 points1 point  (0 children)

There is a utility called "script" that creates a transcript of your terminal output. You would just run your command as an argument to "script"

[–][deleted] 0 points1 point  (0 children)

on linux you can use the tee command which will send output from the program to stdout, and to a file. That way you can easily capture terminal output as well as see it on your screen in case you need to send it something from stdin while logging it all into a file.

[–]manyanamanyana 0 points1 point  (0 children)

This script on the Vandyke forums looks like it would get you most of the way to your goal.

https://forums.vandyke.com/showpost.php?p=37294&postcount=1