Bug 9882 - Some entries in xmakemap(1) are broken
: Some entries in xmakemap(1) are broken
Status: ACCEPTED
Product: opensolaris
x11
: 200906
: VirtualBox/i386 Mac OS
: P4 minor (vote)
: in-201002
Assigned To: Alan Coopersmith
: Watcher account for X11 bugs
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-07-06 14:20 UTC by Constantin Gonzalez
Modified: 2009-11-13 12:35 UTC (History)
4 users (show)

See Also:


Attachments
Output of the xmakemap command, resulting in broken entries. (9.55 KB, text/plain)
2009-07-06 14:20 UTC, Constantin Gonzalez
no flags Details
Output of "env" of a standard user that suffers from the same bug. (336 bytes, text/plain)
2009-07-07 03:26 UTC, Constantin Gonzalez
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Constantin Gonzalez 2009-07-06 14:20:06 UTC
Created an attachment (id=2217) [details]
Output of the xmakemap command, resulting in broken entries.

When issuing xmakemap on an OpenSolaris 2009.06 system, running on VirtualBox
3.0.0 on a MacBook Pro, some entries are broken.

For example, the entry for keycode 16 (the numeric key "7") looks like this:

 keycode  16 = 1               16^@^Hh           braceleft

It should rather be:

  keycode  16 = 7               slash           braceleft

This is annoying if you want to modify your keymap with xmodmap(1) and need a
correct reference of your current map, or worse, if you need to make a backup
of your current keymap. Actually, feeding the output of xmakemap back into
xmodmap will make the keyboard unusable, defeating the purpose of xmakemap
altogether.

Attached is a full xmakemap output from my system as an example. It should be
easy to reproduce.
Comment 1 Alan Coopersmith 2009-07-06 18:22:24 UTC
xmakemap is working fine for me - perhaps this depends on locale or on
$PATH picking the wrong awk?   Can you provide the output of "env" to
see your environment?
Comment 2 Constantin Gonzalez 2009-07-07 03:26:01 UTC
Created an attachment (id=2221) [details]
Output of "env" of a standard user that suffers from the same bug.

Here's an output from a standard user's environment (no modifications to the
environment) on the same machine. I've verified that the bug is still triggered
with this environment.

The PATH is standard and the LANG variable is en_US.UTF-8 which seems quite
common to me. Maybe it's a VirtualBox related issue?
Comment 3 Michael Schlenker 2009-07-22 12:48:50 UTC
The same problem appears under VMware Fusion running on a Mac Book Pro, when
running xmakemap, this time with a german locale setup, so this is probably not
VirtualBox specific but might be VM specific.
Comment 4 Gérald Eggenberger 2009-11-13 12:35:34 UTC
I've tested this on my native Installation of OpenSolaris 200906 on a macbook
pro. The same env-settings. And the problem occurs too. 
Additionally for swiss-german keyboard layout Keycode 49 and 94 are
interchanged.