Bug#280457: xterm: want terminal contents (and scrollback?) saved when X connection lost
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 <firstname.lastname@example.org>.
> 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.:
exec "/usr/bin/`basename "$0"`" -xrm \
"*printFileOnXError: $HOME/private/xterm-saved-`date +%s`-$$" "$@"
Vincent Lefèvre <email@example.com> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)