Guardian Programmer's Guide

Table Of Contents
Communicating With Terminals
Guardian Programmer’s Guide 421922-014
10 - 3
Accessing a Terminal
Table 10-1 summarizes all CONTROL operations that affect terminal operation.
On return from one of the calls listed in Table 10-1, the condition code should be CCE
if the CONTROL operation was successful. A condition code of CCL indicates an
error.
Table 10-2 summarizes all SETMODE functions that relate to terminal operation.
Table 10-1. Terminal CONTROL Operations
CONTROL
Number Operation
1 Provides forms control
11 Specifies a wait for a modem connection
12
Disconnects a modem
Table 10-2. Summary of Terminal SETMODE Functions
SETMODE
Number Function
6 Sets system spacing control
7 Sets system auto line feed after receipt of line-termination character
8 Sets the system transfer mode (page mode or conversational mode)
9 Sets the interrupt characters
10 Sets parity checking
11 Sets BREAK ownership (SETPARAM function 3 also sets BREAK mode)
12 Sets the terminal access mode for normal mode or BREAK mode
13 Sets system read termination following receipt of ETX character
14 Sets system read termination following receipt of an interrupt character
20 Sets echo mode
22 Sets the terminal baud rate
23 Sets the number of bits that specify one character
24 Sets parity generation
27 Sets system spacing mode
28 Resets configured values
38 Sets special line-termination mode and the new line-termination interrupt
ch
aracter
67 Enables or disables AUTODCONNECT for full-duplex modems
110 Enables or disables shift in, shift out mode
113 Sets the screen size