This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Logging xterm contents to a file.
- From: Gary Johnson <garyjohn at spk dot agilent dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 8 May 2007 00:29:13 -0700
- Subject: Re: Logging xterm contents to a file.
- References: <1a375f780705072140u5f101feva7fbac83ed19366@mail.gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
On 2007-05-08, Mansoorali Kudsi wrote:
> Hi,
>
> 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.
HTH,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@spk.agilent.com | Mobile Broadband Division
| Spokane, Washington, USA
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/