Subject: Re: mapping keys
To: None <netbsd-help@netbsd.org>
From: Wenchi Liao <wliao@midway.uchicago.edu>
List: netbsd-help
Date: 06/24/1999 11:42:04
Chris Jones wrote:
>>>>>> "Wenchi" == Wenchi Liao <wliao@midway.uchicago.edu> writes:
>
>Wenchi> I'm using one of those windows keyboards with netbsd
>Wenchi> 1.4/i386. Using xev, pressing the ``windows'' key or the
>Wenchi> ``menu'' key generates the output listed below (same general
>Wenchi> output for both menu and windows keys).
>
>The important thing is the keycode given below.  I would use xmodmap
>to map the keycode to a given keysym.  I don't remember exactly how to
>do it, but the xmodmap(1) man page ought to explain it.

Blurp...should study the examples more carefully....

So, my $HOME/.xmodmap file contains:
keycode 115=Meta_L
keycode 116=Meta_R
keycode 117=Escape

...which maps to the left windows key, right windows key,
and menu key.

My .xinitrc explicitly calls ``xmodmap $HOME/.xmodmap'' and I seem to
be set.

WL