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

            Bug ID: 392661
           Summary: 'Erase whole display' CSI sequence (\033[2J) is
                    incompatible with xterm/linux console
           Product: konsole
           Version: master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: emulation
          Assignee: konsole-de...@kde.org
          Reporter: m...@arccos-1.net
  Target Milestone: ---

How it works in Konsole:
All lines are shifted up until they disappear from the screen. They are
available in the history.

XTerm and Linux console:
Everything visible on the screen is erased. Scrollback remains unchanged.

VT102 User Guide says:
"Erases complete display. All lines are erased and changed to single-width.
Cursor does not move."
(those requirements are met in both cases. Scrollback was not available there,
so nobody specified what to do with it.)

I think XTerm/Linux behavior is more appropriate here:
* It literally erases the characters, not shifts them up.
* Konsole by default sets 'TERM' to 'xterm-256color'
* 'clear' entry from terminfo gives strange effect (saves current screen in
history, but removes everything else from it).

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

Reply via email to