Asynchronous Terminals and Printer Processes Programming Manual

PROCEDURE CALLS FOR ACCESSING TERMINALS
Procedure Calls Summary
SETMODE sets and clears the following characteristics:
spacing control conversational/page mode
parity checking read termination on interrupt
access mode characters
baud rate reset to default values
auto line feed start/stop downloading
break ownership define interrupt characters
echo read termination on ETX
character size prespacing/postspacing
auto disconnect special line termination
generate parity shift in/shift out
screen size
See Appendix B for a summary of SETMODE
operations.
SETMODENOWAIT is used in the same way as SETMODE, except
the caller is not suspended while the call
completes.
SETPARAM sets or returns break-handling parameters.
WRITE writes information to an open file.
WRITEREAD writes, then waits for data to be read back from
an open file.
OPEN
As with any other file, you access a terminal with the OPEN
procedure. Use the following call to open a terminal configured
as an ATP6100 subdevice:
INT .TERMBUFF [0:11] := ["$ATP1.#TERM1 "];
CALL OPEN ( TERMBUFF, FNUM );
Use the following call to open a terminal controlled by
TERMPROCESS:
INT .TERMBUFF [0:11] := ["$TERM "];
CALL OPEN (TERMBUFF, FNUM);
3-2