VT510 Video Terminal Programmer Information

12 ASCII Escape Sequences

This chapter summarizes the ASCII escape and control Sequences that the VT510 recognizes when it is operating in its ASCII emulation modes.

12.1 ASCII Communications

Table 12–1 lists the serial port control functions for each mode. The word "same" in Table 12–1 signifies the same control sequence as the WYSE 160/60 column.

Table 12–1 Serial Port Control Functions
ACK Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
ACK Mode On (default) ESC e 7 n/a same same EnH EnH EnH EnH
ACK Mode Off ESC e 6 n/a same same EnH EnH EnH EnH
Answerback Mode
Answerback Off (default) ESC e Sp n/a same n/a n/a n/a EnH
Answerback On ESC e ! n/a same same n/a n/a n/a n/a
Answerback Message ESC c ; answer Ctrl/Y
ESC ] answer Ctrl/M
same same n/a n/a n/a EnH
Send Answerback message – Format 1: ESC c < n/a same same n/a n/a n/a EnH
Format 2: Ctrl/E same same same same same same EnH
Conceal Answerback ESC c = n/a same same n/a n/a n/a EnH
Assign Serial Ports
S1=comm1 (host) ESC e 8 n/a same same EnH EnH EnH EnH
S1=comm2 (host) ESC e 9 n/a same same EnH EnH EnH EnH
Monitor Mode
Monitor Mode Off (default) ESC u or ESC X same same same same same same EnH on or off
Monitor Mode On ESC U same same same same same same EnH
Receive Null Character Mode
Ignore Null Characters from Host (default) ESC e R n/a same same EnH EnH EnH EnH
Accept Null Characters from Host ESC e S n/a same same EnH EnH EnH EnH
Set Serial Port Parameters
Set Comm1 parameters ESC c 0 Baud Stop Parity Word ESC { Baud Stop Parity Word
n/a same same n/a n/a EnH
Set Comm2 parameters ESC c 1 Baud Stop Parity Word ESC } Baud Stop Parity Word
n/a same same n/a n/a EnH
Baud (Comm1) Baud (Comm2) Description
D N/A 115200
B N/A 76800
C N/A 56700
0 @ (4/0) 38400
1 0 (3/0) 19200
2 1 (3/1) 9600
3 3 (3/3) 4800
4 5 (3/5) 2400
7 8 (3/8) 1200
8 9 (3/9) 600
9 : (3/10) 300
Stop Description
0 (3/0) 1 Stop Bit (default)
1 (3/1) 2 Stop Bits
Word Description
0 (3/0) 7 bits
1 (3/1) 8 bits (default)
Parity Description
0 (3/0) No Parity (default)
1 (3/1) Odd Parity
2 (3/2) Mark Parity
3 (3/3) Even Parity
4 (3/4) Space Parity
Serial Port Handshaking
Set Comm1 Receive ESC c 2 Handshaking
n/a same same n/a n/a n/a EnH
Set Comm2 Receive ESC c 3 Handshaking
n/a same same n/a n/a n/a EnH
Set Comm1 Transmit ESC c 4 Handshaking
n/a same same n/a n/a n/a EnH
Set Comm2 Transmit ESC c 5 Handshaking
n/a same same n/a n/a n/a EnH
Handshaking Receive Flow Control Transmit Flow Control
0 None None (default)
1 XON-XOFF/XPC (default) XON/XOFF
2 DTR DSR
3 XON-XOFF/XPC and DTR XON/XOFF and DSR
Set Host port Receive to DTR n/a Ctrl/N n/a n/a Ctrl/N Ctrl/N Ctrl/N n/a
Set Host port Receive to XON/XOFF or XPC n/a Ctrl/O n/a n/a Ctrl/O Ctrl/O Ctrl/O n/a
Set Duplex Mode
Full-Duplex On (default) ESC D F ESC } same same same same same EnH
Half-Duplex On ESC D H ESC { same same same same same EnH
Set Block Mode
Block Mode Off (default) ESC C same same same Wyse Wyse Wyse EnH
Block Mode On ESC B same same same same same or ESC c same or ESC c EnH
Set Local Mode
Set Local Mode n/a n/a n/a n/a ESC c n/a n/a n/a
Set Maximum Transmit Rate Limit
Transmit Speed ESC c 6 Max n/a same same n/a n/a n/a EnH
Function Keys ESC c 7 Max n/a same same n/a n/a n/a EnH
Max Characters Per Second
0 30
1 50
2 No Limit (default)
3 150

12.2 Terminal Management

Table 12–2 lists the terminal management control functions. The word "same" in Table 12–2 signifies the same control sequence as in the WYSE 160/60 column.

Table 12–2 Terminal Management Control Functions
Select Terminal Personality WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
ADDS A2 ESC ~ % ESC v % same as 160/60 same Wyse Wyse Wyse Wyse
TVI 950 ESC ~ ( ESC v ( same same Wyse Wyse Wyse Wyse
TVI 925 ESC ~ $ ESC v $ same same Wyse Wyse Wyse Wyse
TVI 910 ESC ~ # ESC v # same same Wyse Wyse Wyse Wyse
VT510, 7-bit ESC ~ < ESC v < same same Wyse Wyse Wyse Wyse
VT510, 8-bit ESC ~ = ESC v = same same Wyse Wyse Wyse Wyse
VT100 ESC ~ ; ESC v ; same same Wyse Wyse Wyse Wyse
VT52 ESC ~ 6 ESC v 6 same same Wyse Wyse Wyse Wyse
WYSE 160/60 ESC ~ 4 ESC v 4 same same Wyse Wyse Wyse Wyse
WYSE 160/60 PCTerm ESC ~ 5 ESC v 5 same same Wyse Wyse Wyse Wyse
WYSE 150/120 ESC ~ 3 ESC v 3 same same Wyse Wyse Wyse Wyse
WYSE 50+ ESC ~ " ESC v " same same Wyse Wyse Wyse Wyse
Send Terminal ID
Inquire emulation ID ESC Sp n/a same same ESC M ESC M ESC M EnH
Set Enhanced Mode
Enhanced Mode On (EnH) (default) ESC ~ ! ESC v ! same same Wyse Wyse Wyse Wyse
Enhanced Mode Off ESC ~ Sp ESC v Sp same same Wyse Wyse Wyse Wyse
Save Set-Up Modes
To NVM (except Tabs) ESC c V n/a same same n/a n/a n/a EnH
To NVM with Tabs ESC c W n/a same same n/a n/a n/a EnH
Select Terminal Defaults
PCTerm Mode Group1 n/a ESC m n/a n/a n/a n/a n/a n/a
All Modes2 ESC c T n/a same same n/a n/a n/a EnH
Power On Reset ESC c X n/a same same n/a n/a n/a EnH
Load/Send Time of Day
Load Time of Day3 ESC c 8 Hr Min
ESC Sp 1 a/p Hr Min
same same ESC Sp 1 a/p Hr Min EnH
Send Time of Day n/a ESC Sp 2 n/a n/a ESC Sp 2 ESC Sp 2 ESC Sp 2 n/a

1Sets the following parameters for PCTerm mode:

  • Autoscroll = On
  • Received CR = CR
  • Communication Mode = Full Duplex
  • Enhanced Mode = Off
  • Wrap EOL = Off
  • Attribute = Char

2Sets the parameters shown in Table 11-2.

3Hour ranges from 00 to 23; Minute ranges from 00 to 59 decimal. Entering "00" in hour is displayed as 12 AM. The a/p is a single character—a = AM, p = PM.

12.3 Keyboard Processing

Table 12–3 lists the keyboard processing control functions. The word "same" in Table 12–3 signifies the same control sequences as in the WYSE 160/60 column.

Table 12–3 Keyboard Processing Control Functions
Locking the Keyboard WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Unlock keyboard (default) Ctrl/N or ESC " ESC " same same ESC " ESC " ESC " Ctrl/B ESC 6
Lock keyboard Ctrl/O or ESC # ESC # same same ESC # ESC # ESC # Ctrl/D ESC 5
Enable/Disable Key Repeat
Key Repeat On (default) ESC e - n/a same same EnH EnH EnH EnH
Key Repeat Off ESC e , n/a same same EnH EnH EnH EnH
Caps Lock
Caps Lock off ESC e ' n/a same same EnH EnH EnH EnH
Caps Lock on ESC e & n/a same same EnH EnH EnH EnH
Lock key=Caps Lock (default) ESC e T n/a same same EnH EnH EnH EnH
Lock key=Shift Lock ESC e V n/a same same EnH EnH EnH EnH
Lock key=Reverse Lock ESC e U n/a same same EnH EnH EnH EnH
Keycode Mode
ASCII Key Codes1 ESC e H ESC c same same EnH EnH EnH EnH
PC Scan Codes ESC e I ESC H same same EnH EnH EnH EnH
Keyclick
On (default) ESC e % ESC > same same ESC > ESC > ESC > EnH
Off ESC e $ ESC < same same ESC < ESC < ESC < EnH
Margin Bell
Sound Bell Ctrl/G same same same same same same same
Select Bell tone ESC c \ Tone n/a same Wyse n/a n/a n/a EnH
Tone Description
0 Off
1 Low pitch
2 High pitch
3 High pitch
Margin Bell off (default) ESC e L ESC n same same EnH EnH EnH EnH
Margin Bell on2 ESC e M ESC o same same EnH EnH EnH EnH
Set Margin Bell at cursor ESC ` J n/a same same n/a n/a n/a EnH
Set Margin Bell on and set position n/a ESC o n/a n/a n/a n/a n/a n/a
Modifier Keys
Request Status Inquiry n/a ESC [ n/a n/a n/a n/a n/a n/a
Report: 81(Hex) + a
where a indicates the modifier key being pressed as follows:
Bit Modifier Key
0 Caps lock
1 Always 0
2 Always 0
3 Scroll lock On
4 Alt
5 Ctrl
6 Num lock On
7 Shift key
Redefining Keys3
Program Function keys4 ESC z Fkey Seq DEL
n/a same same Wyse Wyse Wyse EnH
Fkey Unshifted Fkey Shifted VT Keyboard Enhanced PC Keyboard
@ ` F1 F1
A a F2 F2
B b F3 F3
C c F4 F4
D d F5 F5
E e F6 F6
F f F7 F7
G g F8 F8
H h F9 F9
I i F10 F10
J j F11 F11
K k F12 F12
L l F13
M m F14
N n F15
O o F16
Program Key Direction 160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Program Key Direction ESC Z Dir Key Seq DEL same same Wyse Wyse EnH
ESC | FKey Dir Seq Ctrl-Y ESC | FKey Dir Seq Ctrl-Y
Key-Sent direction Communication Mode Key Definition is Sent to . . .
Local Terminal screen only
Remote Host only
Normal Depending on Comm mode:
Full-duplex Host only
Half-duplex Both the host and the terminal screen
Block Terminal screen only
Half Block Both the host and the terminal screen
Dir Key Transmission Direction
0 Normal
1 Remote (default)
2 Local
3 Normal (TVI950 and WYSE 160/60 PCTerm only)
Inquire Key Direction 160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Inquiry: ESC Z ~ Key n/a same same n/a Wyse Wyse EnH
Response: Dir Key Sequence DEL
Clear Key Definitions
Clear Function key direction and definition ESC z Fkey DEL n/a same same Wyse Wyse Wyse EnH
Set key direction and Clear key definition ESC Z Dir Key DEL
n/a same same n/a Wyse Wyse EnH
Clear all redefinable key definitions ESC c U n/a same same n/a n/a n/a EnH

1Default for all but PCTerm mode.

2Default = 72 for 80-column mode; 124 for 132-column mode.

3 See Table 12–4 for redefinable keys.

4Seq is an ASCII character data string sequence. Any 7-bit character except "DEL" (Hex 7F) is legal for the sequence.

Table 12–4 lists the redefinable keys.

Table 12–4 Redefinable Keys
Emulation Redefinable Keys
WYSE 160/60, WYSE 150/120, WYSE 50+, TVI925, and TVI 910 Unshifted Shifted VT Keyboard EPC Keyboard
SP % ESC
! & Tab Tab
" ' Backspace Backspace
# ( Remove
$ ) Return Enter
* / Select Home
+ 0
, 1
- 2
. 3
s 4 Enter Enter (keypad)
q p PF4 Insert
r w Page Down
} z PF3
5 6 PF2 Delete
7 8 PF1
R X Print Screen
: ; Page Up
\ ] End
Q W F17
S Y F18
T Z F19
P V F20
TVI 950 Fkey Fkey VT Keyboard Enhanced PC Keyboard
1 < F1 F1
2 = F2 F2
3 > F3 F3
4 ? F4 F4
5 @ F5 F5
6 A F6 F6
7 B F7 F7
8 C F8 F8
9 D F9 F9
: E F10 F10
; F F11 F11
G L F12 F12
H M F13
I N F14
J O F15
K P F16
WYSE 160/60 PCTerm Fkey Unshifted VT Keyboard EPC Keyboard
1 ! F1 F1
2 @ F2 F2
3 # F3 F3
4 $ F4 F4
5 % F5 F5
6 ^ F6 F6
7 & F7 F7
8 * F8 F8
9 ( F9 F9
0 ) F10 F10

