Guardian Programmer's Guide

Table Of Contents
Communicating With Terminals
Guardian Programmer’s Guide 421922-014
10 - 19
Using the Page-Termination Character
Using the Page-Termination Character
A page-termination character is configured at system-generation time for each page-
mode terminal. You can set the page-termination character to any character you like
using function 9 of the SETMODE procedure (see
Setting the Interrupt Characters for
Page Mode below).
The page-termination character, when received from a terminal, signals the computer
syste
m that the current page transfer is complete. When the read operation is
complete, the page of data occupies the buffer specified by the application. This buffer
does not contain the page-termination character unless the buffer would otherwise
contain an odd number of bytes. The page-termination character is not counted in the
count-read parameter returned by the read operation.
The system does no
t issue a carriage return/line feed sequence to the terminal on
receipt of the page-termination character.
As with conversational mode, the read operation automatically finishes if the
read-count specified in the read operation is satisfied.
Figure 10-4. Page Transfer Mode
VST045.VSD