From owner-freebsd-questions Thu Jan 30 1:22:26 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8476A37B401 for ; Thu, 30 Jan 2003 01:22:25 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id F38B143F79 for ; Thu, 30 Jan 2003 01:22:22 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a168.otenet.gr [212.205.215.168]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h0U9MD2D007171; Thu, 30 Jan 2003 11:22:15 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h0U9MB1M031149; Thu, 30 Jan 2003 11:22:11 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h0U9MBNb031148; Thu, 30 Jan 2003 11:22:11 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 30 Jan 2003 11:22:11 +0200 From: Giorgos Keramidas To: "Thaddeus J. Quintin" Cc: freebsd-questions@FreeBSD.org Subject: Re: A question asked many times- Message-ID: <20030130092211.GA1262@gothmog.gr> References: <000001c2c81a$546e60e0$0200a8c0@tjqathlonpc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000001c2c81a$546e60e0$0200a8c0@tjqathlonpc> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-01-29 23:44, "Thaddeus J. Quintin" wrote: > Greetings- > I've looked around in google and the FreeBSD archives and I've seen this > question asked many times, but never found the answer. > > I would like to map my "alt" keys to be "meta" keys. Is there any > reason why I shouldn't do that? Is there a better/different > solution? Using ESC just doesn't cut it... Copy the file /usr/share/syscons/keymaps/us.iso.kbd to a different name, like /usr/share/syscons/keymaps/local.kbd. Then open local.kbd with an editor and replace all instances of `lalt' with `meta' (without quotes). This will make the left ALT key work as META. Load the new keymap with: # kbdcontrol -l local.kbd To make "local.kbd" the default keymap at boot time, set keymap="local" in your /etc/rc.conf file. You can also map the right ALT key to META if you change `ralt' to `meta', but I don't suggest switching both left and right ALT keys to META since that would make switching consoles a bit difficult. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message