Difference between revisions of "CodeChart:Newbury Data NDR 9500/ESC"

From Terminals
Jump to: navigation, search
(Copy from TVI 925 chart, currently correcting differences)
 
(WIP check existing TVI 925 codes : up to ESC M)
Line 94: Line 94:
 
{{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|[[#prc|''(Format of cursor position sequences)'']]}}
 
{{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|Protect screen off : Set tabstop at current column ; Protect scren on : set protected space characters on current column from current line to first encoutered protected character}}
{{CodeDescriptionRow|2|clearcolumntab|Clear tabstop at current column}}
+
{{CodeDescriptionRow|2|clearcolumntab|Protect screen off : Clear tabstop at current column}}
 
{{CodeDescriptionRow|3|clearalltabs|Clear all tabstops}}
 
{{CodeDescriptionRow|3|clearalltabs|Clear all tabstops}}
{{CodeDescriptionRow|4|sendlineunpro|Send contents of unprotected fields on current line}}
+
{{CodeDescriptionRow|4|sendlineunpro|Send contents of unprotected fields on the current line from column 1 to cursor}}
{{CodeDescriptionRow|5|sendpageunpro|Send contents of unprotected fields on current page}}
+
{{CodeDescriptionRow|5|sendpageunpro|Send contents of unprotected fields on screen from home position to cursor}}
{{CodeDescriptionRow|6|sendlineall|Send all of current line}}
+
{{CodeDescriptionRow|6|sendlineall|Send contents of current line from column 1 to cursor}}
{{CodeDescriptionRow|7|sendpageall|Send all of current page}}
+
{{CodeDescriptionRow|7|sendpageall|Send contents of screen from home position to cursor}}
{{CodeDescriptionRow|:|clearunprotonulls|Clear unprotected fields to nulls}}
+
{{CodeDescriptionRow|:|clearunprotonulls|Protect character off : Clear unprotected fields to nulls ; Protect character on : clear unprotected fields to half-intensity spaces}}
{{CodeDescriptionRow|;|clearunprospaces|Clear unprotecte fields to spaces}}
+
{{CodeDescriptionRow|;|clearunprospaces|Protect character off : Clear unprotected fields to Insert Characters ; Protect character on : Clear unprotected fields to half-intensity Insert Characters}}
 
{{CodeDescriptionRow|<|keyclickoff|Turn off keyclick}}
 
{{CodeDescriptionRow|<|keyclickoff|Turn off keyclick}}
{{CodeDescriptionRow|<nowiki>=</nowiki>|cursorposrc|Position cursor without page|[[$#rc|''Pr'' ''Pc'']]}}
+
{{CodeDescriptionRow|<nowiki>=</nowiki>|cursorposrc|Position cursor|[[$#rc|''Pr'' ''Pc'']]}}
{{CodeDescriptionRow|&gt;|keyclickon|Turn on keyblock}}
+
{{CodeDescriptionRow|&gt;|keyclickon|Turn on keyclick}}
 
{{CodeDescriptionRow|?|cursorreadrc|Read cursor row and column, terminal sends two position chars plus CR|[[#rc|''(Format of cursor position sequences)'']]}}
 
{{CodeDescriptionRow|?|cursorreadrc|Read cursor row and column, terminal sends two position chars plus CR|[[#rc|''(Format of cursor position sequences)'']]}}
{{CodeDescriptionRow|@|extensionmodeon|Turn on extension mode (copy all incoming text to printer as well as screen)}}
+
{{CodeDescriptionRow|@|extensionmodeon|Turn on extension mode / printer mode 2 (copy all incoming text to printer as well as screen)}}
{{CodeDescriptionRow|A|extensionmodeoff|Turn off extension mode}}
+
{{CodeDescriptionRow|A|extensionmodeoff|Turn off extension mode / printer mode 2}}
 
{{CodeDescriptionRow|B|blockmodeon|Switch to block mode}}
 
{{CodeDescriptionRow|B|blockmodeon|Switch to block mode}}
 
{{CodeDescriptionRow|C|blockmodeoff|Switch to conversational mode}}
 
{{CodeDescriptionRow|C|blockmodeoff|Switch to conversational mode}}
{{CodeDescriptionRow|E|lineinsert|Insert a link}}
+
{{CodeDescriptionRow|E|lineinsert|Protect screen off : Insert a line}}
 
{{CodeDescriptionRow|G|setvideoattr|Set video attributes|[[#video-modes|video mode]]}}
 
{{CodeDescriptionRow|G|setvideoattr|Set video attributes|[[#video-modes|video mode]]}}
{{CodeDescriptionRow|I|backtab|Move to previous tabstop (conversational mode) or beginning of previous unprotected field (block mode)}}
+
{{CodeDescriptionRow|I|backtab|Protect screen off : Move to previous tabstop ; Protect screen on : move to the beginning of previous unprotected field if there is one}}
{{CodeDescriptionRow|J|backpage|Switch to previous page}}
 
{{CodeDescriptionRow|K|advancepage|Switch to next page}}
 
{{CodeDescriptionRow|M|screenblankoff|Unblank the screen}}
 
{{CodeDescriptionRow|O|screenblankon|Blank the screen}}
 
 
{{CodeDescriptionRow|Q|charinsert|Shift row right from current position and place a space under the cursor}}
 
{{CodeDescriptionRow|Q|charinsert|Shift row right from current position and place a space under the cursor}}
 
{{CodeDescriptionRow|R|linedelete|Delete the current line}}
 
{{CodeDescriptionRow|R|linedelete|Delete the current line}}
Line 151: Line 147:
 
{{ValueDescriptionHeader}}
 
{{ValueDescriptionHeader}}
 
{{ValueDescriptionRow|0|Normal}}
 
{{ValueDescriptionRow|0|Normal}}
{{ValueDescriptionRow|1|Blank}}
+
{{ValueDescriptionRow|1|Invisible}}
 
{{ValueDescriptionRow|2|Blink}}
 
{{ValueDescriptionRow|2|Blink}}
 
{{ValueDescriptionRow|3|Invisible blink}}
 
{{ValueDescriptionRow|3|Invisible blink}}
Line 167: Line 163:
 
{{ValueDescriptionRow|?|Invisible underline reverse blink}}
 
{{ValueDescriptionRow|?|Invisible underline reverse blink}}
 
|}
 
|}
 +
Parameter can be computed as 0x30 (ASCII 0) + 8*Underline + 4*Reverse  + 2*Blink + 1*Invisible
  
 
{| id="termination-char" class="wikitable"
 
{| id="termination-char" class="wikitable"
Line 185: Line 182:
 
|+ Cursor address parameters (with page)
 
|+ Cursor address parameters (with page)
 
{{ValueDescriptionHeader}}
 
{{ValueDescriptionHeader}}
{{ValueDescriptionRow|p|Ignored character (for compatibility with multi-page Televideo terminals)
+
{{ValueDescriptionRow|p|Ignored when sent, 0 when received (for compatibility with multi-page Televideo terminals)}}
 
{{ValueDescriptionRow|r|Row: character having ASCII code point of (desired row + 31) &dagger;}}
 
{{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;}}
 
{{ValueDescriptionRow|c|Column: character have ASCII code point of (desired column + 31) &dagger;}}

Revision as of 22:20, 8 November 2024

Subpages of ESC

Work In Progress checked up to (including) cursor appearance)

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
( 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 Protect screen off : Set tabstop at current column ; Protect scren on : set protected space characters on current column from current line to first encoutered protected character none
2 Protect screen off : Clear tabstop at current column none
3 Clear all tabstops none
4 Send contents of unprotected fields on the current line from column 1 to cursor none
5 Send contents of unprotected fields on screen from home position to cursor none
6 Send contents of current line from column 1 to cursor none
7 Send contents of screen from home position to cursor none
: Protect character off : Clear unprotected fields to nulls ; Protect character on : clear unprotected fields to half-intensity spaces none
; Protect character off : Clear unprotected fields to Insert Characters ; Protect character on : Clear unprotected fields to half-intensity Insert Characters none
< Turn off keyclick none
= Position cursor Pr Pc
> Turn on keyclick none
? Read cursor row and column, terminal sends two position chars plus CR (Format of cursor position sequences)
@ Turn on extension mode / printer mode 2 (copy all incoming text to printer as well as screen) none
A Turn off extension mode / printer mode 2 none
B Switch to block mode none
C Switch to conversational mode none
E Protect screen off : Insert a line none
G Set video attributes video mode
I Protect screen off : Move to previous tabstop ; Protect screen on : move to the beginning of previous unprotected field if there is one 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 Invisible
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

Parameter can be computed as 0x30 (ASCII 0) + 8*Underline + 4*Reverse + 2*Blink + 1*Invisible

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 Ignored when sent, 0 when received (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