Public bug reported:

According to http://www.termsys.demon.co.uk/vtansi.htm, VT100 terminals
should support these two escape sequences:

  Save Cursor & Attrs     <ESC>7
    * Save current cursor position.

  Restore Cursor & Attrs  <ESC>8
    * Restores cursor position after a Save Cursor.

VTE-based terminals (gnome-terminal, terminator etc) treat them as

  Save Cursor    <ESC>[s
    * Save current cursor position.

  Unsave Cursor  <ESC>[u
    * Restores cursor position after a Save Cursor.

i.e. attributes are actually never restored. How to reproduce:

  echo -ne "\00337"   # save attributes
  echo -ne "\0033[7m" # reverse video
  echo -ne "\00338"   # restore attributes (i.e no reverse video anymore)
  echo this text should not be in inversed colors

In gnome-terminal the message is displayed in reverse video. In xterm it
is displayed correctly.

Running Jaunty.

ii  gnome-terminal                                 2.26.0-0ubuntu2
ii  libvte9                                        1:0.20.0-0ubuntu2

** Affects: vte (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ANSI codes for saving/restoring attributes not supported
https://bugs.launchpad.net/bugs/407153
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to