From owner-cvs-usrsbin Wed Jan 7 00:45:13 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA02047 for cvs-usrsbin-outgoing; Wed, 7 Jan 1998 00:45:13 -0800 (PST) (envelope-from owner-cvs-usrsbin) 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 AAA01857; Wed, 7 Jan 1998 00:43:31 -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 AAA08589; Wed, 7 Jan 1998 00:43:30 -0800 (PST) Date: Wed, 7 Jan 1998 00:43:30 -0800 (PST) Message-Id: <199801070843.AAA08589@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/kbdcontrol kbdcontrol.c lex.h lex.l Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1998/01/07 00:43:29 PST Modified files: usr.sbin/kbdcontrol kbdcontrol.c lex.h lex.l 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 - Added keywords for accent (dead) keys: dgra, dacu, dcir, dtil... - Recognize accent map definitions. ::= ::= dgra | dacu | dcir | dtil | dmac | dbre | ddot | duml | dsla | drin | dced | dapo | ddac | dogo | dcar ::= | ::= ( ) - Use ioctls PIO_DEADKEYMAP and GIO_DEADKEYMAP to set and get the accent key map table in syscons. - Made the output for the -L option more intelligible and look like initializers in kbdtables.h. - Reorganized print functions in order to print the accent key map. Revision Changes Path 1.12 +342 -37 src/usr.sbin/kbdcontrol/kbdcontrol.c 1.5 +2 -1 src/usr.sbin/kbdcontrol/lex.h 1.6 +19 -1 src/usr.sbin/kbdcontrol/lex.l