From: Jack Patteeuw [jjpatteeuw@peoplepc.com] Sent: Thursday, February 07, 2002 8:05 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: Dxterm displayed on Solaris Jack Patteeuw wrote: > The answer of course is to use xev to find the key scan code for all of the > keys on the numeric keypad for a particular type of keyboard and then > xmodmap to get the proper keycode sent. Placing the following lines into $HOME/.xmodmaprc and then executing the command "xmodmap $HOME/.xmodmaprc" will modify the kepmap of a Sun Ultra 1 workstation with a "standard" keyboard such that the numeric keypad will act the same as a DEC VTxxx terminal, keycode 53 = KP_F2 keycode 54 = KP_F3 keycode 57 = KP_Decimal keycode 75 = KP_7 keycode 76 = KP_8 keycode 77 = KP_9 keycode 78 = KP_F4 keycode 97 = KP_Enter keycode 98 = KP_4 keycode 99 = KP_5 keycode 100 = KP_6 keycode 101 = KP_0 keycode 105 = KP_F1 keycode 119 = KP_1 keycode 120 = KP_2 keycode 121 = KP_3 keycode 132 = KP_Separator # this is what X calls the , on the numeric keypad The key labeled "Num Lock" now acts like a proper PF1 key, the / on the numeric keypad acts like PF2, the * acts like PF3, etc. The numbers all send themselves and work correctly in EDT/TPU/LSE. All windows use the same X keymap. I plan on putting PF1, PF2, PF3 PF4 stickers on those keys so that users know how they now work. -- Jack Patteeuw