Red Hat Bugzilla – Bug 123845
gnome-terminal not parsing cursor position escape sequence properly
Last modified: 2007-11-30 17:07:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
We have an application on another unix that sends something like:
ESC [ 10 H
ESC [ 10 ; 0 H
ESC [ 10 ; H
(spaces add for clarity)
That is, it's assuming that when the second parameter is 0 (start of
line), it can leave it out entirely, including the semicolon.
xterm, konsole, the linux terminal and other programs agree that "ESC
[ Pn H" is the same as "ESC [ Pn ; H".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run gnome-terminal
2. cat sample.problem.txt (attached)
Actual Results: Roughly:
Expected Results: foo
that is, I expect it to look the same as if step one was "run xterm"
I will attach my sample.problem.txt file as well as a screenshot of
the incorrect output and the correct output.
Created attachment 100396 [details]
Created attachment 100397 [details]
Example of the correct layout, from xterm
Created attachment 100398 [details]
example of the incorrect (buggy) layout, from gnome-terminal
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.