X25AM Programming Manual

ITI Applications
X25AM Programming Manual527201-001
2-21
ITI Programming Tasks
Setting I/O processing options
Setting Options for Terminal Control Sequences
ITI uses these options to generate terminal control sequences or PAD parameter
values for PAD commands. Use the following SETMODE functions to set these
options:
SETMODE 8 Set the terminal operating mode. When a subdevice is opened, ITI
assumes that a remote terminal is in conversation mode. Set ITI
parity checking of data coming from the PAD.
SETMODE 9 (PAD param 3) Set the interrupt characters for ITI. ITI looks for
these characters, includes some of them in the data buffer that will
be transferred to the application, and may send a control sequence
to the terminal. SETMODE 9 is not accepted when the terminal is in
page mode.
SETMODE 10 SETMODE 10 is accepted but not used when the terminal is in
page mode. It becomes effective when the terminal mode is
changed to conversation mode.
SETMODE 11 Set break ownership file-access mode when a break signal is
received.
SETMODE 12 Set terminal break access mode.
SETMODE 22 (PAD param 2) Get the binary speed (bits per second) of the
connection. SETMODE 22 sends the read PAD parameter 11 and
waits for a response.
SETMODE 24 Set ITI data parity generation for data going to the PAD. This
depends on the network parity requirement.
SETMODE 31 If the size of the first packet going to the PAD is going to be less
than the default packet size, then SETMODE 31 is used to set the
packet size of the outgoing packets in each WRITE or WRITEREAD
request. It must be smaller than the configured packet size.
SETMODE 31 is accepted but not used when the terminal is in
page mode. It becomes effective when the terminal mode is
changed to conversation mode.
SETMODE 38 (PAD param 3.) Set the special line-termination character.
SETMODE 38 is processed immediately. SETMODE 38 is accepted
but not used when the terminal is in page mode. It becomes
effective when the terminal mode is changed to conversation mode.
When scanning packets from the PAD, ITI examines only the final
character in the final packet to determine the line termination
character. The application is responsible for setting the cursor
position once SETMODE 38 is in effect.