Summary: | sys-libs/gpm doesn't support UTF8 locale | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | spiritus <sirspiritus> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | njsg |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
spiritus
2007-04-02 17:00:20 UTC
(In reply to comment #0) > Cut'n'paste using gpm is broken on UTF8 system: all national characters are > replaced by spaces when pasted from clipboard by middle bouse button click. I do it all the time, and it works just fine. You'll have to provide more info about your console configuration. This is log from linux console (not in X11): Script started on Чтв 05 Апр 2007 01:23:06 spiritus@galaxy ~ $ locale LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= spiritus@galaxy ~ $ uname -r 2.6.19-gentoo-r5 spiritus@galaxy ~ $ egrep -v "^$|^#" /etc/rc.conf UNICODE="yes" EDITOR="/usr/bin/vim" XSESSION="kde-3.5" spiritus@galaxy ~ $ egrep -v "^$|^#" /etc/conf.d/keymaps KEYMAP="-u ru4" SET_WINDOWKEYS="yes" EXTENDED_KEYMAPS="" DUMPKEYS_CHARSET="koi8-r" spiritus@galaxy ~ $ egrep -v "^$|^#" /etc/conf.d/consolefont CONSOLEFONT="Cyr_a8x16" CONSOLETRANSLATION="koi8-r_to_uni" spiritus@galaxy ~ $ tty /dev/pts/2 spiritus@galaxy ~ $ echo And now some national chars And now some national chars spiritus@galaxy ~ $ date Чтв Апр 5 01:25:59 YEKST 2007 spiritus@galaxy ~ $ echo Тест-тест-тест Тест-тест-тест spiritus@galaxy ~ $ echo And now cut\'n\'paste with gpm And now cut'n'paste with gpm spiritus@galaxy ~ $ �� �� 5 01:25:59 YEKST 2007 bash: ��: command not found spiritus@galaxy ~ $ ��-��-�� bash: ��-��-�� command not found spiritus@galaxy ~ $ echo I see only spaces instead of national chars :\( I see only spaces instead of national chars :( spiritus@galaxy ~ $ exit Script done on Чтв 05 Апр 2007 01:28:25 I have seen exactly the same problem with gpm with the same locale ru_RU.UTF-8 in FC6. This happens here too: Original text: áàaéiáç Pasted text: ��a�i�� (In elinks the non-ascii characters are pasted as squares, in Emacs, they will be pasted as if there was misunderstanding regarding encoding (two chars, like utf8 rendered as iso8859-1).) $ locale LANG= LC_CTYPE=en_US.utf8 LC_NUMERIC=en_US.utf8 LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8 LC_MONETARY=pt_PT.utf8 LC_MESSAGES=en_US.utf8 LC_PAPER=en_US.utf8 LC_NAME=en_US.utf8 LC_ADDRESS=en_US.utf8 LC_TELEPHONE=en_US.utf8 LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=en_US.utf8 LC_ALL= Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19-gentoo-r520080511 i686) ================================================================= System uname: 2.6.19-gentoo-r520080511 i686 Pentium II (Deschutes) Timestamp of tree: Tue, 03 Jun 2008 23:30:03 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.3 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/" LC_ALL="" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-5" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://ftp.gil.di.uminho.pt/gentoo-portage" USE="16bittmp 7zip X a52 aac aalib acpi ada alsa bash-completion berkdb bidi bittorrent bluetooth bzip2 cairo ccache cdda cdr cdrom cjk cli cracklib crypt css cups dbus djvu double-precision dri dts dv dvd dvdr dvdread emboss encode esd examples fam ffmpeg firefox flac fortran ftp gdbm gif gimp gimpprint gnuplot gnutls gpgme gphoto2 gpm gs gsl gstreamer gtk hardened hardenedphp html http iconv imagemagick imap imlib intl ipv6 irc isdnlog jabber john jpeg jpeg2k kqemu lame latex lcms ldap libcaca live lm_sensors lzo mad mbox midi mikmod mimencode mjpeg mmx mmxext mng mozilla mp3 mpeg mpeg2 mpeg4 mplayer mudflap mule mysqli nas ncurses net nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl pmu png pop ppds pppd python quicktime readline reflection rss rtsp sasl scanner sdl session smime spell spl ssl startup-notification svg tcpd tetex theora thesaurus tidy tiff transcode truetype unicode usb userlocales utf8 v4l vcd vorbis win32codecs wma wma123 wmf x86 xface xine xml xorg xprint xv xvid zip zlib" ALSA_CARDS="sbawe" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="aiptek keyboard mouse hyperpen" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev mga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS I don't suffer this problem with 1.20.6 Here it is working fine now (1.20.6 too). Although this is not the same system where the problem was observed (I'm unable to test this on that gentoo install, it's gone), I doubt this would depend on, e.g., architecture. I suppose the problem was fixed upstream. |