|P is for Practical|
Re^3: capture STDOUT when some jerk opened STDOUT to /dev/ttyby salva (Abbot)
|on Jan 07, 2013 at 22:56 UTC||Need Help??|
Well, you can write your own tty logger using IO::Pty. It shouldn't be too complex.
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