Bug 401097

Summary: Ignores space in escape sequence, misinterprets SPD as SU
Product: [Applications] konsole Reporter: Egmont Koblinger <egmont>
Component: emulationAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: ninjalj
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: v22.04.0

Description Egmont Koblinger 2018-11-16 10:03:19 UTC
Ecma-48 defines:

8.3.130 SPD - SELECT PRESENTATION DIRECTIONS
    Representation: CSI Ps1;Ps2  02/00 05/03
    Parameter default value: Ps1 = 0; Ps2 = 0

8.3.147 SU - SCROLL UP
    Representation: CSI Pn 05/03
    Parameter default value: Pn = 1

Recently Konsole changed its behavior so that the command
    echo -ne '\e[3 S'
scrolls up by 3 lines. That is, the space inside the escape sequence is ignored, the SPD sequence is incorrectly interpreted as a SU instead.
Comment 1 ninjalj 2022-01-04 00:21:53 UTC
Fixed in git, by a commit adding support for DECRQCRA (which also has an Intermediate byte).