Bug 123845

Summary: gnome-terminal not parsing cursor position escape sequence properly
Product: Red Hat Enterprise Linux 3 Reporter: Eric Eisenhart <eric.eisenhart>
Component: vteAssignee: Behdad Esfahbod <behdad>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: barryn, hans, mollo, nalin
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-19 19:26:10 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:
Attachments:
Description Flags
sample data
none
Example of the correct layout, from xterm
none
example of the incorrect (buggy) layout, from gnome-terminal none

Description Eric Eisenhart 2004-05-20 22:13:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040220 Firefox/0.8

Description of problem:
http://vt100.net/docs/vt100-ug/chapter3.html#CUP

We have an application on another unix that sends something like:
ESC [ 10 H
instead of
ESC [ 10 ; 0 H
or:
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):
gnome-terminal-2.2.2-1

How reproducible:
Always

Steps to Reproduce:
1. run gnome-terminal
2. cat sample.problem.txt (attached)
    

Actual Results:  Roughly:
foo
barbaz


Expected Results:  foo
bar


baz

that is, I expect it to look the same as if step one was "run xterm"

Additional info:

I will attach my sample.problem.txt file as well as a screenshot of
the incorrect output and the correct output.

Comment 1 Eric Eisenhart 2004-05-20 22:17:52 UTC
Created attachment 100396 [details]
sample data

Comment 2 Eric Eisenhart 2004-05-20 22:22:47 UTC
Created attachment 100397 [details]
Example of the correct layout, from xterm

Comment 3 Eric Eisenhart 2004-05-20 22:23:30 UTC
Created attachment 100398 [details]
example of the incorrect (buggy) layout, from gnome-terminal

Comment 4 RHEL Program Management 2007-10-19 19:26:10 UTC
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:
http://www.redhat.com/security/updates/errata/
 
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.