*BSD News Article 18884


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!convex!darwin.sura.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!e2big.mko.dec.com!decvax.dec.com!jtkohl
From: jtkohl@zk3.dec.com (John Kohl)
Subject: Re: [HACK:] fix CAPSLOCK for good...
In-Reply-To: tim@introl.com's message of 26 Jul 1993 09:09:25 -0500
Message-ID: <1993Jul26.171051.21986@e2big.mko.dec.com>
Sender: usenet@e2big.mko.dec.com (Mr. USENET)
Organization: Digital Equipment Corporation
References: <22h1vs$6a6@aggedor.rmit.OZ.AU> <22lm8l$c0k@cleese.apana.org.au>
	<22uoji$h3d@introl.introl.com> <1993Jul26.033520.19423@ucc.su.oz.au>
	<230oil$os1@introl.introl.com>
Date: Mon, 26 Jul 1993 17:10:51 GMT
Lines: 23

In article <230oil$os1@introl.introl.com> tim@introl.com (Tim Chase) writes:

> Wow, you're right.  Actually, I wasn't forgetting to undefine the old definition.
> I have been using the .Xmodmap file containing:

>         remove lock = Caps_Lock
>         add control = Caps_Lock

> to turn my caps-lock key into a control key.  This file works for every X
> server I've tried except for the XFree86 server.  The magic seems to be
> that the XFree86 server applies the locking behavior to whetever key
> has the "Caps_Lock" keysym.

I've a patch for this at home (based on the original BSDI stuff, which
inherits from X11R5 X386, I think, but in any case that code is fairly
high level and not involved with display code so the patches should be
fairly portable). For a workaround (ugly but it works), you can use
xkeycaps to generate a .Xmodmap file, or you can manually rebind the
keycode to a different keysym.
--
John Kohl <jtkohl@zk3.dec.com> or <jtkohl@mit.edu>
working for but not representing:	Digital Equipment Corporation
What are you pretending not to know?