The OpenVMS User's Guide, Second Edition

This appendix describes each control sequence recognized by a VT200 or VT100 terminal in ANSI mode. Many of the sequences described in this appendix conform to the basic format, as specified by the ANSI X3.64 standard.
The syntax for control sequences is
<b class="bold">ESC [</b><span class="emphasis"><iPs/Pn F</i></span>
ESC [ is the lead-in sequence as specified by the ANSI standard. Sometimes it is referred to as the control sequence indicator. Ps refers to a selective parameter; Pn refers to a numeric parameter. Some sequences use selective parameters, and others use numeric parameters, the two never are used together. If the Ps or Pn value is not specified, the default value is assumed. F is the termination character of the sequence. It specifies the function to be performed. This character varies with each function.
The command syntax is
<b class="bold">ESC [</b><span class="emphasis"><ix<b class="bold">;</b>y</i></span> <b class="bold">r</b>
This command is used to set the top and bottom lines of the screen-scrolling region. The lines on the screen are numbered 1 through 24. The first numeric parameter, x, sets the top boundary. The second numeric parameter, y, sets the bottom boundary of the scrolling region. The default values are the entire screen (that is, x = 1 and y = 24).
The command syntax is
<b class="bold">ESC [</b><span class="emphasis"><iPn F</i></span>
By using a single control sequence, the cursor...