Bug#273999: gnome-terminal: Command line is trashed with colorized prompt

Cedric Delfosse Cedric Delfosse <cedric@debian.org>, 273999@bugs.debian.org
Wed, 29 Sep 2004 10:39:09 +0200


Package: gnome-terminal
Version: 2.6.1-6
Severity: important

Put this into the PS1 variable:
PS1='\033[01;36m\u\033[m@\033[01;36m\h\033[m:\w\$ '

Now start to type at the command line until you reach the border of the
gnome-terminal window. You will see that what you type is wrapped before, and
without carriage return.

I think this bug is important because lots of people are using colorized
prompt and this bug breaks the way they work, and they need to modify their
setup if the want to use gnome-terminal.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages gnome-terminal depends on:
ii  gnome-control-center      1:2.6.1-12     The GNOME Control Center for GNOME
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-3        The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-4        Open-source version of SGI's audio
ii  libbonobo2-0              2.6.2-6        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libesd0                   0.2.29-1       Enlightened Sound Daemon - Shared 
ii  libfontconfig1            2.2.3-1        generic font configuration library
ii  libfreetype6              2.1.7-2.2      FreeType 2 font engine, shared lib
ii  libgconf2-4               2.6.4-2        GNOME configuration database syste
ii  libgcrypt11               1.2.0-4        LGPL Crypto library - runtime libr
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.6-2        The GLib library of C routines
ii  libgnome-keyring0         0.2.1-3        GNOME keyring services library
ii  libgnome2-0               2.6.1.2-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgnomeui-0              2.6.1.1-4      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.6.2-2        The GNOME virtual file-system libr
ii  libgnutls11               1.0.16-7       GNU TLS library - runtime library
ii  libgpg-error0             1.0-1          library for common error values an
ii  libgtk2.0-0               2.4.9-1        The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-4 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libncurses5               5.4-4          Shared libraries for terminal hand
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.4.1-2        Layout and rendering of internatio
ii  libpopt0                  1.7-4          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-4 X Window System Session Management
ii  libstartup-notification0  0.7-1          library for program launch feedbac
ii  libtasn1-2                0.2.10-3       Manage ASN.1 structures (runtime)
ii  libvte4                   1:0.11.11-5    Terminal emulator widget for GTK+ 
ii  libx11-6                  4.3.0.dfsg.1-4 X Window System protocol client li
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxml2                   2.6.11-3       GNOME XML library
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  scrollkeeper              0.3.14-9       A free electronic cataloging syste
ii  xlibs                     4.3.0.dfsg.1-4 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-7    compression library - runtime

-- no debconf information