After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748144 - Tolerate semicolon after numeric argument
Tolerate semicolon after numeric argument
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
[fixed:vteparser]
Depends on: vteparser
Blocks:
 
 
Reported: 2015-04-19 15:20 UTC by Egmont Koblinger
Modified: 2018-03-27 17:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Egmont Koblinger 2015-04-19 15:20:21 UTC
Found at http://askubuntu.com/questions/230300/incorrect-work-gnome-terminal

echo -e 'foobar\e[3Dquux'
echo -e 'foobar\e[3;Dquux'

xterm: Both do the same: print "fooquux" (the cursor is moved back by 3 by the escape sequence).

vte: The first one works, the second one prints garbage (unrecognized escape sequence).

Similarly, the "clear" command emits \e[3;J with a superfluous semicolon. We protect against this in caps.c by catching %mJ instead of %dJ. Apparently we need a more generic solution for this.
Comment 1 Egmont Koblinger 2016-06-09 10:55:41 UTC
Another duplicate report: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1590674
Comment 2 Christian Persch 2018-03-27 17:50:16 UTC
Fixed on master.