Logging xterm contents to a file.

Thomas Dickey dickey@his.com
Tue May 8 10:11:00 GMT 2007

On Tue, 8 May 2007, Mansoorali Kudsi wrote:

> 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?

You should be able to setup a printer, use that to print a screen
(though I've only tested it on Linux, Cygwin is "supposed" to work).
It can be just a shell script that redirects its output to a file.

See the "printerXXX" resources in xterm's manpage.


Thomas E. Dickey

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/

More information about the Cygwin-xfree mailing list