Return to BSD News archive
Newsgroups: comp.os.386bsd.bugs Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!news From: dawes@physics.su.OZ.AU (David Dawes) Subject: Re: [HACK:] fix CAPSLOCK for good... Message-ID: <1993Jul26.033520.19423@ucc.su.OZ.AU> Keywords: netbsd, 386bsd, hack, capslock Sender: news@ucc.su.OZ.AU Nntp-Posting-Host: physics.su.oz.au Organization: School of Physics, University of Sydney, Australia References: <22h1vs$6a6@aggedor.rmit.OZ.AU> <22lm8l$c0k@cleese.apana.org.au> <22uoji$h3d@introl.introl.com> Date: Mon, 26 Jul 1993 03:35:20 GMT Lines: 34 In article <22uoji$h3d@introl.introl.com> tim@introl.com (Tim Chase) writes: >Cc: > >In article <22lm8l$c0k@cleese.apana.org.au> newton@cleese.apana.org.au (Mark Newton) writes: >>In article <22h1vs$6a6@aggedor.rmit.OZ.AU> zak@rmit.edu.au writes: >> ... >>Of course, those of us who run X-windows would know that you can >>use xmodmap to achieve exactly the same result without having to >>patch the kernel. :-) > >Unfortunately, if you're using a stock XFree86 server, mapping >the caps-lock key to a different modifier results in a different >modifier that _still has the locking behavior_. > >I forgot the file that needs hacking, but I always rip the code >out of the XFree86 server that causes this to happen. > >Since remapping the caps-lock key "does the right thing" (i.e. >doesn't produce a key with a locking behavior) on other host >systems (i.e. Sun, etc.) using a MIT based server, I can only >presume that the XFree86 server needs modification to detect >the caps-lock key being remapped and to disable the locking behavior. Are you sure you are doing the remapping correctly? I've never had any problems swapping ctrl and caps-lock with XFree86. If you follow the example in the xmodmap(1) man page it should work fine. If you don't do it correctly you can see the behaviour you describe. David -- ------------------------------------------------------------------------------ David Dawes <dawes@physics.su.oz.au> DoD#210 | Phone: +61 2 692 2639 School of Physics, University of Sydney, Australia | Fax: +61 2 660 2903 ------------------------------------------------------------------------------