Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)

Chapter 3 83
Common Device Control Functions
Altering Terminal Deficefiles
must explicitly disable transparent editing, either by issuing an
FCLOSE against the device, or by calling the intrinsic used to set
transparent mode again with both the EOR and subsystem break
characters set to null.
The code fragment shown in Figure 3-8 provides an example of enabling
transparent editing mode through FCONTROL(41). This FCONTROL
uses param to set new values for the EOR character (in the low order
byte) and the subsystem break character (in the high order byte). In the
example, the
bkeor
variable is set to 6433, to specify that an
exclamation point (!) is the new EOR character and
[CTRL]Y is the
subsystem break character. Any subsequent read will recognize and
treat these characters accordingly and strip them from the input
stream.
A similar code fragment, setting
bkeor
to 0, could be used to disable
transparent editing mode.
See Chapter 4, “Using FDEVICECONTROL,” for an example of using
FDEVICECONTROL to enable transparent editing mode.