Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168197 - Bash in a console with unicode and fr-latin1 keymap unwanted behaviour
Summary: Bash in a console with unicode and fr-latin1 keymap unwanted behaviour
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 23:52 UTC by Sylvain Garrigues
Modified: 2007-03-01 06:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Garrigues 2007-02-23 23:52:04 UTC
I have UNICODE="yes" in /etc/rc.conf and KEYMAP="fr-latin1" in /etc/conf.d/keymaps.

In the raw console (no framebuffer, no X), after the prompt `~ $ ', if I type `é' and then press backspace twice, the prompt becomes `~ $'. If I do that again, it becomes `~ '. In short, I can delete two characters when I type a single character. It only happens with extended symbols (é, è, à, ç, ...).

My emerge --info:
Portage 2.1.2-r10 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.20.1 i686)
=================================================================
System uname: 2.6.20.1 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 23 Feb 2007 17:50:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -fvariable-expansion-in-unroller"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -fvariable-expansion-in-unroller"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="bash-completion bitmap-fonts cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog libg++ midi mmx mmxext ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode vanilla x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Reproducible: Always
Comment 1 SpanKY gentoo-dev 2007-02-27 15:30:49 UTC
you have to use a unicode compatible map if you want to use the console in unicode mode
Comment 2 Sylvain Garrigues 2007-02-28 20:14:00 UTC
Well, I tried fr-latin1, fr-latin9 and fr-pc, and every single one poses the same problem: if I type 3 é, I can delete 6 characters.

 Which one do I need to use? I have a French AZERTY keyboard (with é and 2 on the same key).
Comment 3 SpanKY gentoo-dev 2007-03-01 06:49:29 UTC
i really have no idea ... i'm not a french user nor am i a unicode user

please ask on the gentoo forums and/or french gentoo users mailing list