summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2008-01-29 18:28:50 +0000
committertrhodes <trhodes@FreeBSD.org>2008-01-29 18:28:50 +0000
commit65fd02c7ac3201bde5333b5b96c2a5abb0200e8e (patch)
treed060ac0d007f11aefcbbe4f6f8c71a887dfe174a
parent46c986723be8ba3b655706aef0c13422aa6cfa5a (diff)
downloadFreeBSD-src-65fd02c7ac3201bde5333b5b96c2a5abb0200e8e.zip
FreeBSD-src-65fd02c7ac3201bde5333b5b96c2a5abb0200e8e.tar.gz
Some clarifications to make keyboard configuration under syscons.
PR: 89325 Submitted by: Oliver Fromme <olli@secnetix.de> Reviewed by: emax
-rw-r--r--share/man/man4/atkbd.410
-rw-r--r--usr.sbin/kbdcontrol/kbdcontrol.15
-rw-r--r--usr.sbin/kbdcontrol/kbdmap.512
3 files changed, 23 insertions, 4 deletions
diff --git a/share/man/man4/atkbd.4 b/share/man/man4/atkbd.4
index 590b7c1..73831c2 100644
--- a/share/man/man4/atkbd.4
+++ b/share/man/man4/atkbd.4
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 21, 1999
+.Dd January 29, 2008
.Dt ATKBD 4
.Os
.Sh NAME
@@ -68,6 +68,11 @@ They are numbered as follows and can be associated with strings
by the
.Xr kbdcontrol 1
command.
+You can use a keyboard map file (see
+.Xr kbdmap 5 )
+to map them to arbitrary keys, particularly
+the functions in the range from 65 to 96
+which are not used by default.
.Pp
.Bl -tag -width "Function Key Number" -compact
.It "Function Key number"
@@ -112,6 +117,8 @@ Left GUI Key
Right GUI Key
.It 64
Menu
+.It "65, 66,...96"
+free (not used by default)
.El
.Pp
See the man page for the
@@ -205,6 +212,7 @@ In both cases, you also need to have following lines in
.Xr atkbdc 4 ,
.Xr psm 4 ,
.Xr syscons 4 ,
+.Xr kbdmap 5 ,
.Xr loader 8
.Sh HISTORY
The
diff --git a/usr.sbin/kbdcontrol/kbdcontrol.1 b/usr.sbin/kbdcontrol/kbdcontrol.1
index 176a722..68cee84 100644
--- a/usr.sbin/kbdcontrol/kbdcontrol.1
+++ b/usr.sbin/kbdcontrol/kbdcontrol.1
@@ -13,7 +13,7 @@
.\" @(#)kbdcontrol.1
.\" $FreeBSD$
.\"
-.Dd November 16, 2006
+.Dd January 29, 2008
.Dt KBDCONTROL 1
.Os
.Sh NAME
@@ -122,6 +122,9 @@ Install keyboard map file from
.Ar keymap_file .
You may load the keyboard map file from a menu-driven command,
.Xr kbdmap 1 .
+The format of keyboard map files is documented in the
+.Xr kbdmap 5
+manual page.
.It Fl d
Dump the current keyboard map onto stdout.
The output may be redirected to a file and can be loaded
diff --git a/usr.sbin/kbdcontrol/kbdmap.5 b/usr.sbin/kbdcontrol/kbdmap.5
index 5d9776d..2b94b35 100644
--- a/usr.sbin/kbdcontrol/kbdmap.5
+++ b/usr.sbin/kbdcontrol/kbdmap.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 11, 2000
+.Dd January 29, 2008
.Dt KBDMAP 5
.Os
.Sh NAME
@@ -165,7 +165,15 @@ Act as the
function key,
where
.Ar N
-is a decimal number.
+is a decimal number in the range from 1 to 96.
+Refer to the
+.Xr atkbd 4
+manual page for a list of predefined function keys.
+You can use the
+.Fl f
+option of the
+.Xr kbdcontrol 1
+utility to assign arbitrary strings to function keys.
.It lshift
Act as left shift key.
.It rshift
OpenPOWER on IntegriCloud