On 2021-10-29 14:19:29 -0500, Derek Martin wrote:
> On Wed, Oct 27, 2021 at 05:10:35PM +0200, Vincent Lefevre wrote:
> > I was wondering whether this could occur when switching to the
> > alternate screen. But it seems that this is not the case, at least
> > not with Xterm's logging feature.
> 
> Right, that wouldn't make sense... the I/O is not re-delivered to the
> terminal (and I assume the contents of the alternate screen are just
> sitting in a buffer, which is simply re-displayed).  Otherwise
> switching back and forth between screens would cause the data to be
> sent to the printer, again and again...  That does not seem like it
> would ever be desireable behavior.

Well, for lots of bugs, the behavior doesn't make sense. That's why
they are bugs. Thus it may be a good idea not to leave private data
behind, in case there would be such a bug.

Similarly, there is (was?) this old Xorg/nouveau bug that may reveal
parts of the user's desktop after reboot (which is problematic on a
shared computer). Displaying old video memory (not erased at logout
or at shutdown) doesn't make sense, but this happened.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to