LKKBD(4)               OpenBSD Programmer's Manual (VAX)              LKKBD(4)

NAME
     lkkbd - LK200/LK400 keyboard driver

SYNOPSIS
     lkkbd0 at dz0 line 0  (VAXstation)
     lkkbd0 at qsc0 line 2 (VXT2000)
     wskbd* at lkkbd?
     option LKKBD_LAYOUT=XXX

DESCRIPTION
     The lkkbd driver provides support for DEC LK201 and LK401 keyboards con-
     nected to dz(4) or qsc(4) serial controllers within the wscons(4) frame-
     work.

     The lkkbd driver supports a number of different key mappings which can be
     chosen from with the kernel option ``LKKBD_LAYOUT'' at compile time or
     with the utility wsconsctl(8) (variable: ``keyboard.encoding'') at run-
     time.  Other mappings can be used if the whole keymap is replaced by
     means of wsconsctl(8).  The built-in mappings are at this time:

           KB_DE   (de) German with ``dead accents''.
           KB_FR   (fr) French.
           KB_PT   (pt) Portuguese.
           KB_US   (us) English/US keyboard mapping (default).

     The KB_DE mapping can be used in the KB_NODEAD (.nodead) variant.  This
     switches off the ``dead accents''.

EXAMPLES
     To set a French keyboard layout, use wsconsctl -w keyboard.encoding=fr.
     To set it at kernel build time, add the following to the kernel configu-
     ration file:

           option LKKBD_LAYOUT="KB_FR"

SEE ALSO
     dz(4), intro(4), qsc(4), wscons(4), wskbd(4), wsconsctl(8)

CAVEATS
     The LK-201 keyboard does not have a ``Meta'' or ``Alt'' key.  For conve-
     nience, OpenBSD handles the ``Compose'' key as an ``Alt'' key, unless the
     ``Shift'' key is pressed as well.

     LK-401 keyboards have two ``Alt'' keys and two ``Compose'' keys, and do
     not exhibit this particular behaviour.

OpenBSD 4.7                      May 31, 2007                                1