12.4 Screen Processing

Table 12–5 lists the screen processing control functions. The word "same" in Table 12–5 signifies the same control sequences as in the WYSE 160/60 column.

Table 12–5 Screen Processing Control Functions
Video Display Features WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Border Display (Overscan On/Off) ESC c ] Intensity
n/a same same n/a n/a n/a EnH
Parameters: Intensity Overscan
0 Off (default)
1 On
Screen Display On (default) ESC ` 9 ESC N same same ESC n ESC n ESC n EnH
Screen Display Off ESC ` 8 ESC O same same ESC o ESC o ESC o EnH
Normal background1 ESC ^ 0 ESC d same same ESC d ESC d ESC d EnH
Reverse background ESC ^ 1 ESC b same same ESC b ESC b ESC b EnH
Screen Saver on (default) ESC e Q n/a same same EnH EnH EnH EnH
Screen Saver off ESC e P n/a same same EnH EnH EnH EnH
Scroll Type
WYSE Mode ESC ` Scroll n/a same same n/a n/a n/a EnH
Parameters: Scroll Scrolling Type2
@ Jump Scroll (default)
<, = Slow Smooth Scroll
>, ? Fast Smooth Scroll
TVI - Smooth scroll off n/a n/a n/a n/a ESC 9 ESC 9 ESC 9 n/a
TVI - Smooth scroll on n/a n/a n/a n/a ESC 8 ESC 8 ESC 8 n/a
Character Cell
Select 10 × 16 size (def) ESC e > n/a same Wyse EnH EnH EnH EnH
Select 10 × 13 size ESC e ? n/a same Wyse EnH EnH EnH EnH
Column Display
Select 80-column display (default) ESC ` : n/a same same n/a n/a n/a EnH
Select 132-column display ESC ` ; n/a same same n/a n/a n/a EnH
Display Data Lines
24 data lines (default) ESC e ( n/a same same EnH EnH EnH EnH
25 data lines ESC e ) ESC ^ same as 160/60 same as 160/60 EnH EnH EnH EnH
42 data lines ESC e * n/a same same EnH EnH EnH EnH
43 data lines ESC e + ESC _ same as 160/60 same as 160/60 EnH EnH EnH EnH

In ASCII emulation mode, the VT510 displays four types of data lines:

  • 24 data lines, 1 status line, and 2 label lines
  • 25 data lines, 1 status line, and 1 label line
  • 42 data lines, 1 status line, and 2 label lines4
  • 43 data lines, 1 status line, and 1 label line
Fill Page with "H"s in PCTerm Mode 160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Fill page with "H"s n/a ESC F n/a n/a n/a n/a n/a n/a
Width-Change-Clear Mode
Width-change-clear off ESC e . n/a same same EnH EnH EnH EnH
Width-change-clear on (default) ESC e / n/a same same EnH EnH EnH EnH
Page Size
Set Page Size5 ESC w Length same same ESC \ Length6 EnH
ESC \ Length6
WYSE 160/60, WYSE 50+ Parameters: Length Size of a Page Description
G 1*lines Page number = current screen data lines
H 2*lines Page number = current screen data lines * 2
I 4*lines Page number = current screen data lines * 4
J * One page number = screen data lines; the other contains rest of lines in memory.
WYSE 160/60 PCTerm and TVI Parameters: Length Size of a Page Description
1 1*lines Page number = current screen data lines
2 2*lines Page number = current screen data lines * 2
3 4*lines Page number = current screen data lines * 4
4 * One page number = screen data lines; the other contains rest of lines in memory.
Display Page
Display Previous Page7 ESC w B or ESC J n/a same same ESC J ESC J ESC J EnH
Display Next Page8 ESC w C or ESC K n/a same same ESC K ESC K ESC K n/a
Display Specific Page ESC w Page n/a same same n/a n/a n/a EnH
Split Screen 160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Split screen horizontally ESC x A Line n/a same same n/a n/a n/a n/a
Adjustable horiz split ESC x C Line n/a same same n/a n/a n/a n/a
Split screen horizontally and Clear data ESC x 1 Line n/a same same n/a n/a n/a n/a
Adjustable horiz split screen and Clear data ESC x 3 Line n/a same same n/a n/a n/a n/a
Lower horiz split ESC x P n/a same same n/a n/a n/a n/a
Raise horiz split ESC x R n/a same same n/a n/a n/a n/a
Windows
Activate upper window ESC ] n/a same same n/a n/a n/a n/a
Activate lower window ESC } n/a same same n/a n/a n/a n/a
Activate other window or page ESC J or ESC K n/a same same n/a n/a n/a n/a
Roll window up in page ESC w E n/a same same n/a n/a n/a n/a
Roll window down in page ESC w F n/a same same n/a n/a n/a n/a
Redefine screen as one window ESC x @ n/a same same n/a n/a n/a n/a
Redefine screen as one window and Clear page ESC x 0 n/a same same n/a n/a n/a n/a
Cursor Drag Mode
Cursor drag mode on (default) ESC d ) n/a same same n/a n/a n/a n/a
Cursor drag mode off ESC d ( n/a same same n/a n/a n/a n/a
Status Line Display
Editing Status line on ESC ` a n/a same same n/a n/a n/a EnH
Standard Status line on (default) ESC ` b n/a same same n/a n/a n/a EnH
Status line off ESC ` c n/a same same n/a n/a n/a EnH
Starts at Column Standard Status Line Editing Status Line
26 HH:MM AM (or PM) PROT (Protect mode is on)
31 WRPT (Write protect is on)
35 Column-Row (Cursor)
36 INS (Insert mode is on)
Messages: Message Description
LOCK Keyboard locked
COMP In compose process
NUM NUM LOCK state
CAPS The Caps Lock key is on
1... Page indication (No message displayed for page 0)
* Monitor mode state
FDX Full-duplex mode
HDX Half-duplex mode
BLK Block mode
HBLK Half-duplex block mode
LCL Local mode
HLD Hold state
% Page Printing
> Autoprint mode
= Controller print mode
PBSY Printer is busy or no printer is attached.
PTR Printer is ready.
<AUX Terminal is in auxiliary receive mode.
Computer Message 160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Program/Display computer message ESC F Message CR
n/a same same Wyse Wyse Wyse EnH
Clear computer message ESC F CR n/a same same same same same EnH
Function Key Label Display
Display F key label ESC z Field Label CR
n/a same same Wyse9 Wyse Wyse EnH
Clear F key label ESC z Field CR
n/a same same Wyse Wyse Wyse EnH
Field Parameters: Field Field
Key Unshifted Shifted Key Unshifted Shifted
F1 0 P F9 8 X
F2 1 Q F10 9 Y
F3 2 R F11 : Z
F4 3 S F12 ; [
F5 4 T F13 < \
F6 5 U F14 = ]
F7 6 V F15 > ^
F8 7 W F16 ? _
Label Parameters: Emulation Mode Column Mode Maximum Length
Hidden 80 9
Hidden 132 7
Embedded 80 8
Embedded 132 7
Label Line Display 160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Program/Display computer message on unshifted Label line. ESC z ( Text CR same same as 160/60 ESC f text CR or
ESC f text Ctrl-M
EnH
ESC f text CR or
ESC f text Ctrl-M
Program/Display computer message on shifted Label line. ESC z ) text CR
n/a same same n/a n/a n/a EnH
Clear unshifted Label line. ESC z ( CR ESC f CR or ESC f Ctrl-M same same as 160/60 ESC f CR or ESC f Ctrl-M EnH
Clear shifted Label line. ESC z ) CR n/a same same n/a n/a n/a EnH
Disable shifted Label line. ESC z DEL n/a same same n/a n/a n/a EnH
WYSE and ADDS Enhanced Modes:

