Bug#264023: vi inside screen inside gnome-terminal has problems with special keys

Margarita Manterola Margarita Manterola <debian@marga.com.ar>, 264023@bugs.debian.org
Fri, 06 Aug 2004 16:48:44 -0300


Package: gnome-terminal
Version: 2.4.2-5
Severity: normal

If I run a gnome-terminal, and inside it I run a normal 'screen' (no
special parameters), and then I edit a file with 'vi', I can't use
certain keys (like / in the keypad).

It's related to the TERM variable.

It can be solved by doing:
export TERM=linux
before running vi

Or by doing C-A :term linux in screen, and then creating new screens
(the first one remains with its own TERM variable).

This does __not__ happen with aterm, xterm, or in the console, although the
TERM variable does contain the 'screen' value.

I hope you can fix it!
Love,
Margarita Manterola.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-1-k7
Locale: LANG=es_AR, LC_CTYPE=es_AR

Versions of packages gnome-terminal depends on:
ii  gnome-control-center      1:2.4.0-4      The GNOME Control Center for GNOME
ii  libart-2.0-2              2.3.16-1       Library of functions for 2D graphi
ii  libatk1.0-0               1.4.1-1        The ATK accessibility toolkit
ii  libaudiofile0             0.2.3-4        The Audiofile Library
ii  libbonobo2-0              2.4.3-1        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.4.3-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-10   GNU C Library: Shared libraries an
ii  libesd0                   0.2.29-1       Enlightened Sound Daemon - Shared 
ii  libfontconfig1            2.2.1-13       generic font configuration library
ii  libfreetype6              2.1.7-2        FreeType 2 font engine, shared lib
ii  libgconf2-4               2.4.0.1-3      GNOME configuration database syste
ii  libgcrypt1                1.1.12-4       LGPL Crypto library - runtime libr
ii  libglade2-0               2.0.1-6        Library to load .glade files at ru
ii  libglib2.0-0              2.2.3-1        The GLib library of C routines
ii  libgnome2-0               2.4.0-4        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.4.0-1        A powerful object-oriented display
ii  libgnomeui-0              2.4.0.1-5      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.4.1-4        The GNOME virtual file-system libr
ii  libgnomevfs2-common       2.4.1-4        The GNOME virtual file-system libr
ii  libgnutls7                0.8.12-5       GNU TLS library - runtime library
ii  libgtk2.0-0               2.2.4-3        The GTK+ graphical user interface 
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libncurses5               5.4-3          Shared libraries for terminal hand
ii  liborbit2                 1:2.8.3-2      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.2.5-2.1      Layout and rendering of internatio
ii  libpopt0                  1.7-4          lib for parsing cmdline parameters
ii  libstartup-notification0  0.5-4          library for program launch feedbac
ii  libtasn1-0                0.1.2-1        Manage ASN.1 structures (runtime)
ii  libvte4                   1:0.11.10-3    Terminal emulator widget for GTK+ 
ii  libxft2                   2.1.2-5        FreeType-based font drawing librar
ii  libxml2                   2.6.9-1        GNOME XML library
ii  libxrender1               0.8.3-5        X Rendering Extension client libra
ii  scrollkeeper              0.3.14-5       A free electronic cataloging syste
ii  xlibs                     4.3.0.dfsg.1-1 X Window System client libraries m
ii  zlib1g                    1:1.2.1-3      compression library - runtime

-- no debconf information