Your message dated Mon, 18 Jun 2007 09:00:51 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#429434: gnome-terminal: accented characters confuse space
calculation if LC_ALL=C
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Hi,
On Sun, Jun 17, 2007, Paolo Benvenuto wrote:
> 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.
This indicates that your shell is in non-UTF-8 mode while your terminal
is in UTF-8.
> With normal locale (e.g. in a newly opened terminal) this problem
> doesn't show.
Which means when the shell and the terminal have the same locale; this
is expected.
> It seems that the bug appears for the setting of LC_ALL=C
> If I set "LC_ALL=", the bug desappears.
This is not a bug: the shell will rely on its locale to decide of which
terminal encoding you use and the terminal will use the encoding based
on your locale. Either run your full session in a different locale, or
start both the terminal and the shell in a new locale (with:
"LC_ALL=C gnome-terminal") or only change parts of the locale
(LC_MESSAGES=C) in the shell.
I'm closing your report.
Bye,
--
Loïc Minier
--- End Message ---