From owner-freebsd-questions Wed Oct 28 15:21:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA01740 for freebsd-questions-outgoing; Wed, 28 Oct 1998 15:21: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 PAA01734 for ; Wed, 28 Oct 1998 15:21: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 JAA19958; Thu, 29 Oct 1998 09:50:34 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id JAA03033; Thu, 29 Oct 1998 09:49:56 +1030 (CST) Message-ID: <19981029094955.T25247@freebie.lemis.com> Date: Thu, 29 Oct 1998 09:49:55 +1030 From: Greg Lehey To: Jim Foster , freebsd-questions@FreeBSD.ORG Subject: Re: Meta-key and 104-key keyboard References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Foster, Jim on Wed, Oct 28, 1998 at 08:41:46AM -0700 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 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. 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