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

From Terminals
Jump to: navigation, search
m
m
Line 102: Line 102:
 
{{CodeDescriptionRow|+|clearunprotospaces|Clear unprotected to spaces}}
 
{{CodeDescriptionRow|+|clearunprotospaces|Clear unprotected to spaces}}
 
{{CodeDescriptionRow|,|clearallhalfintens|Clear all to half intensity}}
 
{{CodeDescriptionRow|,|clearallhalfintens|Clear all to half intensity}}
{{CodeDescriptionRow|-|cursorposprc|Position cursor with page|P=prc; p=0 for page 1, 1 for page 2; r and c are chr$(desired position + 31)}}
+
{{CodeDescriptionRow|-|cursorposprc|Position cursor with page|[[#prc|''Pp'' ''Pr'' ''Pc'']]}}
 
{{CodeDescriptionRow|.|setcursorattr|Set cursor attribute|P=0, off; P=1, blinking block; P=2, steady block; P=3, blinking underline; P=4, steady underline}}
 
{{CodeDescriptionRow|.|setcursorattr|Set cursor attribute|P=0, off; P=1, blinking block; P=2, steady block; P=3, blinking underline; P=4, steady underline}}
 
{{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}}
Line 181: Line 181:
 
{| id="termination-char" class="wikitable"
 
{| id="termination-char" class="wikitable"
 
|+ ESC x Parameters
 
|+ ESC x Parameters
{{ValueDescriptionheader}}
+
{{ValueDescriptionHeader}}
 
{{ValueDescriptionRow|4xx|Set characters sent at end of send operation - Requires two characters, send NUL as first if only one terminator character desired}}
 
{{ValueDescriptionRow|4xx|Set characters sent at end of send operation - Requires two characters, send NUL as first if only one terminator character desired}}
 
{{ValueDescriptionRow|1xx|Set characters sent at end of line during send operation - Requires two characters, send NUL as first if only one terminator character desired}}
 
{{ValueDescriptionRow|1xx|Set characters sent at end of line during send operation - Requires two characters, send NUL as first if only one terminator character desired}}
Line 188: Line 188:
 
{| id="clock-params" class="wikitable"
 
{| id="clock-params" class="wikitable"
 
|+ ESC space Parameters
 
|+ ESC space Parameters
{{ValueDescriptionheader}}
+
{{ValueDescriptionHeader}}
 
{{ValueDescriptionRow|1 N HH MM|Set clock; N is A for AM or P for PM, HH is hours, MM is minutes}}
 
{{ValueDescriptionRow|1 N HH MM|Set clock; N is A for AM or P for PM, HH is hours, MM is minutes}}
 
{{ValueDescriptionRow|2|Read clock}}
 
{{ValueDescriptionRow|2|Read clock}}
 +
|}
 +
 +
{| id="prc" class="wikitable"
 +
|+ Cursor address parameters
 +
{{ValueDescriptionHeader}}
 +
{{ValueDescriptionRow|p|Page: 0 for page 1, 1 for page 2}}
 +
{{ValueDescriptionRow|r|Row: character having ASCII code point of (desired row + 31)}}
 +
{{ValueDescriptionRow|c|Column: character have ASCII code point of (desired column + 31)}}
 +
|}
 +
 +
† '''Note''' Row and column are 1-based.
 +
 
|}
 
|}
  
 
|}
 
|}

Revision as of 03:31, 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 none
/ Read cursor page, row and column, terminal sends three position chars plus CR none
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 none
> 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 Ps none
g Display user line (line 25) 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
4xx Set characters sent at end of send operation - Requires two characters, send NUL as first if only one terminator character desired
1xx Set characters 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
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.

|}