There are two distinct label lines when the terminal is using 24 or 42 data lines:

  • The upper one is for shifted label line (shifted function key label line).
  • The lower one is for unshifted label line (unshifted function key label line).

When using the 25 or 43 data line configuration mode, only one label line is available at a time. By default, it displays the unshifted label line (or unshifted function key label line). This line becomes a shifted label line (or shifted function key label) whenever the Shift key is pressed. Releasing the Shift key returns the line to be the unshifted display line.

TVI and PCTerm Modes:

Only an unshifted label line (unshifted function label line) is available. To be visible, the label line must be explicitly turned on by the command "Turn on User Line."

For TVI personalities, the label line is displayed only when data line is set to 24 or 42 data lines.

For PCTerm mode, turning on the display line forces the terminal to 24 or 42 data lines. If the cursor is at the 25th or 43rd line before the line is set, then the cursor moves to the same column at line 24 or 42, and the entire data area scrolls up one line. The label line is displayed at the 25th or 43rd line, respectively.

Text Parameter:

The parameter text is a character string to be entered in the label line. The allowable size of text varies among emulation modes and column modes. In embedded emulation mode, the first character shown on the user line is an attribute space.

Emulation Mode Column Mode Maximum Number Column Position
Hidden 80 80 1–80
Hidden 132 132 1–132
Embedded 80 79 2–80
Embedded 132 131 2–132
User Label Line Display for TVI Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Turn off User line (default) n/a ESC e or ESC h same n/a ESC h ESC h ESC h n/a
Turn on User line n/a ESC g n/a n/a ESC g ESC g ESC g n/a
Character Attributes
Assign character attribute (main display area) ESC G Attr ESC G Attribute same same same same same EnH
Parameters: Attr Display Attributes TVI Attr
Wyse 160/60, 150/120, 50+, and ADDS SP Space character SP
0 Normal 0, p
1 Invisible 1, q
2 Blink 2, r
3 Invisible and blink 3, s
4 Reverse 4, t
5 Reverse and invisible 5, u
6 Reverse and blink 6, v
7 Reverse, blink, invisible 7, w
8 Underline 8, x
9 Underline and invisible 9, y
: Underline and blink :, z
; Underline, blink, invisible ;, {
< Underline and reverse <, |
= Underline, reverse, invisible =, }
> Underline, reverse, blink >, ~
? Underline, reverse, blink, invisible ?, DEL
p Dim
q Dim and invisible
r Dim and blink
s Dim, blink, invisible
t Dim and reverse
u Dim, reverse, invisible
v Dim, reverse, blink
w Dim, reverse, blink, invisible
x Dim and underline
y Dim, underline, invisible
z Dim, underline, blink
{ Dim, underline, blink, invisible
| Dim, underline, reverse
} Dim, underline, reverse, invisible
~ Dim, underline, reverse, blink
DEL Dim, underline, reverse, blink, invisible
PCTerm Mode Attribute Display Attributes
0, @, P, `, p Normal
1, A, Q, a, q Invisible
2, B, R, b, r Blink
3, C, S, c, s Invisible and blink
4, D, T, d, t Reverse
5, E, U, e, u Reverse and invisible
6, F, V, f, v Reverse and blink
7, G, W, g, w Reverse, blink, invisible
8, H, X, h, x Underline
9, I, Y, i, y Underline and invisible
:, J, Z, j, z Underline and blink
;, K, [, k, { Underline, blink, invisible
<, L \, l, | Underline and reverse
=, M, ], } Underline, reverse, invisible
>, N, ^, n, ~ Underline, reverse, blink
?, O, _, o, DEL Underline, reverse, blink, invisible
Selecting Display Attribute Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Char attribute mode on10 ESC e 1 n/a same n/a n/a n/a n/a n/a
Char attribute mode off ESC e 0 n/a same n/a n/a n/a n/a n/a
Page attribute mode on11 ESC e 2 n/a same same EnH EnH EnH EnH
Line attribute mode on ESC e 3 n/a same same EnH EnH EnH EnH
Assign display attribute to a message field ESC A Area Attr
n/a same same ESC \ Area Attr (EnH) EnH
Parameters: Area Description
0 Data Area
1 Label Line
2 Terminal message field on Status Line
3 Computer message field on Status Line
Display Attributes
Assign write-protect character attribute ESC ` Wpca n/a same same n/a n/a n/a EnH or ESC 0 Spca
Parameters – WYSE 160/60, WYSE 50+, and ADDS using WYSE sequences:12 Wpca Description Parameters – ADDS mode Spca Description
6 Reverse 0 Dim
7 Dim (default) 1 Blink
A Normal 2 Invisible
B Blink 3 Normal
C Invisible 4 Reverse
E Underline 5 Underline
F Reverse
G Dim
Clear unprotected page to display attribute n/a n/a n/a ESC ! Attr n/a Wyse Wyse EnH
Request attribute under cursor n/a ESC D n/a n/a n/a n/a n/a n/a
Response to Display Attributes
Response:‡ Two bytes—the Bit for attribute under the cursor, then "a".
Bit Attribute Bit Attribute
0 Underline 4 Always 0
1 Reverse 5 Always 0
2 Blink 6 Always 0
3 Invisible 7 Dim
Assign Line Attributes
Assign line attributes ESC G LineAttr n/a same same n/a n/a n/a EnH
Parameters: LineAttr Line Attribute
@ Single height, single width (default)
A Single height, double width
B Top-half of double height, single width
C Bottom-half of double height, single width
D Top-half of double height, double width
E Bottom-half of double height, double width

