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 398401 - gnome-terminal is not 100% VT compatible
gnome-terminal is not 100% VT compatible
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
unspecified
Other All
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
[obsolete:vteparser]
: 344258 (view as bug list)
Depends on: vteparser
Blocks:
 
 
Reported: 2007-01-19 16:11 UTC by 6ywcdrm9fz7qp53
Modified: 2018-03-27 17:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Use the default xterm DECID (439 bytes, patch)
2007-02-08 20:26 UTC, Mariano Suárez-Alvarez
none Details | Review

Description 6ywcdrm9fz7qp53 2007-01-19 16:11:47 UTC
Please describe the problem:
gnome-terminal doesn't fully work with VMS systems that expect a VT compatible terminal. xterm however works.

Steps to reproduce:
Connect to a VMS system, right at login the quota information is misformatted. TPU and NOTES also break. MONITOR works fine.

Actual results:
Raw ANSI escapes are shown, or inserted into edited files...

Expected results:


Does this happen every time?
y

Other information:
A publicly accesible VMS system is {gein,manson}.vistech.net (ssh or telnet) (http://deathrow.vistech.net)
Comment 1 Mariano Suárez-Alvarez 2007-01-24 00:43:22 UTC
Moving to vte...

It would really help to know exactly what control sequences are not working and, most importantly, what are they supposed to do.
Comment 2 Mariano Suárez-Alvarez 2007-01-24 05:33:40 UTC
From connecting to gein.vistech.net I can see at first view at least 2 things:

* vte is mishandling default arguments to control sequences (cf. bug 400072)

* Our terminal identification string is currently "62;9" which means "vt2x0 with national characters"; xterm, by default, uses "1;2" which means "vt100 with AVO".
If I change vte to send "1;2" things get a bit better (there is no reason to try to pretend we have better capabilities than xterm, I guess). In any case, if you run ‘xterm -ti 220’ so that xterm identifies itself as a vt220, then its DECID becomes "62;1;2;6;9;15;22" and telneting to gein.vistech.net shows similar issues as vte when running NOTES.
  We are using "62;9" since we closed bug 130671. I am quite sure xterm did not use to default to reponding "1;2". I cannot tell from its changelogs though. :/
Comment 3 6ywcdrm9fz7qp53 2007-01-27 01:43:17 UTC
<<ESC [ 62 " p>> is also not matched.
Comment 4 Mariano Suárez-Alvarez 2007-02-08 20:26:33 UTC
Created attachment 82181 [details] [review]
Use the default xterm DECID

This patch makes vte respond with the same DECID xterm uses by default (you can change it using resources) when asked for it. (and removes a literal ESC character from the source, which is weird)

This has the effect that the VMS at gein.vistech.net sees that we are not a VT220 and does not send us control sequences we can't parse. Not everything works, anyways...
Comment 5 Chris Wilson 2007-02-08 20:41:01 UTC
Perhaps we should update the comment at the same time ;)
Comment 6 Behdad Esfahbod 2007-11-28 14:03:50 UTC
Should this go in?
Comment 7 Behdad Esfahbod 2007-11-28 14:04:06 UTC
*** Bug 344258 has been marked as a duplicate of this bug. ***
Comment 8 Christian Persch 2018-03-27 17:45:00 UTC
Closing this bug now; there've been many many changes since this was opened and it's unclear if any issues still apply.

If you find a problem with vttest on vte git master please report new bug(s, one per issue). Make sure you use vttest from https://gitlab.gnome.org/chpe/vttest .