Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117586 - x11-terms/rxvt-unicode-6.2 has broken meta-key handling
Summary: x11-terms/rxvt-unicode-6.2 has broken meta-key handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 05:28 UTC by Tobias Klausmann (RETIRED)
Modified: 2006-01-05 01:38 UTC (History)
2 users (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 Tobias Klausmann (RETIRED) gentoo-dev 2006-01-03 05:28:04 UTC
My left alt key produces this even in xev:

KeyPress event, serial 30, synthetic NO, window 0x2400001,
    root 0x9c, subw 0x0, time 1460374, (58,97), root:(1085,322),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

It has done so since ages. With the recent update of rxvt-unicode, it has changed behaviour, though. For example, in irssi, virtual screens (windows) can be switched with alt+number, i.e. alt-1, alt-2 etc. With the new version of rxvt-unicode, I get the plain numbers, i.e. 1, 2 etc. In the normal shell, alt-1 should produce the "(arg: 1)" prompt and correspondig behaviour from readline. With the new version, I get the +/--Sign for alt-1 the superscript 2 and 3 for alt-2 and alt-3 and sundry other especial chars for the rest of the number keys.

Is this a chnaged behaviour (and how would I get back the old behaviour) or a bug in the most recent ebuild or the program itself?

PS: Backdating to 6.1 makes everything work as expected again.

$ emerge info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-rc5 i686)
=================================================================
System uname: 2.6.15-rc5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LC_ALL="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aalib acl acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bmp browserplugin bzip2 bzlib cdr crypt cups curl curlwrappers divx4linux dv dvd dvdread dxr3 emboss encode esd ethereal exif exiscan exiscan-acl expat fam fame ffmpeg fftw flac font-server foomaticdb fortran ftp gd gdbm gif gimpprint glut gnutls gphoto2 gpm gstreamer gtk gtk2 guile icq idn imagemagick imap imlib jabber jpeg kdeenablefinal lcms libcaca libg++ libwww lua mad maildir mailwrapper matroska mikmod mmap mmx mng motif mp3 mpeg mpi ncurses network nls offensive ogg oggvorbis opengl oss pam pcre pdflib perl png postgres python qt quicktime readline recode sdl slang sndfile spell sqlite sse ssl svg svga sysvipc tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis wmf wxwindows xine xml2 xmms xpm xv xvid yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2006-01-03 07:59:32 UTC
Applying http://cvs.schmorp.de/browse/rxvt-unicode/src/init.C?sortby=date&r2=1.129&r1=1.128 from upstream seems to fix this.
Comment 2 Ciaran McCreesh 2006-01-03 08:11:47 UTC
Hrm, if someone urgently needs this fixed, feel free to commit a -r1 with the patch. Otherwise, chances are 6.3 will be out within a few days...
Comment 3 Ciaran McCreesh 2006-01-05 01:38:26 UTC
6.3 supposedly works.