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

78 Chapter3
Common Device Control Functions
Altering Terminal Deficefiles
Once an AEOR character is designated, any non-binary mode read
issued for that devicefile can be terminated by entry of the AEOR
character, as well as in the normal ways, until the device is closed, or
until the AEOR character is disabled. You can disable the AEOR
character by calling FCONTROL(25) again, using a 0 as the new value
for AEOR.
A read terminated by means of an AEOR does not end normally. A file
system error is returned, indicating that the AEOR character was used.
The AEOR character is transmitted with the rest of the read data and
is added to the byte count. No carriage return or linefeed is sent to the
terminal. See the discussion of FCONTROL(25) in Chapter 8,
“Intrinsics Reference,” for additional details on this use of the
FCONTROL intrinsic.