freebsd-skq/usr.sbin/kbdcontrol/kbdcontrol.1

102 lines
2.6 KiB
Groff
Raw Normal View History

.\"
.\" kbdcontrol - a utility for manipulating the syscons keyboard driver section
.\"
.\" 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.
.\"
.\" @(#)kbdcontrol.1
.\"
.Dd May 22, 1994
1996-12-21 23:23:11 +00:00
.Dt kbdcontrol 1
.Os FreeBSD
.Sh NAME
.Nm kbdcontrol
.Nd a utility for manipulating the syscons keyboard driver section.
.Sh SYNOPSIS
.Nm
.Op Fl dFx
.Op Fl b Ar duration.pitch | Ar belltype
.Op Fl r Ar delay.repeat | Ar speed
.Op Fl l Ar mapfile
.Op Fl f Ar # Ar string
.Op Fl h size
.Op Fl L mapfile
.Sh DESCRIPTION
The
1996-12-21 23:23:11 +00:00
.Nm kbdcontrol
command is used to set various keyboard related options for the syscons
console driver, such as keymap, keyboard repeat & delay rates, bell
characteristics etc.
1996-12-21 23:23:11 +00:00
.Pp
The following command line options are supported:
.Pp
.Bl -tag -width xxxxxx
.It Fl b Ar duration.pitch | Ar belltype
Set the bell duration and pitch values.
If a
.Ar belltype
argument is specified, it may be one of
.Ar normal
which set sound parameters back to normal values, or
1996-12-21 23:23:11 +00:00
.Ar visual
which set the bell to visual mode, i.e. flashes the screen instead.
.It Fl r Ar delay.repeat | Ar speed
Set keyboard
1996-12-21 23:23:11 +00:00
.Ar delay (250, 500, 750, 1000)
and
1996-12-21 23:23:11 +00:00
.Ar repeat (34, 38, 42, 46, 50, 55, 59, 63, 68, 76, 84, 92, 100, 110, 118, 126,
1996-05-28 00:14:20 +00:00
136, 152, 168, 184, 200, 220, 236, 252, 272, 304, 336, 368, 400, 440,
472, 504)
1996-12-21 23:23:11 +00:00
rates, or if a
.Ar speed
argument is specified, it may be one of
.Ar slow
(1000.504),
.Ar fast
(250.34)
or
1996-12-21 23:23:11 +00:00
.Ar normal
(500.126)
.It Fl l Ar mapfile
Install keyboard map file from
1996-12-21 23:23:11 +00:00
.Ar mapfile
.It Fl d
Dump the current keyboard map onto stdout
1996-12-21 23:23:11 +00:00
.It Fl f Ar # Ar string
.BI "\-f\ " #\ string
Set function key number
1996-12-21 23:23:11 +00:00
.Ar #
to send
1996-12-21 23:23:11 +00:00
.Ar string
.It Fl F
Set function keys back to the standard definitions.
1996-12-21 23:23:11 +00:00
.It Fl x
1995-06-11 19:33:05 +00:00
Use hexadecimal numbers in keyboard map dump.
1996-12-21 23:23:11 +00:00
.It Fl h Ar size
Set history buffer size to
.Ar size
lines.
.It Fl L Ar mapfile
Load keyboard map file from
1996-12-21 23:23:11 +00:00
.Ar mapfile
and write the
.Ft "struct keymap"
compiled from it to stdout.
.Sh FILES
.Bl -tag -width /usr/share/syscons/keymaps -compact
.Pa /usr/share/syscons/keymaps
.Sh "BUGS"
Report when found.
1996-12-21 23:23:11 +00:00
.Sh "SEE ALSO"
.Xr vidcontrol 1 ,
.Xr keyboard 4 ,
.Xr screen 4
.Sh AUTHORS
S<EFBFBD>ren Schmidt (sos@FreeBSD.org)