From owner-freebsd-questions Wed Oct 28 17:48:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02179 for freebsd-questions-outgoing; Wed, 28 Oct 1998 17:18:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gershwin.tera.com ([207.224.230.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02162 for ; Wed, 28 Oct 1998 17:18:44 -0800 (PST) (envelope-from kline@tera.com) Received: from athena.tera.com (athena.tera.com [207.224.230.169]) by gershwin.tera.com (8.8.8/8.8.8) with ESMTP id QAA26660; Wed, 28 Oct 1998 16:13:39 -0800 (PST) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id QAA02729; Wed, 28 Oct 1998 16:13:26 -0800 (PST) Message-Id: <199810290013.QAA02729@athena.tera.com> Subject: Re: Meta-key and 104-key keyboard In-Reply-To: <19981029094955.T25247@freebie.lemis.com> from Greg Lehey at "Oct 29, 98 09:49:55 am" To: grog@lemis.com (Greg Lehey) Date: Wed, 28 Oct 1998 16:13:21 -0800 (PST) Cc: JFOSTER@CSKAUTO.COM, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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?? gary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message