X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=original%2Fman4%2Fconsole_codes.4;h=427957c3cbf4e0e7cf861e9065aaea58cf89eebb;hb=361fd72f831aabd8a0aa6fe7bc4ef66ef4f89a1b;hp=c0690691f0a3effb79b3157bb20a1ef592fc6970;hpb=6b8ae42515c9c9b9504b992ccd27c13b702317b1;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man4/console_codes.4 b/original/man4/console_codes.4 index c0690691..427957c3 100644 --- a/original/man4/console_codes.4 +++ b/original/man4/console_codes.4 @@ -1,10 +1,12 @@ '\" t .\" Copyright (c) 1996 Andries Brouwer , 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. @@ -18,7 +20,7 @@ .\" .\" 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 @@ -64,7 +66,7 @@ always want to use a terminfo-aware screen library or utility such as .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. @@ -372,7 +374,7 @@ ESC [ 12 ; \fIn\fP ] Bring specified console to the front. 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, @@ -394,7 +396,7 @@ point at translation table a), b), c) and d), respectively. .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) @@ -409,7 +411,7 @@ s = map[c] is sent to the video memory. 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. @@ -452,7 +454,7 @@ pressed and are added together: 4=Shift, 8=Meta, 16=Control. 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 @@ -473,7 +475,7 @@ DC1 (0x11, \fB^Q\fP, XON) resumed transmission; 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) @@ -586,17 +588,19 @@ available with the X distribution. 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 @@ -635,7 +639,15 @@ set the \fBxterm\fP(1) resource \fBbrokenLinuxOSC\fP to true. 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/.