Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #589
Difficulty: Medium
A binary search algorithm requires that the array being searched is sorted in descending order.
True or False?
Linux & Unix Commands - Search Man Pages

kbdmap(1) [freebsd man page]

KBDMAP(1)						    BSD General Commands Manual 						 KBDMAP(1)

kbdmap, vidfont -- front end for syscons and vt SYNOPSIS
kbdmap [-K] [-V] [-d | -default] [-h | -help] [-l | -lang language] [-p | -print] [-r | -restore] [-s | -show] [-v | -verbose] DESCRIPTION
The kbdmap utility allows easy setting of available keymaps. The vidfont 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. These programs are interactive and expect to run in a terminal to get required input (e.g., a keymap selection) from the user. It is strongly recommended to not choose MSDOS codepage keymaps or fonts. Use the ISO standard version if available! X11 does not support MSDOS codepage. The following options are available: -K Run as command kbdmap. -V Run as command vidfont. -d, -default Use default language. Ignore LANG environment variable. -h, -help Print options and exit. -l, -lang language Use language for description and menu. -p, -print Print description of available keymaps or fonts to stdout and exit. -r, -restore Load default font from /etc/rc.conf. -s, -show Show currently supported languages and exit. -v, -verbose More warnings. ENVIRONMENT
LANG preferred language FILES
/usr/share/syscons/keymaps/INDEX.keymaps /usr/share/vt/keymaps/INDEX.keymaps database for keymaps /usr/share/syscons/fonts/INDEX.fonts /usr/share/vt/fonts/INDEX.fonts database for fonts /etc/rc.conf default font /usr/local/share/locale/locale.alias describe common LANG values SEE ALSO
dialog(1), kbdcontrol(1), vidcontrol(1), syscons(4), vt(4), kbdmap(5), rc.conf(5) HISTORY
The kbdmap and vidfont commands appeared in FreeBSD 2.1. AUTHORS
Wolfram Schneider <> wrote the original Perl version. The current version was rewritten in C by Jonathan Belson <> for FreeBSD 5.0. BUGS
The kbdmap and vidfont utilities work only on a (virtual) console and not with X11. BSD
July 3, 2002 BSD

Check Out this Related Man Page

UKBD(4) 						   BSD Kernel Interfaces Manual 						   UKBD(4)

ukbd -- USB keyboard driver SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device ukbd Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): ukbd_load="YES" DESCRIPTION
The ukbd driver provides support for keyboards that attach to the USB port. usb(4) and one of uhci(4) or ohci(4) must be configured in the kernel as well. CONFIGURATION
By default, the keyboard subsystem does not create the appropriate devices yet. Make sure you reconfigure your kernel with the following option in the kernel config file: options KBD_INSTALL_CDEV If both an AT keyboard USB keyboards are used at the same time, the AT keyboard will appear as kbd0 in /dev. The USB keyboards will be kbd1, kbd2, etc. You can see some information about the keyboard with the following command: kbdcontrol -i < /dev/kbd1 or load a keymap with kbdcontrol -l keymaps/pt.iso < /dev/kbd1 See kbdcontrol(1) for more possible options. You can swap console keyboards by using the command kbdcontrol -k /dev/kbd1 From this point on, the first USB keyboard will be the keyboard to be used by the console. If you want to use a USB keyboard as your default and not use an AT keyboard at all, you will have to remove the device atkbd line from the kernel configuration file. Because of the device initialization order, the USB keyboard will be detected after the console driver initial- izes itself and you have to explicitly tell the console driver to use the existence of the USB keyboard. This can be done in one of the fol- lowing two ways. Run the following command as a part of system initialization: kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null (Note that as the USB keyboard is the only keyboard, it is accessed as /dev/kbd0) or otherwise tell the console driver to periodically look for a keyboard by setting a flag in the kernel configuration file: device sc0 at isa? flags 0x100 With the above flag, the console driver will try to detect any keyboard in the system if it did not detect one while it was initialized at boot time. DRIVER CONFIGURATION
options KBD_INSTALL_CDEV Make the keyboards available through a character device in /dev. options UKBD_DFLT_KEYMAP makeoptions UKBD_DFLT_KEYMAP=fr.iso The above lines will put the French ISO keymap in the ukbd driver. You can specify any keymap in /usr/share/syscons/keymaps or /usr/share/vt/keymaps (depending on the console driver being used) with this option. options KBD_DISABLE_KEYMAP_LOADING Do not allow the user to change the keymap. Note that these options also affect the AT keyboard driver, atkbd(4). FILES
/dev/kbd* blocking device nodes EXAMPLES
device ukbd Add the ukbd driver to the kernel. SEE ALSO
kbdcontrol(1), ohci(4), syscons(4), uhci(4), usb(4), vt(4), config(8) AUTHORS
The ukbd driver was written by Lennart Augustsson <> for NetBSD and was substantially rewritten for FreeBSD by Kazutaka YOKOTA <>. This manual page was written by Nick Hibma <> with a large amount of input from Kazutaka YOKOTA <>. BSD
November 22, 2006 BSD

Featured Tech Videos