1"WYSE 160/60 PCTerm" and TVI should have Enhanced Mode off.

2Users can change the scrolling rate by entering keys from the keyboard. Pressing Ctrl/Shift/⇑ to increase the rate and Ctrl/Shift/⇓ to decrease it.

4Because of hardware limitations, selecting 42 or 43 data lines forces the screen size to be 53 lines.

5Upon receipt of the Set Page Size command, the terminal:

  • Clears the display memory to NUL (0/0) characters.
  • Displays first page "page 0."
  • Moves the cursor to its home position.
  • Changes the split screen to a full screen format.
  • Turns off the Protect mode.
  • Unlocks the locked line.

6Enhanced Mode off.

7In WYSE mode, command "ESC J" works only when the screen is not split. If the screen is split, refer to "Activate Other Window or Page" command. Command "ESC w B" in WYSE modes works when the screen is not split or the split screen is caused by an adjustable split. It does not work when the split screen is a result of a simple split. Users can use local function keys to display the previous page. On a VT keyboard, press Ctrl/Prev; on an Enhanced PC keyboard, press Ctrl/Page Up.

8Users can use a local function key to display the next page. Press Ctrl/N, where N is a number on the numeric keypad key equivalent to the page number, on both VT and Enhanced PC keyboard.

9Unshifted key label only; the Shifted Key label is not available for TVI modes.

