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

140 lines
3.5 KiB
Groff

.\" 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.
.\"
.\" $Id: kbdmap.1,v 1.5 1996/08/23 00:56:08 mpp Exp $
.Dd Mar 25, 1995
.Dt KBDMAP 1
.Os FreeBSD
.Sh NAME
.Nm kbdmap ,
.Nm vidfont
.Nd front end for syscons
.Sh SYNOPSIS
.Nm kbdmap
.Op Fl K
.Op Fl V
.Op Fl d | Fl default
.Op Fl h | Fl help
.Op Fl l | Fl lang Ar language
.Op Fl p | Fl print
.Op Fl r | Fl restore
.Op Fl s | Fl show
.Op Fl v | Fl verbose
.Sh DESCRIPTION
.Nm kbdmap
allow easy setting of available keymaps.
.Nm vidfont
do it for fonts.
Both looking in a database for a description. Description is
in English (default) or any other language.
It is strongly recommended to not choose MSDOS codepage keymaps
or fonts. Use the ISO standard if available! X11 does not
support MSDOS codepage.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl K
Run as command
.Xr kbdmap 1 .
.It Fl V
Run as command
.Xr vidfont 1 .
.It Fl d , Fl default
Use default language. Ignore $LANG.
.It Fl h , Fl help
Print options and exit.
.It Fl l , Fl lang Ar language
Use
.Ar language
for description and menu
.It Fl p , Fl print
Print description of available keymaps or fonts
to stdout and exit.
.It Fl r , Fl restore
Load default font from /etc/sysconfig
.It Fl s , Fl show
Show currently supported languages and exit.
.It Fl v , Fl verbose
More warnings.
.Sh ENVIRONMENT
.Bl -tag -width /etc/master.passwdxx -compact
.Pa LANG
Prefered language.
.Sh FILES
.Bl -tag -width /etc/master.passwd -compact
.Pa /usr/share/syscons/keymaps/INDEX.keymaps
Database for keymaps.
.Pa /usr/share/syscons/fonts/INDEX.fonts
Database for fonts.
.Pa /etc/sysconfig
Default font.
.Pa /usr/X11/lib/X11/locale/locale.alias
Describe common LANG values.
.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.
.\"
.Nm vidcontrol
and
.Nm kbdcontrol
work only on a (virtual) console an not with X11.
.Sh SEE ALSO
.Xr kbdcontrol 1 ,
.Xr vidcontrol 1 ,
.Xr sysconfig 5 ,
.Xr dialog 1 .
.Sh HISTORY
.Nm kbdmap/vidfont
command appeared in
.Fx 2.1 .
.Sh AUTHOR
Wolfram Schneider
.Aq wosch@FreeBSD.org ,
Berlin.