1994-08-17 08:59:37 +00:00
|
|
|
|
.\"
|
|
|
|
|
.\" 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
|
|
|
|
|
.\"
|
1997-06-23 04:03:49 +00:00
|
|
|
|
.Dd May 22, 1994
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.Dt kbdcontrol 1
|
|
|
|
|
.Os FreeBSD
|
|
|
|
|
.Sh NAME
|
|
|
|
|
.Nm kbdcontrol
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.Nd a utility for manipulating the syscons keyboard driver section
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.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
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.Op Fl h Ar size
|
|
|
|
|
.Op Fl L Ar mapfile
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.Sh DESCRIPTION
|
1994-08-17 08:59:37 +00:00
|
|
|
|
The
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.Nm
|
1994-08-17 08:59:37 +00:00
|
|
|
|
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:
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.Bl -tag -width indent
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.It Fl b Ar duration.pitch | Ar belltype
|
1998-08-03 09:12:39 +00:00
|
|
|
|
Set the bell duration in miliseconds and pitch in hertz.
|
1996-12-21 23:23:11 +00:00
|
|
|
|
If a
|
|
|
|
|
.Ar belltype
|
|
|
|
|
argument is specified, it may be one of
|
|
|
|
|
.Ar normal
|
1995-01-12 11:47:05 +00:00
|
|
|
|
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
|
1994-08-17 08:59:37 +00:00
|
|
|
|
Set keyboard
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.Ar delay (250, 500, 750, 1000)
|
1994-08-17 08:59:37 +00:00
|
|
|
|
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)
|
1994-08-17 08:59:37 +00:00
|
|
|
|
or
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.Ar normal
|
1997-09-19 06:28:57 +00:00
|
|
|
|
(500.126).
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.It Fl l Ar mapfile
|
1994-08-17 08:59:37 +00:00
|
|
|
|
Install keyboard map file from
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.Ar mapfile .
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.It Fl d
|
1997-09-19 06:28:57 +00:00
|
|
|
|
Dump the current keyboard map onto stdout.
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.It Fl f Ar # Ar string
|
1994-08-17 08:59:37 +00:00
|
|
|
|
.BI "\-f\ " #\ string
|
|
|
|
|
Set function key number
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.Ar #
|
1994-08-17 08:59:37 +00:00
|
|
|
|
to send
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.Ar string .
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.It Fl F
|
1994-08-17 08:59:37 +00:00
|
|
|
|
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
|
1996-11-09 16:16:19 +00:00
|
|
|
|
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.
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.El
|
1996-12-21 23:23:11 +00:00
|
|
|
|
.Sh FILES
|
|
|
|
|
.Bl -tag -width /usr/share/syscons/keymaps -compact
|
|
|
|
|
.Pa /usr/share/syscons/keymaps
|
|
|
|
|
.Sh "BUGS"
|
1994-08-17 08:59:37 +00:00
|
|
|
|
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
|
1997-09-19 06:28:57 +00:00
|
|
|
|
.An S<EFBFBD>ren Schmidt Aq sos@FreeBSD.org
|