From owner-cvs-sys Wed Jan 7 00:42:36 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA01801 for cvs-sys-outgoing; Wed, 7 Jan 1998 00:42:36 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA01603; Wed, 7 Jan 1998 00:40:38 -0800 (PST) (envelope-from yokota@FreeBSD.org) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA08547; Wed, 7 Jan 1998 00:40:36 -0800 (PST) Date: Wed, 7 Jan 1998 00:40:36 -0800 (PST) Message-Id: <199801070840.AAA08547@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/include console.h src/sys/i386/isa kbdtables.h syscons.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1998/01/07 00:40:36 PST Modified files: sys/i386/include console.h sys/i386/isa kbdtables.h syscons.c 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. Code is based on the ideas and work by jmrueda@diatel.upm.es and totii@est.is. PR: i386/4016 console.h - Defined structures and constants for accent (dead) keys. 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). Revision Changes Path 1.34 +37 -1 src/sys/i386/include/console.h 1.37 +298 -2 src/sys/i386/isa/kbdtables.h 1.243 +58 -4 src/sys/i386/isa/syscons.c