*BSD News Article 96242


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!ix.netcom.com!netcom.com.nojunkemailplease.com!not-for-email
From: nobody@not.for.email (Timothy J. Lee)
Subject: Re: Control, CapsLock key switch
Message-ID: <timleeEAtvyy.Hwt@netcom.com>
Followup-To: comp.unix.bsd.freebsd.misc
Sender: timlee@netcom11.netcom.com
Reply-To: see-signature-for-email-address---ads-not-welcome
References: <timleeEAs1HF.GyM@netcom.com> <5mdc2m$kkj$7@mark.ucdavis.edu>
Date: Tue, 27 May 1997 07:11:21 GMT
Lines: 30
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41667

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:
|
|> 	XkbOptions  "ctrl:swapcaps"
|
|Put this in /etc/rc.local:
|
|    kbdcontrol -l us.swapped.kbd
|
|#   us.swapped.kbd
|#                                                         alt
|# scan                       cntrl          alt    alt   cntrl lock
|# code  base   shift  cntrl  shift  alt    shift  cntrl  shift state
|# ------------------------------------------------------------------
|[...]
|  058   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
|[...]

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?

-- 
------------------------------------------------------------------------
Timothy J. Lee                                                   timlee@
Unsolicited bulk or commercial email is not welcome.             netcom.com
No warranty of any kind is provided with this message.