Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 1998 22:31:13 +0000 (GMT)
From:      Adam David <adam@veda.is>
To:        yokota@FreeBSD.ORG (Kazutaka YOKOTA)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/include console.h src/sys/i386/isa         kbdtables.h syscons.c
Message-ID:  <199801082231.WAA15434@veda.is>
In-Reply-To: <199801070840.AAA08547@freefall.freebsd.org> from Kazutaka YOKOTA at "Jan 7, 98 00:40:36 am"

next in thread | previous in thread | raw e-mail | index | archive | help
>   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 <adam@veda.is>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801082231.WAA15434>