Subject: | |
From: | |
Reply To: | |
Date: | Wed, 28 Mar 2007 21:11:43 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
----- Original message from Ken Teh on Wed Mar 28 20:48:36 2007 -----
>
> Many years ago, I put together a configuration which allowed many of my
> users to use the Jed editor in EDT emulation mode. The configuration
> consisted of a VT100 translation table for the xterm application that
> made use the of PC keypad as an almost 1-1 map of the VT100 keypad.
> (The PC keypad has a single large + key while the VT100 keypad has 2
> keys at this coordinate).
>
> The trick to this configuration was remapping the NumLock key with
> xmodmap. I used xmodmap to translate NumLock to an unused X keycode, in
> particular, KP_Equal. The xterm VT100 translation table then mapped
> KP_Equal to the Gold Key.
>
> I'm unable to do this with SL4x. Xmodmap's at X session startup are
> ignored. Apparently, one needs to use the newer XKeyboard mechanism to
> remap keys. I can remap it interactively after I'm logged in. I took a
> stab at understanding XKeyboard, but it is poorly documented, at least,
> from a simple users' perspective.
>
> I am hoping someone on this list has some suggestions. I suggested
> folks quit using Jed, but that didn't get me anywhere. ;)
>
Hello,
I use IceWM and I can use xmodmap in my ~/.icewm/startup file
...
if [ -f .xmodmap-`hostname -s` ]
then
xmodmap .xmodmap-`hostname -s`
if [ -f .xset-`hostname -s` ]
...
~/.xmodmap-rabeson # for my Dell laptop
remove Control = Control_R
remove Mod2 = Num_Lock
keycode 0x4D = Num_Lock Num_Lock
keycode 0x6C = Shift_R
keycode 0x75 = Multi_key
keycode 0x6D = Meta_R
! la petite touche i sur laptop Dell
keycode 0x81 = F25
add Shift = Shift_R
add Mod2 = Meta_R
remove Mod2 = Alt_R
add Mod3 = F25
add Mod5 = Alt_R
--
Best regards,
Robert FRANCHISSEUR
____ Apollo_gist :-)_______________________________________________
| Robert FRANCHISSEUR |
| Laboratoire de Météorologie Dynamique - C.N.R.S. |
| Equipe "R.A.M.S.E.S." - UPMC - Tour 45-55 3ème 315C |
| Boite 99 - 4, place Jussieu F-75252 PARIS CEDEX 05 FRANCE |
| Phone : +33 (0)1 44 27 73 87 fax : +33 (0)1 44 27 62 72 |
| e-mail : robert at lmd . jussieu . fr http://www.lmd.jussieu.fr |
-------------------------------------------------------------------
|
|
|