OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Miod Vallat (miodcvs.openbsd.org)
Date: Mon Apr 05 2004 - 01:22:07 CDT


CVSROOT: /cvs
Module name: src
Changes by: miodcvs.openbsd.org 2004/04/05 00:22:07

Modified files:
        sys/dev/wscons : wskbd.c

Log message:
Most of the non-US keyboard layouts define an ``AltGr'' key to access up
to two extra symbols per key; usually, this key also serves as the compose
key, if used with shift.

Because of this, accessing the fourth symbol of a key would work with a
sequence altgr-shift-key, but not with a sequence shift-altgr-key, since
it would trigger compose behaviour.

In order to be less confusing, let the AltGr behaviour win over the Compose
behaviour if AltGr would produce a different symbol. Since most of those
AltGr symbols are never part of compose rules, this is transparent.

Problem found by xsa; ok deraadt otto xsa