From owner-freebsd-questions Wed Jul 29 16:42:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02612 for freebsd-questions-outgoing; Wed, 29 Jul 1998 16:42:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA02596 for ; Wed, 29 Jul 1998 16:42:10 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.5/8.8.8) with SMTP id QAA24965; Wed, 29 Jul 1998 16:41:23 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 29 Jul 1998 16:41:22 -0700 (PDT) From: Doug White To: gkshenaut@ucdavis.edu cc: questions@FreeBSD.ORG Subject: Re: caps-lock/ctrl exchange In-Reply-To: <199807292112.OAA19686@bogslab.ucdavis.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 29 Jul 1998, Greg Shenaut wrote: > This may be a very dumb question, but I haven't been able to find > the answer to it. I have several computers with the traditional > ctrl-next-to-A layout, and an increasing number with the bogus > but IBM-mandated ctrl-lost-somewhere-down-next-to-the-space-bar > layout, some of which are laptops so that I cannot just use an > 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.) Yeah, there is an alternate keyboard map for that. Doing it with X is different but doable (I think it's made very easy with the XKB extension, a XF86Config option or something). For the system console hack one of the keymaps in /usr/share/syscons/keymaps. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message