1996-08-27 20:04:45 +00:00
|
|
|
.\" Copyright (c) March 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
|
|
|
|
.\" All rights reserved.
|
1995-04-05 08:09:25 +00:00
|
|
|
.\"
|
|
|
|
.\" 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$
|
2002-12-04 14:45:48 +00:00
|
|
|
.Dd July 3, 2002
|
1995-04-05 08:09:25 +00:00
|
|
|
.Dt KBDMAP 1
|
2001-07-10 15:12:08 +00:00
|
|
|
.Os
|
1995-04-05 08:09:25 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm kbdmap ,
|
|
|
|
.Nm vidfont
|
|
|
|
.Nd front end for syscons
|
|
|
|
.Sh SYNOPSIS
|
2000-11-20 20:10:44 +00:00
|
|
|
.Nm
|
2001-07-15 08:06:20 +00:00
|
|
|
.Op Fl K
|
|
|
|
.Op Fl V
|
1995-04-05 08:09:25 +00:00
|
|
|
.Op Fl d | Fl default
|
|
|
|
.Op Fl h | Fl help
|
|
|
|
.Op Fl l | Fl lang Ar language
|
1996-08-16 13:26:44 +00:00
|
|
|
.Op Fl p | Fl print
|
1995-04-05 08:09:25 +00:00
|
|
|
.Op Fl r | Fl restore
|
|
|
|
.Op Fl s | Fl show
|
|
|
|
.Op Fl v | Fl 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.
|
2001-09-04 03:18:13 +00:00
|
|
|
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
|
2000-03-01 14:09:25 +00:00
|
|
|
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.
|
2000-01-23 20:20:55 +00:00
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width indent
|
1996-08-16 13:26:44 +00:00
|
|
|
.It Fl K
|
|
|
|
Run as command
|
2001-09-04 13:10:28 +00:00
|
|
|
.Nm .
|
1996-08-16 13:26:44 +00:00
|
|
|
.It Fl V
|
|
|
|
Run as command
|
2001-09-04 13:10:28 +00:00
|
|
|
.Nm vidfont .
|
1995-04-05 08:09:25 +00:00
|
|
|
.It Fl d , Fl default
|
2000-03-01 14:09:25 +00:00
|
|
|
Use default language.
|
|
|
|
Ignore
|
2000-01-23 20:20:55 +00:00
|
|
|
.Ev LANG
|
|
|
|
environment variable.
|
1995-04-05 08:09:25 +00:00
|
|
|
.It Fl h , Fl help
|
|
|
|
Print options and exit.
|
|
|
|
.It Fl l , Fl lang Ar language
|
|
|
|
Use
|
|
|
|
.Ar language
|
|
|
|
for description and menu
|
1996-08-16 13:26:44 +00:00
|
|
|
.It Fl p , Fl print
|
2004-07-03 18:35:53 +00:00
|
|
|
Print description of available keymaps or fonts
|
1996-08-16 13:26:44 +00:00
|
|
|
to stdout and exit.
|
1995-04-05 08:09:25 +00:00
|
|
|
.It Fl r , Fl restore
|
1996-12-23 02:19:12 +00:00
|
|
|
Load default font from
|
1997-05-19 07:30:45 +00:00
|
|
|
.Pa /etc/rc.conf .
|
1996-08-16 13:26:44 +00:00
|
|
|
.It Fl s , Fl show
|
|
|
|
Show currently supported languages and exit.
|
1995-04-05 08:09:25 +00:00
|
|
|
.It Fl v , Fl verbose
|
|
|
|
More warnings.
|
2000-01-23 20:20:55 +00:00
|
|
|
.El
|
1996-01-30 13:52:50 +00:00
|
|
|
.Sh ENVIRONMENT
|
2000-12-27 15:30:30 +00:00
|
|
|
.Bl -tag -width LANG -compact
|
|
|
|
.It Ev LANG
|
2000-01-23 20:20:55 +00:00
|
|
|
preferred language
|
|
|
|
.El
|
1995-04-05 08:09:25 +00:00
|
|
|
.Sh FILES
|
1996-12-23 02:19:12 +00:00
|
|
|
.Bl -tag -width /usr/share/syscons/keymaps/INDEX.keymaps -compact
|
|
|
|
.It Pa /usr/share/syscons/keymaps/INDEX.keymaps
|
2000-01-23 20:20:55 +00:00
|
|
|
database for keymaps
|
1996-12-23 02:19:12 +00:00
|
|
|
.It Pa /usr/share/syscons/fonts/INDEX.fonts
|
2000-01-23 20:20:55 +00:00
|
|
|
database for fonts
|
1997-05-19 07:30:45 +00:00
|
|
|
.It Pa /etc/rc.conf
|
2000-01-23 20:20:55 +00:00
|
|
|
default font
|
1996-12-23 02:19:12 +00:00
|
|
|
.It Pa /usr/X11/lib/X11/locale/locale.alias
|
2000-01-23 20:20:55 +00:00
|
|
|
describe common
|
|
|
|
.Ev LANG
|
|
|
|
values
|
|
|
|
.El
|
2001-09-03 16:07:14 +00:00
|
|
|
.Sh BUGS
|
1995-04-05 08:09:25 +00:00
|
|
|
.\" .Nm kbdmap/vidfont
|
2001-07-15 08:06:20 +00:00
|
|
|
.\" 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)
|
1995-04-05 08:09:25 +00:00
|
|
|
.\" you get funny latin1 characters and not russkij shrift.
|
2001-07-15 08:06:20 +00:00
|
|
|
.\"
|
2002-04-20 12:27:18 +00:00
|
|
|
The
|
2001-09-04 13:10:28 +00:00
|
|
|
.Nm
|
2001-09-03 16:07:14 +00:00
|
|
|
and
|
2001-09-04 13:10:28 +00:00
|
|
|
.Nm vidfont
|
2002-04-20 12:27:18 +00:00
|
|
|
utilities work only on a (virtual) console and not with
|
2001-09-03 16:07:14 +00:00
|
|
|
.Tn X11 .
|
1995-04-05 08:09:25 +00:00
|
|
|
.Sh SEE ALSO
|
1997-01-20 00:03:00 +00:00
|
|
|
.Xr dialog 1 ,
|
1995-04-05 08:09:25 +00:00
|
|
|
.Xr kbdcontrol 1 ,
|
|
|
|
.Xr vidcontrol 1 ,
|
2000-09-13 09:16:57 +00:00
|
|
|
.Xr kbdmap 5 ,
|
1997-05-19 07:30:45 +00:00
|
|
|
.Xr rc.conf 5
|
1995-04-05 08:09:25 +00:00
|
|
|
.Sh HISTORY
|
1996-12-23 02:19:12 +00:00
|
|
|
The
|
2000-11-20 20:10:44 +00:00
|
|
|
.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 .
|
1998-03-23 08:31:20 +00:00
|
|
|
.Sh AUTHORS
|
2002-12-04 14:45:48 +00:00
|
|
|
.An -nosplit
|
1997-09-19 06:29:52 +00:00
|
|
|
.An Wolfram Schneider
|
2002-11-27 15:31:08 +00:00
|
|
|
.Aq wosch@FreeBSD.org
|
2002-07-03 14:56:08 +00:00
|
|
|
wrote the original Perl version.
|
|
|
|
The current version was rewritten in C by
|
|
|
|
.An Jonathan Belson
|
|
|
|
.Aq jon@witchspace.com
|
|
|
|
for
|
|
|
|
.Fx 5.0 .
|