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

Bug#711758: buffers not cleaned before creating full screen



On 2013-06-09 17:28 +0200, jidanni@jidanni.org wrote:

>>>>>> "T" == Thomas Dickey <dickey@his.com> writes:
>
> T> Sounds like xterm.  To keep the logic simple (this is long ago...), xterm does
> T> the clear-screen operation right after switching between normal/alternate
> T> screens.  The simplification is by reusing existing functions that do each
> T> piece rather than write a special function that clears the buffer contents
> T> while it is inactive.
>
> Well ... call in security! The user thought that the contents of w3m had
> safely disappeared from the screen before leaving the room, never
> expecting that they would be shown to the next user, no matter how
> briefly.

If the next user is going to use your xterm, you most likely have bigger
problems than that, and they could also get the contents by choosing
"Show Alternate Screen" from the menu (Ctrl+mouse-2).

> So do clear the contents please. It can't be that expensive.

The alternate screen buffer can be cleared with the commands 
"tput smcup; tput rmcup".  Or maybe you want to set the
Xterm*titeInhibit resource to false to disable the alternate screen
altogether.

Cheers,
       Sven


Reply to: