Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 17:22:26 -0500
From:      Jonathan Lemon <jlemon@americantv.com>
To:        gkshenaut@ucdavis.edu
Cc:        questions@FreeBSD.ORG
Subject:   Re: caps-lock/ctrl exchange
Message-ID:  <19980729172226.40206@right.PCS>
In-Reply-To: <199807292112.OAA19686@bogslab.ucdavis.edu>; from Greg Shenaut on Jul 07, 1998 at 02:12:06PM -0700
References:  <199807292112.OAA19686@bogslab.ucdavis.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 07, 1998 at 02:12:06PM -0700, Greg Shenaut wrote:
> alternate keyboard.  There *must* be a way to swap these keys in
> a way that will work with the standard console as well as with X
> windows.  Could someone please tell me how to do it?  (A compile
> time flag would be fine, a sysctl variable even better, an ioctl
> on the kbd device would be best.)

None of the above.  Would you settle for a loadable keyboard map?

Go to /usr/share/syscons/keymaps, pick your current keyboard map,
and create a new one, replacing all instances of `clock' with `lctrl'
along the way.

Then make it active with `kbdcontrol -l <mapname>'.

You can even specify the keymap in /etc/rc.conf, and have it loaded
upon reboot.
--
Jonathan (who absolutely _hates_ caps lock.  I want my sun4 keyboard back.)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980729172226.40206>