Asynchronous Terminals and Printer Processes Programming Manual

CONTROL, SETMODE, AND SETPARAM FOR TERMINALS
SETMODE Operations
27 = set system spacing mode.
parameter-1
.
15
= 0 postspace (default)
1 prespace
parameter-2
is not used
28 = reset to configured values.
parameter-1
= 0
parameter-2
is not used
NOTE
SETMODE 29 (set auto answer or control answer mode) is not
affected by SETMODE 28.
38 = set special line-termination mode and character.
parameter-1
= 0 sets special line-termination mode.
parameter-2
is new line-termination
character. Line-termination character is
not counted in the length of a READ. No
carriage return or line feed is issued (the
cursor is not moved) at the end of a READ.
1 sets special line-termination mode.
parameter-2
is new line-termination
character. Line-termination character is
counted in the length of a READ. No
carriage return or line feed is issued (the
cursor is not moved) at the end of a READ.
2 resets special line-termination mode. The
line-termination character is restored to
its configured value.
parameter-2
must be
present but is not used.
parameter-2
= the new line-termination character if
parameter-1
= 0 or 1.
last-parameters
, if present, returns the current mode in
last-parameters
[0] and the current line-termination character
in
last-parameters
[1].
November 1987 B-5