xref: /freebsd/usr.sbin/kbdcontrol/kbdcontrol.1 (revision 11afcc8f9f96d657b8e6f7547c02c1957331fc96)
1.\"
2.\" kbdcontrol - a utility for manipulating the syscons keyboard driver section
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\"     @(#)kbdcontrol.1
14.\"
15.Dd May 22, 1994
16.Dt kbdcontrol 1
17.Os FreeBSD
18.Sh NAME
19.Nm kbdcontrol
20.Nd a utility for manipulating the syscons keyboard driver section
21.Sh SYNOPSIS
22.Nm
23.Op Fl dFx
24.Op Fl b Ar duration.pitch | Ar belltype
25.Op Fl r Ar delay.repeat | Ar speed
26.Op Fl l Ar mapfile
27.Op Fl f Ar # Ar string
28.Op Fl h Ar size
29.Op Fl L Ar mapfile
30.Sh DESCRIPTION
31The
32.Nm
33command is used to set various keyboard related options for the syscons
34console driver, such as keymap, keyboard repeat & delay rates, bell
35characteristics etc.
36.Pp
37The following command line options are supported:
38.Bl -tag -width indent
39.It Fl b Ar duration.pitch | Ar belltype
40Set the bell duration in miliseconds and pitch in hertz.
41If a
42.Ar belltype
43argument is specified, it may be one of
44.Ar normal
45which set sound parameters back to normal values, or
46.Ar visual
47which set the bell to visual mode, i.e. flashes the screen instead.
48.It Fl r Ar delay.repeat | Ar speed
49Set keyboard
50.Ar delay (250, 500, 750, 1000)
51and
52.Ar repeat (34, 38, 42, 46, 50, 55, 59, 63, 68, 76, 84, 92, 100, 110, 118, 126,
53136, 152, 168, 184, 200, 220, 236, 252, 272, 304, 336, 368, 400, 440,
54472, 504)
55rates, or if a
56.Ar speed
57argument is specified, it may be one of
58.Ar slow
59(1000.504),
60.Ar fast
61(250.34)
62or
63.Ar normal
64(500.126).
65.It Fl l Ar mapfile
66Install keyboard map file from
67.Ar mapfile .
68.It Fl d
69Dump the current keyboard map onto stdout.
70.It Fl f Ar # Ar string
71.BI "\-f\ " #\ string
72Set function key number
73.Ar #
74to send
75.Ar string .
76.It Fl F
77Set function keys back to the standard definitions.
78.It Fl x
79Use hexadecimal numbers in keyboard map dump.
80.It Fl h Ar size
81Set history buffer size to
82.Ar size
83lines.
84.It Fl L Ar mapfile
85Load keyboard map file from
86.Ar mapfile
87and write the
88.Ft "struct keymap"
89compiled from it to stdout.
90.El
91.Sh FILES
92.Bl -tag -width /usr/share/syscons/keymaps -compact
93.Pa /usr/share/syscons/keymaps
94.Sh "BUGS"
95Report when found.
96.Sh "SEE ALSO"
97.Xr vidcontrol 1 ,
98.Xr keyboard 4 ,
99.Xr screen 4
100.Sh AUTHORS
101.An S�ren Schmidt Aq sos@FreeBSD.org
102