Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)
Chapter 8 205
Intrinsics Reference
FDEVICECONTROL
The specific action that will be performed by a call to
FDEVICECONTROL using 192 as a value for controlcode is
determined by the value of the parm1 parameter. The applicable
parm1 values and their meanings are described in the parameter
descriptions that follow.
Note that all but one of the functions performed apply only to
asynchronous terminals; controlcode 192 is not used for control of
DTC serial printers. (The exception occurs when a parm1 value of 1 is
used to specify a printer type file.) The parm2 parameter is used to
indicate the Read/Write access desired for each call. That is, should the
call replace old settings with new values, return information to your
program, or both set new values and return old ones.
The parm2 access values allowed with each parm1 control function
are shown in Table 8-8, along with a brief description of the control
function being performed.
In Table 8-8 an R indicates that only Read access is allowed, while R/W
indicates that Read, Write, or both Read and Write access are allowed.
Table 8-8 Allowable Access Value for Device Control
140 Page control.
141 Clear environment.
142 Reserved for MPE/iX.
143 Load the default environment.
144 Print picture.
145 End of job.
146 Device extended capability mode.
192 Device control operations.
193 Record processing information for NRJE spoolfiles.
Code Operation Performed
parm1
Value
Access
Allowed
Device Control Operation
1 R/W Specify terminal type or printer type file.
2 R/W Set read timeout value for the next read.
3 R/W Set the line speed for the device.
4 R/W Set echo on or off at terminal.
5 R/W Set system break response on or off at a terminal.
6 R/W Set subsystem break response on or off at a terminal.