On Sun, Jul 07, 2013 at 05:12:25PM +0200, Sven Joachim wrote: > On 2013-06-09 17:28 +0200, jida...@jidanni.org wrote: > > >>>>>> "T" == Thomas Dickey <dic...@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).
yes (I would have thought everyone knew that, but the level of discussion on alternate screen tends to stop with titeInhibit). > > 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. that's a simple solution (my change in #294 is still useful, of course) -- Thomas E. Dickey <dic...@invisible-island.net> http://invisible-island.net ftp://invisible-island.net
signature.asc
Description: Digital signature