Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 1998 10:50:15 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Gary Kline <kline@tera.com>
Cc:        JFOSTER@CSKAUTO.COM, freebsd-questions@FreeBSD.ORG
Subject:   Re: Meta-key and 104-key keyboard
Message-ID:  <19981029105015.D25247@freebie.lemis.com>
In-Reply-To: <199810290013.QAA02729@athena.tera.com>; from Gary Kline on Wed, Oct 28, 1998 at 04:13:21PM -0800
References:  <19981029094955.T25247@freebie.lemis.com> <199810290013.QAA02729@athena.tera.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981029105015.D25247>