[konsole] [Bug 418519] New: Konsole not processing ANSI codes for next line, previous line

Joey Rockhold bugzilla_noreply at kde.org
Thu Mar 5 23:29:35 GMT 2020


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

            Bug ID: 418519
           Summary: Konsole not processing ANSI codes for next line,
                    previous line
           Product: konsole
           Version: 19.12.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: emulation
          Assignee: konsole-devel at kde.org
          Reporter: joey at joeysbytes.net
  Target Milestone: ---

SUMMARY

ANSI code CSI n E means to go down n lines, then go to the beginning of that
line.

ANSI code CSI n F means to go up n lines, then go to the beginning of that
line.

Konsole is not handling these ANSI codes properly (or at all).  I have tested
with Gnome terminal and xterm, and they work as expected, so I believe this is
a Konsole-specific issue.


STEPS TO REPRODUCE

Run this 2 line bash script:

clear;echo -e "\n\n\n\n\n";
echo -e "Second line\e[1FFirst line\e[2EThird Line\n\n"


OBSERVED RESULT

Second lineFirst lineThird Line

EXPECTED RESULT

First line
Second line
Third Line

SOFTWARE/OS VERSIONS
KDE Neon 5.18 Updated as of 2020-03-04

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION

ANSI code specifications I am going from:
https://en.wikipedia.org/wiki/ANSI_escape_code

There are other more detailed sites, but I find this one easy to read.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list