MPE/iX Intrinsics Reference Manual (32650-90905)

138 Chapter5
Command Definitions (FCONTROL - FLOCK)
FCONTROL
Note: Do not confuse the current line speed returned with the default line
speed specified during system configuration. Changing the line speed
through system intrinsics can cause a difference from the configured
setting. To reset the configured line speed, use
itemnum
=37 and
item
=0 or
close the device.
If used for a terminal connected through PAD, the value returned in
item
is meaningless. Condition code CCE (2) is returned.
41/.U16 Enable transparent editing:
Item
passes a value to be used as a subsystem break character in bits (0:8)
and a value to be used as a read terminator in bits (8:8). Returns the
values previously assigned for use as subsystem break and read
terminator characters.
When enabled, allows most special characters to be read and treated as
data and a small subset to retain their meaning:
AEOR The AEOR character defined through a previous call to
itemnum
=25. The read terminates in error, and a call to
FCHECK returns an error code of 31. The AEOR character
is passed with the data and included in the byte count.
BREAK Causes a system break (when enabled) and transfers
control to the operating system. If the RESUME command is
entered, transparent editing is resumed.
CTRLQ (DC1 or XON) The resume output character of the XON/XOFF
handshake. This character is stripped from the input data
when XON/XOFF protocol is enabled.
DC2 When input as the first character, it is stripped out. A DC1
(
CTRLQ) is written to the terminal. If not input as the first
character, DC2 is a data character.
CTRLS (DC3 or XOFF) The stop output character of the XON/XOFF
handshake. This character is stripped from the input data
when XON/XOFF protocol is enabled.
item
bits (0:8) Specifies the character that replaces the subsystem break
character. Any character not defined as a special character
in transparent mode (including the standard subsystem
break character) can be used. If set to 0, subsystem break
is disabled.
item
bits (8:8) Specifies the character that replaces the line termination
character (EOR). Any character not defined as a special
character in transparent mode can be used.
Item
=0 disables transparent editing mode and returns to standard editing
mode.
Transparent mode reads can be terminated in any of the following ways:
The read encountered the EOR character defined in
item
. This