https://bugs.kde.org/show_bug.cgi?id=368005

Egmont Koblinger <egm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egm...@gmail.com

--- Comment #1 from Egmont Koblinger <egm...@gmail.com> ---
The escape sequence '\e[3J' is intended to (and indeed does) clear the entire
scrollback. The "clear" command issues this sequence (among others).

So I see two questions:

- Why does such an escape sequence exist at all? Is it good to have it, is it
good that konsole supports this? Wouldn't it be better if no escape sequence
was allowed to wipe out the scrollback? Should konsole (and perhaps other
terminal emulators) deliberately refuse to implement this?

- Why does the "clear" command emit this sequence?

As for the first, this is an interesting design question. As for the second,
you're free to change your terminfo database, or come up with an alternate
implementation of "clear" (maybe as simple as a shell alias) that does not wipe
out the scrollback.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to