Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 1996 21:52:36 -0700 (PDT)
From:      "Brian N. Handy" <handy@sag.space.lockheed.com>
To:        freebsd-questions@freebsd.org
Subject:   xmodmap question
Message-ID:  <Pine.OSF.3.94.961001214639.1228B-100000@sag.space.lockheed.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Heya folks,

I probably should post this to the xfree list, but it's probably a dumb
question and I'd like to get an answer, so I'm asking here... 

Emacs has an edt mode which allows the user to use the keypad in the old
standard "keypad-editing" mode ala' VT100.  One thing that would be really
nice for this would be to be able to trade the position of the num lock
and F12 keys.

I've tried this using xmodmap.  I've boiled my swap down to:

	keycode 77 = F12
	keycode 96 = Num_Lock

...and sure enough, if I pump on the F12 key, the num lock light goes on
and off.  Similarly if I push the num lock key I appear to get something
that appears F12-ish.  

However num lock no longer works!  Once I apply this, it doesn't matter if
the num lock key is on or off -- my keypad acts like arrow keys and not a
number pad.  I find this strange.

As an added data point, I also have Xaccel.  If I'm running THAT, it
appears to work just fine.  Which is cool, except the machine I want to do
this on...doesn't have Xaccel.  And I'm not even sure why there would be a
difference between the two anyway, the xmodmap binary is the same in both
cases.

Running 2.2-960801-SNAP.

Thanks,

Brian




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.94.961001214639.1228B-100000>