Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)
184 Chapter8
Intrinsics Reference
FCONTROL(26, 27)
FCONTROL(26, 27)
Parameters
controlcode 26 — Disables Binary Mode
27 — Enables Binary Mode
param 16-bit unsigned integer by reference
(required)
This parameter has no meaning for these controlcode
values. Enter a dummy value of 0 to satisfy the internal
requirements of the intrinsic.
Notes An FCONTROL call with a controlcode value of 26 or
27 determines whether or not a terminal is operating in
binary editing mode for the file specified in filenum.
Use 26 to disable binary editing, 27 to enable binary
editing.
These calls are not supported for terminals connected
via DTC Telnet or via VT from an HP-UX local client
(VT3K). If FCONTROL(26) is issued to a device
connected by DTC Telnet, it will be ignored. If
FCONTROL(27) is issued to a device connected via
DTC Telnet the next FREAD posted to the device will
return an error condition, until binary mode is disabled
with FCONTROL(26). Binary editing should not be
used on a terminal connected via DTC Telnet or VT
from an HP-UX local client. The call will return a CCE
condition code but all subsequent reads will return an
error until binary editing is disabled. If
FCONTROL(27) is issued to a Telnet/iX device when
the local device is an HP-UX Telnet client, the user
must set the HP-UX client into binary (using the
HP-UX Telnet client toggle command) before the
FCONTROL(27) is issued to the Telnet/iX Server. If the
HP-UX client is not set into binary before the
FCONTROL(27) is issued, the FCONTROL will return
with CCL. The user must disable binary on the HP-UX
client before binary is disabled on the Telnet/iX Server
with FCONTROL(28).
When binary editing is enabled, no special characters
are recognized, and no special character processing is
done. All characters are considered to be data and are
passed through without any terminal control actions