12Assigning parameters "6," "7" or "A" clears previously defined write-protected attributes; "B" through "G" add on top of previous attribute(s) and display a combination of new and old display attributes.

† All the 7-bit ASCII codes are legal in this sequence. Example: "A" turns on the dim attribute, "T" turns on the reverse attribute, "S" turns on dim, blink and reverse attributes.

‡ Example: Dim + Reverse + Invisible reports VTS (8AH) + a.

Table 12–6 lists the data protection control functions. The word "same" in Table 12–6 signifies the same control sequences as in the WYSE 160/60 column.

Table 12–6 Data Protection Control Functions
Write-Protect Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Write-protect mode off (default) ESC ( same same same same same same EnH or Ctrl/O
Write-protect mode on1 ESC ) same same same same same same EnH or Ctrl/N
Protect Mode
Protect mode off (default) ESC ' same same same same same same EnH
Protect mode on ESC & same same same same same Wyse EnH

1Turning on Write-Protect mode does not start protecting the data. It only defines the range of data that needs to be protected. Not until Protect mode is turned on does the data become protected. Changing personality does not change the Write-Protect mode. Graphic characters range from 1/0 to 1/15, and embedded attributes are automatically write-protected even when Write-Protect mode is off.

Table 12–7 lists the cursor control functions. The word "same" in Table 12–7 signifies the same control sequences as in the WYSE 160/60 column.

Table 12–7 Cursor Control Functions
Autopage Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
On ESC d + n/a same same ESC v ESC v ESC v EnH
Off (default) ESC d * n/a same same ESC w ESC w ESC w EnH
Autoscrolling Mode
On (default) ESC O n/a same same n/a n/a n/a EnH
Off ESC N n/a same same n/a n/a n/a EnH
Cursor Display Feature
Set cursor appearance ESC ` Cursor ESC . Cursor same as 160/60 same as 160/60 ESC . Cursor EnH1
Parameters: Cursor Description
0 Cursor Display Off
1 Cursor Display On
2 Steady Block Cursor
3 Blinking Line Cursor
4 Steady Line Cursor
5 Blinking Block Cursor
End-of-Line Wrap Mode
On (default) ESC d / ESC ~ same as 160/60 same as 160/60 n/a n/a n/a EnH
Off ESC d . ESC 0 same as 160/60 same as 160/60 n/a n/a n/a EnH

When the cursor position is located at the bottom and right margin position of the current page with wrap flag on, any displayable character received has the following effect:

Autopage Autoscroll Page Mode Cursor Moves to . . .
On Single Home position of the active page.
Multiple Home position of the next page.
Off On Multiple Left margin of bottom line after a scroll is performed.
Off Off Multiple Home position of the active page.
Received CR Mode
CR (default) ESC e 4 ESC 9 same as 160/60 same as 160/60 EnH EnH EnH EnH
CRLF ESC e 5 ESC 8 EnH same as 160/60 EnH EnH EnH EnH
Lock Cursor Line Mode
On ESC ` H n/a same same ESC ! 1 n/a n/a EnH
Off (default) ESC ` I n/a same same ESC ! 2 n/a n/a EnH
Recognize DEL Mode
On (default) ESC e E EnH same same EnH EnH EnH EnH
Off ESC e D EnH same same EnH EnH EnH EnH
Cursor Movement
Cursor Left (Back Space) Ctrl/H same same same same same same Wyse or Ctrl/U
Autopage Page Mode Cursor Moves to . . .
On Multiple Bottom right margin of the preceding page (if any) even though the bottom right margin is protected. Under this command, the Protect mode feature carries through all pages. Refer to Protect Mode for details.
Off Single Bottom right margin of the active page even though the right margin is protected.
Cursor Left (Delete) DEL same same same same same same same
Cursor Right Ctrl/L same same same same same same Ctrl/F
Autopage Autoscroll Page Cursor Moves to . . .
On Multiple Home position or the first unprotected position (when Protect mode is on) of the next page (if any). Under this command, the Protect mode feature carries through all pages. Refer to Protect mode for details.
Off On Single2 Left margin of the bottom margin line after a scroll is performed.
Off Off Single3 Home position of the active page.
Cursor Up
Cursor Up—No Scroll Ctrl/K same same same same same same Ctrl/Z
Cursor Up—Scroll (Reverse Linefeed) ESC j same same same same same Wyse EnH
This command moves the cursor as follows:
Autopage Autoscroll Page Protect Cursor Moves to . . .
Single (Command is ignored.)
On Multiple On or Off Bottom line of the previous page. Under this command, the Protect mode feature carries through all pages.
Off On Multiple Off Top margin of the active page after a reverse scroll is performed.
Off On Multiple On (Command is ignored.)
Off Off Multiple (Command is ignored.)
Cursor Down
Cursor Down—No Scroll Ctrl/V same same same same same same same
Cursor Down—Scroll (Linefeed) Ctrl/J same same same same same same same
Autopage Autoscroll Page Mode Cursor Moves to . . .
Off Off Top margin line of the active page. If the destination position is protected, the cursor moves right to the first unprotected position.
On Single Top margin line of the active page. If the destination position is protected, the cursor moves right or down to the first unprotected position.
On Multiple Top margin line of the next page. Under this command, the Protect mode feature carries through all pages. Refer to Protect Mode for details.
Off On Multiple Bottom line of the active page after a scroll is performed.
Cursor to Start
Cursor to start of line Ctrl/M same same same same same same same
Cursor to start of next line Ctrl/_ same same same same same same EnH
Autopage Page Cursor Moves to . . .
Off Single4 Home position of the current page or the first unprotected position of the current page if Protect mode is on.
On Multiple Home position of the next page or the first unprotected position of the next page if Protect mode is on. Under this command, the Protect mode feature carries through all pages. Refer to Protect Mode for details.
Address Cursor WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Cursor to Home Ctrl/^ or ESC { Ctrl/^ same same Ctrl/^ same same EnH or Ctrl/A
Address Cursor to a specific column (Col) ESC _ Col n/a same same ESC ] Col EnH or Ctrl/P Col
Address Cursor to a specific line ESC [ Line n/a same same same same same EnH or Ctrl/K Line
Address Cursor in Current Page ESC = Line Col same same same same same same EnH or ESC Y Line Col
Address Cursor in specific page ESC h page n/a same same n/a n/a n/a EnH
Address Cursor in specific page, line, and column ESC w @ Page Line Col
n/a same same ESC - Page Line Col5 EnH
Address Cursor in specific Window/Page ESC - Window/Page Line Col6
same same same EnH EnH EnH EnH
Address Cursor in 80/132 column current Page ESC a Line R Col C
n/a same same ESC d Line R Col C EnH
Read Cursor
Read Cursor address in current Page ESC ? same same same same same same EnH
Read Window, Page no., and Cursor address ESC / same same same same same same EnH
Read Cursor address in Current 80/132-col page ESC b n/a same same n/a n/a n/a EnH
Read Page number and Cursor address ESC w `
ESC w .
ESC w ,
ESC w '
n/a same same n/a n/a n/a EnH

