Bug#429434: gnome-terminal: accented characters confuse space calculation if LC_ALL=C

Paolo Benvenuto donpaolo at gsi.it
Mon Jun 18 01:36:36 UTC 2007


Package: gnome-terminal
Version: 2.18.0-2
Severity: normal

I had to grep in a file looking for an accented vowel, and I could see that after I wrote the 
grep command (without executing it), deleting all the characters confused the terminal.

I wrote:
$ grep molín

then I backspaced it till deleting all the letters. Result: the cursor ended one space more at the left.

I could see that if I write:

$ greo áéíóú
and then I delete with backspace, the cursor goes 5 spaces more to the left than it should.

With normal locale (e.g. in a newly opened terminal) this problem doesn't show.

It seems that the bug appears for the setting of LC_ALL=C

If I set "LC_ALL=", the bug desappears.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-2-686 (SMP w/1 CPU core)
Locale: LANG=es_DO.UTF-8, LC_CTYPE=es_DO.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-terminal depends on:
ii  gnome-control-center        1:2.18.1-1   utilities to configure the GNOME d
ii  gnome-terminal-data         2.18.0-2     Data files for the GNOME terminal 
ii  libatk1.0-0                 1.18.0-2     The ATK accessibility toolkit
ii  libbonobo2-0                2.18.0-2     Bonobo CORBA interfaces library
ii  libc6                       2.5-11       GNU C Library: Shared libraries
ii  libgconf2-4                 2.18.0.1-3   GNOME configuration database syste
ii  libglade2-0                 1:2.6.0-4    library to load .glade files at ru
ii  libglib2.0-0                2.12.12-1    The GLib library of C routines
ii  libgnome2-0                 2.18.0-4     The GNOME 2 library - runtime file
ii  libgnomeui-0                2.18.1-2     The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0              1:2.18.1-2   GNOME Virtual File System (runtime
ii  libgtk2.0-0                 2.10.13-1    The GTK+ graphical user interface 
ii  liborbit2                   1:2.14.7-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0               1.16.4-1     Layout and rendering of internatio
ii  libpopt0                    1.10-3       lib for parsing cmdline parameters
ii  libstartup-notification0    0.9-1        library for program launch feedbac
ii  libvte9                     1:0.16.5-1   Terminal emulator widget for GTK+ 
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxrender1                 1:0.9.2-1    X Rendering Extension client libra
ii  scrollkeeper                0.3.14-13    A free electronic cataloging syste

Versions of packages gnome-terminal recommends:
ii  yelp                          2.18.1-1   Help browser for GNOME 2

-- no debconf information





More information about the pkg-gnome-maintainers mailing list