[Pkg-urxvt-maintainers] Bug#618332: rxvt-unicode: screen contents not restored when detaching a "screen" session

Emanuele Giaquinta emanuele.giaquinta at gmail.com
Mon Mar 14 14:22:27 UTC 2011


On Mon, Mar 14, 2011 at 12:56:42PM +0100, Vincent Lefevre wrote:
> The screen contents are not restored when detaching a "screen" session.
> To reproduce the problem:
> 
> 1. Run rxvt-unicode.
> 2. Run some commands, just to generate contents in the screen.
> 3. Run the "screen" utility.
> 4. Detach the "screen" session ([Cmd key] d), or simpler: terminate
>    the shell (this will close the session and quit screen).
> 
> The bug: The contents one had before running "screen" are not restored.

The problem is that screen fails to enable the alternate screen buffer
in urxvt. This happens because screen sends "is2" after "smcup", and is2
disables the alternate screen buffer. The problem does not occur in
xterm because xterm's is2 does not disable the alternate screen buffer.






More information about the Pkg-urxvt-maintainers mailing list