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.\" $FreeBSD$ 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.Pp 67The following options are available: 68.Bl -tag -width indent 69.It Fl K 70Run as command 71.Xr kbdmap 1 . 72.It Fl V 73Run as command 74.Xr vidfont 1 . 75.It Fl d , Fl default 76Use default language. Ignore 77.Ev LANG 78environment variable. 79.It Fl h , Fl help 80Print options and exit. 81.It Fl l , Fl lang Ar language 82Use 83.Ar language 84for description and menu 85.It Fl p , Fl print 86Print description of available keymaps or fonts 87to stdout and exit. 88.It Fl r , Fl restore 89Load default font from 90.Pa /etc/rc.conf . 91.It Fl s , Fl show 92Show currently supported languages and exit. 93.It Fl v , Fl verbose 94More warnings. 95.El 96.Sh ENVIRONMENT 97.Bl -tag -width /etc/master.passwdxx -compact 98.Ev LANG 99preferred language 100.El 101.Sh FILES 102.Bl -tag -width /usr/share/syscons/keymaps/INDEX.keymaps -compact 103.It Pa /usr/share/syscons/keymaps/INDEX.keymaps 104database for keymaps 105.It Pa /usr/share/syscons/fonts/INDEX.fonts 106database for fonts 107.It Pa /etc/rc.conf 108default font 109.It Pa /usr/X11/lib/X11/locale/locale.alias 110describe common 111.Ev LANG 112values 113.El 114.Sh BUGS 115.\" .Nm kbdmap/vidfont 116.\" does not know which font is in use. E.g. if the current font 117.\" is iso-8859-1 and you chose lang 'ru' (for Russian) 118.\" you get funny latin1 characters and not russkij shrift. 119.\" 120.Nm Vidcontrol 121and 122.Nm kbdcontrol 123work only on a (virtual) console and not with 124.Tn X11 . 125.Sh SEE ALSO 126.Xr dialog 1 , 127.Xr kbdcontrol 1 , 128.Xr vidcontrol 1 , 129.Xr rc.conf 5 130.Sh HISTORY 131The 132.Nm kbdmap 133and 134.Nm vidfont 135commands appeared in 136.Fx 2.1 . 137.Sh AUTHORS 138.An Wolfram Schneider 139.Aq wosch@FreeBSD.org , 140Berlin. 141