Logging xterm contents to a file.
Tue May 8 07:29:00 GMT 2007
On 2007-05-08, Mansoorali Kudsi wrote:
> Really dumb question. but hope somebody replies to this one?
> Is it possible to save the entire contents of a xterm window into a
> file? (using anything other than "script")
> e.g. for a putty window, we have an option of logging all the contents
> of the putty window into a file
> just by doing a right click and giving the file name and path in the
> properties window.
> Do we have a similar option for an xterm window in Cygwin?
Xterm has such an option but the last time I checked (Nov. 2006) it
was not enabled in the Cygwin xterm binary. You may have to build
xterm yourself with the "--enable-logging" configure option.
Logging can then be enabled and disabled via the Ctrl-left- or
Ctrl-middle-mouse-button menu. (I don't remember which and I don't
have an xterm handy at the moment.) The log file will be written to
your $HOME directory with the name XtermLog.<PID> where <PID> is the
process ID of the xterm's process.
Gary Johnson | Agilent Technologies
email@example.com | Mobile Broadband Division
| Spokane, Washington, USA
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin-xfree