dt
VT520/VT525VideoTerminal
ProgrammerInformation
Order Number: EK-VT520-RM. A01
July 1994
Digital Equipment Corporation makes no representations that the use of its products in the
manner described in this publication will not infringe on existing or future patent rights, nor do
the descriptions contained in this publication imply the granting of licenses to make, use, or sell
equipment or software in accordance with the description.
DEC, OpenVMS, VT, and the DIGITAL logo are trademarks of Digital Equipment Corporation.
ADDS is a trademark of Applied Digital Data Systems, Inc.
IBM, ProPrinter, and PS/2 are registered trademarks of International Business Machines
Corporation.
MS–DOS is a registered trademark and Windows is a trademark of Microsoft Corporation.
SCO is a trademark of Santa Cruz Operations, Inc.
TVI is a trademark of TeleVideo, Inc.
UNIX is a registered trademark of UNIX System Laboratories, Inc.
WY and WYSE are registered trademarks of Wyse Technologies.
All other trademarks and registered trademarks are the property of their respective holders.
The Energy Star emblem does not represent EPA endoresement of any product or service.
Copyright © Digital Equipment Corporation 1994. All Rights Reserved.
Printed in U.S.A.
For copies of manuals, contact your local sales office.
This document was prepared using VAX DOCUMENT Version 2.1.
Introduction
This manual provides detailed information for advanced users, consultants, and
programmers. This manual has the following parts, chapters, and appendices:
• Part I, VT520 Video Terminal
• Part II, VT520 ANSI Mode
Preface
• Chapter 1, Overview
• Chapter 2, Set-Up
• Chapter 3, Desktop Features
• Chapter 4, ANSI Control Functions Summary
• Chapter 5, ANSI Control Functions
• Chapter 6, SCO Console Emulation
• Chapter 7, Character Sets
• Chapter 8, Keyboard Processing
• Chapter 9, Communications
• Chapter 10, Printer Port
• Part III, VT520 ASCII Emulation
• Chapter 11, ASCII Emulations and Control Functions
• Chapter 12, ASCII Escape Sequences
• Chapter 13, Defining and Loading ASCII Character Fonts
• Appendix A, VT Keyboard Legend Data
• Appendix B, Enhanced PC Keyboards
• Appendix C, ASCII Keycodes and Local Functions
• Appendix D, VT520 Termcap Data
• Appendix E, ANSI Control Function Index
iii
Conventions
The following conventions are used in this manual:
Set-Up features Terminal Set-Up menu selections appear in boldface type.
Alt/Ctrl/Print Screen
Characters in control
functions
Parameters Parameters appear in italic type.
Note Provides general information.
How to Use This Manual
The VT520 Video Terminal Programmer Information is written for four audiences:
an advanced user, who needs to know more about the terminal Set-Up features;
a programmer, who develops application programs; a software product support
person, who provides assistance to application programmers and users; and a
hardware systems engineer, who need more information on terminal connections.
Advanced User
If you have read the VT520 Video Terminal Installation and Operating
Information manual and need more information on the the terminal Set-Up
features, you may wish to refer to the following:
Multiple keys are separated by a slash (/) and should be
pressed in combination. That is, all three keys
Print Screen
Control function characters are in boldface type. Below
each character is a column/row number that indicates the
character’s position in a standard code table. For example:
ESC # 6
1/11 2/3 3/6
are pressed down at the same time.
(
=
Control function
(
=
Column/row numbers
Alt,Ctrl
, and
• Index
• Chapter 1—Overview —Provides a brief summary of the product.
• Chapter 2—Set-Up —Describes each entry in the Set-Up menus in the order
that is displayed in the terminal.
• Chapter 3—Desktop Features —Provides a more in-depth description of the
desktop features of the terminal.
• Chapter 6—Keyboard Processing —Describes the differences in the types
of keyboard layouts supported, local functions, and accessibility aids.
Programmer
If you are using ANSI control functions for your program, then you may wish to
start with Part II of the manual:
• Chapter 4—ANSI Control Function Summary — Provides a tutorial
section on Control Functions and information on designing and down-line
loading a Soft Character set (soft font). In this chapter, the Control Functions
are grouped according to the task to be performed. The information on each
Control Function is very brief. If you need more information, the mnemonic
at the end of the line item refers to a command section in Chapter 5.
• Chapter 5—ANSI Control Functions —Provides in-depth information on
each control function listed in alphabetic order according to the mnemonic.
• Chapter 2—Set-Up —Lists the Set-Up factory defaults at the end of this
chapter, with their host control code mnemonic.
iv
• Chapter 6—Keyboard Processing —Describes the keyboard layouts,
keyboard-to-host interface, keypad sequences, local functions, LEDs controls,
languages, accents, scan codes, and control codes.
• Chapter 9—Communications —Describes the serial communications from
the terminal to the host ports and the hardware and software handshaking.
• Chapter 10—Printer Port —Describes the parallel printer port and the
switching sequences for the modes supported.
• Appendix A—VT Keyboard Legend Data
• Appendix B—Enhanced PC Keyboard Legend Data
• Appendix D—VT500 Termcap Data
If you are developing a application program for a SCO Console, then you may
wish to refer to:
• Chapter 6—SCO Console Emulation —Describes the SCO Console mode,
including the Control Functions relative to the SCO Console applications.
If you are using ASCII control functions for your program, then you may wish to
start with Part III of the manual:
• Chapter 11—ASCII Emulations and Control Functions — Provides an
overview of the ASCII emulation, the coding notation, and the symbols used
in the ASCII sequence tables.
• Chapter 12—ASCII Escape Sequences —Summarizes the ASCII escape
and control sequences for the various ASCII emulation modes, according to
the task to be performed.
• Chapter 13—Defining and Loading ASCII Character Fonts – Provides
specific information on loading font banks and designing an ASCII character
font.
• Appendix C—ASCII Keycodes and Local Functions
Software Product Support
If you are helping a user or programmer with an application, then you may wish
to refer to the following:
• Appendix E—ANSI Control Function Index —Lists the control functions
by their final character, which makes them easier to find in a program. The
mnemonic at the end of the line item refers to a command in Chapter 5, listed
in alphabetic order.
• Index —Lists control functions by mnemonic or by name and lists other
subjects by topic.
• Chapter 5—ANSI Control Functions —Provides in-depth information on
specific control functions.
• Chapter 6—Keyboard Processing —Lists the scan codes Make and Break
sequences.
• Appendix D—VT500 Termcap Data—Provides the Termcap information for
ANSI emulations.
v
Hardware Systems Engineer
If you are helping a user to install the terminal or to operate within a specific
environment, then you may wish to refer to the following:
• Index —Search by topic.
• Chapter 1—Overview Provides a brief summary of the product.
• Chapter 2—Set-Up Describes each entry in the order that is displayed in
the terminal, starting with the Actions menu and lists the modes supported.
Also lists the Set-Up factory defaults.
• Chapter 9—Communications —Describes the serial communications from
the terminal to the host ports, pin numbers and signals, and the hardware
and software handshaking.
• Chapter 10—Printer Port —Describes the parallel printer port, pin numbers
and signals, and modes supported.
vi
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Part I VT520 Video Terminal
1 Overview
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1
1.2 Communications Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1
1.3 Keyboard Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
1.4 Printer Port Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3
1.5 Display and Text Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3
1.5.1 ANSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3
1.5.2 ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3
1.6 Enhanced Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4
1.7 Desktop Productivity Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4
1.8 Character Set Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4
1.9 Ergonomics (Human Factors) Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4
1.10 Field-Upgradable Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–5
1.11 Comparison with previous VT Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . 1–6
2 Set-Up
2.1 Entering Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1
2.1.1 Effects of Entering Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2
2.1.2 Set-Up Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2
2.1.3 Power-On Settings and Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2
2.1.4 Self-test Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–3
2.1.5 Context Sensitivity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–3
2.1.6 Set-Up Summary Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–5
2.1.7 Set-Up Status Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–5
2.1.8 Status Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6
2.1.9 Keyboard Indicator Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6
2.2 Set-Up Screen Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7
2.3 Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–8
2.3.1 On-Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–8
2.3.2 Save Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
2.3.3 Restore Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
2.3.4 Exit Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
2.4 Actions Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
2.4.1 Clear Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
2.4.2 Clear Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–9
2.4.3 Reset this Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–10
2.4.4 Restore Factory Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–10
2.4.5 Clock, Calculator, Show Character Sets . . . . . . . . . . . . . . . . . . . . . . . . 2–11
vii
2.4.6 Banner Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–11
2.5 Multiple Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–11
2.5.1 Enabling and Controlling the Session Configuration . . . . . . . . . . . . . . 2–12
2.5.2 Multiple Sessions using a Terminal Server with TD/SMP . . . . . . . . . . 2–12
2.5.3 Multiple Sessions using SSU Host Software . . . . . . . . . . . . . . . . . . . . 2–12
2.5.4 Opening Another Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–12
2.5.5 Restoring an Interrupted Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–13
2.5.6 Session Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–13
2.6 Session Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–13
2.6.1 Select Session. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
2.6.2 Session Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
2.6.3 Pages per Session. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–14
2.6.4 Soft Character Sets/Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–16
2.6.5 Save Settings for All and Restore Settings for All . . . . . . . . . . . . . . . . 2–16
2.6.6 Copy Settings from Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–17
2.6.7 Update Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–17
2.7 Resetting and Restoring Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–18
2.7.1 Reset Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–18
2.7.2 Restore Factory Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–18
2.8 Display Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–19
2.8.1 Lines per Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–20
2.8.1.1 Auto Resize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–20
2.8.2 Lines per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–20
2.8.3 Review Previous Lines Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–21
2.8.4 Columns per Page, Clear on Change . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
2.8.5 Status Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
2.8.6 Scrolling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
2.8.7 Screen Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
2.8.8 Cursor Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
2.8.9 Cursor Coupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–22
2.8.10 Writing Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–23
2.8.11 Zero . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–23
2.8.12 Auto Wrap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–23
2.8.13 New Line Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–23
2.8.14 Lock User Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–23
2.8.15 Show Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–24
2.8.16 CRT Saver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–24
2.8.17 Energy Saver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–24
2.8.17.1 Warning Bell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–25
2.8.18 Overscan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–25
2.8.19 Framed Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–25
2.8.20 Screen Alignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–27
2.9 Color Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–28
2.9.1 Assign Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–28
2.9.2 Alternate Text Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–30
2.9.3 Define Colors Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–31
2.9.4 Select Color Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–32
2.9.5 ASCII Color Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–32
2.9.6 Bold and Blink Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–32
2.9.7 Erase Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–32
2.9.8 Reverse and Blank Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–33
2.9.9 Intensity Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–33
2.10 Terminal Type Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–33
2.10.1 Emulation Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–33
viii
2.10.2 Terminal ID to Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–34
2.10.3 VT Default Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–34
2.10.4 PCTerm Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–34
2.10.5 7-Bit NRCS Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–34
2.10.6 Transmit 7-Bit Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–34
2.11 ASCII Emulation Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–35
2.12 Keyboard Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–36
2.12.1 Keyboard Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–37
2.12.2 Define Key Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–37
2.12.2.1 Copy of Key Default—Moving a Standard Function . . . . . . . . . . . . 2–38
2.12.2.2 Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–39
2.12.2.3 Modifier Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–39
2.12.2.4 Creating a New Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–39
2.12.2.5 Examples of Creating New Functions . . . . . . . . . . . . . . . . . . . . . . 2–39
2.12.2.6 Correcting a Mistake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–40
2.12.2.7 Creating A New Alphanumeric Key or Keyboard Layout . . . . . . . . 2–40
2.12.2.8 Examples of Creating New Alphanumeric Keys . . . . . . . . . . . . . . . 2–40
2.12.2.9 User-Defined Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–41
2.12.2.10 Programming Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–41
2.12.3 Save Key Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–42
2.12.4 Recall Key Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–42
2.12.5 Lock Key Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–42
2.12.6 Caps Lock Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–42
2.12.7 Keyclick, Warning Bell, and Margin Bell Volume. . . . . . . . . . . . . . . . . 2–42
2.12.7.1 Visible Bell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–43
2.12.8 Keyboard Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–43
2.12.9 Auto Repeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–43
2.12.10 Data Processing Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–43
2.12.11 Application Cursor Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–43
2.12.12 Application Keypad Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–44
2.12.13 Map PC Keyboard to VT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–44
2.12.14 Ignore Missing Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–44
2.13 Communication Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–45
2.13.1 Communication Port Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–46
2.13.2 Word Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–47
2.13.3 Parity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–47
2.13.4 Stop Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–47
2.13.5 Transmit Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–48
2.13.6 Receive Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–48
2.13.7 Transmit Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–48
2.13.8 Receive Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–49
2.13.9 Flow Control Threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–49
2.13.10 Transmit Rate Limit, Fkey Rate Limit. . . . . . . . . . . . . . . . . . . . . . . . . 2–49
2.13.11 Ignore Null Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–50
2.13.12 Local Echo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–50
2.13.13 Half Duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–50
2.13.14 Auto Answerback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–50
2.13.15 Answerback Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–50
2.13.16 Answerback Concealed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–51
2.14 Modem Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–52
2.14.1 Enable Modem Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–52
2.14.2 Disconnect Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–52
2.14.3 Modem High Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–53
2.14.4 Modem Low Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–53
ix
2.15 Printer Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–54
2.15.1 Port Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–54
2.15.2 Print Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–54
2.15.3 Printer Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–55
2.15.4 Printer Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–55
2.15.4.1 DEC/ISO Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–56
2.15.4.2 PC Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–56
2.15.5 Print Extent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–56
2.15.6 Print Terminator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–56
2.15.7 Serial Print Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–56
2.15.8 2-Way Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–57
2.15.9 Transmit Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–57
2.15.10 Receive Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–57
2.15.11 Word Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–57
2.15.12 Parity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–58
2.15.13 Stop Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–58
2.15.14 Same as Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–58
2.16 Tabs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–58
2.17 Sound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–59
2.18 Set-Up Factory Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–61
3 Desktop Features
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–1
3.2 Invoking Desktop Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–1
3.3 Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–2
3.4 Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–5
3.5 Review Previous Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
3.6 Character Set Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
3.6.1 Show Character Sets feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
3.6.2 Banner message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8
3.7 Keyboard Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–8
Part II VT520 ANSI Mode
4 ANSI Control Functions Summary
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1
4.2 Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1
4.3 Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–5
4.3.1 Sequence Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–5
4.3.2 Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–6
4.3.3 Control Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–6
4.3.3.1 Control Sequence Introducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–6
4.3.3.2 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–7
4.3.3.3 Intermediate Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–8
4.3.3.4 Final Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–8
4.3.4 Device Control Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–8
4.3.5 Using Control Characters in Sequences . . . . . . . . . . . . . . . . . . . . . . . . 4–9
4.3.6 7-Bit Code Extension Technique. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–9
4.4 Working with 7-Bit and 8-Bit Environments . . . . . . . . . . . . . . . . . . . . . . . 4–10
4.4.1 Conventions for Codes Received by the Terminal . . . . . . . . . . . . . . . . . 4–10
4.4.2 Conventions for Codes Sent by the Terminal . . . . . . . . . . . . . . . . . . . . 4–10
4.5 Showing Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–11
x
4.6 Terminal Management Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–15
4.7 ANSI Control Function Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–16
4.7.1 Sessions Management Control Functions . . . . . . . . . . . . . . . . . . . . . . . 4–16
4.7.2 Window Management Control Functions . . . . . . . . . . . . . . . . . . . . . . . 4–17
4.7.3 Audible Attributes Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . 4–18
4.7.4 Color Selection Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–18
4.7.5 Visual Attributes Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 4–20
4.7.6 Editing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–21
4.7.7 Text Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–22
4.7.8 Graphic Character Sets Control Functions. . . . . . . . . . . . . . . . . . . . . . 4–25
4.7.9 Keyboard Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . 4–27
4.7.10 Printer Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–33
4.7.11 Terminal Management Control Functions . . . . . . . . . . . . . . . . . . . . . . 4–34
4.7.12 Terminal Management—Communications Control Functions . . . . . . . 4–39
4.7.13 Terminal Synchronization Control Functions . . . . . . . . . . . . . . . . . . . . 4–41
4.7.14 Reports Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–42
4.8 VT52 Mode Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–45
5 ANSI Control Functions
ANSI Conformance Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–1
CBT—Cursor Backward Tabulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–3
CHA—Cursor Horizontal Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–3
CHT—Cursor Horizontal Forward Tabulation . . . . . . . . . . . . . . . . . . . . . . 5–4
CNL—Cursor Next Line. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–4
CPL—Cursor Previous Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–5
CPR—Cursor Position Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–5
CRM—Show Control Character Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–6
CUB—Cursor Backward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–7
CUD—Cursor Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–7
CUF—Cursor Forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–7
CUP—Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–8
CUU—Cursor Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–8
DA1—Primary Device Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–9
DA2—Secondary Device Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–11
DA3—Tertiary Device Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–12
DCH—Delete Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–13
DDD1, DDD2, DDD3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–14
DECAAM—Set/Reset Auto Answerback Mode . . . . . . . . . . . . . . . . . . . . . . 5–15
DECAC—Assign Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–16
DECALN—Screen Alignment Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–17
DECANM—ANSI Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–18
DECANM Exit—Exiting ANSI (VT52) Mode . . . . . . . . . . . . . . . . . . . . . . . 5–19
DECARM—Autorepeat Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–19
DECARR—Select Auto Repeat Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–20
DECARSM—Set/Reset Auto Resize Mode . . . . . . . . . . . . . . . . . . . . . . . . . 5–21
DECATC—Alternate Text Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–22
DECATCBM—Set/Reset Alternate Text Color Blink Mode. . . . . . . . . . . . . 5–23
DECATCUM—Set/Reset Alternate Text Color Underline Mode . . . . . . . . . 5–23
DECAUPSS—Assigning User-Preferred Supplemental Sets . . . . . . . . . . . 5–24
xi
DECAWM—Autowrap Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–25
DECBBSM—Bold and Blink Style Mode . . . . . . . . . . . . . . . . . . . . . . . . . 5–25
DECBI—Back Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–26
DECBKM—Backarrow Key Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–26
DECCANSM—Conceal Answerback Message Mode . . . . . . . . . . . . . . . . . 5–27
DECCAPSLK—Caps Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–28
DECCARA—Change Attributes in Rectangular Area . . . . . . . . . . . . . . . . 5–28
DECCIR—Cursor Information Report (Terminal to Host) . . . . . . . . . . . . . 5–30
DECCKD—Copy Key Default. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–31
DECCKM—Cursor Keys Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–32
DECCKSR—Memory Checksum Report . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–33
DECCOLM—Selecting 80 or 132 Columns per Page . . . . . . . . . . . . . . . . . 5–34
DECCRA—Copy Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–35
DECCRTST—CRT Saver Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–36
DECCRTSM—Set/Reset CRT Save Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 5–37
DECDC—Delete Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–37
DECDHL—Double-Width, Double-Height Line . . . . . . . . . . . . . . . . . . . . . 5–38
DECDLD—Dynamically Redefinable Character Sets Extension. . . . . . . . . 5–39
DECDMAC—Define Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–45
DECDLDA—Down Line Load Allocation . . . . . . . . . . . . . . . . . . . . . . . . . 5–47
DECDWL—Double-Width, Single-Height Line . . . . . . . . . . . . . . . . . . . . . 5–48
DECECM—Erase Color Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–48
DECEKBD—Extended Keyboard Report . . . . . . . . . . . . . . . . . . . . . . . . . 5–49
DECELF—Enable Local Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–51
DECERA—Erase Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–52
DECES—Enable Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–53
DECESKM—Enable Secondary Keyboard Language Mode . . . . . . . . . . . . 5–53
DECFI—Forward Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–54
DECFRA—Fill Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–55
DECFWM—Set/Reset Framed Windows Mode . . . . . . . . . . . . . . . . . . . . . . 5–56
DECHDPXM—Set/Reset Half-Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . 5–56
DECHEM—Hebrew Encoding Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–57
DECHEBM—Hebrew/N-A Keyboard Mapping Mode . . . . . . . . . . . . . . . . . 5–58
DECHWUM—Host Wake-Up Mode (CRT and Energy Saver) . . . . . . . . . . 5–59
DECIC—Insert Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–59
DECID—Identify Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–60
DECINVM—Invoke Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–61
DECIPEM—Enter/Return from IBM ProPrinter Emulation Mode . . . . . . . 5–62
DECKBD—Keyboard Language Selection . . . . . . . . . . . . . . . . . . . . . . . . . 5–63
DECKBUM—Typewriter or Data Processing Keys . . . . . . . . . . . . . . . . . . 5–65
DECKLHIM—Keyboard LED’s Host Indicator Mode . . . . . . . . . . . . . . . . . 5–65
DECKPAM—Keypad Application Modes . . . . . . . . . . . . . . . . . . . . . . . . . . 5–66
DECKPM—Key Position Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–66
DECKPNM—Keypad Numeric Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–67
DECLANS—Load Answerback Message . . . . . . . . . . . . . . . . . . . . . . . . . . 5–68
DECLBAN—Load Banner Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–69
DECLFKC—Local Function Key Control . . . . . . . . . . . . . . . . . . . . . . . . . 5–70
xii
DECLL—Load LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–71
DECLRMM—Left Right Margin Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–72
DECLTOD—Load Time of Day . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–72
DECMCM—Modem Control Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–73
DECMSR—Macro Space Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–73
DECNAKB—Greek/N-A Keyboard Mapping Mode . . . . . . . . . . . . . . . . . . . 5–74
DECNCSM—No Clearing Screen On Column Change Mode . . . . . . . . . . . 5–74
DECNKM—Numeric Keypad Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–75
DECNRCM—National Replacement Character Set Mode . . . . . . . . . . . . . 5–75
DECNULM—Null Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–76
DECNUMLK—Num Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–76
DECOM—Origin Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–77
DECOSCNM—Set/Reset Overscan Mode (VT520 only) . . . . . . . . . . . . . . . 5–77
DECPAK—Program Alphanumeric Key . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–78
DECPCCM—Page Cursor-Coupling Mode . . . . . . . . . . . . . . . . . . . . . . . . . 5–80
DECPCTERM—Enter/Exit PCTerm or Scancode Mode . . . . . . . . . . . . . . . 5–81
DECPEX—Print Extent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–83
DECPFF—Print Form Feed Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–83
DECPFK—Program Function Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–84
DECPKA—Program Key Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–87
DECPKFMR—Program Key Free Memory Report . . . . . . . . . . . . . . . . . . 5–88
DECPS—Play Sound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–89
DECRARA—Reverse Attributes in Rectangular Area . . . . . . . . . . . . . . . . 5–90
DECRC—Restore Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–92
DECRLCM—Right-to-Left Copy Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–92
DECRLM—Right-to-Left Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–93
DECRPAK—Report All Modifiers/Alphanumeric Key State . . . . . . . . . . . . 5–94
DECRPDE—Report Displayed Extent . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–95
DECRPFK - Report Function Key Definition . . . . . . . . . . . . . . . . . . . . . . . 5–96
DECRPKT—Report Key Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–96
DECRPL—Review Previous Lines Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 5–97
DECRPM—Report Mode - Terminal To Host . . . . . . . . . . . . . . . . . . . . . . . 5–98
DECRPSS—Report Selection or Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–102
DECRPTUI—Report Terminal Unit ID . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–104
DECRQCRA—Request Checksum of Rectangular Area . . . . . . . . . . . . . . . 5–105
DECRQDE—Request Displayed Extent . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–105
DECRQKD—Request Key Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–106
DECRQKT—Request Key Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–107
DECRQM—Request Mode - Host To Terminal . . . . . . . . . . . . . . . . . . . . . . 5–108
DECRQPKFM—Request Program Key Free Memory . . . . . . . . . . . . . . . . 5–111
DECRQPSR—Request Presentation State Report . . . . . . . . . . . . . . . . . . . 5–111
DECRQSS—Request Selection or Setting . . . . . . . . . . . . . . . . . . . . . . . . . 5–112
DECRQTSR—Request Terminal State Report . . . . . . . . . . . . . . . . . . . . . 5–113
DECCTR—Color Table Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–114
DECRQUPSS—Request User-Preferred Supplemental Set . . . . . . . . . . . . 5–115
DECRSPS—Restore Presentation State . . . . . . . . . . . . . . . . . . . . . . . . . . 5–116
DECRSTS—Restore Terminal State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–117
xiii
DECRSTS—Restore Terminal Color Table State . . . . . . . . . . . . . . . . . . . . 5–118
DECSACE—Select Attribute Change Extent . . . . . . . . . . . . . . . . . . . . . . 5–119
DECSASD—Select Active Status Display . . . . . . . . . . . . . . . . . . . . . . . . . 5–120
DECSC—Save Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–120
DECSCA—Select Character Protection Attribute . . . . . . . . . . . . . . . . . . . 5–121
DECSCL—Select Conformance Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–122
DECSCLM—Scrolling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–123
DECSCNM—Screen Mode: Light or Dark Screen . . . . . . . . . . . . . . . . . . . 5–123
DECSCP—Select Communication Port . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–124
DECSCPP—Select Columns Per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–125
DECSCS—Select Communication Speed . . . . . . . . . . . . . . . . . . . . . . . . . . 5–126
DECSCUSR—Set Cursor Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–127
DECSDDT—Select Disconnect Delay Time . . . . . . . . . . . . . . . . . . . . . . . . 5–128
DECSDPT—Select Digital Printed Data Type . . . . . . . . . . . . . . . . . . . . . . 5–129
DECSED—Selective Erase in Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–129
DECSEST—Energy Saver Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–130
DECSEL—Selective Erase in Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–131
DECSERA—Selective Erase Rectangular Area . . . . . . . . . . . . . . . . . . . . . 5–132
DECSFC—Select Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–133
DECSIN—Set Icon Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–134
DECSKCV—Set Key Click Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–135
DECSLCK—Set Lock Key Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–135
DECSLPP—Set Lines Per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–136
DECSLRM—Set Left and Right Margins . . . . . . . . . . . . . . . . . . . . . . . . . 5–137
DECSMBV—Set Margin Bell Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–138
DECSMKR—Select Modifier Key Reporting . . . . . . . . . . . . . . . . . . . . . . . 5–139
DECSNLS—Set Number of Lines Per Screen . . . . . . . . . . . . . . . . . . . . . . 5–140
DECSPMA—Session Page Memory Allocation . . . . . . . . . . . . . . . . . . . . . 5–141
DECSPP—Set Port Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–142
DECSPPCS—Select ProPrinter Character Set . . . . . . . . . . . . . . . . . . . . . 5–143
DECSPRTT—Select Printer Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–144
DECSR—Secure Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–144
DECSRC—Secure Reset Confirmation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–146
DECSSCLS—Set Scroll Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–146
DECSSDT—Select Status Display (Line) Type . . . . . . . . . . . . . . . . . . . . . 5–147
DECSSL—Select Set-Up Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–148
DECST8C—Set Tab at Every 8 Columns . . . . . . . . . . . . . . . . . . . . . . . . . 5–149
DECSTBM—Set Top and Bottom Margins . . . . . . . . . . . . . . . . . . . . . . . . 5–149
DECSTR—Soft Terminal Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–150
DECSTGLT—Select Color Look-Up Table . . . . . . . . . . . . . . . . . . . . . . . . . 5–151
DECSTRL—Set Transmit Rate Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–152
DECSTUI—Setting Terminal Unit ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–153
DECSWBV—Set Warning Bell Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–154
DECSWL—Single-Width, Single-Height Line . . . . . . . . . . . . . . . . . . . . . . 5–154
DECSZS—Select Zero Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–155
DECSWT—Set Window Title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–156
DECTABSR—Tab Stop Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–157
xiv
DECTCEM—Text Cursor Enable Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–157
DECTID—Select Terminal ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–158
DECTME—Terminal Mode Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–159
DECTSR—Terminal State Report—Terminal to Host . . . . . . . . . . . . . . . . 5–160
DECTSR—Terminal State Report (Color Table Report) . . . . . . . . . . . . . . . 5–161
DECTST—Invoke Confidence Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–162
DECUDK—User Defined Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–163
DECUS—Update Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–169
DECVCCM—Vertical Cursor-Coupling Mode . . . . . . . . . . . . . . . . . . . . . . . 5–170
DECXCPR—Extended Cursor Position Report . . . . . . . . . . . . . . . . . . . . . . 5–170
DECXRLM—Transmit Rate Limiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–171
DL—Delete Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–172
DSR—Device Status Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–173
DSR—Cursor Position Report (CPR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–173
DSR—Data Integrity Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–174
DSR—Extended Cursor Position Report (DECXCPR response) . . . . . . . . . 5–174
DSR—Keyboard Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–175
DSR—Macro Space Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–176
DSR—Memory Checksum Report (DECCKSR) . . . . . . . . . . . . . . . . . . . . . 5–177
DSR—Operating Status Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–177
DSR—Printer Port Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–178
DSR—User-Defined Keys Report (VT Level 4 or higher) . . . . . . . . . . . . . . 5–179
ECH—Erase Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–179
ED—Erase in Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–180
EL—Erase in Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–180
HPA—Horizontal Position Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–181
HPR—Horizontal Position Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–181
HT—Horizontal Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–182
HTS—Horizontal Tab Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–182
HVP—Horizontal and Vertical Position . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–183
ICH—Insert Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–183
IL—Insert Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–184
IND—Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–184
IRM—Insert/Replace Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–185
KAM—Keyboard Action Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–185
LNM—Line Feed/New Line Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–186
LS—Locking Shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–187
MC—Media Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–188
NEL—Next Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–191
NP—Next Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–191
PP—Preceding Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–192
PPA—Page Position Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–192
PPB—Page Position Backward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–193
PPR—Page Position Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–193
RIS—Reset to Initial State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–194
RM—Reset Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–195
S7C1T—Send C1 Control Character to the Host . . . . . . . . . . . . . . . . . . . . 5–196
xv
S8C1T—Send C1 Control Character to the Host . . . . . . . . . . . . . . . . . . . . 5–196
SCS—Select Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–197
Designating Character Sets (SCS Sequences) . . . . . . . . . . . . . . . . . . . . . . 5–197
SD—Pan Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–200
SGR—Select Graphic Rendition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–201
SRM—Local Echo: Send/Receive Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–204
SS—Single Shifts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–205
SM—Set Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–206
SU—Pan Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–207
TBC—Tab Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–207
VPA—Vertical Line Position Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–208
VPR—Vertical Position Relative. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–208
6 SCO Console Emulation
6.1 SCO Console Emulation Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–1
6.1.1 Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–2
6.1.1.1 Local Function Keys in SCO Console Mode . . . . . . . . . . . . . . . . . . 6–2
6.1.1.2 PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–2
6.1.1.3 VT Keyboard Key Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–6
6.2 VT520 SCO Console Control Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–7
SCODFK—Define Function Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–7
SCODPCC—Display PC Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–8
SCORC—Restore Saved Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . 6–9
SCOSC—Save Current Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . 6–9
7 Character Sets
7.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–1
7.2 Character Sets Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–1
7.2.1 VT Graphic Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–1
7.2.2 PCTerm Graphic Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–2
7.2.3 Control Character Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3
7.2.4 Character Set Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3
7.2.5 Characters Not in a Character Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–3
7.3 VT Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
7.3.1 Selecting Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
7.3.2 Character Set Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
7.4 PCTerm Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
7.4.1 Selecting Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–4
7.4.2 Character Set Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
7.5 SCO Console Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
7.6 Soft Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–5
7.6.1 Designing a Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–6
7.6.2 Coding the Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–9
7.6.3 Downloading Soft Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–13
7.6.4 Designating the Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–14
7.6.5 Soft Character Set Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–15
7.6.6 Clearing a Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–16
xvi
8 Keyboard Processing
8.1 Overview—Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–1
8.2 DEC VT Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–2
8.3 VT Layout - PC Term Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–2
8.4 Enhanced PC Layout - PCTerm Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–3
8.5 Enhanced PC Layout - VT Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–3
8.5.1 DEC VT Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–3
8.5.2 IBM PC Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–4
8.6 Main Key Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–4
8.6.1 Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–4
8.6.2 Tab Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–4
8.6.3 Modifier Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–4
8.6.4 Caps Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–5
8.6.5 Left Alt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–5
8.6.6 Right Alt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–6
8.6.7 Alt Gr. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–6
8.7 Top Row Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–6
8.8 Editing Keypad Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–6
8.9 Cursor Keypad Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–7
8.10 Numeric Keypad Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–7
8.11 Local Function Key Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–9
8.11.1 Numeric Keypad Compose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–14
8.11.2 Accessibility Aids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–15
8.12 Controlling Keyboard LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–16
8.13 Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–17
8.14 Switching Between Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . 8–18
8.14.1 Keystroke Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–20
8.14.2 Non-Spacing Accent Marks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–20
8.14.3 German . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–21
8.14.4 Hebrew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–21
8.15 Keystation Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–21
8.16 Scan Codes Sent in PCTerm Mode for EPC Keyboards . . . . . . . . . . . . . . . 8–23
8.17 Scan Codes Sent in PCTerm Mode for VT Keyboards . . . . . . . . . . . . . . . . 8–27
8.18 Control Codes and Keystrokes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–28
9 Communications
9.1 Introduction to Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–1
9.2 Physical Link Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2
9.2.1 25-Pin Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2
9.2.2 DEC Corporate Modular Jacks (MMJ) . . . . . . . . . . . . . . . . . . . . . . . . . 9–3
9.2.3 Connector Pins Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–3
9.2.3.1 Transmitted Data–TXD L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–4
9.2.3.2 Received Data–RXD L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–4
9.2.3.3 Request to Send–RTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–4
9.2.3.4 Clear to Send–CTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–4
9.2.3.5 Data Terminal Ready–DTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–5
9.2.3.6 Data Set Ready–DSR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–5
9.2.3.6.1 Modem Initiated Disconnect. . . . . . . . . . . . . . . . . . . . . . . . . . . 9–5
9.2.3.6.2 Terminal Initiated Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . 9–5
9.2.3.6.3 Modem off line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–6
9.2.3.7 Receive Line Signal Detector–RLSD . . . . . . . . . . . . . . . . . . . . . . . 9–6
9.2.3.8 Speed Indicator–SPDI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–6
9.2.3.9 Speed Select–SPDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–7
xvii
9.2.4 Half-Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–7
9.2.5 Supported Modem Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–7
9.2.5.1 CCITT Public Switched Telephone Network (2-wire only) . . . . . . . 9–7
9.2.5.2 CCITT Dedicated Line (2-Wire / 4-Wire) Data Network . . . . . . . . . 9–7
9.2.5.3 European Public Circuit Switched Data Network . . . . . . . . . . . . . 9–8
9.2.5.4 European Public Packet Switched Data Network (PSDN) . . . . . . . 9–8
9.3 Data Link Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–9
9.3.1 7- /8-Bit VT100/VT520 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–9
9.3.2 Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–10
9.3.2.1 Receive Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–10
9.3.2.2 Flow Control Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–10
9.3.2.2.1 No Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–11
9.3.2.2.2 XOFF/XON or XPC Flow Control . . . . . . . . . . . . . . . . . . . . . . . 9–11
9.3.2.2.3 DSR/DTR Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–12
9.3.2.2.4 Software and Hardware Combined Flow Control . . . . . . . . . . . 9–12
9.3.2.2.5 Flow Control Threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–12
9.3.2.3 Show Control Character Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–13
9.3.2.4 Set-Up on Flow Control Handling . . . . . . . . . . . . . . . . . . . . . . . . . 9–13
9.3.2.5 When Disconnect Occurs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–13
9.4 Features that Affect Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–13
9.4.1 Clear Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–14
9.4.2 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–14
9.4.3 Line Disconnection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–14
9.4.4 Break . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–15
9.4.4.1 Received Break . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–15
10 Printer Port
10.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–1
10.2 Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–1
10.2.1 Serial Port Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–1
10.3 Parallel Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–2
10.3.1 Parallel Port Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–3
10.4 Print Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–3
10.4.1 Printer Controller Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–4
10.5 Print Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–4
10.6 Transmitting Print Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–4
10.6.1 DEC ANSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–4
10.6.2 IBM ProPrinter or Compatible Printer . . . . . . . . . . . . . . . . . . . . . . . . 10–5
10.6.2.1 Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–5
10.6.3 DEC ANSI with IBM ProPrinter Emulation . . . . . . . . . . . . . . . . . . . . 10–6
10.6.3.1 Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–7
10.7 Printer Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–7
10.8 Suspending Print Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–7
10.9 Aborting Print Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–7
Part III VT520 ASCII Emulation
xviii
11 ASCII Emulations and Control Functions
11.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–1
11.2 ASCII Emulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–1
11.2.1 Enhanced Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2
11.3 Coding Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–2
11.3.1 Communication Flow Control with PCTerm Mode . . . . . . . . . . . . . . . . 11–3
11.3.2 Protecting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11–3
12 ASCII Escape Sequences
12.1 ASCII Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–1
12.2 Terminal Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–4
12.3 Keyboard Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–5
12.4 Screen Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–10
12.4.1 Rectangular Area Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–28
12.4.1.1 Draw Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–31
12.4.1.2 Swap/Copy/Move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–31
12.5 Printing/Sending Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–32
12.5.1 Sending Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–32
12.5.2 Graphics Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–36
13 Defining and Loading ASCII Character Fonts
13.1 Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–1
13.1.1 PCTerm on US Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–1
13.1.2 WYSE and ADDS Enhanced Personalities . . . . . . . . . . . . . . . . . . . . . . 13–1
13.2 Loading, Defining, and Selecting Character Sets . . . . . . . . . . . . . . . . . . . . 13–3
13.3 Designing a Character Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–5
A VT Keyboard Legend Data
A.1 Compose Processing and Non-spacing Diacritical Marks . . . . . . . . . . . . . . A–1
A.2 VT Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–1
B Enhanced PC Keyboards
B.1 Summary of Non-Spacing Diacritical Marks . . . . . . . . . . . . . . . . . . . . . . . B–1
B.2 Enhanced PC Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–2
C ASCII Keycodes and Local Functions
C.1 PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–1
C.2 DEC VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–6
C.3 ASCII Local Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–9
D VT520 Termcap Data
D.1 Termcap Emulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D–1
D.1.1 Termcap Data: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D–1
D.1.2 Terminfo Data: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D–2
xix
E ANSI Control Function Index
E.1 ANSI Index by Final Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E–1
Glossary
Index
Figures
1–1 Sample VT Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
1–2 Sample PC Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
2–1 Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1
2–2 Set-Up Language Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2
2–3 Set-Up Summary Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–5
2–4 Main and Terminal Actions Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–7
2–5 Session Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–13
2–6 Session Page Memory Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–15
2–7 Lines per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–21
2–8 Framed Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–26
2–9 Screen Alignment Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–27
2–10 Color Set-Up Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–28
2–11 Assign Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–29
2–12 Alternate Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–30
2–13 Define Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–31
2–14 ASCII Emulation Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–35
2–15 Keyboard Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–36
2–16 Define Key Editor, Select Function . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–38
2–17 Communication Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–45
2–18 Communications—Port Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–46
2–19 Communication Transmit Speed Menu . . . . . . . . . . . . . . . . . . . . . . . . 2–48
2–20 Communication Fkey Rate Limit Menu . . . . . . . . . . . . . . . . . . . . . . . . 2–49
2–21 Communication Answerback Dialog Box . . . . . . . . . . . . . . . . . . . . . . . 2–51
2–22 Modem Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–52
2–23 Modem High Speed Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–53
2–24 Printer Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–54
2–25 DEC/ISO Character Sets Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–56
2–26 PC Character Sets Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–57
2–27 Tab Set-Up Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–59
3–1 Calculator with VT Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . 3–3
3–2 Calculator with PC Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . 3–4
3–3 Clock Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–6
4–1 7-bit ASCII Code Table with C0 Control Characters Font (Left
Half). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–14
4–2 8-bit ASCII Code Table with C1 Control Characters Font (Right Half)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–15
7–1 Character Cell Sizes for 24-Line by 80- and 132-Column Fonts . . . . . . 7–6
xx
7–2 Character Body Sizes for 24-Line by 80- and 132-Column Fonts . . . . . 7–8
7–3 Example of an Uppercase D (24-Line by 80-Column Font) . . . . . . . . . . 7–10
7–4 Sixel-to-ASCII Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–13
8–1 VT Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–1
8–2 PC Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–1
8–3 Editing Keypad Legends on DEC and PC Layouts. . . . . . . . . . . . . . . . 8–7
8–4 VT Layout - Keystation Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–21
8–5 VT Layout - Typical North American Key Legends . . . . . . . . . . . . . . . 8–22
8–6 Enhanced PC Layout - Map Numbers . . . . . . . . . . . . . . . . . . . . . . . . . 8–22
8–7 Enhanced PC Layout - Typical North American Key Legends . . . . . . . 8–22
9–1 25-Pin Port Pin Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2
9–2 MMJ Modular Jack Pin Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–3
10–1 Parallel Printer Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–2
13–1 Process of Selecting Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–2
A–1 Austrian/German VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–2
A–2 Belgian/French VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–3
A–3 British/U.K./North American VT Keyboard . . . . . . . . . . . . . . . . . . . . . A–4
A–4 Canadian-French VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–5
A–5 Czech VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–6
A–6 Danish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–7
A–7 Dutch VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–8
A–8 Finnish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–9
A–9 Flemish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–10
A–10 Greek VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–11
A–11 Hebrew VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–12
A–12 Hungarian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–13
A–13 Italian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–14
A–14 Norwegian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–15
A–15 Polish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–16
A–16 Portuguese VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–17
A–17 Romanian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–18
A–18 Russian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–19
A–19 SCS VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–20
A–20 Slovak VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–21
A–21 Spanish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–22
A–22 Swedish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–23
A–23 Swiss-French VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–24
A–24 Swiss-German VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–25
A–25 Turkish-F VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–26
A–26 Turkish-Q VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A–27
B–1 Austrian/German Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . B–3
B–2 Belgian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–4
B–3 British/U.K. Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . B–5
B–4 Canadian-English/North American Enhanced PC Keyboard . . . . . . . . B–6
B–5 Canadian-French Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . B–7
B–6 Czech Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–8
B–7 Danish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–9
xxi
B–8 Dutch Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–10
B–9 Finnish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–11
B–10 French Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–12
B–11 Greek Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–13
B–12 Hebrew Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–14
B–13 Hungarian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B–15
B–14 Italian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–16
B–15 Latin American Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . B–17
B–16 Norwegian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B–18
B–17 Polish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–19
B–18 Portuguese Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B–20
B–19 Romanian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B–21
B–20 Russian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–22
B–21 SCS Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–23
B–22 Slovak Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–24
B–23 Spanish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–25
B–24 Swedish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–26
B–25 Swiss-French Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . B–27
B–26 Swiss-German Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . B–28
B–27 Turkish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–29
Tables
1–1 VT520/25 Font Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–5
2–1 Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–3
2–2 Context Sensitive Set-Up Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–4
2–3 Display Set-Up Features and Control Functions . . . . . . . . . . . . . . . . . 2–19
2–4 Lines per Page vs. Lines per Screen When Auto Resize is Set . . . . . . 2–20
2–5 Default Graphic Renditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–32
2–6 ASCII Emulation Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–35
2–7 Keyboard Features and Control Functions . . . . . . . . . . . . . . . . . . . . . . 2–36
2–8 Communication and Modem Features and Control Functions . . . . . . . 2–45
2–9 Printer Features and Control Functions . . . . . . . . . . . . . . . . . . . . . . . 2–55
2–10 Set-Up Factory Defaults. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–61
3–1 ASCII Emulation Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7
4–1 C0 (7-Bit) Control Characters Recognized . . . . . . . . . . . . . . . . . . . . . . 4–2
4–2 C1 (8-Bit) Control Characters Recognized . . . . . . . . . . . . . . . . . . . . . . 4–3
4–3 8-Bit Control Characters and Their 7-Bit Equivalents . . . . . . . . . . . . . 4–4
4–4 Control Character Displayed on Screen . . . . . . . . . . . . . . . . . . . . . . . . 4–11
4–5 VT52 Mode Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–45
5–1 VT52 Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–18
5–2 DECDLD Parameter Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–41
5–3 Settings Supported by DECRQM, DECRPM, RM, and SM . . . . . . . . . 5–100
5–4 ANSI Modes for DECRQM, DECRPM, SM, and RM . . . . . . . . . . . . . . 5–109
5–5 DEC Private Modes for DECRQM, DECRPM, SM, and RM. . . . . . . . . 5–110
5–6 Terminal’s Default Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–150
5–7 Terminal Emulation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–159
xxii
5–8 VT Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–165
5–9 PC Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–166
5–10 VT and PC Keyboard Function Keys Compared . . . . . . . . . . . . . . . . . . 5–167
5–11 Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–175
5–12 Mapping Character Sets with Locking Shifts . . . . . . . . . . . . . . . . . . . . 5–187
5–13 Designating a Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–198
5–14 Character Set Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–198
5–15 Visual Character Attribute Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–201
6–1 SCO Console Mode with ASCII Keycodes and Scancodes . . . . . . . . . . . 6–1
6–2 Local Functions on VT and Enhanced PC Layouts . . . . . . . . . . . . . . . 6–2
6–3 SCO Console Mode Function Key Default Codes . . . . . . . . . . . . . . . . . 6–3
6–4 SCO Console Mode Main Keypad Default Codes . . . . . . . . . . . . . . . . . 6–3
6–5 SCO Console Mode Numeric Keypad Default Codes, Num Lock Off. . 6–5
6–6 SCO Console Mode Numeric Keypad Default Codes, Num Lock On . . . 6–5
6–7 SCO Console Mode Editing Keypad Default Codes . . . . . . . . . . . . . . . 6–6
6–8 SCO Console Mode Cursor Keypad Default Codes . . . . . . . . . . . . . . . . 6–6
7–1 Character Cell Sizes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–7
7–2 Guidelines for Designing Soft Characters . . . . . . . . . . . . . . . . . . . . . . 7–8
7–3 Converting Binary Code to an ASCII Character . . . . . . . . . . . . . . . . . 7–11
8–1 Scan Codes for VT Layout in PCTerm Mode . . . . . . . . . . . . . . . . . . . . 8–2
8–2 VT Style Layout vs. Enhanced PC Style Layout Modifier Keys . . . . . . 8–5
8–3 Editing Keypad Sequences for Enhanced PC Layout . . . . . . . . . . . . . . 8–7
8–4 PC Layout Numeric Keypad Sequences - VT Style . . . . . . . . . . . . . . . 8–8
8–5 PC Layout Numeric Keypad Sequences - PC Style, Numeric Mode . . . 8–9
8–6 Local Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–9
8–7 VT Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–17
8–8 Enhanced PC Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–17
8–9 8-bit Character Set Initialization when Keyboard Language is
Changed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–18
8–10 7-bit Character Set Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–19
8–11 Non-Spacing Accent Marks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–20
8–12 Control Codes and Keystrokes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8–28
9–1 EIA Interface Signals and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 9–2
9–2 MMJ Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–3
9–3 Flow Control Threshold Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9–13
10–1 Parallel Connector Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10–2
11–1 Symbols Used in ASCII Terminal Escape Sequences . . . . . . . . . . . . . . 11–2
11–2 Commands that may Carry Protect Mode Features through Pages . . . 11–4
11–3 Commands that Can Move the Cursor to Protected Area . . . . . . . . . . . 11–5
11–4 Commands that Cannot Move Cursor into Protected Area. . . . . . . . . . 11–5
12–1 Serial Port Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–1
12–2 Terminal Management Control Functions . . . . . . . . . . . . . . . . . . . . . . 12–4
12–3 Keyboard Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . 12–5
12–4 Redefinable Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–9
12–5 Screen Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 12–10
12–6 Data Protection Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–20
12–7 Cursor Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–21
xxiii
12–8 ASCII Editing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–25
12–9 Local Edit Mode Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–25
12–10 Tab Stop Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–26
12–11 Page Edit Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–27
12–12 Rules for Locating Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–29
12–13 Rectangle Area Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–30
12–14 Send Data Delimiters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–32
12–15 Delimiters for Other Personalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–33
12–16 Print/Send Control Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–33
12–17 Printing Data Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–35
12–18 Graphic Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12–36
13–1 Display and Load Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–1
13–2 Loading Font Bank . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–3
13–3 Design a Character Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13–5
A–1 VT Keyboard Non-Spacing Diacritical Marks . . . . . . . . . . . . . . . . . . . . A–1
B–1 Enhanced PC Keyboard Non-Spacing Diacritical Marks . . . . . . . . . . . B–1
C–1 WYSE and TVI Modes Function Keys for PC Keyboard . . . . . . . . . . . . C–1
C–2 WYSE and TVI Modes Function Keys for PC Keyboard . . . . . . . . . . . . C–1
C–3 WYSE and TVI Modes Editing Keys for PC Keyboard . . . . . . . . . . . . . C–2
C–4 WYSE and TVI Modes Cursor Keys on PC Keyboard . . . . . . . . . . . . . C–2
C–5 WYSE and TVI Modes Numeric Keys for PC Keyboard, NumLock =
Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–2
C–6 WYSE 160 and TVI Modes Numeric Keys for PC Keyboard, NumLock
= On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–3
C–7 ADDS A2 Function Keys on PC Keyboard . . . . . . . . . . . . . . . . . . . . . . C–3
C–8 ADDS A2 Editing Keys on PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . C–4
C–9 ADDS A2 Cursor Keys on PC Keyboard. . . . . . . . . . . . . . . . . . . . . . . . C–4
C–10 ADDS A2 Mode Numeric Keypad Keys on PC Keyboard; NumLock =
Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–4
C–11 ADDS A2 Mode Numeric Keypad Keys on PC Keyboard; NumLock =
On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–5
C–12 WYSE and TVI Modes Function Keys for DEC VT Keyboard . . . . . . . C–6
C–13 WYSE and TVI Modes Editing Keys on DEC VT Keyboard . . . . . . . . . C–6
C–14 WYSE and TVI Modes Cursor Keys on DEC VT Keyboard . . . . . . . . . C–7
C–15 WYSE and TVI Modes Numeric Keypad PF Keys on DEC VT
Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C–7
C–16 ADDS A2 Function Keys on DEC VT Keyboard . . . . . . . . . . . . . . . . . . C–7
C–17 ADDS A2 Editing Keys on DEC VT Keyboard . . . . . . . . . . . . . . . . . . . C–8
C–18 ADDS A2 Cursor Keys on DEC VT Keyboard . . . . . . . . . . . . . . . . . . . C–8
C–19 ADDS A2 Numeric Keypad PFKeys on DEC VT Keyboard . . . . . . . . . C–8
C–20 Local Functions in ASCII Code Mode . . . . . . . . . . . . . . . . . . . . . . . . . . C–9
C–21 Local Functions in PC Scancode Mode . . . . . . . . . . . . . . . . . . . . . . . . . C–11
E–1 ANSI Control Functions Index by Final Character . . . . . . . . . . . . . . . E–1
xxiv
VT520 Video Terminal
This part includes the following chapters:
• Chapter 1, Overview
• Chapter 2, Set-Up
• Chapter 3, Desktop Features
PartI
1.1 Introduction
The VT520 is a low-cost, multi-session, text video terminal featuring enhanced
keyboard and communications flexibility, providing up to four sessions at a time.
Two or more sessions can be assigned to the same communication port when
Terminal Device/Session Management Protocol (TD/SMP) is used to multiplex the
sessions. Each session has its own framed window, window title, and icon name.
The VT520 has a define key editor that allows you to reprogram any key on the
keyboard.
The VT525 color terminal allows you to assign different colors to the various
windows and to combinations of character attributes. You can select colors from
color look-up tables or create your own color combinations. Unless specifically
mentioned in this manual the term VT520 also refers to the VT525 color model.
The product has a 25-pin stacked male/female RS-232 connector (EIA-232),
two 6-pin EIA-423 (MMJ) connectors, and a Centronics parallel connector. The
RS-232 and the EIA-423 ports are used.
The VT520 also has power management features that exceed the Environmental
Protection Agency (EPA) Energy Star requirements for saving energy.
1
Overview
1.2 Communications Features
The terminal provides:
• Three bidirectional, asynchronous serial communication ports; one of which
(Comm 3) can be used for a local printer.
• Baud rates from 300 to 115.2K baud
• Centronics parallel printer port
• 25-pin serial connectors
• Two MMJ serial connectors
• Expanded flow control options:
- Software flow control using XON/XOFF or XPC
- Hardware flow control using DTR/DSR
Overview 1–1
Overview
1.3 Keyboard Features
1.3 Keyboard Features
The VT520 offers a choice of two keyboard layouts—a VT keyboard layout (LK411)
or an enhanced PC keyboard layout (PCXAL). The VT keyboard (Figure 1–1) and
the PC keyboard (Figure 1–2) differ in the placement of some of the keys, like
the Control key. A VT keyboard has 20 function keys,F1through
main keypad, while a PC keyboard has 12 function keys,F1through
Figure 1–1 Sample VT Keyboard Layout
North American/United Kingdom (Word Processing Version)
F4
F2 F3
F1
F5
F20
, above the
F12
.
F8 F9
F6
F7
F10
F13
F11
F12
Help
F14
F17
F19
F20
Do
F18
a
!
#
~
(ESC)
1 2 3 4 5 6 7 8 9 0
Tab
Q
Ctrl
Shift
A S D F G H J K L
>
<
Compose
Character
$ %
^
Z X C V B N
Alt
Function
( )
Alt
Function
-
+
-
=
}
}
]
]
|
:
"
;
\
’
Shift
>
?
<
.
,
/
Compose
Character
&
*
I O P T Y U W E R
M
Figure 1–2 Sample PC Keyboard Layout
*
I O P T Y U W E R
M
North American
F8 F9 F10
_
( )
-
:
;
>
?
<
.
,
/
F11 F12
+
BackSpace
=
}
}
|
]
]
\
Enter
"
’
Shift
Altl
g
d i i
t a l
Esc
!
~
1 2 3 4 5 6 7 8 9 0
Tab
Caps
Lock
Shift
Ctrl Ctrl
F3
F2
F1
a
#
$ %
F4 F5 F6 F7
&
^
Q
A S D F G H J K L
Z X C V B N
Alt
X
Return
Find
Select
Print
Scroll
Screen
Lock
SetUp Break
End Delete
Pause
PageUpHome Insert
Page
Down
Insert
Here
Prev Next
PF1 PF2 PF3
Remove
7 8 9
0
Caps Lock
Num Lock
/
Num
*
Lock
7 8 9
Home PgUp
4
6
5
3 2
1
PgDn
End
.
0
Ins Del
GSF-MK2510-29-DG
5 4
6
3 2 1
.
MA-1520a-92.PS
Scroll Lock
_
+
Enter
PF4
_
,
Enter
1–2 Overview
LJ-00226a-TI0.PS
The keyboard has the following features:
• An IBM PS/2-compatible 6-pin mini DIN connector.
• Keyboard keys that can be reprogrammed to send single characters, to send
character sequences, or to invoke local functions (Hold, Copy and Paste,
Remove, Insert, Print Page, Toggle Autoprint, Set-Up, Break, and so on).
• A local user-defined key editor. Key definitions can be saved in nonvolatile
memory.
• Eight levels of user-defined function keys using any combination of Shift,
Control, and Alt.
• 971 bytes of nonvolatile memory available for custom user-defined keys
(UDKs)/Session, which cannot be reallocated. The maximum length for a
UDK definition is 255 bytes.
1.4 Printer Port Features
The terminal has the following printer port features:
• A Centronics parallel printer port.
Overview
1.3 Keyboard Features
• IBM ProPrinter support.
• Bidirectional serial communication ports.
• Baud rates from 300 to 115.2K baud.
• Null characters that can pass as data to the printer port.
1.5 Display and Text Capabilities
The terminal has both ANSI and ASCII display and text processing capabilities.
The features of each are listed below.
1.5.1 ANSI
• Macro capability
• Display: 26, 42, or 53 data lines
• Selectable page size: 24, 25, 36, 42, 48, 50, or 72 lines
• Full status line (occupies one data line)
• Separate keyboard indicator line
• Three pages of 24 lines
• SCO Console mode
1.5.2 ASCII
• Terminal emulations:
WYSE: 325 (color model only), 50, 50+, 60 native, 160 text only, 120, 150,
PCTerm
Televideo: TVI 950, 925, 910+
Applied Digital Data Systems: ADDS A2
• Dim and invisible character attributes
Overview 1–3
Overview
1.6 Enhanced Set-Up
1.6 Enhanced Set-Up
The terminal provides an enhanced menu-based Set-Up, allowing common
features to be accessed easily from a single screen. All Set-Up features are host
controllable to allow remote configuration. The terminal also has a means to lock
out the local setup key.
Set-Up menus are available in English, French, German, Italian, or Spanish. For
details, see Chapter 2, Set-Up.
1.7 Desktop Productivity Features
The terminal has the following desktop productivity features:
• Local copy and paste (not available in PCTerm mode)
• Time of day clock (host or locally set, no battery back up)
• Desktop calculator with decimal, octal, and hex conversions
• Display character set tables.
• Review previous data lines.
For details, see Chapter 3, Desktop Features.
1.8 Character Set Support
In addition to the traditional Digital graphic character sets (DEC Multinational,
NRCS, and so on), the VT520 supports Cyrillic, Greek, Hebrew, Turkish, most
Eastern European languages, and PC character sets. For details, see Chapter 7,
Character Sets.
1.9 Ergonomics (Human Factors) Features
The terminal is designed to provide a high-quality human interface and longterm reliability at low cost. The VT520 offers 72 Hz refresh, full overscan. The
terminal has the following features:
• 35.5 cm (14 in) flat face, antiglare CRT screen
2
• Improved resolution of 802
432 with overscan.)
• 72 Hz refresh
• Overscan
• Additional fonts (see Table 1–1)
• Tilt/swivel base
• Choice of keyboards
• Accessibility aids
1
480 pixels. (The mono VT520 also has 800
2
1
Not available in color model.
1–4 Overview