From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 15:24:45 2003 Return-Path: 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 0E10016A4BF for ; Fri, 12 Sep 2003 15:24:45 -0700 (PDT) Received: from hiram.io.com (hiram.io.com [199.170.88.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 278DC43FDD for ; Fri, 12 Sep 2003 15:24:44 -0700 (PDT) (envelope-from eighner@io.com) Received: from io.com (aus-as2-105.io.com [199.170.89.105]) by hiram.io.com (8.11.2/8.11.2) with SMTP id h8CMObt05645; Fri, 12 Sep 2003 17:24:38 -0500 Date: Fri, 12 Sep 2003 17:22:42 -0500 (CDT) From: Lars Eighner To: Stefan Malte Schumacher In-Reply-To: <20030910215916.GA17562@drachenhorst.fantasy.net> Message-ID: <20030912171451.U2258@pearl.io.com> References: <20030910215916.GA17562@drachenhorst.fantasy.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Map Windows Key under syscons X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 22:24:45 -0000 On Wed, 10 Sep 2003, Stefan Malte Schumacher wrote: > > Hi > > I would like to be able to use the Windows Key as "Meta" while using syscons > - it much easier to reach then escape. I have found out with xev that the > scancode of this key is 115. After this I opened the German-Iso-Keymap with > an editor and found out that there are 108 lines with numbers and functions. > I thereby assumed that by copying the Meta-Line and adding it as Nr.115 at > the end I should be able to use the Windows-Key as Meta, but this did not > work. (It just beeps when I press Windows - after reloading the keymap of > course). So how can I map Windows to Meta ? The "windows" keys are 105 and 106 and the "Menu" key is 107. These lines, or something like them may do what you want. 105 meta fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O 106 meta fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O 107 esc fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 O 108 nop nop nop nop nop nop nop nop O Note: this will not carry over to X. Also, the numbers of the keys are different in X, so no X program can give you the right answers about console keymaps. -- Lars Eighner eighner@io.com -finger for geek code- http://www.io.com/~eighner/index.html 8800 N IH35 APT 1191 AUSTIN tx 78753-5266