PLBLinux Terminal Specifics


 

The following sections discuss specific features, limitations or requirements of certain terminals currently supported by the interpreter.

 

Datapoint 82xx Terminals

 

To assure not only the completeness of the PL/B implementation but the familiarity of the operator interface, we have provided support for Datapoint's 82xx terminals. This insures that all standard PL/B video attributes perform as desired: All 5 Function Keys are supported and the expanded F6 through F10. Left, Right, Up, Down, Escape, Insert, Delete, Page Up, Page Down, Home and End Key definitions offered in Sunbelt's implementation are also supported.

 

Included on the distribution media is a program named tsetup and several files with the extension .dll. The tsetup program interrogates the Datapoint terminal to determine the terminal type then uses the information within the appropriate .dll file to down-line load the correct sequences for the Function Keys and Special Keys to send when pressed. The tsetup program searches the PLB_SYSTEM directory defined during the software installation as the location of the screen definition files for the appropriate .dll file.

 

tsetup [{dllname}]

 

{dllname] is the full path name of the .dll file to use. Sunbelt only supports 82xx terminals when the supplied screen definition (.def) and down-line load (.dll) files have not been modified and are used together. Modifications are at the user's risk and without any guarantee of support.

 

Before achieving full functionality on an 82xx terminal, tsetup must be executed on it. Do not configure XON/XOFF. In addition, the Linux stty command must establish the system interrupt (intr - SIGINT) as Ctrl-c, cancel (kill - SIGKILL) as Ctrl-x and backspace with erasure (erase - echoe) as Ctrl-h as follows:

 

stty intr '^c' kill '^x' erase '^h' echoe

 

The following shows the Key Mapping for 82xx terminals to the PL/B implementation:

 

82xx Keys

PL/B equivalent

DELete ( -] | [- )

Delete (DEL)

Insert [-]

Insert (INS)* 8220 or 8242 only

F1 through F5

F1 through F5 respectively

Shifted F1 through F5

F6 through F10 respectively

INT (right of F5)

Interrupt (INT/INTERRUPT)

ATT (right of F4)

Escape (ESC)

KEYBOARD

Page Up (PGUP)

DISPLAY

Page Down (PGDN)

Shift - Num Pad 1

End (END)

Shift - Num Pad 2

Down (DOWN)

Shift - Num Pad 3

Page Down (PGDN)

Shift - Num Pad 4

Left (LEFT)

Shift - Num Pad 6

Right (RIGHT)

Shift - Num Pad 7

Home (HOME)

Shift - Num Pad 8

Up (UP)

Shift - Num Pad 9

Page Up (PGUP)

 

The following is the recommended wiring diagram for 82xx terminals to a standard host:

 

DPT 82xx

Host

Signal/Pin

Signal

TD - 2

RD

RD - 4

TD

GND - 7

GND

DTR - 12

DSR

 

 

Many systems also require the Signals RTS (Request To Send) and CTS (Clear To Send) be strapped together on the host.

 

DPT 82xx

Tower 32/U5000

Signal/Pin

Signal/Pin

TD - 2

RD - 9

RD - 4

TD - 1

GND - 7

GND - 11

DTR - 12

DSR - 3

 

RTS - 2

 

CTS - 10

 

In addition, the following Datapoint terminal configuration settings are required:

 

DBL KEY

N

UP CASE

N

BREAK

N

LOC ERASE

N

TX ERASE

Y

LOC HOME

N

TX HOME

Y

LOC DISP

N

CTRL KEY

Y

AUTO ROLL

Y

AUTO CR/LF

N

ROLL DN

Y

PRINT ALL

N

PRINT DEL

N

CURS OFF

Y

BELL

N

ESC OPTS

Y

GP KBD

Y*

ESC KBD

N*

 

All others are as appropriate to the system in use or the user's discretion (* denotes 8220 or 8242 only). The Datapoint terminal configuration menu is initiated by holding down the CTRL key and depressing the INT key twice, then entering (OPT) at the prompt.

 

Unisys (Sperry) SVT1220

 

This is a terminal that combines Function and Special keys (such as Backspace) into one key or does not support a standard range of Function keys (it lacks an F5 even though it offers more than 10 Function keys). In the default screen definition file supplied for this terminal (svt1220.def), the following characteristics have been assumed:

 

SVT1220 Key

PL/B Equivalent

F20

F5

F11 (ESC)

F11

F12 (Backspace)

F12

F13 (Line Feed)

F13

HELP

F15

DO

F16

 

All other keys are as labeled. These default characteristics can be changed through makedef. However, modifications are at the user's risk and without any guarantee of support.

 

To enable these characteristics, the following options must be established for the terminal:

 

General Set-Up -VT200, 7 bit, User-Defined Keys Unlocked, User Features Unlocked, Clear User-Defined Keys, & Normal Cursor Keys. Enhancements Set-Up -VT100 F-Keys=ESC/BS/LF and User Program

 

 

See Also: Compiler and Runtime Options

 



Compiler and Runtime Options Environment Considerations PLB Unix Program Execution