1Ctrl/W = Cursor off; Ctrl/X = Cursor on.

2Autopage mode is either set to off, or the terminal is in Single Page mode and Autoscroll mode is on.

3Autopage mode is either set to off, or the terminal is in Single Page mode and Autoscroll mode is off.

4Either Autopage mode or Single Page mode is enabled.

5Enhanced Mode off.

6When screen is split, "0" = upper window; "1" = lower window.

Note

The terminal responds to the Read Cursor command in the following format: lll R ccc C

The two parameter values, lll and ccc, are the 3-byte decimal values for the line/column location of the cursor. For example, "019R010C" indicates the cursor is at line 19, column 10. The sequence with parameters "001" (3/0)(3/0)(3/1) and "001" (3/0)(3/0)(3/1) indicates the cursor is at the home position.

Table 12–8 lists the ASCII editing control functions. The word "same" in Table 12–8, Table 12–10, and Table 12–11 signify the same control sequences as in the WYSE 160/60 column.

Table 12–8 ASCII Editing Control Functions
Local Edit Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Off1 (default) ESC l n/a same same same same same n/a
On2 ESC k n/a same same same same same n/a

1Duplex Edit Mode On.

2Duplex Edit Mode Off.

In local edit mode, instead of sending keycodes to the host, some function keys send codes directly to the terminal to speed up the editing process. Table 12–9 lists these local edit functions and their operating keys for both the VT keyboard and the Enhanced PC keyboard.

