Bug#650304: libvte9: Does not perform DECAWM when processing DECSTR
Brian Julin
BJulin at clarku.edu
Mon Nov 28 17:29:02 UTC 2011
Package: libvte9
Version: 1:0.28.2-3
Severity: normal
Terminals based on libvte do not reset the auto-wrap mode (DECAWM)
when they are sent a DECSTR (soft reset) sequence.
This causes strange line wrapping behavior after interfacing with
a new (and broken) curses-like stack that is starting to appear on commercial
networking equipment from multiple vendors, most critically HP Procurve
switches, which sever connections before correctly restoring terminal settings.
To test this problem, paste the following under a libvte-based terminal
emulator and under vanilla xterm:
echo -e '\e[?7l'
# now type past the end of the command line and note that text wraps to the same line.
# This is to be expected on all terms after executing the above command.
echo -e '\e[!p'
# This sent a DECSTR sequence which should restore normal autowrapping behavior so wrapping text should scroll the screen
# However, it only works on xterm, not libvte-based terminals
echo -e '\e[?7h'
# This fixed the autowrap by explicitly sending a DECAWM sequence. Both terminals should be scrolling wrapped text now.
Note that termcap, and thus the "reset" command, rely on DECSTR to execute
DECAWM as described in the file debian/xterm.ti in the ncurses-5.9 dsc, so there
is no commandline utility to undo the effect other than sending the codes by hand.
Also note that under many terminals the menu-based "reset" functions do not
clear this mode either.
This bug also effects the libvte-2.90 series of packages. I have not tested with libvte0 series.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvte9 depends on:
ii libatk1.0-0 2.2.0-2 ATK accessibility toolkit
ii libc6 2.13-21 Embedded GNU C Library: Shared lib
ii libcairo2 1.10.2-6.1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.8.0-3 generic font configuration library
ii libfreetype6 2.4.8-1 FreeType 2 font engine, shared lib
ii libgdk-pixbuf2.0-0 2.24.0-1 GDK Pixbuf library
ii libglib2.0-0 2.30.2-4 GLib library of C routines
ii libgtk2.0-0 2.24.8-2 GTK+ graphical user interface libr
ii libncurses5 5.9-4 shared libraries for terminal hand
ii libpango1.0-0 1.29.4-2 Layout and rendering of internatio
ii libtinfo5 5.9-4 shared low-level terminfo library
ii libvte-common 1:0.28.2-3 Terminal emulator widget for GTK+
ii libx11-6 2:1.4.4-4 X11 client-side library
libvte9 recommends no packages.
libvte9 suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list