Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 1998 09:49:55 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Jim Foster <JFOSTER@CSKAUTO.COM>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Meta-key and 104-key keyboard
Message-ID:  <19981029094955.T25247@freebie.lemis.com>
In-Reply-To: <BF4A830F5207D2119420006008A1DB147F086E@v128041.vandenberg.af.mil>; from Foster, Jim on Wed, Oct 28, 1998 at 08:41:46AM -0700
References:  <BF4A830F5207D2119420006008A1DB147F086E@v128041.vandenberg.af.mil>

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



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