Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!apple!mips!excelan!unix!hplabs!hp-ses!hpcuhb!hpsqf!hpopd!apm From: apm@hpopd.HP.COM (Andrew Merritt) Newsgroups: comp.sys.hp Subject: Re: Wanted: caps key disable - HP9000/360 Message-ID: <8490006@hpopd.HP.COM> Date: 7 Dec 89 15:38:57 GMT References: <1447@shell.shell.com> Organization: HP PWD, Pinewood UK. Lines: 28 / hpopd:comp.sys.hp / rgh@shell.com (Richard G. Hash) / 11:46 pm Nov 29, 1989 / We've just gotten a bunch of 9000/360 workstations, and I want to know how to disable the "Caps" key on the keyboard (thru software!). I previously had a Sun 3/50 which had a similar annoyance, but someone sent me a short Sun-specific program that disabled it. Does someone has a similar beast for a 9000/360, or is there something simpler I've overlooked? ---------- With Xr11 (I haven't used anything earlier) you can use xmodmap to redefine the codes that keys generate. To change the Caps lock key into a second Control key, put the following in a file: remove Lock = Caps_Lock keysym Caps_Lock = Control_R add Control = Control_R and then call xmodmap in your .x11start file. A non-portable, but rerunnable version is: remove Lock = Caps_Lock keycode 55 = Control_R add Control = Control_R This second version depends on the hardware assigned value 55 being the Caps Lock key. Andrew (Not a spokesperson for anyone).