「kbd」

KBD,一个软件包,包含用于管理Linux控制台、更换字体调整文本模式虚拟控制台键盘映射

注意,这里的字体与X Window中的字体不是同一个概念。

命令列表

chvt:Changes the foreground virtual terminal

deallocvt:Deallocates unused virtual terminals

dumpkeys:Dumps the keyboard translation tables

fgconsole:Prints the number of the active virtual terminal

getkeycodes:Prints the kernel scancode-to-keycode mapping table

kbdinfo:Obtains information about the status of a console

kbd_mode:Reports or sets the keyboard mode

kbdrate:Sets the keyboard repeat and delay rates

loadkeys:加载键盘转换表(keyboard translation tables)

loadunimap:Loads the kernel unicode-to-font mapping table

mapscrn:An obsolete program that used to load a user-defined output character mapping table into the console driver; this is now done by setfont

openvt:Starts a program on a new virtual terminal (VT)

psfaddtable:Adds a Unicode character table to a console font

psfgettable:Extracts the embedded Unicode character table from a console font

psfstriptable:Removes the embedded Unicode character table from a console font

psfxtable:Handles Unicode character tables for console fonts

setkeycodes:Loads kernel scancode-to-keycode mapping table entries; this is useful if there are unusual keys on the keyboard

setleds:Sets the keyboard flags and Light Emitting Diodes (LEDs)

setmetamode:Defines the keyboard meta-key handling

setvtrgb:Sets the console color map in all virtual terminals

showkey:Reports the scancodes, keycodes, and ASCII codes of the keys pressed on the keyboard

unicode_start:Puts the keyboard and console in UNICODE mode [Don’t use this program unless your keymap file is in the ISO-8859-1 encoding. For other encodings, this utility produces incorrect results.]

unicode_stop:Reverts keyboard and console from UNICODE mode

与「控制台字体」有关的命令

showconsolefont,显示当前的EGA/VGA控制台屏幕字体。

setfont,改变在控制台中的EGA(Enhanced Graphic Adapter)和VGA(Video Graphics Array)的字体。

参考文献