Guardian Programming Reference Summary for pTAL and TAL
SETMODE Operations
Guardian Programming Reference Summary for pTAL and TAL—522631-001
11-14
38 Terminal: Set special line-termination mode and character
param1
= 0 
sets special line-termination mode. The value of param2 is the new line-
termination character. The line-termination character is not counted in the 
length of a read. No system-supplied carriage return or line feed is issued at the 
end of a read (see note on cursor movement below). 
= 1 
sets special line-termination mode. The value of param2  is the new line-
termination interrupt character. The line-termination character is counted in the 
length of a read. No system-supplied carriage return or line feed is issued at the 
end of a read (see note on cursor movement below). 
= 2 
resets special line-termination mode. The line-termination interrupt character is 
restored to its configured value. The param2  parameter must be present but 
is not used.
param2 = the new line-termination interrupt character (passed in bits 
<8:15>) if param1 = 0 or 1.
The last-params parameter, if present, returns the current mode in last-
params [0] and the current line-termination interrupt character in last-params 
[1].
Note:
Although the cursor typically will not move when 0 or 1 is specified for 
param1, these options do not turn off ECHO. Therefore, if the termination 
character is one which would normally cause cursor movement (such as an LF 
or a CR) and ECHO is enabled, cursor movement will occur. 
Note. SETMODEs 40-49 are reserved for the Exchange products. Refer to the Exchange 
reference manuals for details.
<function> Parameters and Effect










