Another option may be to run the program through strace logging the interesting events. Then post-process that information to obtain a clean log of the data written to /dev/tty
In reply to Re^3: capture STDOUT when some jerk opened STDOUT to /dev/tty
by salva
in thread capture STDOUT when some jerk opened STDOUT to /dev/tty
by Tommy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |