You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/konsole/doc/VT100/techref.html

4682 lines
210 KiB

<html>
<head>
<title>VT100</title>
<!-- NOTE: this page is generated using the "genDocument" script -->
</head>
<body bgcolor=white>
<hr>
<h1><center>VT100</center></h1>
<center><img src="vt100.gif"></center>
<it>Please note that this text is under construction.</it>
<h2>Preface</h2>
This document accompanies the Konsole program, which is a terminal emulation
for the X Windows System. Since material about the extend and precise semantics
of the emulatation intended to be handled by this programs is hard to find on the
internet today, it came out nessesary to include a more precise specification within
their release.
Hopefully, this helps to clearify the relation to the VT100, VT102, Linux, XTerm
and ansi.sys (ANSI-BBS) terminals, which are the target of these programs. Further,
it specifies which codes are interpreted by them, and what has been omitted.
<p>
To begin with, all of the above call themselfes "ANSI" emulations, which makes this
notion pretty vage. "ANSI" referes here to the American National Standards
Institute's documents X3.41-1974 and X3.64-1977. DEC partially implemented this
standart in their VT100 terminal, with some additions. The VT102 is a later extension
of that. Both the Linux console and the XTerm emulation implement most of VT102,
with some additions. MS stepped in later and produced another ANSI emulation,
<code>ansi.sys</code>, for their OS, which became of some relevance in BBS style
telecommunication programs. One can view this as a small subset of the VT100
emulation, with some additions, of cause.
This situation is further confused by the fact, that often many versions of the
above terminals and emulations are out, one able to do a little more or less then
the other.
<p>
<hr>
<p>
I'm working towards a
close integration of the konsole's source code with this document, but it
is still a long way to go.
<p>
Currently, the body of this document is mainly a concept data base, that
referes to the VT100 component of the emulation. Though the codes accepted by
konsole are now clearly indicated, a comparison to the xterm and Linux console
emulation is missing.
<p>
The konsole emulation sources is not linked closely with it's documentation,
and, also accurate at the time of writing, it can still fall slightly appart,
though the codes accepted and produced by konsole should be properly listed.
Work is currently in progress to fix this issue.
<h2>Notes &amp; todos</h2>
<ul>
<li>Include complete reference on keyboard material.
<li>Check for explaination of out-of-bound values.
<li>Include VT52, VT102, XTERM, LINUX-console codes
<li>Make the whole document more concept oriented
<li>See the section <em>Method of description</em>, below
<li>Derive some summarizing lists.
</ul>
<hr>
<h2>Introduction</h2>
<p>
In a traditional UNIX installation a single machine (host) served
several users by means of terminals attached to this host by a serial
cable. These terminals (end points) where specialized devices, either
regular ttys (printer with keyboard) or later more sophisticated
things with cathode ray tubes.
<p>
<center><img src="konsole2.gif"></center>
<p>
Today, hardware has become so cheap, that each single user could
be provided with a complete host/display combination for the former
price of a terminal.
<p>
Additional, and here we come to the X in the emulation, display
devices have become graphical while the original terminal where
only able to show characters but not graphics.
<p>
To allow programs designed for the original configuration to be
used in the contemporary setup, "terminal emulations" where invented.
In these emulations, the whole original setup is simulated.
<p>
The serial cable is folded into the operating system as a sort of
loop back device, and a program, the terminal emulation, uses modern
means of graphical user interfaces to behave like an earlier terminal.
To complete the picture, the host in the diagram is replaced by the
application that runs in the emulation (typically a shell or an old
editor). So, terminal emulations are in fact interfaces to character
oriented applications.
<p>
This document describes the implementations of a program named
"konsole", which is such an X terminal emulation. Since konsole
is distributed under the GPL, meaning that it's source code is
available to whoever likes to hack on it, the program would be
incomplete without a proper introduction into the code and it's
concepts. Thus, this text is to complement the program and the
source with the remaining informations to make a complete product.
<p>
<h2>A first refinement</h2>
<p>
Before we can come to the actual implementation, quite some
notions have to be introduced. We have to get us an idea what
a terminal emulation does in more detail.
<p>
To this end, a simple model of the terminal and it's operation
is given, which is later extended and refined as we come deeper
into matter and implementation.
<p>
At some level conception, a terminal can be described as a
(abstract) data model. This means it has some type of state
together with operations on that data type. These operations
are somehow encoded to be passed over the serial line.
<p>
The concrete model is often loosely named the "emulation",
the specific encoding chosen, the "protocol".
<p>
There are two principle models in use. The first, stream like
one, which is related to a tty, consideres the terminal as an
indefinit long and wide sheet of paper on which a printer head
types the characters that come in over the line. Typical examples
are shell scripts, make and other programs producing sequential
protocols of their activity. Their basic data type is a list of
list of characters.
<p>
The second principle model is used by applications written
especially for crt devices, so called full screen applications.
These treat the terminal as a matrix of characters where each
position can be individually addressed and written to. Typical
representatives are full screen editors like vi and emacs,
file managers like mc and mail readers like mutt.
<p>
Though the second model is newer, it's age does not imply a
preference. To the contrary, both models have a right for their
own and are both to be supported. The first model is fully
expressed within konsole in form of it's ref:history buffer.
<p>
Note, that although the second model definitely build on the
first one in almost any respect, it cannot fully express it,
since it introduces a finite line length, while the first
model works with indefinite lines.
<p>
Since application with both view of things are typically run
within the same session, some effort has been made within
konsole to maintain both ideas simultaniously, but only with
limited success so far.
<p>
In both models, the notion of a current position (historically
a printer's head, nowadays visualized by a cursor) is present.
"Printing" a character at the current position and advancing
the head together with the starting a new line are the most
fundamental operations of the emulation.
<p>
The full screen model basically adds the possibility to position
the cursor and to overwrite and clear the screen.
<p>
A plethora of additional (more or less useful) commands are
then added on this by every specific emulation, see below for
the awful details.
<p>
<!-- BEGIN: new section about the codes -->
<h2>Parts of the model</h2>
<p>
<it>All the following in this section is an outline</it>.
<p>
Parts of the terminal description
<ul>
<li>State
<br>This is mainly the screen, the cursor (including it's graphical state)
and some hidden mode variables. Note that the state cannot be investigated
by the attached host.
<li>Interface
<br>That's what goes over the wire. Beside being related to objects, this
appears so closely related to contemporal process communication, that
it might be discussed in likely terms.
<br>We have information flowing in both directions. On could destinguist
between:
<li>Commands
<br>These are "calls" of the terminals interface by the host which cause
some change of the terminals state, but do not end in a response.
<li>Requests
<br>These are "calls" of the terminals interface by the host which do not cause
any change of the terminals state, but end in a response of the terminal.
Clearly, requests are somehow used to investigate the state of the terminal.
<li>Events
<br>These are signals from the terminal caused by the user affecting the
mouse or keyboard to the host.
<li>Replys
<br>These are send by the terminal as a result of a Request from the hosts.
<li>Encoding/Decoding
</ul>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>Control Sequences</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
Conceptually, the commands to the terminal emulation are encoded if form
of byte sequences to meet the restrictions of the transport media. These
sequences have pretty different originations and therefore the format of
the sequences are inhomogenous.
<p>
Refering both to their origin and form, one can group the overall encoding
schemes as follows:
<p>
<table>
<tr><td width=20% bgcolor=#d0d0d0>Name</td><td width=20% bgcolor=#d0d0d0>Pattern</td><td bgcolor=#d0d0d0>Scope</td><td bgcolor=#d0d0d0>Comment</td></tr>
<tr><td>Printable Ascii Characters</td><td>32..126</td><td>ASCII ECMA</td>
<td>This is the most original pattern of all. The characters to be
displayed are passed over the chanel and are interpreted by the
terminal (emulation) as instructions to display the corresponding
glyph of the ascii character set. Contempory emulations include the
upper half (128..255) of the extentions to the national ascii character
sets, also.</td></tr>
<tr><td>Ascii Control Characters</td><td>0..26,28..31,127</td><td>ASCII ECMA</td>
<td>Ascii defines some non-printable, but format effecting characters, too.
Depending on the emulation, at least some of them are given a meaning.
The typically implemented ones are those that are handled by a teletype
like device.</td></tr>
<tr><td>Simple Escape Sequence</td><td><b>ESC</b> <i>C</i></td><td>ECMA</td>
<td>These sequences are made up from an <b>ESC</b> character followed by
exactly one other character in the range ???..???.</td></tr>
<tr><td>CSI Sequence</td>
<td><b>ESC</b> <b>[</b> <i>Parameters</i> {<i>I</i>} <i>C</i></td>
<td>ECMA</td>
<td></td></tr>
<tr><td colspan=4>
<p>
The remaining codes are nonstandard but traditionalized hacks.
<p>
</td></tr>
<tr><td>DEC hacks</td>
<td><b>ESC</b> <i>C</i> <i>D</i></td>
<td>VT100</td>
<td></td></tr>
<tr><td>XTERM hacks</td>
<td><b>ESC ]</b> <i>Pn</i> <b>;</b> <i>text</i> <b>BEL</b></td>
<td>XTERM</td>
<td></td>
<tr><td colspan=4>
<p>
VT52 uses a different (incompatible) set of escape codes. VT100 includes
the VT52 emulation as a mode.
<p>
</td></tr>
</tr>
<tr><td>Simple Escape Sequence</td><td><b>ESC</b> <i>C</i></td><td>VT52</td>
<td></td></tr>
<tr><td>Complex Escape Sequence</td><td><b>ESC</b> <b>Y</b> <i>X</i> <i>Y</i></td><td>VT52</td>
<td></td></tr>
<p>
</table>
<p>
<h3>More on Control Sequences</h3>
<p>
<h4>Control Characters</h4>
<p>
Control characters (codes 0x00 - 0x1f inclusive) are specifically excluded
from the control sequence syntax, but may be embedded within a control
sequence. Embedded control characters are executed as soon as they are
encountered by a VT100. The processing of the control sequence then
continues with the next character received. The exceptions are:
if the <a href=#ESC>ESC</a> character occurs, the current control sequence
is aborted, and a new one commences beginning with the <a href=#ESC>ESC</a>
just received. If the character <a href=#CAN>CAN</a> (0x0c) or the
character <a href=#SUB>SUB</a> (0x0e) occurs,
the current control sequence is aborted. The ability to embed control
characters allows the synchronization characters XON and XOFF to be
interpreted properly without affecting the control sequence.
<p>
<p>
<h4>CSI Sequences</h4>
<p>
<dl>
<dt>Control Sequence Introducer (CSI):
<dd>An escape sequence that provides
supplementary controls and is itself a prefix affecting the
interpretation of a limited number of contiguous characters.
In the VT100, the CSI is: &lt;ESC&gt;[
<p>
<dt>Parameter:
<dd>1. A string of zero or more decimal characters which
represent a single value. Leading zeros are ignored. The
decimal characters have a range of 0 (060) to 9 (071).
<br>2. The value so represented.
<p>
<dt>Numeric Parameter:
<dd>A parameter that represents a number, designated by Pn.
<p>
<dt>Selective Parameter:
<dd>A parameter that selects a subfunction from a
specified set of subfunctions, designated by Ps. In general, a
control sequence with more than one selective parameter causes
the same effect as several control sequences, each with one
selective parameter, e.g., CSI Psa; Psb; Psc F is identical to
CSI Psa F CSI Psb F CSI Psc F.
<p>
<dt>Parameter String:
<dd>A string of parameters separated by a semicolon.
<p>
<dt>Default:
<dd> A function-dependent value that is assumed when no explicit
value, or a value of 0, is specified.
<p>
<dt>Final character:
<dd>A character whose bit combination terminates an escape or control sequence.
</dl>
<p>
<em>EXAMPLE</em>: Control sequence to turn off all character attributes, then
turn on underscore and blink attributes (<a href=#SGR>SGR</a>).
<p>
<center><img src="konsole1.gif"></center>
<p>
The octal representation of this string is:
<pre>
033 0133 060 073 064 073 065 0155
&lt;ESC&gt; [ 0 ; 4 ; 5 m
</pre>
<p>
Alternate sequences which will accomplish the same thing:
<p>
<ul>
<li><code>&lt;ESC&gt;[;4;m </code>
<li><code>&lt;ESC&gt;[m </code>
<br><code>&lt;ESC&gt;[4m </code>
<br><code>&lt;ESC&gt;[5m </code>
<li><code>&lt;ESC&gt;[0;04;005m</code>
</ul>
<p>
<h4>DEC hacks</h4>
<p>
These form two groups of commands.
<p>
In one first the first character is a hash (<em>#</em>) and the following a digit.
This command group is used to denote VT100 specific instructions and can
safely be sonsidered to be obsolete. See
<a href=#DECALN>DECALN</a>,
<a href=#DECDHLB>DECDHLB</a>,
<a href=#DECDHLT>DECDHLT</a>,
<a href=#DECDWL>DECDWL</a> and
<a href=#DECSWL>DECSWL</a>.
<p>
The second one is used to specify character set mappings (see <a
href=#SCS>SCS</a>). A CSI instruction to do this is specified in ECMA,
and this should be used as a replacement.
<p>
<h4>XTERM hacks</h4>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>Host to Terminal (Instructions by Code)</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
<table>
<tr><td colspan=5><h3>CSI codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#ICH>ICH</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">@
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Insert Character
<tr>
<td bgcolor="#D0D0D0"><a href=#CUU>CUU</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">A
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Up
<tr>
<td bgcolor="#D0D0D0"><a href=#CUD>CUD</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">B
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Down
<tr>
<td bgcolor="#D0D0D0"><a href=#CUF>CUF</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">C
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Foreward
<tr>
<td bgcolor="#D0D0D0"><a href=#CUB>CUB</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Backward
<tr>
<td bgcolor="#D0D0D0"><a href=#CHA>CHA</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">G
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Horizontal Absolute
<tr>
<td bgcolor="#D0D0D0"><a href=#CUP>CUP</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Cursor Position
<tr>
<td bgcolor="#D0D0D0"><a href=#ED>ED</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">J
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Erase in Display
<tr>
<td bgcolor="#D0D0D0"><a href=#EL>EL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">K
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Erase in Line
<tr>
<td bgcolor="#D0D0D0"><a href=#IL>IL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">L
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Insert Line
<tr>
<td bgcolor="#D0D0D0"><a href=#DL>DL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">M
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Delete Line
<tr>
<td bgcolor="#D0D0D0"><a href=#DCH>DCH</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">P
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Delete Character
<tr>
<td bgcolor="#D0D0D0"><a href=#CPR>CPR</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">R
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Cursor Position Report
<tr>
<td bgcolor="#D0D0D0"><a href=#ECH>ECH</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">X
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Erase Character
<tr>
<td bgcolor="#D0D0D0"><a href=#DA>DA</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">c
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Device Attributes Request
<tr>
<td bgcolor="#D0D0D0"><a href=#VPA>VPA</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">d
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Vertical Position Absolute
<tr>
<td bgcolor="#D0D0D0"><a href=#HVP>HVP</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">f
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Horizontal and Vertical Position
<tr>
<td bgcolor="#D0D0D0"><a href=#TBC>TBC</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">g
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Tabulation Clear
<tr>
<td bgcolor="#D0D0D0"><a href=#SM>SM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">h
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Set Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#MC>MC</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">i
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Media Copy
<tr>
<td bgcolor="#D0D0D0"><a href=#RM>RM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">l
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Reset Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#SGR>SGR</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">m
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Select Graphic Rendition
<tr>
<td bgcolor="#D0D0D0"><a href=#DSRREQ>DSRREQ</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">n
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Device Status Report
<tr>
<td bgcolor="#D0D0D0"><a href=#DSRREP>DSRREP</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">n
<td bgcolor="#D0D0D0">{Status}
<td bgcolor="#D0D0D0">Device Status Report Reply
<tr>
<td bgcolor="#D0D0D0"><a href=#DECLL>DECLL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">q
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Load LEDs
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSTBM>DECSTBM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">r
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Set Top and Bottom Margins
<tr>
<td bgcolor="#D0D0D0"><a href=#DECREQTPARM>DECREQTPARM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">x
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Request Terminal Parameters
<tr>
<td bgcolor="#D0D0D0"><a href=#DECREPTPARM>DECREPTPARM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">x
<td bgcolor="#D0D0D0">{sol;par;nbits;xspd;rspd;cmul;flags}
<td bgcolor="#D0D0D0">Report Terminal Parameters
<tr>
<td bgcolor="#D0D0D0"><a href=#DECTST>DECTST</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">y
<td bgcolor="#D0D0D0">{2;Ps}
<td bgcolor="#D0D0D0">Invoke Confidence Test
<tr><td colspan=5><h3>CTL codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#NUL>NUL</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">@
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Null
<tr>
<td bgcolor="#D0D0D0"><a href=#SOH>SOH</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">A
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Start Of Heading
<tr>
<td bgcolor="#D0D0D0"><a href=#STX>STX</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">B
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Start Of Text
<tr>
<td bgcolor="#D0D0D0"><a href=#ETX>ETX</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">C
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Text
<tr>
<td bgcolor="#D0D0D0"><a href=#EOT>EOT</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Transmission
<tr>
<td bgcolor="#D0D0D0"><a href=#ENQ>ENQ</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">E
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Enquiry
<tr>
<td bgcolor="#D0D0D0"><a href=#ACK>ACK</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">F
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Acknowledge
<tr>
<td bgcolor="#D0D0D0"><a href=#BEL>BEL</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">G
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Bell
<tr>
<td bgcolor="#D0D0D0"><a href=#BS>BS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Back Space
<tr>
<td bgcolor="#D0D0D0"><a href=#HT>HT</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">I
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Horizontal Tabulation
<tr>
<td bgcolor="#D0D0D0"><a href=#LF>LF</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">J
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Line Feed
<tr>
<td bgcolor="#D0D0D0"><a href=#VT>VT</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">K
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Vertical Tabulation
<tr>
<td bgcolor="#D0D0D0"><a href=#FF>FF</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">L
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Form Feed
<tr>
<td bgcolor="#D0D0D0"><a href=#CR>CR</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">M
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Carriage Return
<tr>
<td bgcolor="#D0D0D0"><a href=#LS0>LS0</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">N
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Zero (Shift Out - SO)
<tr>
<td bgcolor="#D0D0D0"><a href=#LS1>LS1</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">O
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift One (Shift In - SI)
<tr>
<td bgcolor="#D0D0D0"><a href=#DLE>DLE</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">P
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Data Link Escape
<tr>
<td bgcolor="#D0D0D0"><a href=#DC1>DC1</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">Q
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Device Control One
<tr>
<td bgcolor="#D0D0D0"><a href=#DC2>DC2</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">R
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Device Control Two
<tr>
<td bgcolor="#D0D0D0"><a href=#DC3>DC3</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">S
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Device Control Three
<tr>
<td bgcolor="#D0D0D0"><a href=#DC4>DC4</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">T
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Device Control Four
<tr>
<td bgcolor="#D0D0D0"><a href=#NAK>NAK</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">U
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Negative Acknowledge
<tr>
<td bgcolor="#D0D0D0"><a href=#SYN>SYN</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">V
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Synchronous Idle
<tr>
<td bgcolor="#D0D0D0"><a href=#ETB>ETB</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">W
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Transmission Block
<tr>
<td bgcolor="#D0D0D0"><a href=#CAN>CAN</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">X
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Cancel
<tr>
<td bgcolor="#D0D0D0"><a href=#EM>EM</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">Y
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Medium
<tr>
<td bgcolor="#D0D0D0"><a href=#SUB>SUB</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">Z
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Substitute
<tr>
<td bgcolor="#D0D0D0"><a href=#ESC>ESC</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">[
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Escape
<tr>
<td bgcolor="#D0D0D0"><a href=#FS>FS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">\
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">File Separator (IS4 - Information Separator Four)
<tr>
<td bgcolor="#D0D0D0"><a href=#GS>GS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">]
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Group Separator (IS3 - Information Separator Three)
<tr>
<td bgcolor="#D0D0D0"><a href=#RS>RS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">^
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Record Separator (IS2 - Information Separator Two)
<tr>
<td bgcolor="#D0D0D0"><a href=#US>US</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">_
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Unit Separator (IS1 - Information Separator One)
<tr><td colspan=5><h3>DEL codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DEL>DEL</a>
<td bgcolor="#D0D0D0">DEL
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Delete Character
<tr><td colspan=5><h3>ESC codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSC>DECSC</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">7
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Save Cursor
<tr>
<td bgcolor="#D0D0D0"><a href=#DECRC>DECRC</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">8
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Restore Cursor
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52ANSI>VT52ANSI</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0"><
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 ANSI Ansi Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52KPAM>VT52KPAM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">=
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Enter alternate keypad mode
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52KPNM>VT52KPNM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Exit alternate keypad mode
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUU>VT52CUU</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">A
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Up
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUD>VT52CUD</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">B
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Down
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUF>VT52CUF</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">C
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Forward
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUB>VT52CUB</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Back
<tr>
<td bgcolor="#D0D0D0"><a href=#NEL>NEL</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">E
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Next Line
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52SCSF>VT52SCSF</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">F
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Select special graphics character set
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52SCSG>VT52SCSG</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">G
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Select ASCII character set
<tr>
<td bgcolor="#D0D0D0"><a href=#HTS>HTS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Horizontal Tab Set
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52RI>VT52RI</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">I
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Reverse Index
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52EDS>VT52EDS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">J
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Clear To End Of Screen
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52EDL>VT52EDL</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">K
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Clear To End Of Line
<tr>
<td bgcolor="#D0D0D0"><a href=#RI>RI</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">M
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Reverse Index
<tr>
<td bgcolor="#D0D0D0"><a href=#DECID>DECID</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">Z
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Identify Terminal
<tr>
<td bgcolor="#D0D0D0"><a href=#RIS>RIS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">c
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Reset to Initial State
<tr>
<td bgcolor="#D0D0D0"><a href=#LS2>LS2</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">n
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Two
<tr>
<td bgcolor="#D0D0D0"><a href=#LS3>LS3</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">o
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Three
<tr><td colspan=5><h3>HSH codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDHLT>DECDHLT</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">3
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Double Height Line (Top)
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDHLB>DECDHLB</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">4
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Double Height Line (Bottom)
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSWL>DECSWL</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">5
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Single-width Line
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDWL>DECDWL</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">6
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Double Width Line
<tr>
<td bgcolor="#D0D0D0"><a href=#DECALN>DECALN</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">8
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Screen Alignment Display
<tr><td colspan=5><h3>PRI codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDA>DECDA</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">c
<td bgcolor="#D0D0D0">{1;Pn}
<td bgcolor="#D0D0D0">Device Attributes Reply
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSET>DECSET</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">h
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">DEC Private Set Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECRST>DECRST</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">l
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">DEC Private Reset Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#XTERESTORE>XTERESTORE</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">r
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">XTerm Private Restore Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#XTESAVE>XTESAVE</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">s
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">XTerm Private Save Mode
<tr><td colspan=5><h3>PRN codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#PRINT>PRINT</a>
<td bgcolor="#D0D0D0">PRN
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">{0x20..0x7e,0xa0..0xff}
<td bgcolor="#D0D0D0">Printable Characters
<tr><td colspan=5><h3>SCS codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#SCS>SCS</a>
<td bgcolor="#D0D0D0">SCS
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">{Pc;Cs}
<td bgcolor="#D0D0D0">Select Character Set
<tr><td colspan=5><h3>VT5 codes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUP>VT52CUP</a>
<td bgcolor="#D0D0D0">VT5
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">{X;Y}
<td bgcolor="#D0D0D0">VT52 Cursor Position
</table>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>Host to Terminal (Instructions by Group)</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
<p>
<ul>
<li>Host to Terminal (Commands,Requests)
<ul>
<li>Commands
<ul>
<li>Character Display Operation
<li>Rendition related status
<li>Cursor
<li>Cursor related status
<li>Edit
<li>Miscellaneous
<li>General mode setting
<li>Miscellaneous status
<li>VT52
<li>Not implemented
<li>Ignored
</ul>
<li>Requests
</ul>
<li>Terminal to Host (Replies, Events)
<ul>
<li>Replies
<li>Events
</ul>
<li>Modes
<ul>
<li>Modes
</ul>
</ul>
<table>
<tr><td colspan=5><h3>Commands (Character Display Operation)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#PRINT>PRINT</a>
<td bgcolor="#D0D0D0">PRN
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">{0x20..0x7e,0xa0..0xff}
<td bgcolor="#D0D0D0">Printable Characters
<tr><td colspan=5><h3>Commands (Rendition related status)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#LS0>LS0</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">N
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Zero (Shift Out - SO)
<tr>
<td bgcolor="#D0D0D0"><a href=#LS1>LS1</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">O
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift One (Shift In - SI)
<tr>
<td bgcolor="#D0D0D0"><a href=#LS2>LS2</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">n
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Two
<tr>
<td bgcolor="#D0D0D0"><a href=#LS3>LS3</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">o
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Three
<tr>
<td bgcolor="#D0D0D0"><a href=#SCS>SCS</a>
<td bgcolor="#D0D0D0">SCS
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">{Pc;Cs}
<td bgcolor="#D0D0D0">Select Character Set
<tr>
<td bgcolor="#D0D0D0"><a href=#SGR>SGR</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">m
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Select Graphic Rendition
<tr><td colspan=5><h3>Commands (Cursor)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#BS>BS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Back Space
<tr>
<td bgcolor="#D0D0D0"><a href=#CHA>CHA</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">G
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Horizontal Absolute
<tr>
<td bgcolor="#D0D0D0"><a href=#CR>CR</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">M
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Carriage Return
<tr>
<td bgcolor="#D0D0D0"><a href=#CUB>CUB</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Backward
<tr>
<td bgcolor="#D0D0D0"><a href=#CUD>CUD</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">B
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Down
<tr>
<td bgcolor="#D0D0D0"><a href=#CUF>CUF</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">C
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Foreward
<tr>
<td bgcolor="#D0D0D0"><a href=#CUP>CUP</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Cursor Position
<tr>
<td bgcolor="#D0D0D0"><a href=#CUU>CUU</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">A
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Up
<tr>
<td bgcolor="#D0D0D0"><a href=#FF>FF</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">L
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Form Feed
<tr>
<td bgcolor="#D0D0D0"><a href=#HT>HT</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">I
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Horizontal Tabulation
<tr>
<td bgcolor="#D0D0D0"><a href=#HVP>HVP</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">f
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Horizontal and Vertical Position
<tr>
<td bgcolor="#D0D0D0"><a href=#IND>IND</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Index
<tr>
<td bgcolor="#D0D0D0"><a href=#LF>LF</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">J
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Line Feed
<tr>
<td bgcolor="#D0D0D0"><a href=#NEL>NEL</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">E
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Next Line
<tr>
<td bgcolor="#D0D0D0"><a href=#RI>RI</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">M
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Reverse Index
<tr>
<td bgcolor="#D0D0D0"><a href=#VPA>VPA</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">d
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Vertical Position Absolute
<tr>
<td bgcolor="#D0D0D0"><a href=#VT>VT</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">K
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Vertical Tabulation
<tr><td colspan=5><h3>Commands (Cursor related status)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECRC>DECRC</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">8
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Restore Cursor
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSC>DECSC</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">7
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Save Cursor
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSTBM>DECSTBM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">r
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Set Top and Bottom Margins
<tr>
<td bgcolor="#D0D0D0"><a href=#HTS>HTS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Horizontal Tab Set
<tr>
<td bgcolor="#D0D0D0"><a href=#TBC>TBC</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">g
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Tabulation Clear
<tr><td colspan=5><h3>Commands (Edit)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DCH>DCH</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">P
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Delete Character
<tr>
<td bgcolor="#D0D0D0"><a href=#DL>DL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">M
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Delete Line
<tr>
<td bgcolor="#D0D0D0"><a href=#ECH>ECH</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">X
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Erase Character
<tr>
<td bgcolor="#D0D0D0"><a href=#ED>ED</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">J
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Erase in Display
<tr>
<td bgcolor="#D0D0D0"><a href=#EL>EL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">K
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Erase in Line
<tr>
<td bgcolor="#D0D0D0"><a href=#ICH>ICH</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">@
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Insert Character
<tr>
<td bgcolor="#D0D0D0"><a href=#IL>IL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">L
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Insert Line
<tr><td colspan=5><h3>Commands (Miscellaneous)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#BEL>BEL</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">G
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Bell
<tr>
<td bgcolor="#D0D0D0"><a href=#CAN>CAN</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">X
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Cancel
<tr>
<td bgcolor="#D0D0D0"><a href=#DECALN>DECALN</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">8
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Screen Alignment Display
<tr>
<td bgcolor="#D0D0D0"><a href=#DECTST>DECTST</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">y
<td bgcolor="#D0D0D0">{2;Ps}
<td bgcolor="#D0D0D0">Invoke Confidence Test
<tr>
<td bgcolor="#D0D0D0"><a href=#SUB>SUB</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">Z
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Substitute
<tr><td colspan=5><h3>Commands (General mode setting)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECRST>DECRST</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">l
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">DEC Private Reset Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSET>DECSET</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">h
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">DEC Private Set Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#RM>RM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">l
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Reset Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#SM>SM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">h
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Set Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#XTERESTORE>XTERESTORE</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">r
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">XTerm Private Restore Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#XTESAVE>XTESAVE</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">s
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">XTerm Private Save Mode
<tr><td colspan=5><h3>Commands (Miscellaneous status)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECKPAM>DECKPAM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">=
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Keypad Application Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECKPNM>DECKPNM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Keypad Numeric Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#RIS>RIS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">c
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Reset to Initial State
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52ANSI>VT52ANSI</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0"><
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 ANSI Ansi Mode
<tr><td colspan=5><h3>Commands (VT52)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUB>VT52CUB</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Back
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUD>VT52CUD</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">B
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Down
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUF>VT52CUF</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">C
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Forward
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUH>VT52CUH</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Home
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUP>VT52CUP</a>
<td bgcolor="#D0D0D0">VT5
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">{X;Y}
<td bgcolor="#D0D0D0">VT52 Cursor Position
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52CUU>VT52CUU</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">A
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Cursor Up
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52EDL>VT52EDL</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">K
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Clear To End Of Line
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52EDS>VT52EDS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">J
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Clear To End Of Screen
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52KPAM>VT52KPAM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">=
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Enter alternate keypad mode
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52KPNM>VT52KPNM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Exit alternate keypad mode
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52REP>VT52REP</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">Z
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Report Terminal Type
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52RI>VT52RI</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">I
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Reverse Index
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52SCSF>VT52SCSF</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">F
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Select special graphics character set
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52SCSG>VT52SCSG</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">G
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 Select ASCII character set
<tr><td colspan=5><h3>Commands (Not implemented)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDHLB>DECDHLB</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">4
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Double Height Line (Bottom)
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDHLT>DECDHLT</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">3
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Double Height Line (Top)
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDWL>DECDWL</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">6
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Double Width Line
<tr>
<td bgcolor="#D0D0D0"><a href=#DECLL>DECLL</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">q
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Load LEDs
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSWL>DECSWL</a>
<td bgcolor="#D0D0D0">HSH
<td bgcolor="#D0D0D0">5
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Single-width Line
<tr>
<td bgcolor="#D0D0D0"><a href=#MC>MC</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">i
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Media Copy
<tr><td colspan=5><h3>Commands (Ignored)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#ACK>ACK</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">F
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Acknowledge
<tr>
<td bgcolor="#D0D0D0"><a href=#DC2>DC2</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">R
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Device Control Two
<tr>
<td bgcolor="#D0D0D0"><a href=#DC3>DC3</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">S
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Device Control Three
<tr>
<td bgcolor="#D0D0D0"><a href=#DC4>DC4</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">T
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Device Control Four
<tr>
<td bgcolor="#D0D0D0"><a href=#DEL>DEL</a>
<td bgcolor="#D0D0D0">DEL
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Delete Character
<tr>
<td bgcolor="#D0D0D0"><a href=#DLE>DLE</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">P
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Data Link Escape
<tr>
<td bgcolor="#D0D0D0"><a href=#EM>EM</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">Y
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Medium
<tr>
<td bgcolor="#D0D0D0"><a href=#EOT>EOT</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Transmission
<tr>
<td bgcolor="#D0D0D0"><a href=#ETB>ETB</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">W
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Transmission Block
<tr>
<td bgcolor="#D0D0D0"><a href=#ETX>ETX</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">C
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">End Of Text
<tr>
<td bgcolor="#D0D0D0"><a href=#FS>FS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">\
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">File Separator (IS4 - Information Separator Four)
<tr>
<td bgcolor="#D0D0D0"><a href=#GS>GS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">]
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Group Separator (IS3 - Information Separator Three)
<tr>
<td bgcolor="#D0D0D0"><a href=#NAK>NAK</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">U
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Negative Acknowledge
<tr>
<td bgcolor="#D0D0D0"><a href=#NUL>NUL</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">@
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Null
<tr>
<td bgcolor="#D0D0D0"><a href=#RS>RS</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">^
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Record Separator (IS2 - Information Separator Two)
<tr>
<td bgcolor="#D0D0D0"><a href=#SOH>SOH</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">A
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Start Of Heading
<tr>
<td bgcolor="#D0D0D0"><a href=#STX>STX</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">B
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Start Of Text
<tr>
<td bgcolor="#D0D0D0"><a href=#SYN>SYN</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">V
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Synchronous Idle
<tr>
<td bgcolor="#D0D0D0"><a href=#US>US</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">_
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Unit Separator (IS1 - Information Separator One)
<tr><td colspan=5><h3>Commands (Requests)</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DA>DA</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">c
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Device Attributes Request
<tr>
<td bgcolor="#D0D0D0"><a href=#DECID>DECID</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">Z
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Identify Terminal
<tr>
<td bgcolor="#D0D0D0"><a href=#DECREQTPARM>DECREQTPARM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">x
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Request Terminal Parameters
<tr>
<td bgcolor="#D0D0D0"><a href=#DSRREQ>DSRREQ</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">n
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Device Status Report
<tr>
<td bgcolor="#D0D0D0"><a href=#ENQ>ENQ</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">E
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Enquiry
</table>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>Terminal to Host</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
<table>
<tr><td colspan=5><h3>Replies</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#CPR>CPR</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">R
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Cursor Position Report
<tr>
<td bgcolor="#D0D0D0"><a href=#DECDA>DECDA</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">c
<td bgcolor="#D0D0D0">{1;Pn}
<td bgcolor="#D0D0D0">Device Attributes Reply
<tr>
<td bgcolor="#D0D0D0"><a href=#DECREPTPARM>DECREPTPARM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">x
<td bgcolor="#D0D0D0">{sol;par;nbits;xspd;rspd;cmul;flags}
<td bgcolor="#D0D0D0">Report Terminal Parameters
<tr>
<td bgcolor="#D0D0D0"><a href=#DSRREP>DSRREP</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">n
<td bgcolor="#D0D0D0">{Status}
<td bgcolor="#D0D0D0">Device Status Report Reply
<tr><td colspan=5><h3>Events</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#CUB>CUB</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">D
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Backward
<tr>
<td bgcolor="#D0D0D0"><a href=#CUD>CUD</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">B
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Down
<tr>
<td bgcolor="#D0D0D0"><a href=#CUF>CUF</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">C
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Foreward
<tr>
<td bgcolor="#D0D0D0"><a href=#CUU>CUU</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">A
<td bgcolor="#D0D0D0">{Pn}
<td bgcolor="#D0D0D0">Cursor Up
<tr>
<td bgcolor="#D0D0D0"><a href=#KEYBOARD>KEYBOARD</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Keyboard Events
<tr>
<td bgcolor="#D0D0D0"><a href=#MOUSE>MOUSE</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Mouse Events
</table>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>Modes</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
<table>
<tr><td colspan=5><h3>Modes</h3>
<tr>
<td bgcolor="#D0D0D0"><a href=#DECANM>DECANM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">ANSI/VT52 Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECARM>DECARM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Auto Repeat Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECAWM>DECAWM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Autowrap Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECCKM>DECCKM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Cursor Keys Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECCOLM>DECCOLM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Column Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECINLM>DECINLM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Interlace Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECKPAM>DECKPAM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">=
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Keypad Application Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECKPNM>DECKPNM</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Keypad Numeric Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECOM>DECOM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Origin Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECRC>DECRC</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">8
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Restore Cursor
<tr>
<td bgcolor="#D0D0D0"><a href=#DECRST>DECRST</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">l
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">DEC Private Reset Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSC>DECSC</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">7
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Save Cursor
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSCLM>DECSCLM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Scrolling Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSCNM>DECSCNM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Screen Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSET>DECSET</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">h
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">DEC Private Set Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#DECSTBM>DECSTBM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">r
<td bgcolor="#D0D0D0">{Pn;Pn}
<td bgcolor="#D0D0D0">Set Top and Bottom Margins
<tr>
<td bgcolor="#D0D0D0"><a href=#HTS>HTS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">H
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Horizontal Tab Set
<tr>
<td bgcolor="#D0D0D0"><a href=#LNM>LNM</a>
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Line Feed/New Line Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#LS0>LS0</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">N
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Zero (Shift Out - SO)
<tr>
<td bgcolor="#D0D0D0"><a href=#LS1>LS1</a>
<td bgcolor="#D0D0D0">CTL
<td bgcolor="#D0D0D0">O
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift One (Shift In - SI)
<tr>
<td bgcolor="#D0D0D0"><a href=#LS2>LS2</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">n
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Two
<tr>
<td bgcolor="#D0D0D0"><a href=#LS3>LS3</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">o
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Lock Shift Three
<tr>
<td bgcolor="#D0D0D0"><a href=#RIS>RIS</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0">c
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">Reset to Initial State
<tr>
<td bgcolor="#D0D0D0"><a href=#RM>RM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">l
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Reset Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#SCS>SCS</a>
<td bgcolor="#D0D0D0">SCS
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">{Pc;Cs}
<td bgcolor="#D0D0D0">Select Character Set
<tr>
<td bgcolor="#D0D0D0"><a href=#SGR>SGR</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">m
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Select Graphic Rendition
<tr>
<td bgcolor="#D0D0D0"><a href=#SM>SM</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">h
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">Set Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#TBC>TBC</a>
<td bgcolor="#D0D0D0">CSI
<td bgcolor="#D0D0D0">g
<td bgcolor="#D0D0D0">{Ps}
<td bgcolor="#D0D0D0">Tabulation Clear
<tr>
<td bgcolor="#D0D0D0"><a href=#VT52ANSI>VT52ANSI</a>
<td bgcolor="#D0D0D0">ESC
<td bgcolor="#D0D0D0"><
<td bgcolor="#D0D0D0">
<td bgcolor="#D0D0D0">VT52 ANSI Ansi Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#XTERESTORE>XTERESTORE</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">r
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">XTerm Private Restore Mode
<tr>
<td bgcolor="#D0D0D0"><a href=#XTESAVE>XTESAVE</a>
<td bgcolor="#D0D0D0">PRI
<td bgcolor="#D0D0D0">s
<td bgcolor="#D0D0D0">{Ps;...}
<td bgcolor="#D0D0D0">XTerm Private Save Mode
</table>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>Appendix A - Notion Details</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
<i>The following text is a collection of several sorts of definitions and
explainations. It is incomplete in many respects and a working draft.
</i>
.
<p>
All of the following control sequences are transmitted from the Host to
VT100 unless otherwise noted. All of the control sequences are a subset of
those defined in ANSI X 3.64 1977 and ANSI X 3.41 1974.
<p>
The following text conforms to these formatting conventions:
<ul>
<li>Individual character literals are set in bold face. Ascii representation
is used throughout, so <b>ESC</b> means the binary value of 27 and
<b>[</b> a value of 91.
<p>
<li>Parameters are indicated by italic type faces.
<li>Parameter types usually are indicated as one of:
<table>
<tr><td><i>Pn </i></td><td>A string of digits representing a numerical value.</td></tr>
<tr><td><i>Ps </i></td><td>A character that selects an item from a list.</td></tr>
<tr><td><i>a-z</i></td><td>Any lowercase sequence of one or more
characters represent a value to be
entered (as in <i>Pn</i>), and the name in the
will be referred to in explanatory text.</td></tr>
</table>
<p>
<li>Spaces are used only to improve readability, they do not occure in the
control sequences unless otherwise indicated.
<p>
</ul>
<p>
<p>
The following attributes below have the following meaning:
<ul>
<li>VT100 - This code is known to VT100.
<li>ANSI - This code is defined by ANSI.
<li>DEC - This code is DEC private.
<li>Command - Sent from host to the terminal. <b>FIXME:</b>add Inquiery.
<li>Reply - Sent from terminal to the host (as response to an Inquiery).
<li>Event - Sent from terminal to the host (caused by a user activity).
<li>Mode - The entry is a mode.
</ul>
<table>
<tr><td width=10%%><td><td><td><td><td><td width=40%%>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ACK>ACK</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Acknowledge</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x06</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=BEL>BEL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Bell</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x07</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Sound bell
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">gui</td><td colspan=1 bgcolor="#5188B2">Bell</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=BS>BS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Back Space</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x08</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Move cursor to the left one position, unless it is at the left
margin, in which case no action is taken.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">BackSpace</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CAN>CAN</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cancel</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x18</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> If sent during a control sequence, the sequence id immediately
terminated and not executed. It also causes the error character
(checkerboard) to be displayed.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">ShowCharacter</td><td colspan=1 bgcolor="#5188B2">2</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CHA>CHA</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Horizontal Absolute</b>
<td bgcolor="#D0D0D0">ECMA KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>G</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setCursorX</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CPR>CPR</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Position Report</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn;Pn</em> <b>R</b></code>
<td >Default: 1 1
<tr><td><p></td>
<tr><td></td>
<td colspan=6> The CPR sequence reports the active position by means of the
parameters. This sequence has two parameter values, the first
specifying the line and the second specifying the column. The default
condition with no parameters present, or parameters of 0, is equivalent
to a cursor at home position.
<p>
The numbering of the lines depends upon the state of the Origin Mode
(<a href=#DECOM>DECOM</a>).
<p>
This control sequence is sent in reply to a device status report
(<a href=#DSRREQ>DSRREQ</a>) command sent from the host.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CR>CR</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Carriage Return</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x0d</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Move the cursor to the left margin of the current line.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">Return</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CUB>CUB</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Backward</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>D</b></code>
<td >Default: 1
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Moves the cursor to the left. The distance moved is
determined by the parameter. If the parameter missing, zero, or one,
the cursor is moved one position. The cursor cannot be moved past the
left margin.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorLeft</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CUD>CUD</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Down</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>B</b></code>
<td >Default: 1
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Moves the cursor down a number of lines as specified in the parameter
without changing columns. The cursor cannot be moved past the bottom
margin.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorDown</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CUF>CUF</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Foreward</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>C</b></code>
<td >Default: 1
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Moves the cursor to the right a number of positions
specified in the parameter. The cursor cannot be moved past the right
margin.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorRight</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CUP>CUP</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Position</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn;Pn</em> <b>H</b></code>
<td >Default: 1 1
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Moves the curor to the position specified by the
parameters. The first parameter specifies the line, and the second
specifies the column. A value of zero for either line or column moves
the cursor to the first line or column in the display. The default
string (&lt;ESC&gt;H) homes the cursor. In the VT100, this command behaves
identically to it's format effector counterpart, <a href=#HVP>HVP</a>.
<p>
The numbering of the lines depends upon the state of the Origin Mode
(<a href=#DECOM>DECOM</a>).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setCursorYX</td><td colspan=1 bgcolor="#5188B2">p,q</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=CUU>CUU</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Up</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>A</b></code>
<td >Default: 1
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Moves the cursor up without changing columns. The cursor is moved up a
number of lines as indicated by the parameter. The cursor cannot be
moved beyond the top margin.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorUp</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DA>DA</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Attributes Request</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>c</b></code>
<td >Default: 0
<tr><td><p></td>
<tr><td></td>
<td colspan=6> The host requests the VT100 to send a DA sequence to indentify
itself. This is done by sending the DA sequence with no parameters,
or with a parameter of zero.
The device replies by (<a href=#DECDA>DECDA</a>).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">reportTerminalType</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DC1>DC1</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Control One</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x11</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Causes terminal to resume transmission (XON).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DC2>DC2</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Control Two</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x12</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DC3>DC3</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Control Three</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x13</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Causes terminal to stop transmitting all codes except XOFF and XON (XOFF).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DC4>DC4</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Control Four</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x14</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DCH>DCH</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Delete Character</b>
<td bgcolor="#D0D0D0">ECMA KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>P</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">deleteChars</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECALN>DECALN</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Screen Alignment Display</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>#</b> <b>8</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Causes the VT100 to fill it's screen with
uppercase Es for screen focus and alignment.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">helpAlign</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECANM>DECANM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>ANSI/VT52 Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to the <a href=#SM>SM</a> and <a href=#RM>RM</a>
control sequences. The
reset state causes only VT52 compatible escape sequences to be
recognized. The set state causes only ANSI compatible escape sequences
to be recognized. See the entries for <a href=#MODES>MODES</a>, <a href=#SM>SM</a>, <a href=#RM>RM</a>
and <a href=#VT52ANSI>VT52ANSI</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECARM>DECARM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Auto Repeat Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to the <a href=#SM>SM</a> and <a href=#RM>RM</a>
control sequences. The
reset state causes no keyboard keys to auto-repeat, the set state
causes most of them to. See <a href=#MODES>MODES</a>, <a href=#SM>SM</a> and <a href=#RM>RM</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECAWM>DECAWM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Autowrap Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to the <a href=#SM>SM</a> and <a href=#RM>RM</a>
control sequences. The
reset state prevents the cursor from moving when characters are
received while at the right margin. The set state causes these
characters to advance to the next line, causing a scroll up if required
and permitted. See <a href=#MODES>MODES</a>, <a href=#SM>SM</a>, and
<a href=#RM>RM</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECCKM>DECCKM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Cursor Keys Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to the <a href=#SM>SM</a> and <a href=#RM>RM</a>
control requences. This
mode is only effective when the terminal is in keypad application mode
(<a href=#DECKPAM>DECKPAM</a>) and the ANSI/VT52 mode (<a href=#DECANM>DECANM</a>)
is set. Under these
conditions, if this mode is reset, the cursor keys will send ANSI
cursor control commands. If setm the cursor keys will send application
function commands. See <a href=#MODES>MODES</a>, <a href=#RM>RM</a>, and
<a href=#SM>SM</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECCOLM>DECCOLM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Column Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to the <a href=#SM>SM</a> and <a href=#RM>RM</a>
control sequences. The
reset state causes an 80 column screen to be used. The set state
causes a 132 column screen to be used. See <a href=#MODES>MODES</a>,
<a href=#RM>RM</a>, and <a href=#SM>SM</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECDA>DECDA</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Attributes Reply</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <b>?</b> <em>1;Pn</em> <b>c</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Response to the <a href=#DA>DA</a> request (VT100 to host) is generated
by the VT100 as a DECDA control sequence with the numeric parameters as
follows:
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Pn</td><td colspan=4 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=4 bgcolor="#5188B2">No options</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1</td><td colspan=4 bgcolor="#5BA5B2">Processor Option (STP)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 2</td><td colspan=4 bgcolor="#5188B2">Advanced Video Option (AVO)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 3</td><td colspan=4 bgcolor="#5BA5B2">AVO and STP</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 4</td><td colspan=4 bgcolor="#5188B2">Graphics Option (GPO)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 5</td><td colspan=4 bgcolor="#5BA5B2">GPO and STP</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 6</td><td colspan=4 bgcolor="#5188B2">GPO and AVO</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECDHLB>DECDHLB</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Double Height Line (Bottom)</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>#</b> <b>4</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This sequence cause the line containing the cursor to become the
bottom half of a double-height, double width line.
If the line was single width single height, all
characters to the right of the center of the screen will be lost. The
cursor remains over the same character position, unless it would be to
the right of the right margin, in which case it is moved to the right
margin.
<p>
<a href=#DECDHLB>DECDHLB</a> and <a href=#DECDHLT>DECDHLT</a>
should be used in pairs on adjacent lines with each line containing the
same character string.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECDHLT>DECDHLT</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Double Height Line (Top)</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>#</b> <b>3</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Cause the line containing the cursor to become the top half of a
double-height, double width line.
If the line was single width single height, all
characters to the right of the center of the screen will be lost. The
cursor remains over the same character position, unless it would be to
the right of the right margin, in which case it is moved to the right
margin.
<p>
<a href=#DECDHLB>DECDHLB</a> and <a href=#DECDHLT>DECDHLT</a>
should be used in pairs on adjacent lines with each line containing the
same character string.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECDWL>DECDWL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Double Width Line</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>#</b> <b>6</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This causes the line that contains the cursor to become double-width
single height. If the line was single width, all characters ro the
right of the center of the screen will be lost. The cursor remains
over the same character position, unless it would be to the right of
the right margin, in which case it is moved to the right margin.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECID>DECID</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Identify Terminal</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>Z</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This sequence causes the same response as the <a href=#DA>DA</a> sequence. This
sequence will not be supported in future models.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">reportTerminalType</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECINLM>DECINLM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Interlace Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to the <a href=#RM>RM</a> and <a href=#SM>SM</a>
control sequences. The
reset state (non-interlace) causes the video processor to display 240
scan lines per frame. The set state causes the video processor to
display 480 scan lines per screen. See <a href=#MODES>MODES</a>,
<a href=#RM>RM</a>, and <a href=#SM>SM</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECKPAM>DECKPAM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Keypad Application Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>=</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> The auxiliary keypad keys will transmit control sequences.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppKeyPad</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECKPNM>DECKPNM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Keypad Numeric Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>&gt;</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> The auxiliary keypad keys will send ASCII codes corresponding to the
characters engraved on their keys.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">resetMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppKeyPad</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECLL>DECLL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Load LEDs</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps;...</em> <b>q</b></code>
<td >Default: 0
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Load the four programmable LEDs on the keyboard according to the parameter(s).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignore</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Clear all LEDs</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignore</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Light LED 1</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 2</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignore</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Light LED 2</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 3</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignore</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Light LED 3</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 4</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignore</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Light LED 4</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECOM>DECOM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Origin Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to <a href=#SM>SM</a> and <a href=#RM>RM</a>
control sequences. The reset
state causes the origin (or home position) to be the upper left
character position of the screen. Line and column numbers are,
therefore, independent of current margin settings. The cursor may be
positioned outside the margins with a cursor position (<a href=#CUP>CUP</a>) or
horizontal and vertical position (<a href=#HVP>HVP</a>) control.
<p>
The set state causes the origin to be at the upper left character
position within the current margins. Line and column numbers are,
therefore, relative to the current margin settings. The cursor cannot
be positioned outside of the margins.
<p>
The cursor is moved to the new home position when this mode is set or
reset. Lines and columns are numbered consecutively, with the origin
being line 1, column 1.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECRC>DECRC</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Restore Cursor</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>8</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This sequence causes the previously saved cursor position, graphic
rendition, and character set to be restored.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">restoreCursor</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECREPTPARM>DECREPTPARM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Report Terminal Parameters</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>sol;par;nbits;xspd;rspd;cmul;flags</em> <b>x</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This sequence is generated by the VT100 to notify the host of the
status of selected terminal parameters. The status sequence may be
sent when requested by the host (via <a href=#DECREQTPARM>DECREQTPARM</a>)
or at the terminal's
discretion. On power up or reset, the VT100 is inhibited from sending
unsolicited reports.
<p>
The meanings of the sequence parameters are:
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> cmul</td><td colspan=4 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=4 bgcolor="#5188B2">The bit rate multiplier is 16</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> flags</td><td colspan=4 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0-15</td><td colspan=4 bgcolor="#5188B2">This value communicates the four switch values in block 5 of SET-UP B, which are only visible to the user when an STP option is installed.</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> nbits</td><td colspan=4 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=4 bgcolor="#5188B2">8 bits per character</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 2</td><td colspan=4 bgcolor="#5BA5B2">7 bits per character</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> par</td><td colspan=4 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=4 bgcolor="#5188B2">No parity set</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 4</td><td colspan=4 bgcolor="#5BA5B2">Parity set and odd</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 5</td><td colspan=4 bgcolor="#5188B2">Parity set and even</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> sol</td><td colspan=4 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=4 bgcolor="#5188B2">This message is a report.</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 2</td><td colspan=4 bgcolor="#5BA5B2">This message is a report, and the terminal is only reporting on request.</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> speed</td><td colspan=4 bgcolor="#D0D0D0">Meaning (xspd,rspd)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=4 bgcolor="#5188B2">Speed set to 50 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 8</td><td colspan=4 bgcolor="#5BA5B2">Speed set to 75 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 16</td><td colspan=4 bgcolor="#5188B2">Speed set to 110 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 24</td><td colspan=4 bgcolor="#5BA5B2">Speed set to 134.5 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 32</td><td colspan=4 bgcolor="#5188B2">Speed set to 150 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 40</td><td colspan=4 bgcolor="#5BA5B2">Speed set to 200 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 48</td><td colspan=4 bgcolor="#5188B2">Speed set to 300 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 56</td><td colspan=4 bgcolor="#5BA5B2">Speed set to 600 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 64</td><td colspan=4 bgcolor="#5188B2">Speed set to 1200 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 72</td><td colspan=4 bgcolor="#5BA5B2">Speed set to 1800 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 80</td><td colspan=4 bgcolor="#5188B2">Speed set to 2000 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 88</td><td colspan=4 bgcolor="#5BA5B2">Speed set to 2400 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 96</td><td colspan=4 bgcolor="#5188B2">Speed set to 3600 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 104</td><td colspan=4 bgcolor="#5BA5B2">Speed set to 4800 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 112</td><td colspan=4 bgcolor="#5188B2">Speed set to 9600 bps</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 120</td><td colspan=4 bgcolor="#5BA5B2">Speed set tp 19200 bps</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECREQTPARM>DECREQTPARM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Request Terminal Parameters</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps</em> <b>x</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> The host sends this sequence to request the VT100 to send a
<a href=#DECREPTPARM>DECREPTPARM</a>
sequence back. {Ps} can be either 0 or 1. If 0, the terminal will be
allowed to send unsolicited <a href=#DECREPTPARM>DECREPTPARM</a>s.
These reports will be generated each time the terminal exits the SET-UP mode.
If {Ps} is 1, then the terminal will only generate
<a href=#DECREPTPARM>DECREPTPARM</a>s in response to a request.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">reportTerminalParms</td><td colspan=1 bgcolor="#5188B2">2</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">reportTerminalParms</td><td colspan=1 bgcolor="#5BA5B2">3</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECRST>DECRST</a>
<td colspan=5 bgcolor="#D0D0D0"><b>DEC Private Reset Mode</b>
<td bgcolor="#D0D0D0">VT100 KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <b>?</b> <em>Ps;...</em> <b>l</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">resetMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppCuKeys</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 2</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">resetMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Ansi</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 3</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setColumns</td><td colspan=1 bgcolor="#5188B2">80</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 4</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignored</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 5</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">resetMode</td><td colspan=1 bgcolor="#5188B2">MODE_Screen</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 6</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">resetMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Origin</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 7</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">resetMode</td><td colspan=1 bgcolor="#5188B2">MODE_Wrap</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 8</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignored</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 9</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 25</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">resetMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Cursor</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 47</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">resetMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppScreen</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1000</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">resetMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Mouse1000</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1001</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1047</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">resetMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_AppScreen</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1048</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">restoreCursor</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECSC>DECSC</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Save Cursor</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>7</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Causes the cursor position, graphic rendition, and character set to be
saved. (See <a href=#DECRC>DECRC</a>)
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">saveCursor</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECSCLM>DECSCLM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Scrolling Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to <a href=#RM>RM</a> and <a href=#SM>SM</a>
control sequences. The reset
state causes scrolls to "jump" instantaneuously one line at a time.
The set state causes the scrolls to be "smooth", and scrolls at a
maximum rate of siz lines/sec. See <a href=#MODES>MODES</a>,
<a href=#RM>RM</a>, and <a href=#SM>SM</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECSCNM>DECSCNM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Screen Mode</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a private parameter to <a href=#RM>RM</a> and <a href=#SM>SM</a>
control sequences. The reset
state causes the screen to be black with white characters; the set
state causes the screen to be white with black characters.
See <a href=#MODES>MODES</a>, <a href=#RM>RM</a>, and <a href=#SM>SM</a>.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECSET>DECSET</a>
<td colspan=5 bgcolor="#D0D0D0"><b>DEC Private Set Mode</b>
<td bgcolor="#D0D0D0">VT100 KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <b>?</b> <em>Ps;...</em> <b>h</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppCuKeys</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 3</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">setColumns</td><td colspan=1 bgcolor="#5BA5B2">132</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 4</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 5</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Screen</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 6</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_Origin</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 7</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Wrap</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 8</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 9</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignored</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 25</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_Cursor</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 47</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">setMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_AppScreen</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1000</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_Mouse1000</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1001</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignored</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1047</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppScreen</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1048</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">saveCursor</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECSTBM>DECSTBM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Set Top and Bottom Margins</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn;Pn</em> <b>r</b></code>
<td >Default: 1 ScreenLines
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This sequence sets the top and bottom margins to define the scrolling
region. The first parameter is the line number of the first line in
the scrolling region; the second parameter is the line number of the
bottom line of the scrolling region.
<p>
Default is the entire screen (no margins).
The minimum region allowed is two lines, i.e., the top line
must be less than the bottom. The cursor is placed in the home
position (See <a href=#DECOM>DECOM</a>).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setMargins</td><td colspan=1 bgcolor="#5188B2">p,q</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECSWL>DECSWL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Single-width Line</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>#</b> <b>5</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This causes the line which contains the cursor to become single-width,
single-height. The cursor remains on the same character position.
This is the default condition for all new lines on the screen.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DECTST>DECTST</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Invoke Confidence Test</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>2;Ps</em> <b>y</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ps is the parameter indicating the test to be done. It is computed by
taking the weight indicated for each desired test and adding them
together. If Ps is 0, no test is performed but the VT100 is reset.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Weight</td><td colspan=4 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=4 bgcolor="#5188B2">POST (ROM checksum, RAM NVR, keyboardm and AVO)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 2</td><td colspan=4 bgcolor="#5BA5B2">Data Loop Back (Loopback connector required)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 3</td><td colspan=4 bgcolor="#5188B2">EIA Modem Control Test (Loopback connector req.)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 4</td><td colspan=4 bgcolor="#5BA5B2">Repeat Testing until failure</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DEL>DEL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Delete Character</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x7f</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DL>DL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Delete Line</b>
<td bgcolor="#D0D0D0">ECMA KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>M</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">konsole</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">deleteLines</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DLE>DLE</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Data Link Escape</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x10</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DSRREP>DSRREP</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Status Report Reply</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Status</em> <b>n</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Reports the general status of the VT100 according to the
following parameters.
<p>
DSRREP with a parameter of 0 or 3 is always sent as a response to a
requesting <a href=#DSRREQ>DSRREQ</a> with a parameter of 5.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Status</td><td colspan=3 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=3 bgcolor="#5188B2">Ready, no faults detected</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 3</td><td colspan=3 bgcolor="#5BA5B2">Malfunction detected</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=DSRREQ>DSRREQ</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Device Status Report</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps</em> <b>n</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Requests status of the VT100 according to the following parameters.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 5</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">reportStatus</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Report Status (using a <a href=#DSRREP>DSRREP</a> control sequence)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 6</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">reportCursorPosition</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Report Active Position (using a <a href=#CPR>CPR</a> sequence)</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ECH>ECH</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Erase Character</b>
<td bgcolor="#D0D0D0">ECMA KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>X</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">konsole</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">eraseChars</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ED>ED</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Erase in Display</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps</em> <b>J</b></code>
<td >Default: 0
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This sequence erases some or all of the characters in the display
according to the parameter. Any complete line erased by this sequence
will return that line to single width mode.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">clearToEndOfScreen</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Erase from the cursor to the end of the screen.</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">clearToBeginOfScreen</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Erase from the start of the screen to the cursor.</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 2</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">clearEntireScreen</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Erase the entire screen.</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=EL>EL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Erase in Line</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps</em> <b>K</b></code>
<td >Default: 0
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Erases some or all characters in the active line, according to the
parameter.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">clearToEndOfLine</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Erase from cursor to the end of the line.</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">clearToBeginOfLine</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Erase from the start of the line to the cursor.</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 2</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">clearEntireLine</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Erase the entire line.</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=EM>EM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>End Of Medium</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x19</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ENQ>ENQ</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Enquiry</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x05</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Transmit the ANSWERBACK message. The answerback message can be loaded
in SET-UP B (i.e. is a configurable string).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">reportAnswerBack</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=EOT>EOT</a>
<td colspan=5 bgcolor="#D0D0D0"><b>End Of Transmission</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x04</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ESC>ESC</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Escape</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x1b</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Introduces a control sequence.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ETB>ETB</a>
<td colspan=5 bgcolor="#D0D0D0"><b>End Of Transmission Block</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x17</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ETX>ETX</a>
<td colspan=5 bgcolor="#D0D0D0"><b>End Of Text</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x03</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=FF>FF</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Form Feed</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x0c</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Same as <a href=#LF>LF</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">NewLine</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=FS>FS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>File Separator (IS4 - Information Separator Four)</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x1c</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=GS>GS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Group Separator (IS3 - Information Separator Three)</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x1d</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=HT>HT</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Horizontal Tabulation</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x09</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Move cursor to the next tab stop, or to the right margin
if no further tabs are set.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">Tabulate</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=HTS>HTS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Horizontal Tab Set</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>H</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Set a tab stop at the current cursor position.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">changeTabStop</td><td colspan=1 bgcolor="#5188B2">TRUE</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=HVP>HVP</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Horizontal and Vertical Position</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn;Pn</em> <b>f</b></code>
<td >Default: 1 1
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Moves the cursor to the position specified by the parameters. The
first parameter specifies the line, and the second specifies the
column. A parameter of 0 or 1 causes the active position to move to
the first line or column in the display. In the VT100, this control
behaves identically with it's editor counterpart, <a href=#CUP>CUP</a>.
The numbering of hte lines depends upon the state of the Origin Mode
(<a href=#DECOM>DECOM</a>).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setCursorYX</td><td colspan=1 bgcolor="#5188B2">p,q</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=ICH>ICH</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Insert Character</b>
<td bgcolor="#D0D0D0">ECMA KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>@</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">konsole</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">insertChars</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=IL>IL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Insert Line</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>L</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">insertLines</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=IND>IND</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Index</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>D</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This sequence causes the cursor to move downward one line without
changing the column. If the cursor is at the bottom margin, a scroll
up is performed.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">index</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=KEYBOARD>KEYBOARD</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Keyboard Events</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Key</td><td colspan=4 bgcolor="#D0D0D0">Code</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> AltButton</td><td colspan=4 bgcolor="#5188B2">"\033"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> Return</td><td colspan=4 bgcolor="#5BA5B2">MODE_NewLine ? "\r\n" : "\r"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> Backspace</td><td colspan=4 bgcolor="#5188B2">MODE_BsHack ? "\x7f" : "\x08"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> Delete</td><td colspan=4 bgcolor="#5BA5B2">MODE_BsHack ? "\033[3~" : "\x7f"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> Up</td><td colspan=4 bgcolor="#5188B2">!MODE_Ansi ?"\033A" : MODE_AppCuKeys ?"\033OA" : "\033[A"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> Down</td><td colspan=4 bgcolor="#5BA5B2">!MODE_Ansi ?"\033B" : MODE_AppCuKeys ?"\033OB" : "\033[B"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> Right</td><td colspan=4 bgcolor="#5188B2">!MODE_Ansi ?"\033C" : MODE_AppCuKeys ?"\033OC" : "\033[C"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> Left</td><td colspan=4 bgcolor="#5BA5B2">!MODE_Ansi ?"\033D" : MODE_AppCuKeys ?"\033OD" : "\033[D"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> F1</td><td colspan=4 bgcolor="#5188B2">Xterm? "\033[11~": "\033[[A"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> F2</td><td colspan=4 bgcolor="#5BA5B2">Xterm? "\033[12~": "\033[[B"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> F3</td><td colspan=4 bgcolor="#5188B2">Xterm? "\033[13~": "\033[[C"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> F4</td><td colspan=4 bgcolor="#5BA5B2">Xterm? "\033[14~": "\033[[D"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> F5</td><td colspan=4 bgcolor="#5188B2">Xterm? "\033[15~": "\033[[E"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> F6</td><td colspan=4 bgcolor="#5BA5B2">"\033[17~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> F7</td><td colspan=4 bgcolor="#5188B2">"\033[18~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> F8</td><td colspan=4 bgcolor="#5BA5B2">"\033[19~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> F9</td><td colspan=4 bgcolor="#5188B2">"\033[20~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> F10</td><td colspan=4 bgcolor="#5BA5B2">"\033[21~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> F11</td><td colspan=4 bgcolor="#5188B2">"\033[23~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> F12</td><td colspan=4 bgcolor="#5BA5B2">"\033[24~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> Home</td><td colspan=4 bgcolor="#5188B2">"\033[7~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> End</td><td colspan=4 bgcolor="#5BA5B2">"\033[8~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> Prior</td><td colspan=4 bgcolor="#5188B2">"\033[5~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> Next</td><td colspan=4 bgcolor="#5BA5B2">"\033[6~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> Insert</td><td colspan=4 bgcolor="#5188B2">"\033[2~"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> Control_Space</td><td colspan=4 bgcolor="#5BA5B2">"\x00"</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> Control_Print</td><td colspan=4 bgcolor="#5188B2">reportAnswerBack()</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> Ascii</td><td colspan=4 bgcolor="#5BA5B2">Character</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=LF>LF</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Line Feed</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x0a</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Causes either a line feed or new line operation (See <a href=#LNM>LNM</a>.)
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">NewLine</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=LNM>LNM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Line Feed/New Line Mode</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is a parameter to <a href=#SM>SM</a> and <a href=#RM>RM</a> control sequences.
The reset state
causes the interpretation of the <a href=#LF>LF</a> character to imply only vertical
movement of the cursor and causes the RETURN key to send the single
code <a href=#CR>CR</a>.
<p>
The set state causes the <a href=#LF>LF</a> character to imply movement
to the first position of the following line, and causes the RETURN key
to send the code pair <a href=#CR>CR</a> <a href=#LF>LF</a>. This is the New Line option.
<p>
This mode does not affect the Index (<a href=#IND>IND</a>) or the next line
(<a href=#NEL>NEL</a>) format effectors.
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=LS0>LS0</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Lock Shift Zero (Shift Out - SO)</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x0e</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Invoke the G1 character set, as designated by the <a href=#SCS>SCS</a> control sequence.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">useCharset</td><td colspan=1 bgcolor="#5188B2">1</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=LS1>LS1</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Lock Shift One (Shift In - SI)</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x0f</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Invoke the G0 character set, as selected by the &lt;ESC&gt;( sequence.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">useCharset</td><td colspan=1 bgcolor="#5188B2">0</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=LS2>LS2</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Lock Shift Two</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>n</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">useCharset</td><td colspan=1 bgcolor="#5188B2">2</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=LS3>LS3</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Lock Shift Three</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>o</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">useCharset</td><td colspan=1 bgcolor="#5188B2">3</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=MC>MC</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Media Copy</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>i</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=MOUSE>MOUSE</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Mouse Events</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=NAK>NAK</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Negative Acknowledge</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x15</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=NEL>NEL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Next Line</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>E</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This causes the cursor to move to the first position of the next line
down. If the cursor is on the bottom line, a scroll is performed.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">NextLine</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=NUL>NUL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Null</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x00</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> NUL is used as media- or time-fill. It is ignored by Konsole, but may
be sensible for devices which requiere a recognizable amount of time
to complete some commands (e.g. form feed on a non-buffering printing
device).
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=PRINT>PRINT</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Printable Characters</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <em>0x20..0x7e,0xa0..0xff</em></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Printable characters are basically displayed. They my cause a line
wrap when the cursor is already located at the end of the line.
<p>
The VT100 has a unique way to do this by producing a line wrap before
the character would be displayed on the next line. This feature allows
to print at the rightmost column without producing an implicit line feed.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">ShowCharacter</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=RI>RI</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Reverse Index</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>M</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Move the cursor up one line without changing columns. If the cursor is
on the top line, a scroll down is performed.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">reverseIndex</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=RIS>RIS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Reset to Initial State</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>c</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Resets the VT100 to the state is has upon power up. This also causes
the execution of the POST and signal INT H to be asserted briefly.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">resetTerminal</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=RM>RM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Reset Mode</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps;...</em> <b>l</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Resets one or more VT100 modes as specified by each selective parameter
in the parameter string. Each mode to be reset is specified by a
separate parameter. See <a href=#MODES>MODES</a> and <a href=#SM>SM</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 4</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">resetMode</td><td colspan=1 bgcolor="#5188B2">MODE_Insert</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 20</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">resetMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_NewLine</td><td colspan=1 bgcolor="#5BA5B2"><a href=#LNM>LNM</a></td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=RS>RS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Record Separator (IS2 - Information Separator Two)</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x1e</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=SCS>SCS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Select Character Set</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <em>Pc;Cs</em></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> The appropriate D0 and G1 character sets are designated from one of the
five possible sets. The G0 and G1 sets are invoked by the characters
<a href=#LS1>LS1</a> and <a href=#LS0>LS0</a>, respectively.
<p>
The United Kingdom and ASCII sets conform to the "ISO international
register of character sets to be used with escape sequences". The
other sets are private character sets. Special graphics means that the
graphic characters fpr the codes 0137 to 0176 are replaced with other
characters. The specified character set will be used until another SCS
is received.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Cs</td><td colspan=4 bgcolor="#D0D0D0">Character Set</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> A</td><td colspan=4 bgcolor="#5188B2">United Kingdom Set</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> B</td><td colspan=4 bgcolor="#5BA5B2">ASCII Set</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=4 bgcolor="#5188B2">Special Graphics</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1</td><td colspan=4 bgcolor="#5BA5B2">Alternate Character ROM (Standard Character Set)</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 2</td><td colspan=4 bgcolor="#5188B2">Alternate Character ROM (Special Graphics)</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Pc</td><td colspan=4 bgcolor="#D0D0D0">Character Selection</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> (</td><td colspan=4 bgcolor="#5188B2">Select G0 Set</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> )</td><td colspan=4 bgcolor="#5BA5B2">Select G1 Set</td></tr>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setCharset</td><td colspan=1 bgcolor="#5188B2">p-'(',q</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=SGR>SGR</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Select Graphic Rendition</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps;...</em> <b>m</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Invoke the graphic rendition specified by the parameter(s). All
following characters transmitted to the VT100 are rendered according
to the parameter(s) until the next occurrence of an SGR.
<p>
All other parameter values are ignored.
<p>
Without the Advanced Video Option, only one type of character attribute
is possible, as determined by the cursor selection; in that case
specifying either underscore or reverse will activate the currently
selected attribute.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setDefaultRendition</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Attributes Off</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setRendition</td><td colspan=1 bgcolor="#5BA5B2">RE_BOLD</td><td colspan=1 bgcolor="#5BA5B2">Bold or increased intensity</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 4</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setRendition</td><td colspan=1 bgcolor="#5188B2">RE_UNDERLINE</td><td colspan=1 bgcolor="#5188B2">Underscore</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 5</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setRendition</td><td colspan=1 bgcolor="#5BA5B2">RE_BLINK</td><td colspan=1 bgcolor="#5BA5B2">Blink</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 7</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setRendition</td><td colspan=1 bgcolor="#5188B2">RE_REVERSE</td><td colspan=1 bgcolor="#5188B2">Negative (reverse) image</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 10</td><td colspan=1 bgcolor="#5BA5B2">konsole</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignored</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 11</td><td colspan=1 bgcolor="#5188B2">konsole</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 12</td><td colspan=1 bgcolor="#5BA5B2">konsole</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">Ignored</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 22</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">resetRendition</td><td colspan=1 bgcolor="#5188B2">RE_BOLD</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 24</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">resetRendition</td><td colspan=1 bgcolor="#5BA5B2">RE_UNDERLINE</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 25</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">resetRendition</td><td colspan=1 bgcolor="#5188B2">RE_BLINK</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 27</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">resetRendition</td><td colspan=1 bgcolor="#5BA5B2">RE_REVERSE</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 30</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">0</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 31</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">1</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 32</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">2</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 33</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">3</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 34</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">4</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 35</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">5</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 36</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">6</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 37</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">7</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 39</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColorToDefault</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 40</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">0</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 41</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">1</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 42</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">2</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 43</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">3</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 44</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">4</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 45</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">5</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 46</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">6</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 47</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">7</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 49</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColorToDefault</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 90</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">8</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 91</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">9</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 92</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">10</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 93</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">11</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 94</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">12</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 95</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">13</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 96</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setForeColor</td><td colspan=1 bgcolor="#5188B2">14</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 97</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setForeColor</td><td colspan=1 bgcolor="#5BA5B2">15</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 100</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">8</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 101</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">9</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 102</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">10</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 103</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">11</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 104</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">12</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 105</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">13</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 106</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setBackColor</td><td colspan=1 bgcolor="#5188B2">14</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 107</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">setBackColor</td><td colspan=1 bgcolor="#5BA5B2">15</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=SM>SM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Set Mode</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps;...</em> <b>h</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Causes one or more modes to be set within the VT100 as specified by
each selective parameter string. Each mode to be set is specified by a
seperate parameter. A mode is considered set until it is reset by a
Reset Mode (<a href=#RM>RM</a>) control sequence.
See <a href=#RM>RM</a> and <a href=#MODES>MODES</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 4</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_Insert</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 20</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">setMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_NewLine</td><td colspan=1 bgcolor="#5BA5B2"><a href=#LNM>LNM</a></td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=SOH>SOH</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Start Of Heading</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x01</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=STX>STX</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Start Of Text</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x02</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=SUB>SUB</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Substitute</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x1a</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Same as <a href=#CAN>CAN</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">ShowCharacter</td><td colspan=1 bgcolor="#5188B2">2</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=SYN>SYN</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Synchronous Idle</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x16</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=TBC>TBC</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Tabulation Clear</b>
<td bgcolor="#D0D0D0">ECMA VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Ps</em> <b>g</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> If the parameter is missing or 0, this will clear the tab stop at the
cursor's position. If it is 3, this will clear all of the tab stops.
Any other parameter is ignored.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 0</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">changeTabStop</td><td colspan=1 bgcolor="#5188B2">FALSE</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 3</td><td colspan=1 bgcolor="#5BA5B2">VT100</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">clearTabStops</td><td colspan=1 bgcolor="#5BA5B2"></td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=US>US</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Unit Separator (IS1 - Information Separator One)</b>
<td bgcolor="#D0D0D0">VT100 XTERM Linux KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x1f</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Ignored
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VPA>VPA</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Vertical Position Absolute</b>
<td bgcolor="#D0D0D0">ECMA KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <em>Pn</em> <b>d</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setCursorY</td><td colspan=1 bgcolor="#5188B2">p</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT>VT</a>
<td colspan=5 bgcolor="#D0D0D0"><b>Vertical Tabulation</b>
<td bgcolor="#D0D0D0">VT100
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>0x0b</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Same as <a href=#LF>LF</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT100</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">NewLine</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52ANSI>VT52ANSI</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 ANSI Ansi Mode</b>
<td bgcolor="#D0D0D0">VT100 XTERM VT52 KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>&lt;</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> This is an extension to the VT52 commands to embed the emulation into VT100.
It allows to return back to VT100 emulation (ANSI mode).
See also <a href=#DECANM>DECANM</a> and <a href=#SM>SM</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_Ansi</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52CUB>VT52CUB</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Cursor Back</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>D</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> See <a href=#CUB>CUB</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorLeft</td><td colspan=1 bgcolor="#5188B2">1</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52CUD>VT52CUD</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Cursor Down</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>B</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> See <a href=#CUD>CUD</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorDown</td><td colspan=1 bgcolor="#5188B2">1</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52CUF>VT52CUF</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Cursor Forward</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>C</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> See <a href=#CUF>CUF</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorRight</td><td colspan=1 bgcolor="#5188B2">1</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52CUH>VT52CUH</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Cursor Home</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>H</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setCursorYX</td><td colspan=1 bgcolor="#5188B2">1,1</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52CUP>VT52CUP</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Cursor Position</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>Y</b> <em>X;Y</em></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Line and column numbers for direct cursor address are single
character codes whose values are the desired number plus
37 (in Octal). Line and column numbers start at 1.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setCursorYX</td><td colspan=1 bgcolor="#5188B2">p-31,q-31</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52CUU>VT52CUU</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Cursor Up</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>A</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> See <a href=#CUU>CUU</a>.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">cursorUp</td><td colspan=1 bgcolor="#5188B2">1</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52EDL>VT52EDL</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Clear To End Of Line</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>K</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">clearToEndOfLine</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52EDS>VT52EDS</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Clear To End Of Screen</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>J</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">clearToEndOfScreen</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52KPAM>VT52KPAM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Enter alternate keypad mode</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>=</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6>
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">setMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppKeyPad</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52KPNM>VT52KPNM</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Exit alternate keypad mode</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>&gt;</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">resetMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppKeyPad</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52REP>VT52REP</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Report Terminal Type</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>Z</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> Response to ESC Z is ESC / Z.
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">reportTerminalType</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52RI>VT52RI</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Reverse Index</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>I</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">reverseIndex</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52SCSF>VT52SCSF</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Select special graphics character set</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>F</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setAndUseCharset</td><td colspan=1 bgcolor="#5188B2">0,'0'</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=VT52SCSG>VT52SCSG</a>
<td colspan=5 bgcolor="#D0D0D0"><b>VT52 Select ASCII character set</b>
<td bgcolor="#D0D0D0">KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>G</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> N/A</td><td colspan=1 bgcolor="#5188B2">VT52</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">setAndUseCharset</td><td colspan=1 bgcolor="#5188B2">0,'B'</td><td colspan=1 bgcolor="#5188B2">see above</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=XTERESTORE>XTERESTORE</a>
<td colspan=5 bgcolor="#D0D0D0"><b>XTerm Private Restore Mode</b>
<td bgcolor="#D0D0D0">XTERM KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <b>?</b> <em>Ps;...</em> <b>r</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">restoreMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppCuKeys</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 6</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">restoreMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Origin</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 7</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">restoreMode</td><td colspan=1 bgcolor="#5188B2">MODE_Wrap</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1000</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">restoreMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Mouse1000</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1001</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr><td><p></td></tr>
<tr><td bgcolor="#D0D0D0"><a name=XTESAVE>XTESAVE</a>
<td colspan=5 bgcolor="#D0D0D0"><b>XTerm Private Save Mode</b>
<td bgcolor="#D0D0D0">XTERM KONSOLE
<tr><td><p></td>
<tr><td>
<td colspan=5 ><code> <b>ESC</b> <b>[</b> <b>?</b> <em>Ps;...</em> <b>s</b></code>
<tr><td><p></td>
<tr><td></td>
<td colspan=6> FIXME. explain
<tr><td><p></td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#D0D0D0"> Subcode</td><td colspan=1 bgcolor="#D0D0D0">Emulation</td><td colspan=1 bgcolor="#D0D0D0">Scope</td><td colspan=1 bgcolor="#D0D0D0">Operation</td><td colspan=1 bgcolor="#D0D0D0">Args</td><td colspan=1 bgcolor="#D0D0D0">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">saveMode</td><td colspan=1 bgcolor="#5188B2">MODE_AppCuKeys</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 6</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">scr</td><td colspan=1 bgcolor="#5BA5B2">saveMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Origin</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 7</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">scr</td><td colspan=1 bgcolor="#5188B2">saveMode</td><td colspan=1 bgcolor="#5188B2">MODE_Wrap</td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5BA5B2"> 1000</td><td colspan=1 bgcolor="#5BA5B2">xterm</td><td colspan=1 bgcolor="#5BA5B2">emu</td><td colspan=1 bgcolor="#5BA5B2">saveMode</td><td colspan=1 bgcolor="#5BA5B2">MODE_Mouse1000</td><td colspan=1 bgcolor="#5BA5B2">Meaning</td></tr>
<tr>
<td></td>
<td colspan=1 bgcolor="#5188B2"> 1001</td><td colspan=1 bgcolor="#5188B2">xterm</td><td colspan=1 bgcolor="#5188B2">emu</td><td colspan=1 bgcolor="#5188B2">Ignored</td><td colspan=1 bgcolor="#5188B2"></td><td colspan=1 bgcolor="#5188B2">Meaning</td></tr>
</table>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>On VT100</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
The VT100 is an upward and downward software-compatible terminal;
that is, previous Digital video terminals have Digital's private standards
for control sequences. The American National Standards Institute has since
standardized escape and control sequences in terminals in documents X3.41-1974
and X3.64-1977.
<p>
The VT100 is compatible with both the previous Digital standard and
ANSI standards. Customers may use existing Digital software designed around
the VT52 or new VT100 software. The VT100 has a "VT52 compatible" mode in
which the VT100 responds to control sequences like a VT52. In this mode, most
of the new VT100 features cannot be used.
<p>
Throughout this document references will be made to "VT52 mode" or
"ANSI mode". These two terms are used to indicate the VT100's software
compatibility.
<p>
<em>NOTE</em>: The ANSI standards allow the manufacturer flexibility in implementing
each function. This document describes how the VT100 will respond to the
implemented ANSI central function.
<p>
<h2>
<table width=100%>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
<tr><td align=center bgcolor=#d0d0d0>Modes</td></tr>
<tr><td align=center bgcolor=#d0d0d0></td></tr>
</table>
</h2>
<a name=#MODES></a>
The Following is a list of VT100 modes which may be changed with Set
Mode (SM) and Reset Mode (RM) controls.
<h3>ANSI Specified Modes</h3>
<table border=1>
<tr><td>Parameter</td><td>Mnemonic</td><td>Function</td></tr>
<tr><td><hr></td><td><hr></td><td><hr></td></tr>
<tr><td>0 </td><td> </td><td>Error (Ignored)</td></tr>
<tr><td>20 </td><td>LNM </td><td>Line Feed/New Line Mode</td></tr>
</table>
<h3>DEC Private Modes</h3>
If the first character in the parameter string is ? (077), the
parameters are interpreted as DEC private parameters according to the
following:
<table border=1>
<tr><td>Parameter</td><td>Mnemonic</td><td>Function
<tr><td><hr></td><td><hr></td><td><hr></td></tr>
<tr><td>0</td><td> </td><td>Error (Ignored)</td></tr>
<tr><td>1</td><td><a href=#DECCKM >DECCKM </a></td><td>Cursor Key </td></tr>
<tr><td>2</td><td><a href=#DECANM >DECANM </a></td><td>ANSI/VT52 </td></tr>
<tr><td>3</td><td><a href=#DECCOLM>DECCOLM</a></td><td>Column </td></tr>
<tr><td>4</td><td><a href=#DECSCLM>DECSCLM</a></td><td>Scrolling </td></tr>
<tr><td>5</td><td><a href=#DECSCNM>DECSCNM</a></td><td>Screen </td></tr>
<tr><td>6</td><td><a href=#DECOM >DECOM </a></td><td>Origin </td></tr>
<tr><td>7</td><td><a href=#DECAWM >DECAWM </a></td><td>Auto Wrap </td></tr>
<tr><td>8</td><td><a href=#DECARM>DECARM </a></td><td>Auto Repeat </td></tr>
<tr><td>9</td><td><a href=#DECINLM>DECINLM</a></td><td>Interlace </td></tr>
</table>
Any other parameter values are ignored.
<p>
The following modes, which are specified in the ANSI standard, may be
considered to be permanently set, permanently reset, or not applicable,
as noted.
<table border=1>
<tr><td>Mnemonic</td><td>Function </td><td>State</td></tr>
<tr><td>CRM </td><td>Control Representation </td><td>Reset</td></tr>
<tr><td>EBM </td><td>Editing Boundary </td><td>Reset</td></tr>
<tr><td>ERM </td><td>Erasure </td><td>Set </td></tr>
<tr><td>FEAM </td><td>Format Effector Action </td><td>Reset</td></tr>
<tr><td>FETM </td><td>Format Effector Transfer </td><td>Reset</td></tr>
<tr><td>GATM </td><td>Guarded Area Transfer </td><td>NA </td></tr>
<tr><td>HEM </td><td>Horizontal Editing </td><td>NA </td></tr>
<tr><td>IRM </td><td>Insertion-replacement </td><td>Reset</td></tr>
<tr><td>KAM </td><td>Keyboard Action </td><td>Reset</td></tr>
<tr><td>MATM </td><td>Multiple area transfer </td><td>NA </td></tr>
<tr><td>PUM </td><td>Positioning Unit </td><td>Reset</td></tr>
<tr><td>SATM </td><td>Selected Area Transfer </td><td>NA </td></tr>
<tr><td>SRTM </td><td>Status Reporting Transfer</td><td>Reset</td></tr>
<tr><td>TSM </td><td>Tabulation Stop </td><td>Reset</td></tr>
<tr><td>TTM </td><td>Transfer Termination </td><td>NA </td></tr>
<tr><td>VEM </td><td>Vertical Editing </td><td>NA </td></tr>
</table>
<h2>Keyboard Codes</h2>
The notation &lt;ESC&gt; denotes a single ASCII Escape character, 1Bx.
<table border=1>
<tr>
<td>Cursor Key</td>
<td>VT52 mode</td>
<td>ANSI mode w/cursor <br> key mode reset</td>
<td>ANSI mode w/cursor <br> key mode set</td>
</tr>
<tr><td>UP </td><td>&lt;ESC&gt;A</td><td>&lt;ESC&gt;[A</td><td>&lt;ESC&gt;OA</td></tr>
<tr><td>DOWN </td><td>&lt;ESC&gt;B</td><td>&lt;ESC&gt;[B</td><td>&lt;ESC&gt;OB</td></tr>
<tr><td>RIGHT</td><td>&lt;ESC&gt;C</td><td>&lt;ESC&gt;[C</td><td>&lt;ESC&gt;OC</td></tr>
<tr><td>LEFT </td><td>&lt;ESC&gt;D</td><td>&lt;ESC&gt;[D</td><td>&lt;ESC&gt;OD</td></tr>
</table>
<h2>Special Graphics Characters</h2>
If the Special Graphics set is selected, the graphics for ASCII codes
0137 through 0176 will be replaced according to the following table (see the
<a href=#SCS>SCS</a> control sequence).
<center>
<table cellspacing=30>
<tr><td><table><tr><td>Octal<br>Code </td>
<td>ASCII<br>Graphic</td>
<td>Special Graphic </td></tr>
<tr><td><hr></td>
<td><hr></td>
<td><hr></td></tr>
<tr><td>0137</td>
<td align=center>_</td>
<td>Blank</td></tr>
<tr><td>0140</td>
<td align=center>`</td>
<td>Diamond</td></tr>
<tr><td>0141</td>
<td align=center>a</td>
<td>Checkerboard</td></tr>
<tr><td>0142</td>
<td align=center>b</td>
<td>Digraph: (HT)</td></tr>
<tr><td>0143</td>
<td align=center>c</td>
<td>Digraph: (FF)</td></tr>
<tr><td>0144</td>
<td align=center>d</td>
<td>Digraph: (CR)</td></tr>
<tr><td>0145</td>
<td align=center>e</td>
<td>Digraph: (LF)</td></tr>
<tr><td>0146</td>
<td align=center>f</td>
<td>Degree Symbol: &deg;</td></tr>
<tr><td>0147</td>
<td align=center>g</td>
<td>+/- Symbol: &plusmn;</td></tr>
<tr><td>0150</td>
<td align=center>h</td>
<td>Digraph: (NL)</td></tr>
<tr><td>0151</td>
<td align=center>i</td>
<td>Digraph: (VT)</td></tr>
<tr><td>0152</td>
<td align=center>j</td>
<td>Lower-right corner</td></tr>
<tr><td>0153</td>
<td align=center>k</td>
<td>Upper-right corner</td></tr>
<tr><td>0154</td>
<td align=center>l</td>
<td>Upper-left corner</td></tr>
<tr><td>0155</td>
<td align=center>m</td>
<td>Lower-left corner</td></tr>
<tr><td>0156</td>
<td align=center>n</td>
<td>Crossing lines (+)</td></tr>
</td></table></td><td><table><tr><td>Octal<br>Code </td>
<td>ASCII<br>Graphic</td>
<td>Special Graphic </td></tr>
<tr><td><hr></td>
<td><hr></td>
<td><hr></td></tr>
<tr><td>0157</td>
<td align=center>o</td>
<td>Horiz Line - scan 1</td></tr>
<tr><td>0160</td>
<td align=center>p</td>
<td>Horiz Line - scan 3</td></tr>
<tr><td>0161</td>
<td align=center>q</td>
<td>Horiz Line - scan 5</td></tr>
<tr><td>0162</td>
<td align=center>r</td>
<td>Horiz Line - scan 7</td></tr>
<tr><td>0163</td>
<td align=center>s</td>
<td>Horiz Line - scan 9</td></tr>
<tr><td>0164</td>
<td align=center>t</td>
<td>Left "T" (|-)</td></tr>
<tr><td>0165</td>
<td align=center>u</td>
<td>Right "T" (-|)</td></tr>
<tr><td>0166</td>
<td align=center>v</td>
<td>Bottom "T" (|_)</td></tr>
<tr><td>0167</td>
<td align=center>w</td>
<td>Top "T" (T)</td></tr>
<tr><td>0170</td>
<td align=center>x</td>
<td>Vertical Bar (|)</td></tr>
<tr><td>0171</td>
<td align=center>y</td>
<td>Less/Equal: &le;</td></tr>
<tr><td>0172</td>
<td align=center>z</td>
<td>Graeter/Egual: &ge;</td></tr>
<tr><td>0173</td>
<td align=center>{</td>
<td>Pi symbol: &pi;</td></tr>
<tr><td>0174</td>
<td align=center>|</td>
<td>Not equal: &ne;</td></tr>
<tr><td>0175</td>
<td align=center>}</td>
<td>UK pound symbol: &pound;</td></tr>
<tr><td>0176</td>
<td align=center>~</td>
<td>Centered dot: &middot;</td></tr>
</td></tr></table>
</table>
</center>
<em>NOTE 1</em>: Codes 0152-0156 and 0164-0170 are used to draw rectangular grids" each
piece of this set is contiguous with other so the lines formed will be
unbroken.
<p>
<em>NOTE 2</em>: Codes 0157-0163 give better vertical resolution than dashes and
underlines when drawing graphs; using these segments, 120 x 132 resolution may
be obtained in 132 column mode with the Advanced Video Option installed.
<p>
<h2>References</h2>
<p>
<hr>
<small>
This text is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
<p>
<a href="mailto:lars.doelle@on-line.de">Lars D&ouml;lle</a>, 1998
</small>
</body>
</html>