01-23-04 11:55 PM
John wrote:quote:
> On Fri, 20 Jun 2003 23:44:15 +1200, Thor wrote:
>
>
>
>
> Another option is to modify your keymap under X so that the number pad
> behaves as if the NumLock is always on (see manpage for xmodmap). It's
> easy--just create the file ~/.Xmodmap with the content:
>
> ! redefines numeric keypad to be used without NumLock
> keycode 79 = KP_7
> keycode 80 = KP_8
> keycode 81 = KP_9
> keycode 83 = KP_4
> keycode 84 = KP_5
> keycode 85 = KP_6
> keycode 87 = KP_1
> keycode 88 = KP_2
> keycode 89 = KP_3
> keycode 90 = KP_0
> keycode 91 = KP_Decimal
>
> ! deactivates NumLock key
> keycode 77 =
>
Thanks for the info, this helps. Just out of curiosity, is there a way
to do something similar to this when you are running in a shell not under X?
Shawn
[ Post a follow-up to this message ]
|