← Back to team overview

desktop-packages team mailing list archive

[Bug 407153] Re: ANSI codes for saving/restoring attributes not supported

 

** Changed in: vte
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to vte in Ubuntu.
https://bugs.launchpad.net/bugs/407153

Title:
  ANSI codes for saving/restoring attributes not supported

Status in Gnome Virtual Terminal Emulator:
  Confirmed
Status in vte package in Ubuntu:
  Triaged

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/vte/+bug/407153/+subscriptions