From owner-freebsd-questions Tue Jun 18 15:50:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 2492C37B414 for ; Tue, 18 Jun 2002 15:50:52 -0700 (PDT) Received: from hades.hell.gr (patr530-a231.otenet.gr [212.205.215.231]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g5IMokuJ007996; Wed, 19 Jun 2002 01:50:47 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.4/8.12.4) with ESMTP id g5IMojDS011948; Wed, 19 Jun 2002 01:50:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.4/8.12.4/Submit) id g5IMofH7011947; Wed, 19 Jun 2002 01:50:41 +0300 (EEST) X-Authentication-Warning: hades.hell.gr: charon set sender to keramida@ceid.upatras.gr using -f Date: Wed, 19 Jun 2002 01:50:41 +0300 From: Giorgos Keramidas To: Jonathan Arnold Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ALT Key Message-ID: <20020618225041.GD11499@hades.hell.gr> References: <9273.1024400148@www33.gmx.net> <20020618213810.GC10528@hades.hell.gr> <200206181812360886.06A9C657@mail.speakeasy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200206181812360886.06A9C657@mail.speakeasy.net> 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 2002-06-18 18:12 -0400, Jonathan Arnold wrote: > >> I posted a question regarding how to make the ALT key work as the meta key > >> in the FreeBSD console with TERM set to cons25 (no X please). I got no > > It ain't easy! I've been playing with it off and on for a little while, > and still haven't gotten it right. > > Start with 'man kbdmap'. 'man kbdcontrol' also gives some clues. I haven't > found the 'perfect' keymap. Each of the default ones has problems. Either they > give you the meta key and take away things like PgUp & PgDn, or the meta > key stuff doesn't work quite right. If you get a working keymap, let me > know! Bah. I did it very simply, with the following patch to my custom keymap that I use to write greek on the FreeBSD console: %%% --- charon.el.kbd Fri Apr 19 12:08:34 2002 +++ charon.foo.kbd Wed Jun 19 01:47:39 2002 @@ -60,7 +60,7 @@ 053 '/' '?' nop nop '/' '?' nop nop O 054 rshift rshift rshift rshift rshift rshift rshift rshift O 055 '*' '*' nscr nscr '*' '*' nscr nscr O - 056 lalt lalt lalt lalt lalt lalt lalt lalt O + 056 meta meta meta meta meta meta meta meta O 057 ' ' ' ' nul ' ' ' ' ' ' ' ' ' ' O 058 lctrl lctrl lctrl lctrl lctrl lctrl lctrl lctrl O 059 fkey01 fkey13 fkey25 fkey37 scr01 scr11 scr01 scr11 O %%% This changes the left keyboard Alt to Meta. You will have to use the right Alt key to switch consoles after this is loaded, but nothing else is affected. I can still use PageUp, PageDown, and anything else you can think of. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message