From owner-freebsd-questions Wed Oct 28 17:32:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04812 for freebsd-questions-outgoing; Wed, 28 Oct 1998 17:32:26 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04785 for ; Wed, 28 Oct 1998 17:32:22 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA20144; Thu, 29 Oct 1998 10:50:17 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id KAA03226; Thu, 29 Oct 1998 10:50:16 +1030 (CST) Message-ID: <19981029105015.D25247@freebie.lemis.com> Date: Thu, 29 Oct 1998 10:50:15 +1030 From: Greg Lehey To: Gary Kline Cc: JFOSTER@CSKAUTO.COM, freebsd-questions@FreeBSD.ORG Subject: Re: Meta-key and 104-key keyboard References: <19981029094955.T25247@freebie.lemis.com> <199810290013.QAA02729@athena.tera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199810290013.QAA02729@athena.tera.com>; from Gary Kline on Wed, Oct 28, 1998 at 04:13:21PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wednesday, 28 October 1998 at 16:13:21 -0800, Gary Kline wrote: > According to Greg Lehey: >> On Wednesday, 28 October 1998 at 8:41:46 -0700, Foster, Jim wrote: >>> Hi all; >>> >>> I have a 104-key keyboard on my FreeBSD box and I am trying to find a way to >>> map the "funny little" windows key as the meta-key in the console since bash >>> likes to use the meta key for certain editing functions. In the current >>> mode, I need to press the ESC key and then some other key to do the meta >>> function. I am hoping to find a way to re-map the windows key to do that >>> for me. >>> >>> It appears I need to modify the keymap in /usr/share/syscons/keymaps, but I >>> am not sure *what* needs to get changed or added. >> >> Well, I don't know about the Microsoft key, but most people use Alt >> for Meta. I've just noted, with some surprise, that we don't supply a >> standard keymap for it, so I've put one up at >> ftp://ftp.lemis.com/pub/us.emacs.kbd. Move it to >> /usr/share/syscons/keymaps and put this in your /etc/rc.conf: >> >> keymap="us.emacs.kbd" # keymap in /usr/share/syscons/keymaps/* (or NO). >> >>> I have found prior postings on how to do this for X, but I can not seem to >>> run X on this box (yet another sob story). >> >> One you need to publish. >> >>> If someone has some info for me, please let me know if this solution will >>> work like the current ESC key (tap first key, then tap next key) or will it >>> work like a CTRL key where it need to be pressed WHILE the other key is >>> tapped. >> >> It's like the ctrl key. To create m-a, press the Alt key and a. >> > > I've just installed your keymap on my second platform. Sounds > like a good idea to make use of Alt, but will this let people > enter ISO-8859-1 characters (e.g. Alt-i == e-aigu) &c?? Yes, if you want to do it that way. There should be a way to select an alternate keyboard mapping (like the DOS c-a-F1 and c-a-F2 keystrokes, which toggled between two different mappings; one thing that Microsoft did right). Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message