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 722446 - OSC response should match query
OSC response should match query
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.35.x
Other Linux
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
[fixed-0-36][needed-next][commit:ccfc...
Depends on:
Blocks:
 
 
Reported: 2014-01-17 19:33 UTC by Egmont Koblinger
Modified: 2014-04-06 18:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (16.00 KB, patch)
2014-01-21 23:44 UTC, Egmont Koblinger
committed Details | Review

Description Egmont Koblinger 2014-01-17 19:33:37 UTC
OSC queries (such as: echo -ne '\e]4;0;?\e\\') can be terminated either with \a or with \e\\.  In xterm the response matches the query.  In vte, the response is always terminated with \a.
Comment 1 Egmont Koblinger 2014-01-17 19:39:34 UTC
Sibling issues: bug 151260, bug 567444, bug 640040.
Comment 2 Egmont Koblinger 2014-01-21 23:44:53 UTC
Created attachment 266937 [details] [review]
Fix

Here's a fix. Please take a look.

Contains some duplication of one-line methods (but the BEL vs ST versions already come with data duplication). Building up an infrastructure would look like nontrivial and overkill to me.
Comment 3 Egmont Koblinger 2014-01-23 23:58:24 UTC
Fixed in vte-0-36. Keeping the bug open for vte-next.