Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148968 - >=x11-terms/rxvt-unicode-8.1 - "dead keys" not working w/ tabbed extension
Summary: >=x11-terms/rxvt-unicode-8.1 - "dead keys" not working w/ tabbed extension
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-24 10:22 UTC by Volker Wegert
Modified: 2010-03-07 10:26 UTC (History)
7 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 Volker Wegert 2006-09-24 10:22:11 UTC
urxvt segfaults almost every time I try to enter one of the characters that need space pressed to appear on their own (don't know what they're called in english) - like ~ or ^. Same thing happens with urxvtd and urxvtc - the d segfaults taking the c with it (naturally). Tried contacting the author on freenode - he was not quite helpful (to say the least). Trying to narrow the segfault down using gdb didn't get me very far either:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213999440 (LWP 27449)]
0xb7d5bb7c in _XimLocalWcLookupString () from /usr/lib/libX11.so.6


**** emerge --info ****
Portage 2.1.1_rc1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.80GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 20 Sep 2006 02:01:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.0-r3, 2.0.26-r6
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -f"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en_GB en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/gentopia"
SYNC="rsync://zathras/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dbus divx4linux dlloader dmi doc dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd fame firebird foomaticdb fortran gdbm gif gimp gpm gstreamer gtk gtk2 imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg kernel_linux libg++ libwww linguas_de linguas_en_GB linguas_en_US mad mikmod mmx motif mp3 mpeg ncurses nls nptl nsplugin nvidia ogg opengl oss pam pcmcia pcre perl png postgres pppd python qt qt3 qt4 quicktime readline reflection samba sasl scanner sdl session spell spl sqlite sse sse2 sse3 ssl subtitles tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia video_cards_vesa vorbis xinerama xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 René Nussbaumer (RETIRED) gentoo-dev 2006-09-25 02:37:01 UTC
Can't reproduce that. Can you give me your locale settings (by running the command `locale')? And what version of Xorg do you use? 7.0 or 7.1? Can you give me your libX11 Version too? Thanks.
Comment 2 Volker Wegert 2006-09-25 10:04:24 UTC
vwegert@sinclair ~ $ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8

sinclair ~ # equery l xorg-x11
[ Searching for package 'xorg-x11' in all categories among: ]
 * installed packages
[I--] [  ] x11-base/xorg-x11-7.0-r1 (0)

sinclair ~ # equery l libX11
[ Searching for package 'libX11' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/libX11-1.0.1-r1 (0)
Comment 3 René Nussbaumer (RETIRED) gentoo-dev 2007-03-08 12:00:26 UTC
Is this bug still reproducible?
Comment 4 Volker Wegert 2007-03-11 14:49:19 UTC
With 8.1, the segfaults no longer occur. However, I still can't use the "dead keys" - I can't type ~ or any accented character like é, nothing happens. Other apps work fine with the "dead keys", even a simple xterm does. 
Comment 5 René Nussbaumer (RETIRED) gentoo-dev 2007-03-11 18:45:18 UTC
I know this problem only if the locales are not properly set. Your Xorg has the right locales at startup? Have you already tried todo something like:

LC_CTYPE="de_DE.utf-8" urxvt

Is it working then?
Comment 6 Volker Wegert 2007-03-16 18:30:38 UTC
No change. Other diacritics like äöü work. Other programs like Firefox, Emacs and Eclipse don't have the problem.
Comment 7 Martin Berkemeier 2007-10-26 09:42:13 UTC
same here

pho@smashed ~ $ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8


LC_CTYPE="en_US.UTF-8" urxvt
dont work.
no dead keys.
an i need dead keys cause
    Option         "XkbLayout"     "us"
    Option         "XkbVariant"    "intl"
and yes i need intl cause i'm from germany
Comment 8 Martin Berkemeier 2007-10-26 10:05:06 UTC
ok... have worked it out.
set in .Xdefaults

URxvt.perl-ext-common:                  default,tabbed

and you have no dead keys.

URxvt.perl-ext-common:                  default

and you have dead keys
Comment 9 Volker Wegert 2007-11-03 22:30:07 UTC
(In reply to comment #8)
> ok... have worked it out.
> set in .Xdefaults
> URxvt.perl-ext-common:                  default,tabbed
> and you have no dead keys.
> URxvt.perl-ext-common:                  default
> and you have dead keys

While I can confirm this behaviour, I want to use both dead keys and the tabs. :-)
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-01-15 09:42:34 UTC
(In reply to comment #9)
> While I can confirm this behaviour, I want to use both dead keys and the tabs.
> :-)

I can confirm this behaviour *only* when using evdev as keyboard driver. Everything works just fine w/ kbd driver.
Comment 11 René Nussbaumer (RETIRED) gentoo-dev 2008-10-04 11:45:41 UTC
Still an issue?
Comment 12 Raphaël Droz 2009-02-26 01:46:43 UTC
(In reply to comment #11)
> Still an issue?
> 

I always encoutered a relative odd behavior of this kind :
The deadkeys are tricky to appear with tab extension :
With my french keyboard it affects the following characters :
- ^ and " (the punctuation over the following character : 'ë')
- ` (like 'ì')

Anyway a workaround is :
- if it's a newly created tab : launch a new tab then come back : deadkeys works.
- if I can scroll-up (console filled enough) : it's sometimes enough to enable deadkeys.

Notice : when I can't scroll-up with the keyboard, deadkeys won't appears.
The opposite is not always true.
So the problem is *maybe* linked to this inability to scroll-up with Shift+PgUp in some of the newly created tabs (but more often in the first one of a new urxvtc instance).

Config:
fr_FR.UTF-8, Xorg 1.5.3-r2, driver:kbd, map:fr-latin9

Nothing blocking, almost not annoying but maybe worse to be said...
Comment 13 Raphaël Droz 2009-03-21 22:10:57 UTC
Replying myself : known problem with the tab extension :
http://article.gmane.org/gmane.comp.terminal-emulators.rxvt-unicode.general/480
(refering to :
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511377 (specifically about page-up page-down)
- http://article.gmane.org/gmane.comp.terminal-emulators.rxvt-unicode.general/21
(which seems to say that both behavior (compose-key & page-up/page-down) are caused by a same bug))
Comment 14 Alex Alexander (RETIRED) gentoo-dev 2009-10-27 10:11:46 UTC
Anyone still having this issue? With latest rxvt && X?

Can you also try using evdev instead of the (really old) kbd driver?
Comment 15 Raphaël Droz 2009-10-27 21:19:42 UTC
Yes, I'm still able to reproduce it (can't get deadkey char in a tabbed urxvt).
using rxvt-unicode-9.06-r2 and xorg-server-1.7.1 with evdev.
Known workarounds :
- open a new tab
- resize the window
- move the mouse over the window (it is *sometimes* enough)
- have the mouse over the area the window will appears in
Comment 16 Volker Wegert 2009-11-06 22:07:27 UTC
I can also confirm it's still reproducible with rxvt-unicode-9.05.r3, xorg-server-1.6.3.901-r2, same workarounds apply.
Comment 17 Alex Alexander (RETIRED) gentoo-dev 2009-12-31 00:54:06 UTC
Please test with latest available X (1.7.3.902) and urxvt (9.07) :)
Comment 18 Volker Wegert 2010-03-07 10:26:31 UTC
Fixed - now works for me.