dshahin has asked for the wisdom of the Perl Monks concerning the following question:
% IOcap /bin/bash
that will give me an interactive session, but capture (duplicate?) all the IO, especially my keyboard input, and log it to a file or perhaps a socket.
Sort of like what the Input_log, Output_log, and Dump_log options in Net:::Telnet, without the telnet connection.
yes, I know this will be a lot of garbage characters and stuff, especially the output. That's why logging the input and output separately would be ideal.
Any suggestions on what the simplest and most effective approach would be?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: capturing all IO of a process
by japhy (Canon) on Feb 14, 2001 at 23:20 UTC | |
by dshahin (Pilgrim) on Feb 14, 2001 at 23:34 UTC | |
|
Re: capturing all IO of a process
by InfiniteSilence (Curate) on Feb 15, 2001 at 02:36 UTC |