ANSI Mode Host Commands
56
ANSI Mode Host Command Summary
The following table is a summary of the available ANSI mode host commands.
Table 5-4: ANSI Mode Host Command Summary
Type Command
Syntax
Cursor Up
Esc [Pn A
Cursor Down
Esc [Pn B
Cursor Right
Esc [Pn C
Cursor Left
Esc [Pn D
Cursor Position
Esc [Pr; Pc f
or
Esc [Pr; Pc H
Cursor Home & Clear Display
Esc [1s
Save Cursor Position
Esc [s
Restore Cursor Position
Esc [u
Enable Cursor
Esc [4t
Disable Cursor
Esc [5t
Enable Cursor Blink
Esc [6t
or
Esc [3; 0z
Disable Cursor Blink
Esc [7t
or
Esc [3; 1z
Cursor
Invisible Cursor
Esc [3; 4z
Erase Cursor to End of Line
Esc [K
Erase Start of Line to Cursor
Esc [1K
Erase Entire Line
Esc [2K
Erase Cursor to End of Display
Esc [J
Erase Start of Display to Cursor
Esc [1J
Erasure
Erase Entire Display
Esc [2J
Set Blink Attribute
Esc [2s
or
Esc [5; m
Clear Blink Attribute
Esc [3s
Set Reverse Video Attribute
Esc [7; m
Character Attributes
Clear All Character Attributes
Esc [0; m
Short Bell
Esc [0q
Long Bell
Esc [1q
Alert
Esc [2q
Sound
Key Click
Esc [3q