summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-08-03 20:19:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-08-03 20:19:30 +0000
commit32a233e4de196ca4f742c96e01fcc0b933a0bbcd (patch)
tree0bbd0fab262871fd01cb93a725faa92b752d4913 /share
parent71d6502cc9a457b68ffe53bbe0af6d8b1b2a58d2 (diff)
LK-401 french layout, tested on actual keyboard (I even have two of them
in the closet, does anyone want them?)
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/man4.vax/lkkbd.4127
1 files changed, 122 insertions, 5 deletions
diff --git a/share/man/man4/man4.vax/lkkbd.4 b/share/man/man4/man4.vax/lkkbd.4
index 9219ca6fae2..4b84c201e47 100644
--- a/share/man/man4/man4.vax/lkkbd.4
+++ b/share/man/man4/man4.vax/lkkbd.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lkkbd.4,v 1.5 2006/07/31 21:58:55 miod Exp $
+.\" $OpenBSD: lkkbd.4,v 1.6 2006/08/03 20:19:28 miod Exp $
.\"
.\" Copyright (c) 2003 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
@@ -24,7 +24,31 @@
.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd July 31, 2006
+.\" Copyright (c) 1999
+.\" Matthias Drochner. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.Dd August 3, 2006
.Dt LKKBD 4 vax
.Os
.Sh NAME
@@ -33,6 +57,7 @@
.Sh SYNOPSIS
.Cd "lkkbd0 at dz0 line 0"
.Cd "wskbd* at lkkbd?"
+.Cd "option LKKBD_LAYOUT=XXX"
.Sh DESCRIPTION
The
.Nm
@@ -41,13 +66,105 @@ driver provides support for DEC LK201 and LK401 keyboards connected to
serial controllers within the
.Xr wscons 4
framework.
+.Pp
+The
+.Nm
+driver supports a number of different key mappings which
+can be chosen from with the kernel option
+.Dq LKKBD_LAYOUT
+at compile time or with the utility
+.Xr wsconsctl 8
+(variable:
+.Dq keyboard.encoding
+) at runtime.
+Other mappings can be used if the whole keymap is replaced by means of
+.Xr wsconsctl 8 .
+The built-in mappings are at this time:
+.Bl -hang
+.\" .It KB_BE
+.\" (
+.\" .Dq be
+.\" ) Belgium French.
+.\" .It KB_CF
+.\" (
+.\" .Dq cf
+.\" ) Canadian French.
+.\" .It KB_DE
+.\" (
+.\" .Dq de
+.\" ) German with
+.\" .Dq dead accents .
+.\" .It KB_DK
+.\" (
+.\" .Dq dk
+.\" ) Danish with
+.\" .Dq dead accents .
+.\" .It KB_ES
+.\" (
+.\" .Dq es
+.\" ) Spanish.
+.It KB_FR
+(
+.Dq fr
+) French.
+.\" .It KB_IT
+.\" (
+.\" .Dq it
+.\" ) Italian.
+.\" .It KB_NO
+.\" (
+.\" .Dq no
+.\" ) Norwegian with
+.\" .Dq dead accents .
+.\" .It KB_PT
+.\" (
+.\" .Dq pt
+.\" ) Portuguese.
+.\" .It KB_SF
+.\" (
+.\" .Dq sf
+.\" ) Swiss French with
+.\" .Dq dead accents .
+.\" .It KB_SG
+.\" (
+.\" .Dq sg
+.\" ) Swiss German with
+.\" .Dq dead accents .
+.\" .It KB_SV
+.\" (
+.\" .Dq sv
+.\" ) Swedish with
+.\" .Dq dead accents .
+.\" .It KB_UK
+.\" (
+.\" .Dq uk
+.\" ) British.
+.It KB_US
+(
+.Dq us
+) English / US keyboard mapping (default).
+.El
+.Pp
+.\" The KB_DE, KB_DK, KB_NO, KB_SF, KB_SG and KB_SV mappings can be used in
+.\" the KB_NODEAD (
+.\" .Dq .nodead
+.\" ) variant.
+.\" This switches off the
+.\" .Dq dead accents .
+.Sh EXAMPLES
+To set a French keyboard layout, use
+.Ic wsconsctl -w keyboard.encoding=fr .
+To set it at kernel build time, add
+the following to the kernel configuration file:
+.Bd -literal -offset indent
+option LKKBD_LAYOUT="KB_FR"
+.Ed
.Sh SEE ALSO
.Xr dz 4 ,
.Xr intro 4 ,
.Xr wscons 4 ,
-.Xr wskbd 4
-.\" when international layouts are added
-.\" .Xr wsconsctl 8
+.Xr wskbd 4 ,
+.Xr wsconsctl 8
.Sh CAVEATS
The LK-201 keyboard does not have a
.Dq Meta