|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
<HTML>
|
|
Packit Service |
50ad14 |
<HEAD>
|
|
Packit Service |
50ad14 |
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
Packit Service |
50ad14 |
<TITLE>The Linux keyboard and console HOWTO: Console generalities</TITLE>
|
|
Packit Service |
50ad14 |
<LINK HREF="kbd.FAQ-4.html" REL=next>
|
|
Packit Service |
50ad14 |
<LINK HREF="kbd.FAQ-2.html" REL=previous>
|
|
Packit Service |
50ad14 |
<LINK HREF="kbd.FAQ.html#toc3" REL=contents>
|
|
Packit Service |
50ad14 |
</HEAD>
|
|
Packit Service |
50ad14 |
<BODY>
|
|
Packit Service |
50ad14 |
Next
|
|
Packit Service |
50ad14 |
Previous
|
|
Packit Service |
50ad14 |
Contents
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
console!theory of operation
|
|
Packit Service |
50ad14 |
-->
|
|
Packit Service |
50ad14 |
Conversely, when you output something to the console, it first undergoes
|
|
Packit Service |
50ad14 |
the standard tty processing, and then is fed to the console driver.
|
|
Packit Service |
50ad14 |
The console driver emulates a VT100, and parses the input in order to
|
|
Packit Service |
50ad14 |
recognize VT100 escape sequences (for cursor movement, clear screen, etc.).
|
|
Packit Service |
50ad14 |
The characters that are not part of an escape sequence are first converted
|
|
Packit Service |
50ad14 |
into Unicode, using one of four mapping tables if the console was not
|
|
Packit Service |
50ad14 |
in UTF-8 mode to start with, then looked up in the table describing
|
|
Packit Service |
50ad14 |
the correspondence between Unicode values and font positions,
|
|
Packit Service |
50ad14 |
and the obtained 8- or 9-bit font indices are then written to video memory,
|
|
Packit Service |
50ad14 |
where they cause the display of character shapes found in the video card's
|
|
Packit Service |
50ad14 |
character ROM.
|
|
Packit Service |
50ad14 |
One can load one's own fonts into character ROM using setfont .
|
|
Packit Service |
50ad14 |
The obsolete programs loadunimap and mapscrn can be used
|
|
Packit Service |
50ad14 |
to manipulate the Unicode map belonging to the font, or the mapping
|
|
Packit Service |
50ad14 |
table of the console. More details will be given below.
|
|
Packit Service |
50ad14 |
There are many consoles (called Virtual Consoles or
|
|
Packit Service |
50ad14 |
Virtual Terminals, abbreviated VCs or VTs) that share the same
|
|
Packit Service |
50ad14 |
screen. You can use them as independent devices, either to run
|
|
Packit Service |
50ad14 |
indendent login sessions, or just to send some output to, perhaps
|
|
Packit Service |
50ad14 |
from top , or the tail of the system log or so.
|
|
Packit Service |
50ad14 |
See below (`Console switching') on how to set them up and
|
|
Packit Service |
50ad14 |
switch between them.
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
Next
|
|
Packit Service |
50ad14 |
Previous
|
|
Packit Service |
50ad14 |
Contents
|
|
Packit Service |
50ad14 |
</BODY>
|
|
Packit Service |
50ad14 |
</HTML>
|