MPE/iX Intrinsics Reference Manual (32650-90905)

134 Chapter5
Command Definitions (FCONTROL - FLOCK)
FCONTROL
ASCII Octal Hex Terminal
Characters Code Code Keys
NUL (null) %0 $0
CTRL@
DC1 (XON) %21 $11
CTRLQ
DC3 (XOFF) %23 $13 CTRLS
DEL (Rubout) %31 $19 DEL
Subsystem Break %177 $77F CTRLY (default)
Note: Avoid using characters that have a special meaning specifically,
carriage return, linefeed, cancel, backspace, DC2, or escape. These
characters will be recognized and processed, but they can result in
unpredictable and unsuccessful results.
Do not use CTRLA as an AEOR character at the console.
26/U16 Disable binary mode:
Item
has no meaning, enter a value of 0 to satisfy internal requirements.
Ignored for terminals connected through PAD.
Binary mode is disabled by default.
27/U16 Enable binary mode:
Item
has no meaning, enter a value of 0 to satisfy internal requirements.
If this call is issued to a device connected through PAD, it is ignored;
however, the next FREAD posted to the device returns an error.
When binary mode is enabled, no special characters are processed; all
characters are considered data and are passed through without any
terminal control actions being taken. After a binary read, no carriage
return or line feed is sent to the terminal. All carriage control directives
are ignored on writes. Unless echo is disabled, any ASCII DC3 (XOFF)
character passed in data is echoed to the terminal, and the terminal is
suspended. Block mode transfers cannot be made.
Binary mode does not take effect until a read is posted to the device
following the FCONTROL call. If binary mode is enabled for both reads and
writes, post a 0 byte read immediately after the call to ensure binary mode
is enabled.
Binary mode is useful for transferring 8-bit data to and from a terminal.
Because all 8-bits are considered to be data, binary mode is not compatible
with parity checking; parity must be disabled.
In session mode, a system break restores standard editing at the terminal.
If RESUME is entered following the system break, binary mode is restored
when the first read is posted.
Binary reads are terminated on byte count, as specified in the FREAD, READ,
or READX call. Errors and read timeouts also terminate binary reads, but
an error code is returned and no data is transferred.