summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kbdcontrol/kbdcontrol.1
blob: 4b326516c563d6f75eba4c35c2ab2cab935bb3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.\"
.\" 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
.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
.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.
.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 
.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
.Ar delay (250, 500, 750, 1000)
and
.Ar repeat (34, 38, 42, 46, 50, 55, 59, 63, 68, 76, 84, 92, 100, 110, 118, 126, 
136, 152, 168, 184, 200, 220, 236, 252, 272, 304, 336, 368, 400, 440,
472, 504)
rates, or if a
.Ar speed
argument is specified, it may be one of 
.Ar slow
(1000.504),
.Ar fast
(250.34)
or
.Ar normal
(500.126)
.It Fl l Ar mapfile
Install keyboard map file from
.Ar mapfile
.It Fl d
Dump the current keyboard map onto stdout
.It Fl f Ar # Ar string
.BI "\-f\ " #\ string
Set function key number
.Ar #
to send
.Ar string
.It Fl F
Set function keys back to the standard definitions.
.It Fl x
Use hexadecimal numbers in keyboard map dump.
.It Fl h Ar size
Set history buffer size to
.Ar size
lines.
.It Fl L Ar mapfile
Load keyboard map file from
.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.
.Sh "SEE ALSO"
.Xr vidcontrol 1 ,
.Xr keyboard 4 ,
.Xr screen 4
.Sh AUTHORS
Søren Schmidt (sos@FreeBSD.org)
OpenPOWER on IntegriCloud