Table 12–9 Local Edit Mode Function Keys
Function VT Keyboard EPC Keyboard Sequence
Insert Character PF1 ESC Q
Insert Line Shifted PF1 ESC E
Delete Character PF2 Delete ESC W
Delete Line Shifted PF2 Shifted Delete ESC R
Clear Line PF3 End ESC T
Clear Screen Shifted PF3 Shifted End ESC Y
Insert Insert ESC q
Replace Shifted Insert ESC r
Next Page Page Down ESC K
Previous Page Page Up ESC J
Send ESC 7
Print Print ESC P
Home Shift Home ESC {
Tab Shift Tab ESC I

Table 12–10 lists the tab stop control functions.

Table 12–10 Tab Stop Control Functions
Tab Stop Function WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Clear All Tab Stops ESC 0 ESC 3 same as 160/60 same as 160/60 ESC 3 ESC 3 ESC 3 n/a
Clear Tab Stop ESC 2 same same same same same same EnH
Set Tab Stop ESC 1 same same same same same same EnH
Tabulate Cursor or Field Tab1 ESC i or Ctrl/I same same same same same same EnH
The cursor moves as follows:
Autopage Autoscroll Page Mode Cursor Moves to . . .
On Single Top margin line of the active page
On Multiple Top margin line of the other page.
Off On Multiple Bottom margin of the active page after a scroll is performed.
Off Off Multiple Top margin line of the active page.
Backtab or Field Tab2 ESC I same same same same same same EnH
The cursor moves as follows:
Autopage Autoscroll Page Mode Cursor Moves to . . .
On Single Home
On Multiple Bottom margin line of the previous page if any.
Off On Multiple Bottom margin line of the active page.
Off Off Multiple Bottom margin line of the active page.

1Executes "tabulate cursor" when protect mode is off.

2If protect mode is on, this command executes a "field tab" to move the cursor left to the first unprotected character position after the nearest protect field. The tab stop setting is completely ignored. The cursor moves backward from the first position of an unprotected area to the first position of another unprotected area.

Executing a Backtab from an unprotected page to a previous protected page changes its protect mode to "unprotected."

Table 12–11 lists the page edit control functions.

Table 12–11 Page Edit Control Functions
Page Edit Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Off (default) ESC e " n/a same same ESC O ESC O ESC O EnH
On ESC e # n/a same same ESC N ESC N ESC N EnH
Insert/Replace Mode
Replace mode On (default) ESC r same same same same Wyse Wyse EnH
Insert mode On ESC q ESC z same as 160/60 same as 160/60 same as 160/60 Wyse Wyse EnH
Insert Characters
Insert Space Character ESC Q same same same same same same EnH
Insert Line of Spaces ESC E same same same same same same EnH or ESC M
Insert Column of NULs ESC c M n/a same same n/a n/a n/a EnH
Deleting Data on Current Page Only
Delete Cursor Character ESC W same same same same same same EnH
Delete Cursor Line ESC R same same same same same same EnH
Delete Cursor Column ESC c J n/a same same n/a n/a n/a EnH
Erasing Data on Page Function
Clear Page to NULs ESC * same same same same same same EnH
Clear Page to spaces ESC + n/a same same n/a n/a n/a EnH or Ctrl/L
Clear page to write-protected spaces ESC , n/a same same n/a n/a n/a EnH
Clear unprotected page to write-protected spaces n/a ESC , n/a n/a ESC , ESC , ESC , n/a
Clear unprotected page to NULs ESC : same same same same same same ESC : (EnH)
Clear unprotected page to spaces ESC ; or Ctrl/Z same or ESC + same as 160/60 same as 160/60 same or ESC + same or ESC + same or ESC + EnH
Clear unprotected page to a specific character1 ESC . Char n/a same same n/a n/a n/a EnH
Clear unprotected page to NULs from cursor ESC y same same same same same same EnH
Clear unprotected page to spaces from cursor ESC Y same same same same same same ESC k
Clear unprotected page foreground to NULs from cursor position ESC c Q n/a same same n/a n/a n/a EnH
Clear unprotected page foreground to spaces from cursor position ESC c P n/a same same n/a n/a n/a EnH
Clear unprotected area to end of line with NULs ESC c L n/a same same n/a n/a n/a EnH
Clear unprotected area to end of line with spaces ESC c O n/a same same n/a n/a n/a EnH
Clear unprotected line from cursor position to NULs ESC t same same same same same same EnH
Clear unprotected line from cursor position to spaces ESC T same same same n/a n/a n/a ESC K
Clear unprotected line foreground from cursor position to NULs ESC c S n/a same same n/a n/a n/a EnH
Clear unprotected line foreground from cursor position to spaces ESC c R n/a same same n/a n/a n/a EnH
Clear unprotected position to NULs ESC c K n/a same same n/a n/a n/a EnH
Clear unprotected column to a specific character1 ESC c I Char n/a same same n/a n/a n/a EnH
Clear column to write-protected space ESC V same same same same same same EnH

1"Char" is an ASCII character. Any 8-bit code is treated as a 7-bit code since the most significant bit of the code is stripped off.

Table 12–12 lists the rectangle area control functions.

Table 12–12 Rectangle Area Control Functions
Draw Rectangle in 80/132 column Current Page WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Format 1 ESC c G Line Col
n/a same same n/a n/a n/a EnH
Format 21 ESC c G Line ~ Col
n/a same same n/a n/a n/a EnH
Fill Rectangle with a Specific Character in 80/132-column Cursor Page
Format 1 ESC c H Line Col Char
n/a same same n/a n/a n/a EnH
Format 21 ESC c H Line ~ Col Char
n/a same same n/a n/a n/a EnH
Fill unprotected Rectangle with a specific character
Format 1 ESC c F Line Col Char
n/a same same n/a n/a n/a EnH
Format 21 ESC c F Line ~ Col Char
n/a same same n/a n/a n/a EnH
Draw Rectangle2
Draw rectangle area to right and below cursor. ESC c N Width Height
n/a same same n/a n/a n/a EnH
Swap/Copy/Move WYSE 160/60
Swap, copy, or move the data in a rectangle to another rectangle. ESC c ^ Action S_page P S_n1 R S_n2 C S_n3 R S_n4 C D_page P D_n1 R D_n2 C
Parameters: Action Description
0 Swaps data between the source and the destination rectangles.
1 Copies the content of the source rectangle to a destination rectangle, preserving the contents of the source rectangle.
2 Moves the contents of the source rectangle to destination rectangle, clearing the source rectangle.
Parameter Description
S_page Page number of the source rectangle
S_n1 Starting line number of the source rectangle (top left corner)
S_n2 Starting column number of the source rectangle (top left corner)
S_n3 Ending line number of the source rectangle (bottom right corner)
S_n4 Ending column number of the source rectangle (bottom right corner)
D_page Page number of the destination rectangle
D_n1 Starting line number of the destination rectangle (top left corner)
D_n2 Starting column number of the destination rectangle (top left corner)
Swap/Copy/Move PCTerm 150/120 WY 50+ 950 925 910+ A2
Swap, copy, or move the data in a rectangle. n/a same as 160/60 same as 160/60 n/a n/a n/a EnH

1Not recommended for 80-column mode.

2Parameters Line and Column are ASCII characters whose decimal values are the desired numbers plus 31.

12.5 Printing/Sending Data

This section describes commands to print and send data.

12.5.1 Sending Data

This section describes commands to send a defined area of data on the screen through the main communication port using ASCII control functions. Individual commands address the specific data to be sent.

In send operations, delimiter characters are sent along with data to mark a line end, transfer complete, or the protect data and its area. Table 12–13 lists the possible delimiter types. Depending on the scope of data (line, page) and the type of data (protected, unprotected) that has been sent, different delimiter characters are enclosed. The individual commands explain which delimiter should be sent with each command.

Table 12–13 lists the types of delimiters to send data.

Table 12–13 Send Data Delimiters
Delimiter Type Sent . . .
End of the line At the end of each line but not at the end of the page (block).
Transfer complete After each Send Data action, except for a "Send the Cursor Character" command.
Field separator To take the position of the protected field data when "Send Unprotected" command is executed and Protect mode is on.
Start protect field and End protect field To mark the beginning and the ending of a write-protected field of data when Protect mode is on.

All the send data actions in this section, except "Send the Cursor Character" command, use the following rules:

Table 12–14 Delimiters for Other Personalities
Delimiter Terminal sends...
End of line Either "US" or "CRLF" depending on the Set-Up Block End selection.
End of transmission Either "CR" or "ETX" depending on the Set-Up Block End selection.
Protected field A single FS (Hex 1C).
Protected field separator

Native mode: "ESC )" and "ESC (" when the protect field attribute is Dim or Normal;
"ESC )sp" and "ESC (sp" when the protect field attribute is any other combination.

Other modes: "ESC )" and "ESC ("

Table 12–15 lists the print/send control functions.

Table 12–15 Print/Send Control Functions
Function WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Define delimiters n/a ESC x Dlmtr Char1 Char2
n/a n/a ESC x Dlmtr Char1 Char2 n/a
Parameters: Dlmtr Description
0 Protected Field separator
1 Start protect field
2 End protect field
3 End of the line
4 Termination
Parameters Char1 and Char2 are ASCII characters.
Delimiter Default ASCII Character
Field separator FS NUL (1/12 0/0)
Start protect field ESC ) (1/11 2/9)
End protect field ESC ( (1/11 2/8)
End of the line US NUL (1/15 0/0)
Termination CR NUL (1/13 0/0)
A NUL character that is defined in a delimiter is not sent out.
Begin Print/Send
Begin Print/Send at Top of Page ESC d ` n/a same same n/a n/a n/a EnH
Begin Print/Send at Top of Screen ESC d & n/a same same n/a n/a n/a EnH
Sending a Character or Line
Send the Cursor Character ESC M n/a same same n/a n/a n/a n/a
Send the Cursor Line ESC 6 same same same same same same n/a
Send unprotected Cursor Line ESC 4 same same same same same same n/a
Sending a Page
Send Page ESC 7 same same same same same same EnH
Send an unprotected Page ESC 5 same same same same same same n/a
Sending a Block
Mark Block Beginning ESC 8 n/a same same n/a n/a n/a EnH
Mark Block Ending1 ESC 9 n/a same same n/a n/a n/a EnH
Send Block2 ESC s same same same same same same EnH
Send an unprotected Character in a Block ESC S same same same same same same EnH

1See Note 1.

2See Note 2.

ASCII emulations do not send:

The only factors that affect printing data are data and parity settings.

Data/Parity Setting Characters are printed . . .
8-bit As is
7-bit After stripping off the most significant bit
Notes
  1. Note on Mark Block Ending:
    • Replace mode on: "STX" or "ETX" replaces the existing character at the active position and moves the cursor right one position.
    • Insert mode on: Writing "STX" or "ETX" moves all characters and their attributes one position to the right of the cursor position (inclusive) in the current line without wraparound.
  2. Note on Send Block:
    • Protect mode on: Unprotected data is sent as is; protected data, enveloped between "start of protect field" and "end of protect field" delimiters, is sent.
    • Protect mode off: All the data in the range, protected or unprotected, is sent.

Table 12–16 lists the printing data control functions.

Table 12–16 Printing Data Control Functions
Autoprint Mode1 WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
Off (default) Ctrl/T ESC A Ctrl/T Ctrl/T ESC A or Ctrl/T Ctrl/T
On Ctrl/R ESC @ Ctrl/R Ctrl/R ESC @ or Ctrl/R Ctrl/R
Control Print Mode3
Off Ctrl/T ESC a Ctrl/T Ctrl/T ESC a ESC a ESC a ESC 4
On ESC d # or Ctrl/X2 ESC ' same as 160/60 same as 160/60 ESC ' ESC ' ESC ' ESC 3 ESC d # (EnH)
Aux Receive Mode
Off (default) ESC d Sp n/a same same n/a n/a n/a EnH
On ESC d ! n/a same same n/a n/a n/a EnH
Bidirectional Mode4
Off (default) ESC d $ Ctrl/T same as 160/60 same as 160/60 Ctrl/T Ctrl/T Ctrl/T EnH
On ESC d % Ctrl/R same as 160/60 same as 160/60 Ctrl/R Ctrl/R Ctrl/R EnH
Print Page to the Cursor Position
Formatted Page5 ESC P same same same same same Wyse EnH
Formatted Page (unprotected) ESC @ n/a same same n/a n/a n/a EnH
Unformatted Page5 ESC p or ESC L n/a same same ESC L n/a n/a ESC p
Print a Page with Time Message5
n/a ESC L n/a n/a n/a ESC L ESC L n/a
Pass a Character to the Printer Port
Ctrl/P Char Wyse same same Wyse Wyse Wyse n/a
Define the Page Print Terminator
n/a ESC p Ps Char
n/a n/a ESC p Char n/a

1The symbol ">" is displayed in the status line when in Autoprint mode.

2Enhanced mode is off.

3The symbol "=" is displayed in the status line when in Autoprint mode.

4Turning off Bidirectional mode turns off Aux Receive mode and forces a normal print mode.

5The time prints out in a format such as "TIME AM/PM 00:00." At the end of the time message, the following is sent to the printer port: NUL Ctrl/F NUL. The page prints as formatted data. The terminal sends an "ACK" to the host at the end of a print operation if ACK mode is on.

12.5.2 Graphics Characters

Table 12–17 lists the graphic characters.

Table 12–17 Graphic Characters
Graphics Mode WYSE TVI ADDS
160/60 PCTerm 150/120 WY 50+ 950 925 910+ A2
On ESC H or Ctrl/B ESC $ same as 160/60 same as 160/60 ESC $ or Wyse ESC $ or Wyse ESC $ or Wyse EnH
Off (default) ESC H or Ctrl/C ESC % same as 160/60 same as 160/60 ESC % or Wyse ESC % or Wyse ESC % or Wyse EnH
Display Graphic Character
Display character from the first 32 character set.1 ESC H Char n/a same same n/a n/a n/a EnH

1The parameter Char is an ASCII character in the range of Hex 20 to Hex 7E.

With Graphics mode on, all received codes in the range of 00 to 7E are displayed as characters in the range of Hex 00 to Hex 1F in the same character set.

This is done by stripping off the highest 3 bits of the code. For example:

Receiving . . . Displays . . .
21, 41, or 61 (Hex) 01 (Hex) character
2C, 4C, or 6C (Hex) 0C (Hex) character
31, 51, or 71 (Hex) 11 (Hex) character

Most character sets in ASCII emulation contain characters in the range of Hex 00 and Hex 1F. For example, the Native character set contains 16 line-drawing graphics characters from Hex 10 to Hex 1F and 16 CRM characters from Hex 00 to 0F. But in most of the cases, Hex codes 00 to 1F are treated as control codes. To display these graphic characters, Graphic mode has to be turned on.

When the Graphic mode is on, new characters entered have normal attributes regardless of the state of the Write-Protect mode attribute. With Protect mode on, all the entered characters, except CRM characters, are protected.

To design a character font, see Chapter 13.