Manual

Escape Sequences 6-13
The ASC <Output Terminator 2> parameter establishes the second character of the Output
Terminator sequence. If <Output Terminator 1> was zero, <Output Terminator 2> is
ignored. If <Output Terminator 2> is omitted or is zero, only <Output Terminator 1>, if
any, is transmitted. If neither <Output Terminator 1> nor <Output Terminator 2> is
specified, <Output Terminator 2> defaults to zero. In other words, if neither is specified,
the sequence defaults to CR-LF. If only <Output Terminator 1> is specified, the sequence
is only the one character.
The ASC <Output Initiator Character> parameter establishes a character to be sent after
the turnaround delay, if any, but before the first character of any output is transmitted. The
default is zero, or no Output Initiator Character active. See the table under
ESC.I.
Example:
ESC.M100;63;;10: establishes a 100 millisecond turnaround delay, an Output
Trigger Character of "?" (character code 63), and a one-character Output Terminator
sequence consisting of a Linefeed (character code 10). This command would be useful if the
host computer were running a BASIC interpreter which sends a "?" as the result of an
INPUT statement, but is not ready to read the data for a few milliseconds after sending the
"?". The Linefeed Output Terminator sequence ensures that the BASIC interpreter will
properly terminate its INPUT statement. (Perhaps this particular BASIC interpreter does not
like to see a Carriage Return preceding the Linefeed.) An intercharacter delay (see
ESC.N)
might also prove necessary.
ESC.N [(<Intercharacter Delay>) ;
(<Immediate Response String or Xoff Trigger String>)] :
Set Extended Output and Handshake Mode
The DEC <Intercharacter Delay> parameter specifies a delay, in milliseconds, which is to
be executed before the transmission of each character to the host. The delay begins after the
transmission of the previous character is complete. The Intercharacter Delay is executed for
the first character even if a Turnaround Delay is also active; so the net delay is the sum of
the two. The Intercharacter Delay is also executed for the Output Initiator Character and the
Output Terminator sequence; it is not executed for the first character of an unenqueued Xoff
Trigger String.
If an Enq/Ack handshake has been established via an
ESC.H or ESC.I command, the second
parameter is interpreted as <Immediate Response String>. Otherwise, it is interpreted as
<Xoff Trigger String>.
The ASC <Immediate Response String> parameter becomes the string which is
transmitted immediately when the Enquiry Character is received. (This is not the same as the
Dummy ACK described at the beginning of this chapter.) The parameter defaults to zero, or
no Immediate Response String active.
The ASC <Xoff Trigger String> parameter becomes the string which is transmitted when
the buffer space decreases below the Xoff Threshold while an Xon/Xoff handshake is
enabled. The <Xoff Trigger String> parameter must be specified in order to enable the
Xon/Xoff handshake; also, an Xoff Threshold and Xon Trigger String must be specified via
an
ESC.H or ESC.I.