'\" t
.\" Copyright (c) 1996 Andries Brouwer <aeb@cwi.nl>, Mon Oct 31 22:13:04 1996
.\"
+.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
+.\" %%%LICENSE_END
.\"
.\" This is combined from many sources.
.\" For Linux, the definitive source is of course console.c.
.\"
.\" 2006-05-27, Several corrections - Thomas E. Dickey
.\"
-.TH CONSOLE_CODES 4 2011-09-15 "Linux" "Linux Programmer's Manual"
+.TH CONSOLE_CODES 4 2012-08-05 "Linux" "Linux Programmer's Manual"
.SH NAME
console_codes \- Linux console escape and control sequences
.SH DESCRIPTION
.BR tput (1),
or
.BR reset (1).
-.SS "Linux Console Controls"
+.SS Linux console controls
This section describes all the control characters and escape sequences
that invoke special functions (i.e., anything other than writing a
glyph at the current cursor location) on the Linux console.
ESC [ 13 ] Unblank the screen.
ESC [ 14 ; \fIn\fP ] Set the VESA powerdown interval in minutes.
.TE
-.SS "Character Sets"
+.SS Character sets
The kernel knows about 4 translations of bytes into console-screen
symbols.
The four tables are: a) Latin1 \-> PC,
.PP
The sequence ESC c causes a terminal reset, which is what you want if the
screen is all garbled.
-The oft-advised "echo ^V^O" will only make G0 current,
+The oft-advised "echo ^V^O" will make only G0 current,
but there is no guarantee that G0 points at table a).
In some distributions there is a program
.BR reset (1)
The bitmap that corresponds to
s is found in the character ROM, and can be changed using
.BR setfont (8).
-.SS "Mouse Tracking"
+.SS Mouse tracking
The mouse tracking facility is intended to return
.BR xterm (1)-compatible
mouse status reports.
Again \fIx\fP and
\fIy\fP are the x and y coordinates of the mouse event.
The upper left corner is (1,1).
-.SS "Comparisons With Other Terminals"
+.SS Comparisons with other terminals
Many different terminal types are described, like the Linux console,
as being "VT100-compatible".
Here we discuss differences between the
DC3 (0x13, \fB^S\fP, XOFF) caused VT100 to ignore (and stop transmitting)
all codes except XOFF and XON.
.LP
-VT100-like DC1/DC3 processing may be enabled by the tty driver.
+VT100-like DC1/DC3 processing may be enabled by the terminal driver.
.LP
The
.BR xterm (1)
That document, though terse, is much longer than this manual page.
For a chronological overview,
.PP
-.in +4n
-http://invisible-island.net/xterm/xterm.log.html
-.in
+.RS
+.UR http://invisible-island.net\:/xterm\:/xterm.log.html
+.UE
+.RE
.PP
details changes to xterm.
.PP
The \fIvttest\fP program
.PP
-.in +4n
-http://invisible-island.net/vttest/
-.in
+.RS
+.UR http://invisible-island.net\:/vttest/
+.UE
+.RE
.PP
demonstrates many of these control sequences.
The \fBxterm\fP(1) source distribution also contains sample
An older version of this document implied that Linux recognizes the
ECMA-48 control sequence for invisible text.
It is ignored.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR console (4),
.BR console_ioctl (4),
.BR charsets (7)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.