Bug#235652: xbase-clients: key remaped with xmodmap fails to respond as expected to shifting
Package: xbase-clients
Version: 4.3.0-2
Severity: normal
When remapping the "\|" key to the "Backspace" key and vice versa on a standard US 104 keyboard using:
xmodmap -e 'keycode 22 = backslash bar'
xmodmap -e 'keycode 51 = BackSpace'
Pressing "backspace" generates "\" when pressed as expected.
Pressing "Shift+backspace" does not generate "|", as expected. Pressing
"Shift+<|\>" also does not generate "|". This behavior has been
reported to function as expected to me since at lease XFree 3.3.x
but not >=4.3
Output of xev after remaping, upon pressing "backspace":
KeyPress event, serial 25, synthetic NO, window 0x1c00001,
root 0x48, subw 0x0, time 4265320, (674,173), root:(677,243),
state 0x0, keycode 22 (keysym 0x5c, backslash), same_screen YES,
XLookupString gives 1 bytes: "\"
Output of xev after remaping, upon pressing "Shift+Backspace":
KeyPress event, serial 25, synthetic NO, window 0x1c00001,
root 0x48, subw 0x0, time 4298603, (795,168), root:(798,238),
state 0x1, keycode 22 (keysym 0x5c, backslash), same_screen YES,
XLookupString gives 1 bytes: "\"
This appears to be distro & kernel independant, leading me to beleive
it's a problem in the upstream code.
A report under Red Hat 9:
https://www.redhat.com/archives/xfree86-list/2003-September/msg00028.html
Also the bug is present in NetBSD, here's the build info:
XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: NetBSD/i386 1.6ZG [ELF] The NetBSD Foundation,
Inc.
Build Date: 19 December 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Cheers,
-Dave
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1077171141-dah-ganymede
Locale: LANG=C, LC_CTYPE=C
Versions of packages xbase-clients depends on:
ii cpp 4:3.3.3-2 The GNU C preprocessor (cpp)
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libdps1 4.3.0-2 Display PostScript (DPS) client li
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libfontconfig1 2.2.1-16 generic font configuration library
ii libfreetype6 2.1.7-2 FreeType 2 font engine, shared lib
ii libice6 4.3.0-2 Inter-Client Exchange library
ii libncurses5 5.3.20030719-5 Shared libraries for terminal hand
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii libsm6 4.3.0-2 X Window System Session Management
ii libstdc++5 1:3.3.3-1 The GNU Standard C++ Library v3
ii libxaw7 4.3.0-2 X Athena widget set library
ii libxcursor1 1.0.2-4 X Cursor management library
ii libxext6 4.3.0-2 X Window System miscellaneous exte
ii libxft2 2.1.2-5 FreeType-based font drawing librar
ii libxi6 4.3.0-2 X Window System Input extension li
ii libxmu6 4.3.0-2 X Window System miscellaneous util
ii libxmuu1 4.3.0-2 lightweight X Window System miscel
ii libxpm4 4.3.0-2 X pixmap library
ii libxrandr2 4.3.0-2 X Window System Resize, Rotate and
ii libxrender1 0.8.3-5 X Rendering Extension client libra
ii libxt6 4.3.0-2 X Toolkit Intrinsics
ii libxtrap6 4.3.0-2 X Window System protocol-trapping
ii libxtst6 4.3.0-2 X Window System event recording an
ii libxv1 4.3.0-2 X Window System video extension li
ii xlibmesa-gl [libgl1] 4.3.0-2 Mesa 3D graphics library [XFree86]
ii xlibmesa-glu [libglu1] 4.3.0-2 Mesa OpenGL utility library [XFree
ii xlibs 4.3.0-2 X Window System client libraries m
ii xlibs-data 4.3.0-2 X Window System client data
ii zlib1g 1:1.2.1-4 compression library - runtime
-- no debconf information
Reply to: