From owner-freebsd-questions Wed Jul 29 15:23:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13678 for freebsd-questions-outgoing; Wed, 29 Jul 1998 15:23:36 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13669 for ; Wed, 29 Jul 1998 15:23:31 -0700 (PDT) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id RAA02254; Wed, 29 Jul 1998 17:22:59 -0500 (CDT) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id RAA22033; Wed, 29 Jul 1998 17:22:27 -0500 Message-ID: <19980729172226.40206@right.PCS> Date: Wed, 29 Jul 1998 17:22:26 -0500 From: Jonathan Lemon To: gkshenaut@ucdavis.edu Cc: questions@FreeBSD.ORG Subject: Re: caps-lock/ctrl exchange References: <199807292112.OAA19686@bogslab.ucdavis.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <199807292112.OAA19686@bogslab.ucdavis.edu>; from Greg Shenaut on Jul 07, 1998 at 02:12:06PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 '. 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