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E
|
U
|
e
|
u
|
| 6
|
ACK
|
SYN
|
&
|
6
|
F
|
V
|
f
|
v
|
| 7
|
BEL
|
ETB
|
'
|
7
|
G
|
W
|
g
|
w
|
| 8
|
BS
|
CAN
|
(
|
8
|
H
|
X
|
h
|
x
|
| 9
|
HT
|
EM
|
)
|
9
|
I
|
Y
|
i
|
y
|
| 10
|
LF
|
SUB
|
*
|
:
|
J
|
Z
|
j
|
z
|
| 11
|
VT
|
ESC
|
+
|
;
|
K
|
[
|
k
|
{
|
| 12
|
FF
|
IS4
|
,
|
<
|
L
|
\
|
l
|
|
|
| 13
|
CR
|
IS3
|
-
|
=
|
M
|
]
|
m
|
}
|
| 14
|
SO
|
IS2
|
.
|
>
|
N
|
^
|
n
|
~
|
| 15
|
SI
|
IS1
|
/
|
?
|
O
|
_
|
o
|
DEL
|
|
ESC Sequences
| Prefix
|
Description
|
Parameters
|
| (
|
End write-protected region
|
none
|
| )
|
Begin write-protected region
|
none
|
| *
|
Clear all to nulls
|
none
|
| +
|
Clear unprotected to Insert characters
|
none
|
| ,
|
Clear all to half intensity Insert characters
|
none
|
| -
|
Position cursor with page
|
Pp Pr Pc
|
| .
|
Set cursor attribute
|
Pc
|
| /
|
Read cursor page, row and column, terminal sends three position chars plus CR
|
(Format of cursor position sequences)
|
| 1
|
Set tabstop at current column
|
none
|
| 2
|
Clear tabstop at current column
|
none
|
| 3
|
Clear all tabstops
|
none
|
| 4
|
Send contents of unprotected fields on current line
|
none
|
| 5
|
Send contents of unprotected fields on current page
|
none
|
| 6
|
Send all of current line
|
none
|
| 7
|
Send all of current page
|
none
|
| :
|
Clear unprotected fields to nulls
|
none
|
| ;
|
Clear unprotecte fields to spaces
|
none
|
| <
|
Turn off keyclick
|
none
|
| =
|
Position cursor without page
|
Pr Pc
|
| >
|
Turn on keyblock
|
none
|
| ?
|
Read cursor row and column, terminal sends two position chars plus CR
|
(Format of cursor position sequences)
|
| @
|
Turn on extension mode (copy all incoming text to printer as well as screen)
|
none
|
| A
|
Turn off extension mode
|
none
|
| B
|
Switch to block mode
|
none
|
| C
|
Switch to conversational mode
|
none
|
| E
|
Insert a link
|
none
|
| G
|
Set video attributes
|
video mode
|
| I
|
Move to previous tabstop (conversational mode) or beginning of previous unprotected field (block mode)
|
none
|
| J
|
Switch to previous page
|
none
|
| K
|
Switch to next page
|
none
|
| M
|
Unblank the screen
|
none
|
| O
|
Blank the screen
|
none
|
| Q
|
Shift row right from current position and place a space under the cursor
|
none
|
| R
|
Delete the current line
|
none
|
| S
|
Send all unprotected text on screen between STX and ETX characters, position cursor to ETX; if no STX, use HOME position; if no ETX, use end of page but position to HOME after
|
none
|
| T
|
Erase to end-of-line with spaces
|
none
|
| U
|
Turn on monitor mode (display control characters rather than acting on them)
|
none
|
| W
|
Delete character under cursor, shift rest of line left one position
|
none
|
| X
|
Turn off monitor mode
|
none
|
| Y
|
Erase to end-of-page with spaces
|
none
|
| `
|
Turn on transparent print; all incoming characters are sent to printer, screen is not updated
|
none
|
| a
|
Turn off transparent print
|
none
|
| b
|
Set "normal" text to be black on light background
|
none
|
| d
|
Set "normal" test to be light on dark background
|
none
|
| f
|
Load user line (line 25)
|
Ps CR
|
| g
|
Display user line
|
none
|
| h
|
Do not display user line
|
none
|
| i
|
Move to beginning of next unprotected field (block mode)
|
none
|
| j
|
Move cursor up one line
|
none
|
| k
|
Set edit keys (line, char insert/delete) to have only local effect
|
none
|
| l
|
Set edit keys to send the relevant sequences to the host
|
none
|
| p
|
Set character set when print operation completes (default ACK)
|
none
|
| s
|
Send all text on screen between STX and ETX characters, position cursor to ETX; if no STX, use HOME position; if no ETX, use end of page but position to HOME after
|
none
|
| t
|
Erase to end of line with nulls
|
none
|
| u
|
Turn off monitor mode
|
none
|
| v
|
Automatically advance to next page upon reaching end-of-screen
|
none
|
| w
|
Do not automatically advance upon reaching end-of-screen
|
none
|
| x
|
Set termination character(s) sent after send operation
|
1xx or 4xx
|
| y
|
Erase to end of page with nulls
|
none
|
ESC G Parameters
| Value
|
Description
|
| 0
|
Normal
|
| 1
|
Blank
|
| 2
|
Blink
|
| 3
|
Invisible blink
|
| 4
|
Reverse
|
| 5
|
Invisible reverse
|
| 6
|
Reverse blink
|
| 7
|
Invisible reverse blink
|
| 8
|
Underline
|
| 9
|
Invisible underline
|
| :
|
Underline blink
|
| ;
|
Invisible Underline blank
|
| <
|
Underline reverse
|
| =
|
Invisible underline reverse
|
| >
|
Underline reverse blink
|
| ?
|
Invisible underline reverse blink
|
ESC x Parameters
| Value
|
Description
|
| 4 xx
|
Set character(s) sent at end of send operation - Requires two characters, send NUL as first if only one terminator character desired
|
| 1 xx
|
Set character(s) sent at end of line during send operation - Requires two characters, send NUL as first if only one terminator character desired
|
ESC space Parameters
| Value
|
Description
|
| 1 n hh mm
|
Set clock; n is A for AM or P for PM, hh is hours, mm is minutes
|
| 2
|
Read clock
|
Cursor address parameters (with page)
| Value
|
Description
{{ValueDescriptionRow|p|Ignored character (for compatibility with multi-page Televideo terminals)
|
| r
|
Row: character having ASCII code point of (desired row + 31) †
|
| c
|
Column: character have ASCII code point of (desired column + 31) †
|
† Note Row and column are 1-based.
Cursor address parameters (without page)
| Value
|
Description
|
| r
|
Row: character having ASCII code point of (desired row + 31) †
|
| c
|
Column: character have ASCII code point of (desired column + 31) †
|
† Note Row and column are 1-based.
ESC . Parameters
| Value
|
Description
|
| 0
|
Cursor off
|
| 1
|
Blinking block
|
| 2
|
Steady block
|
| 3
|
Blinking underline
|
| 4
|
Steady underline
|
|
|
ESC Sequences
| Prefix
|
Description
|
Parameters
|
| E
|
Line insert key
|
none
|
| I
|
Shifted tab key
|
none
|
| Q
|
Char insert key
|
none
|
| R
|
Line delete key
|
none
|
| T
|
Line erase key
|
none
|
| W
|
Char delete key
|
none
|
| Y
|
Page erase key
|
none
|
| t
|
Shifted line erase key
|
none
|
| y
|
Shifted page erase key
|
none
|
|