[konsole] [Bug 399615] New: Mishandling \b at the right margin
Alexei Podtelezhnikov
bugzilla_noreply at kde.org
Wed Oct 10 15:25:37 BST 2018
https://bugs.kde.org/show_bug.cgi?id=399615
Bug ID: 399615
Summary: Mishandling \b at the right margin
Product: konsole
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: apodtele at gmail.com
Target Milestone: ---
Make sure your window is 80-column wide then
$ printf "%080d\b \n" 0
000000000000000000000000000000000000000000000000000000000000000000000000000000
0
Notice the 79th zero deleted instead of the 80th. According to C99,
\b (backspace) Moves the active position to the previous position on the
current line. If the active position is at the initial position of a line, the
behavior of the display device is unspecified.
The filled line hardly qualifies as "the initial position" so the behavior is
wrong.
The bug also exists in xterm and xfce4-teminal. Gnome terminal behaves
correctly.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list