VT520/VT525 Video Terminal
Programmer Information
dt
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.
Preface
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
• Chapter 1, Overview
• Chapter 2, Set-Up
• Chapter 3, Desktop Features
• Part II, VT520 ANSI Mode
• 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
Multiple keys are separated by a slash (/) and should be
pressed in combination. That is, all three keys
Alt
,
Ctrl
, and
Print Screen
are pressed down at the same time.
Characters in control
functions
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
(
=
Control function
1/11 2/3 3/6
(
=
Column/row numbers
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:
• 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