xref: /freebsd/usr.sbin/kbdmap/kbdmap.1 (revision ce834215a70ff69e7e222827437116eee2f9ac6f)
1.\" Copyright (c) March 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $Id: kbdmap.1,v 1.10 1997/02/22 16:06:01 peter Exp $
26
27.Dd Mar 25, 1995
28.Dt KBDMAP 1
29.Os FreeBSD
30.Sh NAME
31.Nm kbdmap ,
32.Nm vidfont
33.Nd front end for syscons
34.Sh SYNOPSIS
35.Nm kbdmap
36.Op Fl K
37.Op Fl V
38.Op Fl d | Fl default
39.Op Fl h | Fl help
40.Op Fl l | Fl lang Ar language
41.Op Fl p | Fl print
42.Op Fl r | Fl restore
43.Op Fl s | Fl show
44.Op Fl v | Fl verbose
45.Sh DESCRIPTION
46.Nm kbdmap
47allows easy setting of available keymaps.
48The
49.Nm vidfont
50command allows the setting of fonts.
51Both examine a database for the keymaps and fonts.
52Descriptions are in English by default, but may also be
53in other languages.
54.Pp
55It is strongly recommended to not choose
56.Tn MSDOS
57codepage keymaps
58or fonts. Use the
59.Tn ISO
60standard version if available!
61.Tn X11
62does not
63support
64.Tn MSDOS
65codepage.
66.Sh OPTIONS
67.Bl -tag -width Ds
68.It Fl K
69Run as command
70.Xr kbdmap 1 .
71.It Fl V
72Run as command
73.Xr vidfont 1 .
74.It Fl d , Fl default
75Use default language. Ignore $LANG.
76.It Fl h , Fl help
77Print options and exit.
78.It Fl l , Fl lang Ar language
79Use
80.Ar language
81for description and menu
82.It Fl p , Fl print
83Print description  of available keymaps or fonts
84to stdout and exit.
85.It Fl r , Fl restore
86Load default font from
87.Pa /etc/rc.conf .
88.It Fl s , Fl show
89Show currently supported languages and exit.
90.It Fl v , Fl verbose
91More warnings.
92.Sh ENVIRONMENT
93.Bl -tag -width /etc/master.passwdxx -compact
94.Ev LANG
95Prefered language.
96.Sh FILES
97.Bl -tag -width /usr/share/syscons/keymaps/INDEX.keymaps -compact
98.It Pa /usr/share/syscons/keymaps/INDEX.keymaps
99Database for keymaps.
100.It Pa /usr/share/syscons/fonts/INDEX.fonts
101Database for fonts.
102.It Pa /etc/rc.conf
103Default font.
104.It Pa /usr/X11/lib/X11/locale/locale.alias
105Describe common LANG values.
106.Sh BUGS
107.\" .Nm kbdmap/vidfont
108.\" does not know which font is in use. E.g. if the current font
109.\" is iso-8859-1 and you chose lang 'ru' (for Russian)
110.\" you get funny latin1 characters and not russkij shrift.
111.\"
112.Nm vidcontrol
113and
114.Nm kbdcontrol
115work only on a (virtual) console and not with X11.
116.Sh SEE ALSO
117.Xr dialog 1 ,
118.Xr kbdcontrol 1 ,
119.Xr vidcontrol 1 ,
120.Xr rc.conf 5
121.Sh HISTORY
122The
123.Nm kbdmap
124and
125.Nm vidfont
126commands appeared in
127.Fx 2.1 .
128.Sh AUTHOR
129Wolfram Schneider
130.Aq wosch@FreeBSD.org ,
131Berlin.
132