Bug 79153
Summary: | vte does not handle some basic xterm movement control chars | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Sean E. Millichamp <sean> |
Component: | vte | Assignee: | Nalin Dahyabhai <nalin> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | mitr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-09 22:17:42 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sean E. Millichamp
2002-12-06 14:36:14 UTC
Okay, I recreated a new terminfo entry for the application following the xterm definition shipped with RHL and I'm not convinced that the problem is exactly what I had described but I am convinced there is a problem (as evidenced by xterm working perfectly and g-t not at all). I did some tcpdumps of the conversations between the functioning xterm and the not-functioning g-t. xterm transmits in the style \E[A while g-t transmits \E0A. If I checked g-t 1.x with zvt I'd bet it uses \E[A too. Similarly for the other cursor keys. If the goal is to be xterm-compatible then I'd say it should be changed to match /usr/X11R6/bin/xterm I'm not completely certain I understand what's going on here. Is the application outputting the control sequence which the terminal doesn't understand, or is the terminal sending an incorrect sequence to the application when you press one of the arrow keys? The terminal is sending an incorrect sequence when the arrow keys are pressed. By "incorrect", I mean something that is not consistent with xterm. The control sequence sent by xterm for the up arrow key is "^[[A". For gnome-terminal it is "^[0A". Note that this seems to be fixed in my limited testing of gnome-terminal that is shipped in phoebe. "Fixed" meaning the sequence transmitted by gnome-terminal is once again consistent with xterm. A very simple way I was using to see the differences is to run /bin/cat in xterm and gnome-terminal and then press an arrow key, the resulting sequences are different. Yes, that would make sense. gnome-terminal in Phoebe gained an understanding of XTerm keypad and cursor key modes (Sun/HP/Legacy/VT220 function key modes, too). Marking as resolved in Raw Hide. |