Hi Everyone,
I have been working at trying to get the Num_Lock key on the keyboard of my Labtam (101 with pause key, US keyboard) to actually work so I can use the numeric keypad in a dtterm. I have mapped it to be a modifier (add mod2 = Num_Lock) and now when I press the Num_Lock key the light actually comes on - but doesn't modify anything!!! All it seems to do is cause my mouse not to be able to select the window titles to iconify etc. while it is on!!! It appears in my limited knowledge that the keypad keys are correctly set up - the output from "xmodmap -pke" for these keys is:
keycode 113 = KP_1 End
keycode 115 = KP_4 Left
keycode 116 = KP_7 Home
keycode 120 = KP_0 Insert
keycode 121 = KP_Decimal Delete
keycode 122 = KP_2 Down
keycode 123 = KP_5
keycode 124 = KP_6 Right
keycode 125 = KP_8 Up
keycode 127 = KP_Divide
keycode 129 = KP_Enter
keycode 130 = KP_3 Next
keycode 132 = KP_Add
keycode 133 = KP_9 Prior
keycode 134 = KP_Multiply
keycode 140 = KP_Subtract
The output from "xmodmap -pk" for these keys is:
113 0xffb1 (KP_1) 0xff57 (End)
115 0xffb4 (KP_4) 0xff51 (Left)
116 0xffb7 (KP_7) 0xff50 (Home)
120 0xffb0 (KP_0) 0xff63 (Insert)
121 0xffae (KP_Decimal) 0xffff (Delete)
122 0xffb2 (KP_2) 0xff54 (Down)
123 0xffb5 (KP_5)
124 0xffb6 (KP_6) 0xff53 (Right)
125 0xffb8 (KP_8) 0xff52 (Up)
127 0xffaf (KP_Divide)
129 0xff8d (KP_Enter)
130 0xffb3 (KP_3) 0xff56 (Next)
132 0xffab (KP_Add)
133 0xffb9 (KP_9) 0xff55 (Prior)
134 0xffaa (KP_Multiply)
140 0xffad (KP_Subtract)
It appears the problem is that adding the Num_Lock modifier doesn't actually cause the numeric keypad keys to generate the alternate keysym when it is active.
Strange thing is that the keypad functions as navigation keys in an dtterm and numeric in an xterm but can't seem to do both. The xev program (being X I guess) reports that the keys are generating the numbers.
Have tried remapping using the xkeycaps utility to no avail.
The desktop is CDE and the operating system is Digital Unix 4.0D.
Any help would be most appreciated.
Thanks,
Paula
I have been working at trying to get the Num_Lock key on the keyboard of my Labtam (101 with pause key, US keyboard) to actually work so I can use the numeric keypad in a dtterm. I have mapped it to be a modifier (add mod2 = Num_Lock) and now when I press the Num_Lock key the light actually comes on - but doesn't modify anything!!! All it seems to do is cause my mouse not to be able to select the window titles to iconify etc. while it is on!!! It appears in my limited knowledge that the keypad keys are correctly set up - the output from "xmodmap -pke" for these keys is:
keycode 113 = KP_1 End
keycode 115 = KP_4 Left
keycode 116 = KP_7 Home
keycode 120 = KP_0 Insert
keycode 121 = KP_Decimal Delete
keycode 122 = KP_2 Down
keycode 123 = KP_5
keycode 124 = KP_6 Right
keycode 125 = KP_8 Up
keycode 127 = KP_Divide
keycode 129 = KP_Enter
keycode 130 = KP_3 Next
keycode 132 = KP_Add
keycode 133 = KP_9 Prior
keycode 134 = KP_Multiply
keycode 140 = KP_Subtract
The output from "xmodmap -pk" for these keys is:
113 0xffb1 (KP_1) 0xff57 (End)
115 0xffb4 (KP_4) 0xff51 (Left)
116 0xffb7 (KP_7) 0xff50 (Home)
120 0xffb0 (KP_0) 0xff63 (Insert)
121 0xffae (KP_Decimal) 0xffff (Delete)
122 0xffb2 (KP_2) 0xff54 (Down)
123 0xffb5 (KP_5)
124 0xffb6 (KP_6) 0xff53 (Right)
125 0xffb8 (KP_8) 0xff52 (Up)
127 0xffaf (KP_Divide)
129 0xff8d (KP_Enter)
130 0xffb3 (KP_3) 0xff56 (Next)
132 0xffab (KP_Add)
133 0xffb9 (KP_9) 0xff55 (Prior)
134 0xffaa (KP_Multiply)
140 0xffad (KP_Subtract)
It appears the problem is that adding the Num_Lock modifier doesn't actually cause the numeric keypad keys to generate the alternate keysym when it is active.
Strange thing is that the keypad functions as navigation keys in an dtterm and numeric in an xterm but can't seem to do both. The xev program (being X I guess) reports that the keys are generating the numbers.
Have tried remapping using the xkeycaps utility to no avail.
The desktop is CDE and the operating system is Digital Unix 4.0D.
Any help would be most appreciated.
Thanks,
Paula