[konsole] [Bug 392661] New: 'Erase whole display' CSI sequence (\033[2J) is incompatible with xterm/linux console

Mariusz Glebocki bugzilla_noreply at kde.org
Tue Apr 3 01:08:32 UTC 2018


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-devel at kde.org
          Reporter: mglb at 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 the assignee for the bug.


More information about the konsole-devel mailing list