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: src/usr.sbin/kbdmap/kbdmap.1,v 1.31 2002/12/04 14:45:48 ru Exp $ 26.\" $DragonFly: src/usr.sbin/kbdmap/kbdmap.1,v 1.3 2004/06/21 01:37:42 cpressey Exp $ 27.Dd July 3, 2002 28.Dt KBDMAP 1 29.Os 30.Sh NAME 31.Nm kbdmap , 32.Nm vidfont 33.Nd front end for syscons 34.Sh SYNOPSIS 35.Nm 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 46The 47.Nm 48utility allows easy setting of available keymaps. 49The 50.Nm vidfont 51command allows the setting of fonts. 52Both examine a database for the keymaps and fonts. 53Descriptions are in English by default, but may also be 54in other languages. 55These programs are interactive and expect to run 56in a terminal to get required input (e.g., a keymap selection) 57from the user. 58.Pp 59It is strongly recommended to not choose 60.Tn MSDOS 61codepage keymaps 62or fonts. 63Use the 64.Tn ISO 65standard version if available! 66.Tn X11 67does not 68support 69.Tn MSDOS 70codepage. 71.Pp 72The following options are available: 73.Bl -tag -width indent 74.It Fl K 75Run as command 76.Nm . 77.It Fl V 78Run as command 79.Nm vidfont . 80.It Fl d , Fl default 81Use default language. 82Ignore 83.Ev LANG 84environment variable. 85.It Fl h , Fl help 86Print options and exit. 87.It Fl l , Fl lang Ar language 88Use 89.Ar language 90for description and menu 91.It Fl p , Fl print 92Print description of available keymaps or fonts 93to stdout and exit. 94.It Fl r , Fl restore 95Load default font from 96.Pa /etc/rc.conf . 97.It Fl s , Fl show 98Show currently supported languages and exit. 99.It Fl v , Fl verbose 100More warnings. 101.El 102.Sh ENVIRONMENT 103.Bl -tag -width LANG -compact 104.It Ev LANG 105preferred language 106.El 107.Sh FILES 108.Bl -tag -width /usr/share/syscons/keymaps/INDEX.keymaps -compact 109.It Pa /usr/share/syscons/keymaps/INDEX.keymaps 110database for keymaps 111.It Pa /usr/share/syscons/fonts/INDEX.fonts 112database for fonts 113.It Pa /etc/rc.conf 114default font 115.It Pa /usr/X11/lib/X11/locale/locale.alias 116describe common 117.Ev LANG 118values 119.El 120.Sh BUGS 121.\" .Nm kbdmap/vidfont 122.\" does not know which font is in use. E.g. if the current font 123.\" is iso-8859-1 and you chose lang 'ru' (for Russian) 124.\" you get funny latin1 characters and not russkij shrift. 125.\" 126The 127.Nm 128and 129.Nm vidfont 130utilities work only on a (virtual) console and not with 131.Tn X11 . 132.Sh SEE ALSO 133.Xr dialog 1 , 134.Xr kbdcontrol 1 , 135.Xr vidcontrol 1 , 136.Xr kbdmap 5 , 137.Xr rc.conf 5 138.Sh HISTORY 139The 140.Nm 141and 142.Nm vidfont 143commands appeared in 144.Fx 2.1 . 145.Sh AUTHORS 146.An -nosplit 147.An Wolfram Schneider 148.Aq wosch@FreeBSD.org 149wrote the original Perl version. 150The current version was rewritten in C by 151.An Jonathan Belson 152.Aq jon@witchspace.com 153for 154.Fx 5.0 . 155