Many of the asynchronous device control functions
that can be performed through FCONTROL can be performed through
FDEVICECONTROL as well. In addition, FDEVICECONTROL allows you to
perform a number of device control functions that are not available
through use of FCONTROL. Chapter 3 “Common Device Control Functions” in this manual provides some practical
examples of how you can use FCONTROL in a program to control asynchronous
devices.
This chapter describes how you might use FDEVICECONTROL to
perform additional device control functions. It includes program
fragments to illustrate the use of the intrinsic. The text which
accompanies the examples will contrast the use of the FDEVICECONTROL
and FCONTROL.
Examples in this chapter illustrate using FDEVICECONTROL to
perform the following functions:
Enable/disable transparent editing
mode
Specify a new end-of-record character.
Change the backspace character and backspace response
at a terminal.
Enable/Disable device XON/XOFF.
Combine enable/disable escape sequence read termination
function with the enable/disable suppress echo of read termination
characters function.
Specify the number of stop bits.
Refer to Chapter 8 “Intrinsics Reference”
for a complete summary of the functions available through FDEVICECONTROL
and for full explanations of its syntax and parameter values.