|
Cursor Control |
| Carriage Return | CTRL M |
| Cursor Backtab | ESC [ Ps Z |
Ps is a variable that represents the
number of Tab stop |
| Cursor Horizontal Absolute | ESC [ Ps G |
Ps is a variable that represents
the amount of columns that the
cursor is moved to |
| Cursor Horizontal Tab | ESC [ Ps I,CTRL I |
Ps is a variable that tabs cursor
forward Ps tab stops |
| Cursor Next Line ; no scroll | ESC [ Ps E,CTRLJ,CTRLK,CTRLL,[Line Feed] |
Ps is a variable that moves cursor
down Ps rows and to column 1 |
| Cursor next line scroll | ESC E |
| Cursor preceding line | ESC [ Ps F |
Ps is a variable which equals
the number of lines that you
want to move the cursor up the
screen and back to column 1. |
| Cursor Backward | ESC [ Ps D,CTRL H,Backspace, [Left Arrow] |
Ps is a variable that moves cursor
left Ps columns |
| Cursor Down | ESC [ Ps B,CTRL J,CTRL K,CTRL L,[Down arrow] |
Ps is a variable that Moves cursor
down PS rows |
| Cursor Forward | ESC [ Ps C |
Ps is a variable that Moves cursor
right Ps columns |
| |
|
Cursor Controls |
| Cursor Home | ESC [ H,ESC [ f,Home,[shift/CTRL/Home] |
| Cursor Position | ESC [ Ps ; Ps1 H,ESC [ Ps;Ps1 f |
Ps and Ps1 are variables that
represent values that Moves cursor
to Ps lines, and Ps1 columns ,
(equivalent to CUP) |
| |
|
Cursor Control |
| Index | ESC D |
| |
|
Cursor Controls |
| Reverse Index | ESC M |
| |
|
Cursor Control |
| Restore Cursor | ESC 8,ESC [ u |
| Save Cursor | ESC 7, ESC [ s |
| |
|
Display Control |
| Begin Field attribute | ESC [ Ps p |
Ps is a variable representing
Ps =0 normal
1 dim
2 blink
3 blink dim
4 blank
5 blank dim
6 blank
7 blank dim
8 underline
9 underline dim
10 underline blink
11 underline blink dim
12 underline blank
13 underline blank dim
14 Underline blank blink
15 underline blank blink dim
16 Inverse
17 inverse dim
18 inverse blink
19 Inverse blink dim
20 inverse blank
21 inverse blank dim
22 inverse blank
23 inverse blank dim
24 inverse underline
25 inverse underline dim
26 inverse underline blink
27 inverse underline blink
dim
28 inverse underline blank
29 inverse underline blank
dim
30 inverse underline blank
blink
31 inverse underline blank
blink di |
| Change go character set to graphics | ESC ( 0 |
| Change go character set to standard ascii | ESC ( B |
| Change go character set to UK | ESC ( A |
| Change G1 character set to graphics | ESC ) 0 |
| Change G1 character set to standard ascii | ESC ) B |
| Change G1 character set to UK | ESC ) A |
| Define non-normal (enhance) attribute (SGR,non-0 | ESC [ Ps t, setup level 1] |
Ps is a variable that represents
the following attribute values
Ps = 0 Dim
1 Inverse
2 Underlin |
| Define non-normal (enhance) attribute | ESC [ PS t,[setup level 1] |
Defines the enhance attribute
(see SGR,Non-0)
Ps = 0 dim
1 inverse
2 underline |
| Delete Character | ESC [ Ps P [shift F13] |
Ps is a variable representing
characters to be deleted beginning
at the cursor column |
| Delete line | ESC [ Ps M, F5 |
Ps is a variable which deletes
Ps lines beginning at the cursor line
|
| Disable double-wide emulation | ESC # 5 |
| Emulate double-wide emulation | ESC # 3,ESC # 4,ESC # 6 |
| |
|
Display Controls |
| Erase Character | ESC [ Ps X |
Ps is a variable that erases Ps
characters beginning at the
cursor column |
| Erase in Display | ESC [ Ps J,ESC [ ? PsJ,[S/F16],S/CTRL/HOME |
Ps is a variable that Erases data
on the screen
Ps = 0 rase from cursor to end
1 Erase from beginning to cursor
2 Erase All |
| |
|
Display Control |
| Erase in line | ESC [ Ps K,ESC [ ? Ps K,[Shift F5] |
Ps is a variable that Erases data
in the cursor row
Ps = 0 Erase from cursor to end
1 Erase from beginning to cursor
2 Erase All |
| |
|
Display Controls |
| Horizontal tabulation set | ESC H ,TAB setup level 22 |
| |
|
Display Control |
| Insert Character | ESC [ Ps @, F4 |
Ps is a variable that Inserts Ps
blank characters beginning at the
cursor column |
| Insert Character | ESC [ Ps @, F4 |
Ps is a variable that Inserts Ps
blank characters beginning at the
cursor column |
| Insert Line | ESC [ Ps L, shift F4 |
Ps is a variable that Inserts Ps
blank rows beginning at the
cursor column |
| . | ESC [ Ps1 ; Ps2 ; ... Psn q |
Default = 0
Ps value Action
------------------------
0 L1 to L4 OFF
1 L1 ON
2 L2 ON
3 L3 ON
4 L4 ON
Ps values may be grouped
in any combinations
(separated by a ";") |
| Cursor Position | ESC [ PS;PS1 H,ESC [ PS;PS1f |
| |
|
Display Controls |
| Screen Alignment display | ESC # 8 |
| |
|
Display Control |
| Scroll faster | CTRL (up arrow) |
| Scroll slower | Ctrl (down arrow) |
| Select GO character set | CTRL O |
| Select G1 Character set | CTRL N |
| Select graphic rendition | ESC [ Ps ; Ps1 ; ...Pn m |
Ps is a variable that sets video
attributes
Ps = 0
Enhance =non-0
Characters in the graphics set
always have the normal attribute,
but the line drawing characters
are always treated as enhanced for
purposes of clear and transfer
protection |
| Set top and bottom margin | ESC [ Ps ; Ps1 ; r |
Ps is a variable that defines
a scrolling region with
Ps = Beginning line number
Ps1= Ending line number
If Ps is 0 or absent it defaults
to line 24 |
| Status line display ON/OFF | CTRL (left arrow) |
| Tabulation clear | ESC [ Ps g |
Ps is a variable that clears
tab stops
Ps = 0 Clears the tab stop at
the cursor column
= 3 Clears all tab stops |
| |
|
Mode Control |
| 132 column mode OFF | ESC [ ? 3 (L) setup level 4 |
| 132 column mode ON | ESC [ ? 3 h setup level 4 |
| ATS parsing mode ON | ESC [ ? 2 l setup level 1 |
| Auto Repeat mode OFF | ESC [ ? 8 l setup level 1 |
| Auto repeat mode ON | ESC [ ? 8 h setup level 1 |
| Block mode OFF | ESC [ ? 10 l BLOCK |
| Block mode ON | ESC [ ? 10 h BLOCK |
| Caps lock mode ON/OFF | CAPS LOCK |
| Character wrap mode OFF | ESC [ ? 7 l setup level 1 |
| Character wrap mode ON | ESC [ ? 7 h setup level 1 |
| Clear enhanced data mode OFF | ESC [ 6 l |
| Clear enhanced data mode ON | ESC [ 6 h |
| Clear enhanced data mode OFF | ESC [ 6 l |
| Clear Enhance data mode ON | ESC [ 6 h |
| Copy passthru print mode OFF | ESC [ ? 4 i [F1] |
| Copy passthru print mode ON | ESC [ ? 5 i [F1] |
| CRT saver mode OFF | ESC [ 32 l setup level 4 |
| CRT saver mode ON | ESC [ 32 h setup level 4 |
| Cursor key node OFF | ESC [ ? 1 l |
| Cursor key mode ON | ESC [ ? 1 h |
| Cursor transfer termination mode OFF | ESC [ 16 l |
| Cursor Transfer termination mode ON | ESC [ 16 h |
| Disable control execution mode OFF | ESC [ 13 l CTRL (left arrow) |
| Disable control execution mode ON | ESC [ 13 h CTRL (left arrow) |
| Display disable mode OFF | ESC [ 30 l |
| Display disable mode ON | ESC [ 30 h |
| Enable cursor mode OFF | ESC [ ? 25 l setup level 4 |
| Enable cursor mode ON | ESC [ ? 25 h setup level 4 |
| Insert character mode OFF | ESC [ 4 l [shift F12] |
| Insert character mode ON | ESC [ 4 h [shift F12] |
| Key click mode ON/OFF | shift/CTRL/ENTER |
| Keyboard lock mode OFF | ESC [ 2 l |
| Keyboard lock mode ON | ESC [ 2 h |
| Keypad to application mode | ESC = |
| Keypad to numeric mode | ESC > |
| Local echo disable mode OFF (FDX) | ESC [ 12 l setup level 2 |
| Local disable mode ON (HDX) | ESC [ 12 h setup level 2 |
| Local mode ON/OFF | Local |
| Monitor Mode OFF | ESC [ 3 l CTRL(left arrow) |
| Monitor Mode ON | ESC [ 3 h CTRL(left arrow) |
| Newline mode OFF | ESC [ 20 l setup level 1 |
| Newline mode ON | ESC [ 20 h setup level 1 |
| Newline mode ON | ESC [ 20 h setup level 1 |
| No Scroll ON/OFF | NO SCROLL |
| |
|
Mode Controls |
| Origin Mode OFF | ESC [ ? 6 l |
| |
|
Mode Control |
| Origin mode ON | ESC [ 6 h |
| Print form feed mode OFF | ESC [ ? 18 l |
| Print form feed mode ON | ESC [ ? 18 h |
| Print Full screen OFF | ESC [ ? 19 l |
| Print full screen ON | ESC [ ? 19 h |
| Reset Mode | ESC [ Ps ; Ps1 ; ...Pn l |
Ps is a variable that turns off
terminal modes
Ps = 1 transfer enhanced data modes
2 Keyboard lock mode
3 Monitor mode
4 insert character mode
6 clear enhanced data mode
12 Local echo disable mode
13 disable control execution
mode
16 cursor transfer termination
mode
20 newline mode
?1 cursor key mode
?2 ansi mode(when off ats
mode is enabled)
?3 132-column mode
?4 smooth scroll
?5 reverse screen mode
?6 origin mode
?7 character wrap mode
?8 auto repeat mode
?10 block mode
?18 print form feed mode
?19 print full screen mode
?25 enable cursor mode
30 display disable mode
31 status line display mode
32 steady cursor mode
34 underline cursor mode
35 width change clear mode
disable mode |
| Reset Mode | ESC [ Ps ; Ps1 ; ...Pn l |
Ps is a variable that turns off
terminal modes
Ps = 1 transfer enhanced data modes
2 Keyboard lock mode
3 Monitor mode
4 insert character mode
6 clear enhanced data mode
12 Local echo disable mode
13 disable control execution
mode
16 cursor transfer termination
mode
20 newline mode
?1 cursor key mode
?2 ansi mode(when off ats mode
is enabled)
?3 132-column mode
?4 smooth scroll
?5 reverse screen mode
?6 origin mode
?7 character wrap mode
?8 auto repeat mode
?10 block mode
?18 print form feed mode
?19 print full screen mode
?25 enable cursor mode
30 display disable mode
31 status line display mode
32 steady cursor mode
34 underline cursor mode
35 width change clear mode
disable mode |
| Reverse Screen mode OFF | ESC [ ? 5 h setup level 4 |
| Reverse Screen mode ON | ESC [ ? 5 h setup level 4 |
| Set Mode | ESC [ Ps ; Ps1; ...Pn h |
Ps is a variable that turns on
terminal modes
Ps = 1 transfer enhanced data modes
2 Keyboard lock mode
3 Monitor mode
4 insert character mode
6 clear enhanced data mode
12 Local echo disable mode
13 disable control execution mode
16 cursor transfer termination mode
20 newline mode
?1 cursor key mode
?2 ansi mode(when off ats mode
is enabled)
?3 132-column mode
?4 smooth scroll
?5 reverse screen mode
?6 origin mode
?7 character wrap mode
?8 auto repeat mode
?10 block mode
?18 print form feed mode
?19 print full screen mode
?25 enable cursor mode
30 display disable mode
31 status line display mode
32 steady cursor mode
34 underline cursor mode
35 width change clear mode
disable mode |
| Smooth scroll mode OFF | ESC [ ? 4 l CTRL(up aarrow |
| Smooth scroll mode ON | ESC [ ? 4 h CTRL(down arrow) |
| Status line display mode OFF | ESC [ 31 l CTRL(left arrow) |
| Status line display mode OFF | ESC [ 31 l CTRL(left arrow) |
| Status line display mode ON | ESC [ 31 h CTRL(right arrow) |
| Steady cursor mode OFF | ESC [ 33 l setup level 4 |
| Steady cursor mode ON | ESC [ 33 h setup level 4 |
| Transfer enhanced data mode OFF | EDSC [ 1 l |
| |
|
Mode Controls |
| Transfer enhanced data mode ON | ESC [ 1 h |
| |
|
Mode Control |
| Transparent passthru print mode OFF | ESC [ 4 i shift F-1 |
| Transparent passthru print mode ON | ESC [ 5 i , shift F1 |
| Underline cursor mode OFF | ESC [ 34 l setup level 4 |
| Underline cursor mode ON | ESC [ 34 h setup level 4 |
| Width change clear disable mode OFF | ESC [ 35 l |
| Width change clear disable mode ON | ESC [ 35 h |
| |
|
Terminal Control |
| Divice status report | ESC [ Ps n |
Ps is a variable that requests
a status report where
Ps = 5 reports the status of a
device (sends ESC [ 0 n if
terminal is OK and ready)
6 reports the cursor position
(sends ESC [ Ps; Ps1 ; R for
cursor at line Ps and
column Ps1
?15 reports the printer status
(sends ESC [ ? 10 n if the
printer is ready) and
(ESC [ ? 11 n if it is
not ready) |
| Display setup parameters | SET UP |
| Identify Terminal | ESC Z ESC b(space) |
| Preform soft reset | ESC ! p shift SETUP |
| Reset to initial State | ESC c shift CTRL/SETUP |
| |
|
Transmission Control |
| Abort escape code sequence | CTRL X CTRL Z Shift/DELETE |
| Break | Break |
| Copy cursor line to auxiliary port | ESC [ ? 1 l shift F-2 |
| Copy cursor line to modem port | ESC [ ? 3 i F-2 |
| Copy entire screen to auxiliary port | ESC [ 0 i shift F-3 |
| Copy entire screen to modem port | ESC [ 2 i F-3 |
| Delay Processing | ESC , |
| Device Attribute | ESC [ 0 c |
| Disconnect Break | Shift BREAK |
| Initiate escape code sequences | CTRL [ ESC |
| Load Text | ESC [ > Ts delim Ts1 Ts2 ... Tn delim |
Ts is a variable that loads
text (executiable only from host
computer, where Ts is + to -
(host message field text) :
+ TOP Line (up to 39 characters
for 80-column screen; 67
characters for 132-column
screen)
, Unshifted bottom Line (up to
78 characters for 80-column
screen; 130 characters for
132-column screen)
- Shifted bottom line (up to 78
characters for 80-column screen;
130 characters for 132-column
screen)
Where Ts is a top (function key
data strings for F6 to F21,
up to 16 characters each)
a F6
b F7
c F8
d F9
e F10
f F11
g F12
h F13
i F15
j F15 (HELP)
k F16 (DO)
l shift F6 ,(F17)
m shift F7 ,(F18)
n shift F8 ,(F19)
o shift F9 ,(F20)
p shift F10,(F21) |
| Media Copy | ESC [ Ps i |
Ps is a variable that controls media
copy operations
Ps = 0 copy the entire screen to
auxiaiary(printer) port
2 copy the entire screen
display to modem (host)
port
4 disable the transparent
pass-thru print mode
5 enable the transparent
passthru print mode.Only
ESC c and ESC [ 4 i are
acted on.
?1 copy the cursor line to
the auxilary(printer)Port
?3 copy the cursor line to
the modem(host) Port
?4 diaable the copy passthru
print mode
?5 enable the copy passthru
print mode |
| Resume transmission (XON) | CTRL Q |
| Return Ack | CTRL E |
| Send delete/rubout character, 7FH | DELETE |
| |
|
Transmission Control |
| Sound bell | CTRL G |
| |
|
Transmission Control |
| Suspend transmission (XOFF) | CTRL S |
| Transmit character at cursor | ESC 5 |