Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174647 - Writing UTF-8 characters with KEYMAP="sv-latin1" allows erase of prompt (livecd root #)
Summary: Writing UTF-8 characters with KEYMAP="sv-latin1" allows erase of prompt (live...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-15 06:43 UTC by Martin Nordholts
Modified: 2010-12-01 16:30 UTC (History)
1 user (show)

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 Martin Nordholts 2007-04-15 06:43:18 UTC
This is done directly after the minimal 2006.1 installation CD has booted (AMD64).

Changing KEYMAP to e.g. "sv-latin1" and doing /etc/init.d/keymaps restart works fine, I can write åöä and the terminal is said to be set in UTF-8 mode.

However, when I write one ä, I can erase two characters. If I write äääää I can erase 10 characters, making the boot prompt look like this:

livecd r

(5 characters less than livecd root #)

Reproducible: Always

Steps to Reproduce:
1.Boot 2006.1 AMD64 miminal installation CD.
2. Change KEYMAP in /etc/conf.d/keymaps to "sv-latin1".
3. Write some UTF-8 chars like äääää and hold down backspace.

Actual Results:  
I can erase the text of the prompt.

Expected Results:  
I should not be able to erase the prompt. (If I press Return, a new prompt row is created, and it looks fine again.)
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-10 21:40:26 UTC
Does this still occur on the 2007.0 CD?
Comment 2 Yevgen Pronenko 2007-11-14 21:18:08 UTC
The same on amd64 2007.0 system. My /etc/conf.d/keymaps contain KEYMAP="-u ru4" string.
emerge --info output:
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Fri, 09 Nov 2007 21:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LC_ALL="us_US.utf8"
MAKEOPTS="-j20"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow a52 aac aalib acl alsa amd64 bash-completion berkdb bitmap-fonts cddb cdr cli cracklib crypt cups dbus directfb doc dri dvd dvdr fbcon flac fortran gdbm gpm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl pppd python readline reflection session spell spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-08 20:09:03 UTC
OK, can you verify this on 2008.0 Beta 1?
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-12-01 16:30:03 UTC
I'm closing this bug as we've been waiting for feedback for the past 2 and half years.
If you can reproduce this bug on the latest weekly ISO, feel free to reopen the bug.