freebsd-dev/usr.sbin/kbdmap/kbdmap.1

154 lines
3.8 KiB
Groff
Raw Normal View History

.\" Copyright (c) March 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" All rights reserved.
.\"
.\" 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.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
1999-08-28 01:35:59 +00:00
.\" $FreeBSD$
.Dd July 3, 2002
.Dt KBDMAP 1
.Os
.Sh NAME
.Nm kbdmap ,
.Nm vidfont
.Nd front end for syscons
.Sh SYNOPSIS
.Nm
2001-07-15 08:06:20 +00:00
.Op Fl K
.Op Fl V
2006-12-25 18:36:53 +00:00
.Op Fl d | default
.Op Fl h | help
.Op Fl l | lang Ar language
.Op Fl p | print
.Op Fl r | restore
.Op Fl s | show
.Op Fl v | verbose
2001-07-15 08:06:20 +00:00
.Sh DESCRIPTION
2002-04-20 12:27:18 +00:00
The
.Nm
utility allows easy setting of available keymaps.
1996-12-23 02:19:12 +00:00
The
2001-07-15 08:06:20 +00:00
.Nm vidfont
1996-12-23 02:19:12 +00:00
command allows the setting of fonts.
Both examine a database for the keymaps and fonts.
Descriptions are in English by default, but may also be
in other languages.
These programs are interactive and expect to run
in a terminal to get required input (e.g., a keymap selection)
from the user.
1996-12-23 02:19:12 +00:00
.Pp
2001-07-15 08:06:20 +00:00
It is strongly recommended to not choose
.Tn MSDOS
1996-12-23 02:19:12 +00:00
codepage keymaps
or fonts.
2001-07-15 08:06:20 +00:00
Use the
.Tn ISO
standard version if available!
.Tn X11
1996-12-23 02:19:12 +00:00
does not
2001-07-15 08:06:20 +00:00
support
.Tn MSDOS
1996-12-23 02:19:12 +00:00
codepage.
.Pp
The following options are available:
.Bl -tag -width indent
.It Fl K
Run as command
.Nm .
.It Fl V
Run as command
.Nm vidfont .
2006-12-25 18:36:53 +00:00
.It Fl d , default
Use default language.
Ignore
.Ev LANG
environment variable.
2006-12-25 18:36:53 +00:00
.It Fl h , help
Print options and exit.
2006-12-25 18:36:53 +00:00
.It Fl l , lang Ar language
Use
.Ar language
2006-12-25 18:36:53 +00:00
for description and menu.
.It Fl p , print
2004-07-03 18:35:53 +00:00
Print description of available keymaps or fonts
to stdout and exit.
2006-12-25 18:36:53 +00:00
.It Fl r , restore
1996-12-23 02:19:12 +00:00
Load default font from
.Pa /etc/rc.conf .
2006-12-25 18:36:53 +00:00
.It Fl s , show
Show currently supported languages and exit.
2006-12-25 18:36:53 +00:00
.It Fl v , verbose
More warnings.
.El
.Sh ENVIRONMENT
2000-12-27 15:30:30 +00:00
.Bl -tag -width LANG -compact
.It Ev LANG
preferred language
.El
.Sh FILES
2006-12-25 18:36:53 +00:00
.Bl -tag -width ".Pa /usr/share/syscons/keymaps/INDEX.keymaps" -compact
1996-12-23 02:19:12 +00:00
.It Pa /usr/share/syscons/keymaps/INDEX.keymaps
database for keymaps
1996-12-23 02:19:12 +00:00
.It Pa /usr/share/syscons/fonts/INDEX.fonts
database for fonts
.It Pa /etc/rc.conf
default font
.It Pa /usr/local/share/locale/locale.alias
describe common
.Ev LANG
values
.El
.Sh SEE ALSO
1997-01-20 00:03:00 +00:00
.Xr dialog 1 ,
.Xr kbdcontrol 1 ,
.Xr vidcontrol 1 ,
.Xr kbdmap 5 ,
.Xr rc.conf 5
.Sh HISTORY
1996-12-23 02:19:12 +00:00
The
.Nm
1996-12-23 02:19:12 +00:00
and
.Nm vidfont
commands appeared in
1996-08-23 00:57:08 +00:00
.Fx 2.1 .
.Sh AUTHORS
.An -nosplit
1997-09-19 06:29:52 +00:00
.An Wolfram Schneider
.Aq wosch@FreeBSD.org
wrote the original Perl version.
The current version was rewritten in C by
.An Jonathan Belson
.Aq jon@witchspace.com
for
.Fx 5.0 .
2005-01-18 20:02:45 +00:00
.Sh BUGS
.\" .Nm kbdmap/vidfont
.\" does not know which font is in use. E.g. if the current font
.\" is iso-8859-1 and you chose lang 'ru' (for Russian)
.\" you get funny latin1 characters and not russkij shrift.
.\"
The
.Nm
and
.Nm vidfont
utilities work only on a (virtual) console and not with
.Tn X11 .