ek-vt520-rm

Embed Size (px)

DESCRIPTION

VT520/VT525 Video TerminalProgrammer Information

Citation preview

  • VT520/VT525 Video TerminalProgrammer Information

    dt

    Order Number: EK-VT520-RM. A01

  • July 1994

    Digital Equipment Corporation makes no representations that the use of its products in themanner described in this publication will not infringe on existing or future patent rights, nor dothe descriptions contained in this publication imply the granting of licenses to make, use, or sellequipment 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 MachinesCorporation.MSDOS 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

    IntroductionThis manual provides detailed information for advanced users, consultants, andprogrammers. 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

  • ConventionsThe 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 bepressed in combination. That is, all three keys Alt , Ctrl , and

    Print Screen are pressed down at the same time.Characters in controlfunctions

    Control function characters are in boldface type. Beloweach character is a column/row number that indicates thecharacters 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 ManualThe 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 supportperson, who provides assistance to application programmers and users; and ahardware systems engineer, who need more information on terminal connections.

    Advanced UserIf you have read the VT520 Video Terminal Installation and OperatingInformation manual and need more information on the the terminal Set-Upfeatures, you may wish to refer to the following:

    Index

    Chapter 1OverviewProvides a brief summary of the product.

    Chapter 2Set-UpDescribes each entry in the Set-Up menus in the orderthat is displayed in the terminal.

    Chapter 3Desktop FeaturesProvides a more in-depth description of thedesktop features of the terminal.

    Chapter 6Keyboard ProcessingDescribes the differences in the typesof keyboard layouts supported, local functions, and accessibility aids.

    ProgrammerIf you are using ANSI control functions for your program, then you may wish tostart with Part II of the manual:

    Chapter 4ANSI Control Function Summary Provides a tutorialsection on Control Functions and information on designing and down-lineloading a Soft Character set (soft font). In this chapter, the Control Functionsare grouped according to the task to be performed. The information on eachControl Function is very brief. If you need more information, the mnemonicat the end of the line item refers to a command section in Chapter 5.

    Chapter 5ANSI Control FunctionsProvides in-depth information oneach control function listed in alphabetic order according to the mnemonic.

    Chapter 2Set-UpLists the Set-Up factory defaults at the end of thischapter, with their host control code mnemonic.

    iv

  • Chapter 6Keyboard ProcessingDescribes the keyboard layouts,keyboard-to-host interface, keypad sequences, local functions, LEDs controls,languages, accents, scan codes, and control codes.

    Chapter 9CommunicationsDescribes the serial communications fromthe terminal to the host ports and the hardware and software handshaking.

    Chapter 10Printer PortDescribes the parallel printer port and theswitching sequences for the modes supported.

    Appendix AVT Keyboard Legend Data

    Appendix BEnhanced PC Keyboard Legend Data

    Appendix DVT500 Termcap Data

    If you are developing a application program for a SCO Console, then you maywish to refer to:

    Chapter 6SCO Console EmulationDescribes 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 tostart with Part III of the manual:

    Chapter 11ASCII Emulations and Control Functions Provides anoverview of the ASCII emulation, the coding notation, and the symbols usedin the ASCII sequence tables.

    Chapter 12ASCII Escape SequencesSummarizes the ASCII escapeand control sequences for the various ASCII emulation modes, according tothe task to be performed.

    Chapter 13Defining and Loading ASCII Character Fonts Providesspecific information on loading font banks and designing an ASCII characterfont.

    Appendix CASCII Keycodes and Local Functions

    Software Product SupportIf you are helping a user or programmer with an application, then you may wishto refer to the following:

    Appendix EANSI Control Function IndexLists the control functionsby their final character, which makes them easier to find in a program. Themnemonic at the end of the line item refers to a command in Chapter 5, listedin alphabetic order.

    IndexLists control functions by mnemonic or by name and lists othersubjects by topic.

    Chapter 5ANSI Control FunctionsProvides in-depth information onspecific control functions.

    Chapter 6Keyboard ProcessingLists the scan codes Make and Breaksequences.

    Appendix DVT500 Termcap DataProvides the Termcap information forANSI emulations.

    v

  • Hardware Systems EngineerIf you are helping a user to install the terminal or to operate within a specificenvironment, then you may wish to refer to the following:

    IndexSearch by topic.

    Chapter 1Overview Provides a brief summary of the product.

    Chapter 2Set-Up Describes each entry in the order that is displayed inthe terminal, starting with the Actions menu and lists the modes supported.Also lists the Set-Up factory defaults.

    Chapter 9CommunicationsDescribes the serial communications fromthe terminal to the host ports, pin numbers and signals, and the hardwareand software handshaking.

    Chapter 10Printer PortDescribes the parallel printer port, pin numbersand signals, and modes supported.

    vi

  • Contents

    Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii

    Part I VT520 Video Terminal

    1 Overview1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.2 Communications Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111.3 Keyboard Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121.4 Printer Port Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.5 Display and Text Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.5.1 ANSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.5.2 ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131.6 Enhanced Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.7 Desktop Productivity Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.8 Character Set Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.9 Ergonomics (Human Factors) Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 141.10 Field-Upgradable Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151.11 Comparison with previous VT Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . 16

    2 Set-Up2.1 Entering Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212.1.1 Effects of Entering Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222.1.2 Set-Up Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222.1.3 Power-On Settings and Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222.1.4 Self-test Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232.1.5 Context Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232.1.6 Set-Up Summary Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252.1.7 Set-Up Status Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252.1.8 Status Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262.1.9 Keyboard Indicator Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262.2 Set-Up Screen Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272.3 Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282.3.1 On-Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282.3.2 Save Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292.3.3 Restore Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292.3.4 Exit Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292.4 Actions Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292.4.1 Clear Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292.4.2 Clear Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292.4.3 Reset this Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2102.4.4 Restore Factory Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2102.4.5 Clock, Calculator, Show Character Sets . . . . . . . . . . . . . . . . . . . . . . . . 211

    vii

  • 2.4.6 Banner Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2112.5 Multiple Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2112.5.1 Enabling and Controlling the Session Configuration . . . . . . . . . . . . . . 2122.5.2 Multiple Sessions using a Terminal Server with TD/SMP . . . . . . . . . . 2122.5.3 Multiple Sessions using SSU Host Software . . . . . . . . . . . . . . . . . . . . 2122.5.4 Opening Another Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2122.5.5 Restoring an Interrupted Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2132.5.6 Session Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2132.6 Session Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2132.6.1 Select Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2142.6.2 Session Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2142.6.3 Pages per Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2142.6.4 Soft Character Sets/Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2162.6.5 Save Settings for All and Restore Settings for All . . . . . . . . . . . . . . . . 2162.6.6 Copy Settings from Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2172.6.7 Update Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2172.7 Resetting and Restoring Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2182.7.1 Reset Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2182.7.2 Restore Factory Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2182.8 Display Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2192.8.1 Lines per Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2202.8.1.1 Auto Resize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2202.8.2 Lines per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2202.8.3 Review Previous Lines Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2212.8.4 Columns per Page, Clear on Change . . . . . . . . . . . . . . . . . . . . . . . . . . 2222.8.5 Status Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2222.8.6 Scrolling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2222.8.7 Screen Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2222.8.8 Cursor Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2222.8.9 Cursor Coupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2222.8.10 Writing Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2232.8.11 Zero . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2232.8.12 Auto Wrap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2232.8.13 New Line Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2232.8.14 Lock User Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2232.8.15 Show Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2242.8.16 CRT Saver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2242.8.17 Energy Saver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2242.8.17.1 Warning Bell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2252.8.18 Overscan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2252.8.19 Framed Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2252.8.20 Screen Alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2272.9 Color Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2282.9.1 Assign Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2282.9.2 Alternate Text Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2302.9.3 Define Colors Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2312.9.4 Select Color Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2322.9.5 ASCII Color Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2322.9.6 Bold and Blink Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2322.9.7 Erase Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2322.9.8 Reverse and Blank Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2332.9.9 Intensity Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2332.10 Terminal Type Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2332.10.1 Emulation Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233

    viii

  • 2.10.2 Terminal ID to Host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2342.10.3 VT Default Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2342.10.4 PCTerm Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2342.10.5 7-Bit NRCS Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2342.10.6 Transmit 7-Bit Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2342.11 ASCII Emulation Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2352.12 Keyboard Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2362.12.1 Keyboard Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2372.12.2 Define Key Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2372.12.2.1 Copy of Key DefaultMoving a Standard Function . . . . . . . . . . . . 2382.12.2.2 Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2392.12.2.3 Modifier Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2392.12.2.4 Creating a New Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2392.12.2.5 Examples of Creating New Functions . . . . . . . . . . . . . . . . . . . . . . 2392.12.2.6 Correcting a Mistake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2402.12.2.7 Creating A New Alphanumeric Key or Keyboard Layout . . . . . . . . 2402.12.2.8 Examples of Creating New Alphanumeric Keys . . . . . . . . . . . . . . . 2402.12.2.9 User-Defined Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2412.12.2.10 Programming Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2412.12.3 Save Key Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2422.12.4 Recall Key Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2422.12.5 Lock Key Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2422.12.6 Caps Lock Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2422.12.7 Keyclick, Warning Bell, and Margin Bell Volume . . . . . . . . . . . . . . . . . 2422.12.7.1 Visible Bell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2432.12.8 Keyboard Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2432.12.9 Auto Repeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2432.12.10 Data Processing Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2432.12.11 Application Cursor Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2432.12.12 Application Keypad Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2442.12.13 Map PC Keyboard to VT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2442.12.14 Ignore Missing Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2442.13 Communication Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2452.13.1 Communication Port Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2462.13.2 Word Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2472.13.3 Parity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2472.13.4 Stop Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2472.13.5 Transmit Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2482.13.6 Receive Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2482.13.7 Transmit Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2482.13.8 Receive Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2492.13.9 Flow Control Threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2492.13.10 Transmit Rate Limit, Fkey Rate Limit . . . . . . . . . . . . . . . . . . . . . . . . . 2492.13.11 Ignore Null Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2502.13.12 Local Echo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2502.13.13 Half Duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2502.13.14 Auto Answerback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2502.13.15 Answerback Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2502.13.16 Answerback Concealed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2512.14 Modem Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2522.14.1 Enable Modem Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2522.14.2 Disconnect Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2522.14.3 Modem High Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2532.14.4 Modem Low Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253

    ix

  • 2.15 Printer Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2542.15.1 Port Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2542.15.2 Print Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2542.15.3 Printer Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2552.15.4 Printer Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2552.15.4.1 DEC/ISO Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2562.15.4.2 PC Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2562.15.5 Print Extent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2562.15.6 Print Terminator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2562.15.7 Serial Print Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2562.15.8 2-Way Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2572.15.9 Transmit Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2572.15.10 Receive Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2572.15.11 Word Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2572.15.12 Parity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2582.15.13 Stop Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2582.15.14 Same as Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2582.16 Tabs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2582.17 Sound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2592.18 Set-Up Factory Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261

    3 Desktop Features3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313.2 Invoking Desktop Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313.3 Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323.4 Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353.5 Review Previous Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.6 Character Set Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.6.1 Show Character Sets feature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.6.2 Banner message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383.7 Keyboard Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

    Part II VT520 ANSI Mode

    4 ANSI Control Functions Summary4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414.2 Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414.3 Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454.3.1 Sequence Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454.3.2 Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464.3.3 Control Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464.3.3.1 Control Sequence Introducer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464.3.3.2 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474.3.3.3 Intermediate Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484.3.3.4 Final Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484.3.4 Device Control Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484.3.5 Using Control Characters in Sequences . . . . . . . . . . . . . . . . . . . . . . . . 494.3.6 7-Bit Code Extension Technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494.4 Working with 7-Bit and 8-Bit Environments . . . . . . . . . . . . . . . . . . . . . . . 4104.4.1 Conventions for Codes Received by the Terminal . . . . . . . . . . . . . . . . . 4104.4.2 Conventions for Codes Sent by the Terminal . . . . . . . . . . . . . . . . . . . . 4104.5 Showing Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411

    x

  • 4.6 Terminal Management Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4154.7 ANSI Control Function Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4164.7.1 Sessions Management Control Functions . . . . . . . . . . . . . . . . . . . . . . . 4164.7.2 Window Management Control Functions . . . . . . . . . . . . . . . . . . . . . . . 4174.7.3 Audible Attributes Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . 4184.7.4 Color Selection Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4184.7.5 Visual Attributes Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 4204.7.6 Editing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4214.7.7 Text Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4224.7.8 Graphic Character Sets Control Functions . . . . . . . . . . . . . . . . . . . . . . 4254.7.9 Keyboard Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . 4274.7.10 Printer Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4334.7.11 Terminal Management Control Functions . . . . . . . . . . . . . . . . . . . . . . 4344.7.12 Terminal ManagementCommunications Control Functions . . . . . . . 4394.7.13 Terminal Synchronization Control Functions . . . . . . . . . . . . . . . . . . . . 4414.7.14 Reports Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4424.8 VT52 Mode Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445

    5 ANSI Control FunctionsANSI Conformance Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51CBTCursor Backward Tabulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53CHACursor Horizontal Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53CHTCursor Horizontal Forward Tabulation . . . . . . . . . . . . . . . . . . . . . . 54CNLCursor Next Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54CPLCursor Previous Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55CPRCursor Position Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55CRMShow Control Character Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56CUBCursor Backward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57CUDCursor Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57CUFCursor Forward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57CUPCursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58CUUCursor Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58DA1Primary Device Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59DA2Secondary Device Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511DA3Tertiary Device Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512DCHDelete Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513DDD1, DDD2, DDD3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514DECAAMSet/Reset Auto Answerback Mode . . . . . . . . . . . . . . . . . . . . . . 515DECACAssign Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516DECALNScreen Alignment Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517DECANMANSI Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518DECANM ExitExiting ANSI (VT52) Mode . . . . . . . . . . . . . . . . . . . . . . . 519DECARMAutorepeat Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519DECARRSelect Auto Repeat Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520DECARSMSet/Reset Auto Resize Mode . . . . . . . . . . . . . . . . . . . . . . . . . 521DECATCAlternate Text Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522DECATCBMSet/Reset Alternate Text Color Blink Mode . . . . . . . . . . . . . 523DECATCUMSet/Reset Alternate Text Color Underline Mode . . . . . . . . . 523DECAUPSSAssigning User-Preferred Supplemental Sets . . . . . . . . . . . 524

    xi

  • DECAWMAutowrap Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525DECBBSMBold and Blink Style Mode . . . . . . . . . . . . . . . . . . . . . . . . . 525DECBIBack Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526DECBKMBackarrow Key Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526DECCANSMConceal Answerback Message Mode . . . . . . . . . . . . . . . . . 527DECCAPSLKCaps Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528DECCARAChange Attributes in Rectangular Area . . . . . . . . . . . . . . . . 528DECCIRCursor Information Report (Terminal to Host) . . . . . . . . . . . . . 530DECCKDCopy Key Default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531DECCKMCursor Keys Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532DECCKSRMemory Checksum Report . . . . . . . . . . . . . . . . . . . . . . . . . . . 533DECCOLMSelecting 80 or 132 Columns per Page . . . . . . . . . . . . . . . . . 534DECCRACopy Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535DECCRTSTCRT Saver Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 536DECCRTSMSet/Reset CRT Save Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 537DECDCDelete Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 537DECDHLDouble-Width, Double-Height Line . . . . . . . . . . . . . . . . . . . . . 538DECDLDDynamically Redefinable Character Sets Extension . . . . . . . . . 539DECDMACDefine Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545DECDLDADown Line Load Allocation . . . . . . . . . . . . . . . . . . . . . . . . . 547DECDWLDouble-Width, Single-Height Line . . . . . . . . . . . . . . . . . . . . . 548DECECMErase Color Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548DECEKBDExtended Keyboard Report . . . . . . . . . . . . . . . . . . . . . . . . . 549DECELFEnable Local Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551DECERAErase Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 552DECESEnable Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553DECESKMEnable Secondary Keyboard Language Mode . . . . . . . . . . . . 553DECFIForward Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554DECFRAFill Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555DECFWMSet/Reset Framed Windows Mode . . . . . . . . . . . . . . . . . . . . . . 556DECHDPXMSet/Reset Half-Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . 556DECHEMHebrew Encoding Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 557DECHEBMHebrew/N-A Keyboard Mapping Mode . . . . . . . . . . . . . . . . . 558DECHWUMHost Wake-Up Mode (CRT and Energy Saver) . . . . . . . . . . 559DECICInsert Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559DECIDIdentify Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560DECINVMInvoke Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561DECIPEMEnter/Return from IBM ProPrinter Emulation Mode . . . . . . . 562DECKBDKeyboard Language Selection . . . . . . . . . . . . . . . . . . . . . . . . . 563DECKBUMTypewriter or Data Processing Keys . . . . . . . . . . . . . . . . . . 565DECKLHIMKeyboard LEDs Host Indicator Mode . . . . . . . . . . . . . . . . . 565DECKPAMKeypad Application Modes . . . . . . . . . . . . . . . . . . . . . . . . . . 566DECKPMKey Position Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 566DECKPNMKeypad Numeric Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567DECLANSLoad Answerback Message . . . . . . . . . . . . . . . . . . . . . . . . . . 568DECLBANLoad Banner Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569DECLFKCLocal Function Key Control . . . . . . . . . . . . . . . . . . . . . . . . . 570

    xii

  • DECLLLoad LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571DECLRMMLeft Right Margin Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572DECLTODLoad Time of Day . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 572DECMCMModem Control Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573DECMSRMacro Space Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573DECNAKBGreek/N-A Keyboard Mapping Mode . . . . . . . . . . . . . . . . . . . 574DECNCSMNo Clearing Screen On Column Change Mode . . . . . . . . . . . 574DECNKMNumeric Keypad Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575DECNRCMNational Replacement Character Set Mode . . . . . . . . . . . . . 575DECNULMNull Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576DECNUMLKNum Lock Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576DECOMOrigin Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577DECOSCNMSet/Reset Overscan Mode (VT520 only) . . . . . . . . . . . . . . . 577DECPAKProgram Alphanumeric Key . . . . . . . . . . . . . . . . . . . . . . . . . . . 578DECPCCMPage Cursor-Coupling Mode . . . . . . . . . . . . . . . . . . . . . . . . . 580DECPCTERMEnter/Exit PCTerm or Scancode Mode . . . . . . . . . . . . . . . 581DECPEXPrint Extent Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583DECPFFPrint Form Feed Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 583DECPFKProgram Function Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 584DECPKAProgram Key Action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587DECPKFMRProgram Key Free Memory Report . . . . . . . . . . . . . . . . . . 588DECPSPlay Sound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589DECRARAReverse Attributes in Rectangular Area . . . . . . . . . . . . . . . . 590DECRCRestore Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592DECRLCMRight-to-Left Copy Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592DECRLMRight-to-Left Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593DECRPAKReport All Modifiers/Alphanumeric Key State . . . . . . . . . . . . 594DECRPDEReport Displayed Extent . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595DECRPFK - Report Function Key Definition . . . . . . . . . . . . . . . . . . . . . . . 596DECRPKTReport Key Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596DECRPLReview Previous Lines Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 597DECRPMReport Mode - Terminal To Host . . . . . . . . . . . . . . . . . . . . . . . 598DECRPSSReport Selection or Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . 5102DECRPTUIReport Terminal Unit ID . . . . . . . . . . . . . . . . . . . . . . . . . . . 5104DECRQCRARequest Checksum of Rectangular Area . . . . . . . . . . . . . . . 5105DECRQDERequest Displayed Extent . . . . . . . . . . . . . . . . . . . . . . . . . . . 5105DECRQKDRequest Key Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5106DECRQKTRequest Key Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5107DECRQMRequest Mode - Host To Terminal . . . . . . . . . . . . . . . . . . . . . . 5108DECRQPKFMRequest Program Key Free Memory . . . . . . . . . . . . . . . . 5111DECRQPSRRequest Presentation State Report . . . . . . . . . . . . . . . . . . . 5111DECRQSSRequest Selection or Setting . . . . . . . . . . . . . . . . . . . . . . . . . 5112DECRQTSRRequest Terminal State Report . . . . . . . . . . . . . . . . . . . . . 5113DECCTRColor Table Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5114DECRQUPSSRequest User-Preferred Supplemental Set . . . . . . . . . . . . 5115DECRSPSRestore Presentation State . . . . . . . . . . . . . . . . . . . . . . . . . . 5116DECRSTSRestore Terminal State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5117

    xiii

  • DECRSTSRestore Terminal Color Table State . . . . . . . . . . . . . . . . . . . . 5118DECSACESelect Attribute Change Extent . . . . . . . . . . . . . . . . . . . . . . 5119DECSASDSelect Active Status Display . . . . . . . . . . . . . . . . . . . . . . . . . 5120DECSCSave Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5120DECSCASelect Character Protection Attribute . . . . . . . . . . . . . . . . . . . 5121DECSCLSelect Conformance Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5122DECSCLMScrolling Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5123DECSCNMScreen Mode: Light or Dark Screen . . . . . . . . . . . . . . . . . . . 5123DECSCPSelect Communication Port . . . . . . . . . . . . . . . . . . . . . . . . . . . 5124DECSCPPSelect Columns Per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . 5125DECSCSSelect Communication Speed . . . . . . . . . . . . . . . . . . . . . . . . . . 5126DECSCUSRSet Cursor Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5127DECSDDTSelect Disconnect Delay Time . . . . . . . . . . . . . . . . . . . . . . . . 5128DECSDPTSelect Digital Printed Data Type . . . . . . . . . . . . . . . . . . . . . . 5129DECSEDSelective Erase in Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5129DECSESTEnergy Saver Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5130DECSELSelective Erase in Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5131DECSERASelective Erase Rectangular Area . . . . . . . . . . . . . . . . . . . . . 5132DECSFCSelect Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5133DECSINSet Icon Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5134DECSKCVSet Key Click Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5135DECSLCKSet Lock Key Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5135DECSLPPSet Lines Per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5136DECSLRMSet Left and Right Margins . . . . . . . . . . . . . . . . . . . . . . . . . 5137DECSMBVSet Margin Bell Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5138DECSMKRSelect Modifier Key Reporting . . . . . . . . . . . . . . . . . . . . . . . 5139DECSNLSSet Number of Lines Per Screen . . . . . . . . . . . . . . . . . . . . . . 5140DECSPMASession Page Memory Allocation . . . . . . . . . . . . . . . . . . . . . 5141DECSPPSet Port Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5142DECSPPCSSelect ProPrinter Character Set . . . . . . . . . . . . . . . . . . . . . 5143DECSPRTTSelect Printer Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5144DECSRSecure Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5144DECSRCSecure Reset Confirmation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5146DECSSCLSSet Scroll Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5146DECSSDTSelect Status Display (Line) Type . . . . . . . . . . . . . . . . . . . . . 5147DECSSLSelect Set-Up Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5148DECST8CSet Tab at Every 8 Columns . . . . . . . . . . . . . . . . . . . . . . . . . 5149DECSTBMSet Top and Bottom Margins . . . . . . . . . . . . . . . . . . . . . . . . 5149DECSTRSoft Terminal Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5150DECSTGLTSelect Color Look-Up Table . . . . . . . . . . . . . . . . . . . . . . . . . 5151DECSTRLSet Transmit Rate Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5152DECSTUISetting Terminal Unit ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5153DECSWBVSet Warning Bell Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . 5154DECSWLSingle-Width, Single-Height Line . . . . . . . . . . . . . . . . . . . . . . 5154DECSZSSelect Zero Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5155DECSWTSet Window Title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5156DECTABSRTab Stop Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5157

    xiv

  • DECTCEMText Cursor Enable Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 5157DECTIDSelect Terminal ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5158DECTMETerminal Mode Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5159DECTSRTerminal State ReportTerminal to Host . . . . . . . . . . . . . . . . 5160DECTSRTerminal State Report (Color Table Report) . . . . . . . . . . . . . . . 5161DECTSTInvoke Confidence Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5162DECUDKUser Defined Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5163DECUSUpdate Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5169DECVCCMVertical Cursor-Coupling Mode . . . . . . . . . . . . . . . . . . . . . . . 5170DECXCPRExtended Cursor Position Report . . . . . . . . . . . . . . . . . . . . . . 5170DECXRLMTransmit Rate Limiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5171DLDelete Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5172DSRDevice Status Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5173DSRCursor Position Report (CPR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5173DSRData Integrity Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5174DSRExtended Cursor Position Report (DECXCPR response) . . . . . . . . . 5174DSRKeyboard Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5175DSRMacro Space Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5176DSRMemory Checksum Report (DECCKSR) . . . . . . . . . . . . . . . . . . . . . 5177DSROperating Status Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5177DSRPrinter Port Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5178DSRUser-Defined Keys Report (VT Level 4 or higher) . . . . . . . . . . . . . . 5179ECHErase Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5179EDErase in Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5180ELErase in Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5180HPAHorizontal Position Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5181HPRHorizontal Position Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5181HTHorizontal Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5182HTSHorizontal Tab Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5182HVPHorizontal and Vertical Position . . . . . . . . . . . . . . . . . . . . . . . . . . . 5183ICHInsert Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5183ILInsert Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5184INDIndex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5184IRMInsert/Replace Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5185KAMKeyboard Action Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5185LNMLine Feed/New Line Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5186LSLocking Shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5187MCMedia Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5188NELNext Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5191NPNext Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5191PPPreceding Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5192PPAPage Position Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5192PPBPage Position Backward . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5193PPRPage Position Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5193RISReset to Initial State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5194RMReset Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5195S7C1TSend C1 Control Character to the Host . . . . . . . . . . . . . . . . . . . . 5196

    xv

  • S8C1TSend C1 Control Character to the Host . . . . . . . . . . . . . . . . . . . . 5196SCSSelect Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5197Designating Character Sets (SCS Sequences) . . . . . . . . . . . . . . . . . . . . . . 5197SDPan Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5200SGRSelect Graphic Rendition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5201SRMLocal Echo: Send/Receive Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 5204SSSingle Shifts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5205SMSet Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5206SUPan Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5207TBCTab Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5207VPAVertical Line Position Absolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5208VPRVertical Position Relative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5208

    6 SCO Console Emulation6.1 SCO Console Emulation Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616.1.1 Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626.1.1.1 Local Function Keys in SCO Console Mode . . . . . . . . . . . . . . . . . . 626.1.1.2 PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626.1.1.3 VT Keyboard Key Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 666.2 VT520 SCO Console Control Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

    SCODFKDefine Function Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67SCODPCCDisplay PC Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68SCORCRestore Saved Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . 69SCOSCSave Current Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . 69

    7 Character Sets7.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717.2 Character Sets Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717.2.1 VT Graphic Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717.2.2 PCTerm Graphic Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727.2.3 Control Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737.2.4 Character Set Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 737.2.5 Characters Not in a Character Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . 737.3 VT Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747.3.1 Selecting Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747.3.2 Character Set Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747.4 PCTerm Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747.4.1 Selecting Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747.4.2 Character Set Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757.5 SCO Console Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757.6 Soft Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757.6.1 Designing a Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767.6.2 Coding the Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 797.6.3 Downloading Soft Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7137.6.4 Designating the Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . 7147.6.5 Soft Character Set Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7157.6.6 Clearing a Soft Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716

    xvi

  • 8 Keyboard Processing8.1 OverviewKeyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 818.2 DEC VT Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828.3 VT Layout - PC Term Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828.4 Enhanced PC Layout - PCTerm Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838.5 Enhanced PC Layout - VT Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838.5.1 DEC VT Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838.5.2 IBM PC Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848.6 Main Key Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848.6.1 Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848.6.2 Tab Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848.6.3 Modifier Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 848.6.4 Caps Lock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858.6.5 Left Alt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858.6.6 Right Alt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868.6.7 Alt Gr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868.7 Top Row Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868.8 Editing Keypad Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 868.9 Cursor Keypad Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 878.10 Numeric Keypad Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 878.11 Local Function Key Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 898.11.1 Numeric Keypad Compose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8148.11.2 Accessibility Aids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8158.12 Controlling Keyboard LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8168.13 Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8178.14 Switching Between Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . 8188.14.1 Keystroke Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8208.14.2 Non-Spacing Accent Marks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8208.14.3 German . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8218.14.4 Hebrew . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8218.15 Keystation Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8218.16 Scan Codes Sent in PCTerm Mode for EPC Keyboards . . . . . . . . . . . . . . . 8238.17 Scan Codes Sent in PCTerm Mode for VT Keyboards . . . . . . . . . . . . . . . . 8278.18 Control Codes and Keystrokes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 828

    9 Communications9.1 Introduction to Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 919.2 Physical Link Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929.2.1 25-Pin Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929.2.2 DEC Corporate Modular Jacks (MMJ) . . . . . . . . . . . . . . . . . . . . . . . . . 939.2.3 Connector Pins Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 939.2.3.1 Transmitted DataTXD L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 949.2.3.2 Received DataRXD L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 949.2.3.3 Request to SendRTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 949.2.3.4 Clear to SendCTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 949.2.3.5 Data Terminal ReadyDTR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 959.2.3.6 Data Set ReadyDSR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 959.2.3.6.1 Modem Initiated Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . 959.2.3.6.2 Terminal Initiated Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . 959.2.3.6.3 Modem off line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969.2.3.7 Receive Line Signal DetectorRLSD . . . . . . . . . . . . . . . . . . . . . . . 969.2.3.8 Speed IndicatorSPDI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969.2.3.9 Speed SelectSPDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97

    xvii

  • 9.2.4 Half-Duplex Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 979.2.5 Supported Modem Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 979.2.5.1 CCITT Public Switched Telephone Network (2-wire only) . . . . . . . 979.2.5.2 CCITT Dedicated Line (2-Wire / 4-Wire) Data Network . . . . . . . . . 979.2.5.3 European Public Circuit Switched Data Network . . . . . . . . . . . . . 989.2.5.4 European Public Packet Switched Data Network (PSDN) . . . . . . . 989.3 Data Link Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999.3.1 7- /8-Bit VT100/VT520 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999.3.2 Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9109.3.2.1 Receive Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9109.3.2.2 Flow Control Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9109.3.2.2.1 No Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9119.3.2.2.2 XOFF/XON or XPC Flow Control . . . . . . . . . . . . . . . . . . . . . . . 9119.3.2.2.3 DSR/DTR Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9129.3.2.2.4 Software and Hardware Combined Flow Control . . . . . . . . . . . 9129.3.2.2.5 Flow Control Threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9129.3.2.3 Show Control Character Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9139.3.2.4 Set-Up on Flow Control Handling . . . . . . . . . . . . . . . . . . . . . . . . . 9139.3.2.5 When Disconnect Occurs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9139.4 Features that Affect Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9139.4.1 Clear Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9149.4.2 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9149.4.3 Line Disconnection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9149.4.4 Break . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9159.4.4.1 Received Break . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 915

    10 Printer Port10.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10110.2 Serial Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10110.2.1 Serial Port Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10110.3 Parallel Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10210.3.1 Parallel Port Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10310.4 Print Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10310.4.1 Printer Controller Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10410.5 Print Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10410.6 Transmitting Print Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10410.6.1 DEC ANSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10410.6.2 IBM ProPrinter or Compatible Printer . . . . . . . . . . . . . . . . . . . . . . . . 10510.6.2.1 Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10510.6.3 DEC ANSI with IBM ProPrinter Emulation . . . . . . . . . . . . . . . . . . . . 10610.6.3.1 Data Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10710.7 Printer Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10710.8 Suspending Print Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10710.9 Aborting Print Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107

    Part III VT520 ASCII Emulation

    xviii

  • 11 ASCII Emulations and Control Functions11.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11111.2 ASCII Emulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11111.2.1 Enhanced Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11211.3 Coding Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11211.3.1 Communication Flow Control with PCTerm Mode . . . . . . . . . . . . . . . . 11311.3.2 Protecting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113

    12 ASCII Escape Sequences12.1 ASCII Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12112.2 Terminal Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12412.3 Keyboard Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12512.4 Screen Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121012.4.1 Rectangular Area Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122812.4.1.1 Draw Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123112.4.1.2 Swap/Copy/Move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123112.5 Printing/Sending Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123212.5.1 Sending Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123212.5.2 Graphics Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1236

    13 Defining and Loading ASCII Character Fonts13.1 Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13113.1.1 PCTerm on US Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13113.1.2 WYSE and ADDS Enhanced Personalities . . . . . . . . . . . . . . . . . . . . . . 13113.2 Loading, Defining, and Selecting Character Sets . . . . . . . . . . . . . . . . . . . . 13313.3 Designing a Character Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135

    A VT Keyboard Legend DataA.1 Compose Processing and Non-spacing Diacritical Marks . . . . . . . . . . . . . . A1A.2 VT Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A1

    B Enhanced PC KeyboardsB.1 Summary of Non-Spacing Diacritical Marks . . . . . . . . . . . . . . . . . . . . . . . B1B.2 Enhanced PC Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B2

    C ASCII Keycodes and Local FunctionsC.1 PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C1C.2 DEC VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C6C.3 ASCII Local Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C9

    D VT520 Termcap DataD.1 Termcap Emulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D1D.1.1 Termcap Data: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D1D.1.2 Terminfo Data: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D2

    xix

  • E ANSI Control Function IndexE.1 ANSI Index by Final Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E1

    Glossary

    Index

    Figures11 Sample VT Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1212 Sample PC Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1221 Set-Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2122 Set-Up Language Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2223 Set-Up Summary Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2524 Main and Terminal Actions Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2725 Session Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21326 Session Page Memory Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21527 Lines per Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22128 Framed Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22629 Screen Alignment Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227210 Color Set-Up Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228211 Assign Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229212 Alternate Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230213 Define Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231214 ASCII Emulation Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235215 Keyboard Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236216 Define Key Editor, Select Function . . . . . . . . . . . . . . . . . . . . . . . . . . . 238217 Communication Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245218 CommunicationsPort Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246219 Communication Transmit Speed Menu . . . . . . . . . . . . . . . . . . . . . . . . 248220 Communication Fkey Rate Limit Menu . . . . . . . . . . . . . . . . . . . . . . . . 249221 Communication Answerback Dialog Box . . . . . . . . . . . . . . . . . . . . . . . 251222 Modem Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252223 Modem High Speed Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253224 Printer Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254225 DEC/ISO Character Sets Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256226 PC Character Sets Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257227 Tab Set-Up Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25931 Calculator with VT Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . 3332 Calculator with PC Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . 3433 Clock Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3641 7-bit ASCII Code Table with C0 Control Characters Font (Left

    Half) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41442 8-bit ASCII Code Table with C1 Control Characters Font (Right Half)

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41571 Character Cell Sizes for 24-Line by 80- and 132-Column Fonts . . . . . . 76

    xx

  • 72 Character Body Sizes for 24-Line by 80- and 132-Column Fonts . . . . . 7873 Example of an Uppercase D (24-Line by 80-Column Font) . . . . . . . . . . 71074 Sixel-to-ASCII Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71381 VT Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8182 PC Keyboard Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8183 Editing Keypad Legends on DEC and PC Layouts . . . . . . . . . . . . . . . . 8784 VT Layout - Keystation Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82185 VT Layout - Typical North American Key Legends . . . . . . . . . . . . . . . 82286 Enhanced PC Layout - Map Numbers . . . . . . . . . . . . . . . . . . . . . . . . . 82287 Enhanced PC Layout - Typical North American Key Legends . . . . . . . 82291 25-Pin Port Pin Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9292 MMJ Modular Jack Pin Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93101 Parallel Printer Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102131 Process of Selecting Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . 132A1 Austrian/German VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A2A2 Belgian/French VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A3A3 British/U.K./North American VT Keyboard . . . . . . . . . . . . . . . . . . . . . A4A4 Canadian-French VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A5A5 Czech VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A6A6 Danish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A7A7 Dutch VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A8A8 Finnish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A9A9 Flemish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A10A10 Greek VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A11A11 Hebrew VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A12A12 Hungarian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A13A13 Italian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A14A14 Norwegian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A15A15 Polish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A16A16 Portuguese VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A17A17 Romanian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A18A18 Russian VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A19A19 SCS VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A20A20 Slovak VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A21A21 Spanish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A22A22 Swedish VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A23A23 Swiss-French VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A24A24 Swiss-German VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A25A25 Turkish-F VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A26A26 Turkish-Q VT Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A27B1 Austrian/German Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . B3B2 Belgian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B4B3 British/U.K. Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . B5B4 Canadian-English/North American Enhanced PC Keyboard . . . . . . . . B6B5 Canadian-French Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . B7B6 Czech Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B8B7 Danish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B9

    xxi

  • B8 Dutch Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B10B9 Finnish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B11B10 French Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B12B11 Greek Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B13B12 Hebrew Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B14B13 Hungarian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B15B14 Italian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B16B15 Latin American Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . B17B16 Norwegian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B18B17 Polish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B19B18 Portuguese Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B20B19 Romanian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . B21B20 Russian Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B22B21 SCS Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B23B22 Slovak Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B24B23 Spanish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B25B24 Swedish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B26B25 Swiss-French Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . B27B26 Swiss-German Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . B28B27 Turkish Enhanced PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B29

    Tables11 VT520/25 Font Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1521 Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2322 Context Sensitive Set-Up Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 2423 Display Set-Up Features and Control Functions . . . . . . . . . . . . . . . . . 21924 Lines per Page vs. Lines per Screen When Auto Resize is Set . . . . . . 22025 Default Graphic Renditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23226 ASCII Emulation Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23527 Keyboard Features and Control Functions . . . . . . . . . . . . . . . . . . . . . . 23628 Communication and Modem Features and Control Functions . . . . . . . 24529 Printer Features and Control Functions . . . . . . . . . . . . . . . . . . . . . . . 255210 Set-Up Factory Defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26131 ASCII Emulation Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3741 C0 (7-Bit) Control Characters Recognized . . . . . . . . . . . . . . . . . . . . . . 4242 C1 (8-Bit) Control Characters Recognized . . . . . . . . . . . . . . . . . . . . . . 4343 8-Bit Control Characters and Their 7-Bit Equivalents . . . . . . . . . . . . . 4444 Control Character Displayed on Screen . . . . . . . . . . . . . . . . . . . . . . . . 41145 VT52 Mode Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44551 VT52 Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51852 DECDLD Parameter Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54153 Settings Supported by DECRQM, DECRPM, RM, and SM . . . . . . . . . 510054 ANSI Modes for DECRQM, DECRPM, SM, and RM . . . . . . . . . . . . . . 510955 DEC Private Modes for DECRQM, DECRPM, SM, and RM . . . . . . . . . 511056 Terminals Default Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515057 Terminal Emulation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5159

    xxii

  • 58 VT Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516559 PC Keyboards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5166510 VT and PC Keyboard Function Keys Compared . . . . . . . . . . . . . . . . . . 5167511 Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5175512 Mapping Character Sets with Locking Shifts . . . . . . . . . . . . . . . . . . . . 5187513 Designating a Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5198514 Character Set Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5198515 Visual Character Attribute Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520161 SCO Console Mode with ASCII Keycodes and Scancodes . . . . . . . . . . . 6162 Local Functions on VT and Enhanced PC Layouts . . . . . . . . . . . . . . . 6263 SCO Console Mode Function Key Default Codes . . . . . . . . . . . . . . . . . 6364 SCO Console Mode Main Keypad Default Codes . . . . . . . . . . . . . . . . . 6365 SCO Console Mode Numeric Keypad Default Codes, Num Lock Off . . 6566 SCO Console Mode Numeric Keypad Default Codes, Num Lock On . . . 6567 SCO Console Mode Editing Keypad Default Codes . . . . . . . . . . . . . . . 6668 SCO Console Mode Cursor Keypad Default Codes . . . . . . . . . . . . . . . . 6671 Character Cell Sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7772 Guidelines for Designing Soft Characters . . . . . . . . . . . . . . . . . . . . . . 7873 Converting Binary Code to an ASCII Character . . . . . . . . . . . . . . . . . 71181 Scan Codes for VT Layout in PCTerm Mode . . . . . . . . . . . . . . . . . . . . 8282 VT Style Layout vs. Enhanced PC Style Layout Modifier Keys . . . . . . 8583 Editing Keypad Sequences for Enhanced PC Layout . . . . . . . . . . . . . . 8784 PC Layout Numeric Keypad Sequences - VT Style . . . . . . . . . . . . . . . 8885 PC Layout Numeric Keypad Sequences - PC Style, Numeric Mode . . . 8986 Local Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8987 VT Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81788 Enhanced PC Keyboard Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . 81789 8-bit Character Set Initialization when Keyboard Language is

    Changed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 818810 7-bit Character Set Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 819811 Non-Spacing Accent Marks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 820812 Control Codes and Keystrokes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82891 EIA Interface Signals and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 9292 MMJ Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9393 Flow Control Threshold Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913101 Parallel Connector Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102111 Symbols Used in ASCII Terminal Escape Sequences . . . . . . . . . . . . . . 112112 Commands that may Carry Protect Mode Features through Pages . . . 114113 Commands that Can Move the Cursor to Protected Area . . . . . . . . . . . 115114 Commands that Cannot Move Cursor into Protected Area . . . . . . . . . . 115121 Serial Port Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121122 Terminal Management Control Functions . . . . . . . . . . . . . . . . . . . . . . 124123 Keyboard Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . 125124 Redefinable Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129125 Screen Processing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 1210126 Data Protection Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1220127 Cursor Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1221

    xxiii

  • 128 ASCII Editing Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1225129 Local Edit Mode Function Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12251210 Tab Stop Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12261211 Page Edit Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12271212 Rules for Locating Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12291213 Rectangle Area Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12301214 Send Data Delimiters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12321215 Delimiters for Other Personalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12331216 Print/Send Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12331217 Printing Data Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12351218 Graphic Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1236131 Display and Load Character Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131132 Loading Font Bank . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133133 Design a Character Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135A1 VT Keyboard Non-Spacing Diacritical Marks . . . . . . . . . . . . . . . . . . . . A1B1 Enhanced PC Keyboard Non-Spacing Diacritical Marks . . . . . . . . . . . B1C1 WYSE and TVI Modes Function Keys for PC Keyboard . . . . . . . . . . . . C1C2 WYSE and TVI Modes Function Keys for PC Keyboard . . . . . . . . . . . . C1C3 WYSE and TVI Modes Editing Keys for PC Keyboard . . . . . . . . . . . . . C2C4 WYSE and TVI Modes Cursor Keys on PC Keyboard . . . . . . . . . . . . . C2C5 WYSE and TVI Modes Numeric Keys for PC Keyboard, NumLock =

    Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C2C6 WYSE 160 and TVI Modes Numeric Keys for PC Keyboard, NumLock

    = On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C3C7 ADDS A2 Function Keys on PC Keyboard . . . . . . . . . . . . . . . . . . . . . . C3C8 ADDS A2 Editing Keys on PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . C4C9 ADDS A2 Cursor Keys on PC Keyboard . . . . . . . . . . . . . . . . . . . . . . . . C4C10 ADDS A2 Mode Numeric Keypad Keys on PC Keyboard; NumLock =

    Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C4C11 ADDS A2 Mode Numeric Keypad Keys on PC Keyboard; NumLock =

    On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C5C12 WYSE and TVI Modes Function Keys for DEC VT Keyboard . . . . . . . C6C13 WYSE and TVI Modes Editing Keys on DEC VT Keyboard . . . . . . . . . C6C14 WYSE and TVI Modes Cursor Keys on DEC VT Keyboard . . . . . . . . . C7C15 WYSE and TVI Modes Numeric Keypad PF Keys on DEC VT

    Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C7C16 ADDS A2 Function Keys on DEC VT Keyboard . . . . . . . . . . . . . . . . . . C7C17 ADDS A2 Editing Keys on DEC VT Keyboard . . . . . . . . . . . . . . . . . . . C8C18 ADDS A2 Cursor Keys on DEC VT Keyboard . . . . . . . . . . . . . . . . . . . C8C19 ADDS A2 Numeric Keypad PFKeys on DEC VT Keyboard . . . . . . . . . C8C20 Local Functions in ASCII Code Mode . . . . . . . . . . . . . . . . . . . . . . . . . . C9C21 Local Functions in PC Scancode Mode . . . . . . . . . . . . . . . . . . . . . . . . . C11E1 ANSI Control Functions Index by Final Character . . . . . . . . . . . . . . . E1

    xxiv

  • Part IVT520 Video Terminal

    This part includes the following chapters:

    Chapter 1, Overview

    Chapter 2, Set-Up

    Chapter 3, Desktop Features

  • 1Overview

    1.1 IntroductionThe VT520 is a low-cost, multi-session, text video terminal featuring enhancedkeyboard and communications flexibility, providing up to four sessions at a time.Two or more sessions can be assigned to the same communication port whenTerminal Device/Session Management Protocol (TD/SMP) is used to multiplex thesessions. 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 thekeyboard.

    The VT525 color terminal allows you to assign different colors to the variouswindows and to combinations of character attributes. You can select colors fromcolor look-up tables or create your own color combinations. Unless specificallymentioned 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. TheRS-232 and the EIA-423 ports are used.

    The VT520 also has power management features that exceed the EnvironmentalProtection Agency (EPA) Energy Star requirements for saving energy.

    1.2 Communications FeaturesThe terminal provides:

    Three bidirectional, asynchronous serial communication ports; one of which(Comm 3) can be used for a local printer.

    Baud