From owner-freebsd-questions Wed Jan 2 7:44:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by hub.freebsd.org (Postfix) with ESMTP id C0D4437B41D for ; Wed, 2 Jan 2002 07:44:52 -0800 (PST) Received: (from olli@localhost) by lurza.secnetix.de (8.11.6/8.11.6) id g02FixT59209; Wed, 2 Jan 2002 16:44:59 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Date: Wed, 2 Jan 2002 16:44:59 +0100 (CET) Message-Id: <200201021544.g02FixT59209@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG Reply-To: freebsd-questions@FreeBSD.ORG Subject: Re: How to write a new keymap? In-Reply-To: <20020102113917.3e2f9c36.fxn@isoco.com> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.4-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 F.Xavier Noria wrote: > I've got an IBM AT's good old heavy keyboard with a layout I don't know: > Spanish left question mark is on Shift + 2, there are no curly braces, > double quotes are on Shift + ,... I suppose I would need to write my > own keymap for consoles and X but don't know how to do it in FreeBSD... > would you please give some advice? For console (i.e. syscons): Read the manpages kbdcontrol(8). Then look in the directory /usr/share/syscons/keymaps for what keymaps are available. if none of them fits for your keyboard, copy the one which matches most closely and modify it as needed. The manpage kbdmap(5) contains further instructions (NOTE: the section is (5), not (1)!). For X: I would recommend to install xkeycaps from the ports. This is a small GUI tool that makes editing your keymap very easy. It creates a standard xmodmap file that you can use with xmodmap(1). Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message