This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Logging xterm contents to a file.


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.

http://invisible-island.net/xterm/manpage/xterm.html

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]