freebsd-nq/usr.sbin/kbdcontrol/kbdcontrol.1
Kazutaka YOKOTA 2aa0aafb2d - Set bell pitch in hertz and duration in msecs.
The change corresponds to syscons.c 1.268.

PR: bin/6037
Submitted by: Kouichi Hirabayashi (kh@eve.mogami-wire.co.jp)
1998-08-03 09:12:39 +00:00

102 lines
2.6 KiB
Groff
Raw Blame 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
.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 Ar size
.Op Fl L Ar mapfile
.Sh DESCRIPTION
The
.Nm
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:
.Bl -tag -width indent
.It Fl b Ar duration.pitch | Ar belltype
Set the bell duration in miliseconds and pitch in hertz.
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.
.El
.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
.An S<EFBFBD>ren Schmidt Aq sos@FreeBSD.org