Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.9 What happened to the vuewm key accelerators at VUE 3.0?"
Next document is "6.11 How come vi behaves strangely in xterms at 9.01?"

6.10 How come I can no longer disable the caps lock key with xmodmap?

A common activity in the past has been to disable the, shall we say,
"placement challenged" caps lock key on the ITF keyboard using a simple
xmodmap script.  This no longer works consistently at X11R5/VUE 3.0; the best
solution so far:

In file ~/.vue/sessions/lite/vue.session:

/usr/bin/X11/xmodmap - << EOF
        clear lock
        keycode 55 = Control_L
        keycode 86 = Caps_Lock
        keycode 39 = grave asciitilde guillemotleft guillemotright
        keycode 71 = Escape
        add Lock = Caps_Lock
        add Control = Control_L
EOF

This works until logout/login, when Caps Lock toggles the control feature,
even though 'xmodmap -pm' shows that Lock has no assignments. You have to
restart the server to reset completely, which can be automated by setting the
value

Vuelogin*terminateServer:   True

in the file /usr/vue/config/Xconfig.

Parent document is top of "comp.sys.hp.hpux FAQ"
Previous document is "6.9 What happened to the vuewm key accelerators at VUE 3.0?"
Next document is "6.11 How come vi behaves strangely in xterms at 9.01?"