From owner-cvs-sys Thu Jan 8 14:31:41 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA09522 for cvs-sys-outgoing; Thu, 8 Jan 1998 14:31:41 -0800 (PST) (envelope-from owner-cvs-sys) Received: from veda.is (adam@veda.is [193.4.230.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA09440; Thu, 8 Jan 1998 14:31:20 -0800 (PST) (envelope-from adam@veda.is) Received: (from adam@localhost) by veda.is (8.8.8/8.8.8) id WAA15434; Thu, 8 Jan 1998 22:31:13 GMT (envelope-from adam) From: Adam David Message-Id: <199801082231.WAA15434@veda.is> Subject: Re: cvs commit: src/sys/i386/include console.h src/sys/i386/isa kbdtables.h syscons.c In-Reply-To: <199801070840.AAA08547@freefall.freebsd.org> from Kazutaka YOKOTA at "Jan 7, 98 00:40:36 am" To: yokota@FreeBSD.ORG (Kazutaka YOKOTA) Date: Thu, 8 Jan 1998 22:31:13 +0000 (GMT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Log: > Added accent (dead) key support to syscons and kbdcontrol. > > With a keymap with accent key definitions loaded to syscons, you press > an accent key followed by a regular letter key to produce an accented > letter. :) > Press an accent key followed by the space bar to get the > accent letter itself. That is IMHO daft, as the expected behaviour on computers is for the space character to cancel the accent and produce an unaccented space. Of course, typewriters are another matter and in that context it makes perfect sense. Traditionally on computer keyboards (at least in this part of the world), the accent characters are produced by pressing the respective accent key twice. > syscons.c, kbdtables.h > - When an accent key is pressed, set the corresponding index to > `accents'. If the next key is the space key, produce the accent char > itself. Otherwise search the accent key map entry, indexed by > `accents', for a matching pair of a regular char and an accented char. > - Added ioctl functions to set and get the accent key map (PIO_DEADKEYMAP > and GIO_DEADKEYMAP). Sören has an example keymap from me which I sent sometime around 30 months ago, showing how it can be organised to define more than one accent type. Anyway, it's off to a good start now by the looks of the description. :) -- Adm David