Bug 150936 - gnome-terminal has problems with ANSI (save and restore cursor position)
Summary: gnome-terminal has problems with ANSI (save and restore cursor position)
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-terminal
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-12 06:04 UTC by Dag Wieers
Modified: 2008-02-07 00:54 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2008-02-07 00:54:03 UTC


Attachments (Terms of Use)

Description Dag Wieers 2005-03-12 06:04:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020 Galeon/1.3.19

Description of problem:
The following should work:

    [dag@emyn dag]$ echo -e "\033[sone\033[utwo\033[uthree"
    three

In gnome-terminal, you get this:

    [dag@emyn dag]$ echo -e "\033[sone\033[utwo\033[uthree"
    [sone[utwo[uthree

Regardless of what TERM is used. (gnome, xterm, rxvt, ansi)

    \033[s     -> save cursor position
    \033[u     -> restore cursor position

Other terminal emulation programs, like xterm, rxvt,
multi-gnome-terminal do it correctly. I hit this problem when using dstat.

Version-Release number of selected component (if applicable):
gnome-terminal-2.7.3-1

How reproducible:
Always

Steps to Reproduce:
1. echo -e "\033[sone\033[utwo\033[uthree"
2.
3.
    

Actual Results:  [sone[utwo[uthree

Expected Results:  three


Additional info:

Comment 1 Dag Wieers 2005-03-12 06:13:55 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=170032

Comment 2 Matthew Miller 2006-07-10 23:35:32 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!


Comment 3 petrosyan 2008-02-07 00:54:03 UTC
Fedora Core 3 is not maintained anymore.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release please reopen this bug and assign it to the corresponding
Fedora version.


Note You need to log in before you can comment on or make changes to this bug.