<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.7">
 <TITLE>The Linux keyboard and console HOWTO: Useful programs</TITLE>
 <LINK HREF="kbd.FAQ-2.html" REL=next>

 <LINK HREF="kbd.FAQ.html#toc1" REL=contents>
</HEAD>
<BODY>
<A HREF="kbd.FAQ-2.html">Next</A>
Previous
<A HREF="kbd.FAQ.html#toc1">Contents</A>
<HR>
<H2><A NAME="s1">1. Useful programs</A></H2>

<P>
<!--
programs!keyboard-related
-->

<!--
programs!console-related
-->

<!--
keyboard!programs related to
-->

<!--
console!programs related to
-->
<P>The following packages contain keyboard or console related programs.
<P><CODE>kbd-0.96.tar.gz</CODE> contains <CODE>loadkeys</CODE>, <CODE>dumpkeys</CODE>, <CODE>showkey</CODE>,
<CODE>setmetamode</CODE>, <CODE>setleds</CODE>, <CODE>setfont</CODE>, <CODE>showfont</CODE>, <CODE>mapscrn</CODE>,
<CODE>kbd_mode</CODE>, <CODE>loadunimap</CODE>, <CODE>chvt</CODE>, <CODE>resizecons</CODE>, <CODE>deallocvt</CODE>,
<CODE>getkeycodes</CODE>, <CODE>setkeycodes</CODE>.
<P><CODE>util-linux-2.6</CODE> contains <CODE>setterm</CODE>, <CODE>kbdrate</CODE>.
(Yes, the <CODE>more</CODE> in <CODE>util-linux-2.6</CODE> dumps core due to a name
conflict. Preserve your old copy, or use <CODE>util-linux-2.5</CODE>, or
change `savetty' to `my_savetty' in <CODE>more.c</CODE>.)
<P><CODE>sh-utils-1.12</CODE> contains <CODE>stty</CODE>.
<P><CODE>open-1.4.tgz</CODE> contains <CODE>open</CODE> (that should be renamed to
<CODE>openvt</CODE>). (See also <CODE>dynamic-vc-1.1.tar.gz</CODE> and <CODE>consd-1.1.tgz</CODE>.)
<P><CODE>SVGATextMode-1.8.tar.gz</CODE> contains <CODE>SVGATextMode</CODE>, a program that
obsoletes <CODE>resizecons</CODE>.
<P>The X distribution contains <CODE>xmodmap</CODE>, <CODE>xset</CODE>, <CODE>kbd_mode</CODE>.
(See also X386keybd(1) for the situation under XFree86 1.3,
and Xserver(1) for the XKEYBOARD extension under X11R6.)
<P><CODE>termcap-2.0.8.tar.gz</CODE> contains <CODE>termcap</CODE>, an old terminal
capabilities data base. <CODE>ncurses-1.9.9e.tar.gz</CODE> contains the
<CODE>termlib</CODE> data base which obsoletes <CODE>termcap</CODE>. (However,
there are still many programs using <CODE>termcap</CODE>.)
<P>See loadkeys(1), setleds(1) and setmetamode(1) for the codes generated by the
various keys and the setting of leds when not under X. Under X, see xmodmap(1)
and xset(1).
<P>See setfont(8) for loading console fonts. Many people will want to
load a font like <CODE>iso01.f16</CODE> because the default font is the
hardware font of the video card, and often is a `Code Page 437' font
missing accented characters and other Latin-1 symbols.
<P>See setterm(1) and kbdrate(8) for properties such as foreground and background
colors, screen blanking and character repeat rate when not under X.
Under X, see xset(1), also for key click and bell volume.
<P>The file <CODE>/etc/termcap</CODE> defines the escape sequences
used by many programs addressing the console (or any other terminal).
See termcap(5).
A more modern version is found in <CODE>/usr/lib/terminfo</CODE>.
See terminfo(5). Terminfo files are compiled
by the terminfo compiler <CODE>/usr/lib/terminfo/tic</CODE>, see tic(1).
Their contents can be examined using the program <CODE>infocmp</CODE>,
see infocmp(1).
The Linux console sequences are documented in console_codes(4).
<P>
<P>
<HR>
<A HREF="kbd.FAQ-2.html">Next</A>
Previous
<A HREF="kbd.FAQ.html#toc1">Contents</A>
</BODY>
</HTML>
