[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280457: xterm: want terminal contents (and scrollback?) saved when X connection lost



On Sun, 5 Jun 2011, Vincent Lefevre wrote:

On 2011-06-03 11:48:03 +0000, Debian Bug Tracking System wrote:
This is an automatic notification regarding your Bug report
which was filed against the xterm package:

#280457: xterm: want terminal contents (and scrollback?) saved when X connection lost

It has been closed by Cyril Brulebois <kibi@debian.org>.
[...]
Changes:
 xterm (270-1) unstable; urgency=low
 .
   * New upstream release:
     - Add printModeOnXError and printFileOnXError resources, which allow
       the user to specify that xterm will write the contents of its screen
       to a file if it is exiting due to an X error (Closes: #280457).
[...]

Thanks, but I wonder whether it is intentional to have a fixed
filename, as if one has several xterm windows open to the same
server and the X connection is lost, only one window will be
saved to the file. One can use a wrapper, though, e.g.:

I could extend it, e.g., by looking for "|" or ">" at the beginning, to specify a file or a pipe. Also, I could extend it by making that a printf/mktime template, to provide the timestamp and whatever directly.
At the moment, I'm not sure which is the most useful.

(I considered a dialog, but realized that wouldn't work for the general X error case).

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



Reply to: