X25AM Programming Manual

ITI Applications
X25AM Programming Manual527201-001
2-33
ITI Procedure Statements Summary
SETMODE 38
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.
CALL SETMODE (filenum, function, param1, param2, last-
param)
filenum = file number
function = 38
param1 0 = Special line-termination mode. param2 is the new
character. It is not counted in the length of a READ.
1 = Special line-termination mode. param2 is the new
character. It is counted in the length of a READ.
2 = Resets special line-termination mode to the
configured value.
param2 = New-line termination character if param1 is 0 or 1.
last-param >0 If present, returns the current mode in last-
params[0] and the current line-termination character
in last-params[1].
Table 2-9. Acceptable Line-Termination Characters (page 1 of 2)
Decimal Value Character
7 BEL
8BS
9HT
10 LF
11 VT
12 FF
13 CR
14 SO
17 DC1
18 DC2
19 DC3
20 DC4
23 ETB
24 CAN
25 EM
26 SUB