libkeymap: Do not dump diacr values if lk_dump_keymap called
[platform/upstream/kbd.git] / doc / kbd.FAQ-3.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4  <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5  <TITLE>The Linux keyboard and console HOWTO: Console generalities</TITLE>
6  <LINK HREF="kbd.FAQ-4.html" REL=next>
7  <LINK HREF="kbd.FAQ-2.html" REL=previous>
8  <LINK HREF="kbd.FAQ.html#toc3" REL=contents>
9 </HEAD>
10 <BODY>
11 <A HREF="kbd.FAQ-4.html">Next</A>
12 <A HREF="kbd.FAQ-2.html">Previous</A>
13 <A HREF="kbd.FAQ.html#toc3">Contents</A>
14 <HR>
15 <H2><A NAME="s3">3. Console generalities</A></H2>
16
17 <P>
18 <!--
19 console!theory of operation
20 -->
21 <P>Conversely, when you output something to the console, it first undergoes
22 the standard tty processing, and then is fed to the console driver.
23 The console driver emulates a VT100, and parses the input in order to
24 recognize VT100 escape sequences (for cursor movement, clear screen, etc.).
25 The characters that are not part of an escape sequence are first converted
26 into Unicode, using one of four mapping tables if the console was not
27 in UTF-8 mode to start with, then looked up in the table describing
28 the correspondence between Unicode values and font positions,
29 and the obtained 8- or 9-bit font indices are then written to video memory,
30 where they cause the display of character shapes found in the video card's
31 character ROM.
32 One can load one's own fonts into character ROM using <CODE>setfont</CODE>.
33 The obsolete programs <CODE>loadunimap</CODE> and <CODE>mapscrn</CODE> can be used
34 to manipulate the Unicode map belonging to the font, or the mapping
35 table of the console. More details will be given below.
36 <P>There are many consoles (called <I>Virtual Consoles</I> or
37 <I>Virtual Terminals</I>, abbreviated VCs or VTs) that share the same
38 screen. You can use them as independent devices, either to run
39 indendent login sessions, or just to send some output to, perhaps
40 from <CODE>top</CODE>, or the tail of the system log or so.
41 See below (`Console switching') on how to set them up and
42 switch between them.
43 <P>
44 <P>
45 <HR>
46 <A HREF="kbd.FAQ-4.html">Next</A>
47 <A HREF="kbd.FAQ-2.html">Previous</A>
48 <A HREF="kbd.FAQ.html#toc3">Contents</A>
49 </BODY>
50 </HTML>