*BSD News Article 97378


Return to BSD News archive

#! rnews 2411 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.mel.aone.net.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!news.telstra.net!psgrain!wits.uni.net.za!ru.uni.net.za!quagga.ru.ac.za!hermes.is.co.za!hammer.uoregon.edu!xfer.kren.nm.kr!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!news-xfer.cybernet.dk!news.onramp.net!news.nkn.net!news.panther.net!nemesis!hammy!news-in.iadfw.net!news.gymnet.com!LSNT1!lsbsdi6.
lightspeed.net!news-ana-7.sprintlink.net!news-ana-24.sprintlink.net!news-west.sprintlink.net!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!158.43.192.17!rill.news.pipex.net!pipex!oleane!jussieu.fr!univ-lyon1.fr!univ-bpclermont.fr!llaic!espel
From: espel@llaic.univ-bpclermont.fr (Roger Espel Llima)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Control, CapsLock key switch
Date: 29 May 1997 03:06:48 GMT
Organization: LLAIC, Univ. Clermont-Ferrand 1, France
Lines: 31
Message-ID: <1BBA3276586DC4C4.BA753B832B1A153A.60E6F35FBC585FA0@library-proxy.airnews.net>
X-Orig-Message-ID: <5mirs8$pql@cicsun.univ-bpclermont.fr>
References: <timleeEAs1HF.GyM@netcom.com> <5mdc2m$kkj$7@mark.ucdavis.edu> <timleeEAtvyy.Hwt@netcom.com>
NNTP-Proxy-Relay: library.airnews.net
NNTP-Posting-Host: biceps.gymnet.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42620

In article <timleeEAtvyy.Hwt@netcom.com>,
Timothy J. Lee <see-signature-for-email-address---ads-not-welcome> wrote:
>David E. O'Brien <obrien@relay.nuxi.com> writes:
>|Timothy J. Lee <nobody@not.for.email> wrote:
>|> On FreeBSD 2.2.1, /usr/X11R6/lib/X11/XF86Config has a line which
>|> supposedly causes the Control and CapsLock keys to be switched:

[ ... ]

>Thanks, but this only works in non-X.  When using X after this kbdcontrol,
>the Control and CapsLock keys are still unswapped, regardless of whether
>the "ctrl:swapcaps" line in the XF86Config is commented or uncommented.
>Any ideas?

Try something like this:  xmodmap .modmap
where .modmap contains

clear Lock
clear Control
add Control = Caps_Lock
add Lock = Control_L

I have a similar setup, except that I have both capslock and control
acting like control keys.


	Roger
--
e-mail: espel@llaic.univ-bpclermont.fr, espel@unix.bigots.org
WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html