Difference between revisions of "CodeChart:TeleVideo 925/925 Mode/ESC"

From Terminals
Jump to: navigation, search
m
m
Line 104: Line 104:
 
{{CodeDescriptionRow|-|cursorposprc|Position cursor with page|[[#prc|''Pp'' ''Pr'' ''Pc'']]}}
 
{{CodeDescriptionRow|-|cursorposprc|Position cursor with page|[[#prc|''Pp'' ''Pr'' ''Pc'']]}}
 
{{CodeDescriptionRow|.|setcursorattr|Set cursor attribute|[[#cursor-attr|''Pc'']]}}
 
{{CodeDescriptionRow|.|setcursorattr|Set cursor attribute|[[#cursor-attr|''Pc'']]}}
{{CodeDescriptionRow|/|cursorreadprc|Read cursor page, row and column, terminal sends three position chars plus CR}}
+
{{CodeDescriptionRow|/|cursorreadprc|Read cursor page, row and column, terminal sends three position chars plus CR|[[$prc|(Format of cursor position sequences)]]}}
 
{{CodeDescriptionRow|1|setcolumntab|Set tabstop at current column}}
 
{{CodeDescriptionRow|1|setcolumntab|Set tabstop at current column}}
 
{{CodeDescriptionRow|2|clearcolumntab|Clear tabstop at current column}}
 
{{CodeDescriptionRow|2|clearcolumntab|Clear tabstop at current column}}
Line 115: Line 115:
 
{{CodeDescriptionRow|;|clearunprospaces|Clear unprotecte fields to spaces}}
 
{{CodeDescriptionRow|;|clearunprospaces|Clear unprotecte fields to spaces}}
 
{{CodeDescriptionRow|<|keyclickoff|Turn off keyclick}}
 
{{CodeDescriptionRow|<|keyclickoff|Turn off keyclick}}
{{CodeDescriptionRow|<nowiki>=</nowiki>|cursorposrc|Position cursor without page|P=rc; p=0 for page 1, 1 for page 2; r and c are chr$(desired position + 31)}}
+
{{CodeDescriptionRow|<nowiki>=</nowiki>|cursorposrc|Position cursor without page|[[$#rc|''Pr'' ''Pc'']]}}
 
{{CodeDescriptionRow|&gt;|keyclickon|Turn on keyblock}}
 
{{CodeDescriptionRow|&gt;|keyclickon|Turn on keyblock}}
 
{{CodeDescriptionRow|?|cursorreadrc|Read cursor row and column, terminal sends two position chars plus CR}}
 
{{CodeDescriptionRow|?|cursorreadrc|Read cursor row and column, terminal sends two position chars plus CR}}
Line 141: Line 141:
 
{{CodeDescriptionRow|b|blackongreen|Set "normal" text to be black on light background}}
 
{{CodeDescriptionRow|b|blackongreen|Set "normal" text to be black on light background}}
 
{{CodeDescriptionRow|d|greenonblack|Set "normal" test to be light on dark background}}
 
{{CodeDescriptionRow|d|greenonblack|Set "normal" test to be light on dark background}}
{{CodeDescriptionRow|f|loaduserline|[[#userline|''Ps'']]}}
+
{{CodeDescriptionRow|f|loaduserline|Load user line (line 25)|[[#userline|''Ps'']]}}
{{CodeDescriptionRow|g|userlineon|Display user line (line 25)}}
+
{{CodeDescriptionRow|g|userlineon|Display user line}}
 
{{CodeDescriptionRow|h|userlineoff|Do not display user line}}
 
{{CodeDescriptionRow|h|userlineoff|Do not display user line}}
 
{{CodeDescriptionRow|i|fieldtabs|Move to beginning of next unprotected field (block mode)}}
 
{{CodeDescriptionRow|i|fieldtabs|Move to beginning of next unprotected field (block mode)}}
Line 194: Line 194:
  
 
{| id="prc" class="wikitable"
 
{| id="prc" class="wikitable"
|+ Cursor address parameters
+
|+ Cursor address parameters (with page)
 
{{ValueDescriptionHeader}}
 
{{ValueDescriptionHeader}}
 
{{ValueDescriptionRow|p|Page: 0 for page 1, 1 for page 2}}
 
{{ValueDescriptionRow|p|Page: 0 for page 1, 1 for page 2}}
Line 203: Line 203:
 
&dagger; '''Note''' Row and column are 1-based.
 
&dagger; '''Note''' Row and column are 1-based.
  
{| id="cursor-attribute" class="wikitable"
+
{| id="rc" class="wikitable"
 +
|+ Cursor address parameters (without page)
 +
{{ValueDescriptionHeader}}
 +
{{ValueDescriptionRow|r|Row: character having ASCII code point of (desired row + 31) &dagger;}}
 +
{{ValueDescriptionRow|c|Column: character have ASCII code point of (desired column + 31) &dagger;}}
 +
|}
 +
 
 +
&dagger; '''Note''' Row and column are 1-based.
 +
 
 +
{| id="cursor-attr" class="wikitable"
 
|+ ESC . Parameters
 
|+ ESC . Parameters
 
{{ValueDescriptionHeader}}
 
{{ValueDescriptionHeader}}

Revision as of 03:41, 10 February 2014

Subpages of ESC

Received
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 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
Transmitted
0 1 2 3 4 5 6 7
0 NUL DLE SP 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 " 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAQ % 5 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
space Clock set or read Params
( Begin write-protected region none
) End write-protected region none
* Clear all to nulls none
+ Clear unprotected to spaces none
, Clear all to half intensity 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 none
@ Turn on extension mode (copy-print) 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
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
p Page: 0 for page 1, 1 for page 2
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