From owner-freebsd-questions Tue Oct 1 21:52:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA02274 for questions-outgoing; Tue, 1 Oct 1996 21:52:38 -0700 (PDT) Received: from sag.space.lockheed.com (sag.space.lockheed.com [192.68.162.134]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id VAA02269 for ; Tue, 1 Oct 1996 21:52:36 -0700 (PDT) Received: from localhost by sag.space.lockheed.com; (5.65v3.2/1.1.8.2/21Nov95-0423PM) id AA08242; Tue, 1 Oct 1996 21:52:36 -0700 Date: Tue, 1 Oct 1996 21:52:36 -0700 (PDT) From: "Brian N. Handy" To: freebsd-questions@freebsd.org Subject: xmodmap question Message-Id: X-Files: The truth is out there Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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