Asynchronous Terminals and Printer Processes Programming Manual

TERMINAL PROGRAMMING CONSIDERATIONS
Conversational Mode
CALL SETMODE ( HOME^TERM^NUM, SET^SPACE, NO^SPACE );
.
.
CALL WRITE ( HOME^TERM^NUM, BLANKS, 30, NUM^WRITTEN);
After the write, the information on the terminal appears as:
TODAY IS THE DAY
cursor
Then issue another read to the terminal. This time when the
operator enters
FOR BEGINNING<CR>
"FOR BEGINNING" is returned in BUFFER (writing over the previous
contents), and 13 is returned in NUM^READ. <CR> is not trans-
ferred into BUFFER or reflected in NUM^READ because it is the
line termination character.
After the second read, the information on the terminal appears
as:
TODAY IS THE DAY
cursor
FOR BEGINNING
Page Mode
In page mode, terminals store characters in a terminal-resident
buffer. ATP6100 or TERMPROCESS then accepts an entire page in
a continuous stream. How ATP6100 or TERMPROCESS handles the
transfer depends on whether the terminal is operating in normal
or pseudopolled page mode.
Normal Page Mode
In normal page mode, the terminal operator initiates the transfer
by pressing a function key. The terminal transmits the data
4-8