6530 Programmer's Guide
Conversational Mode Operation
2-50
6530 Programmerâs Guide
Reinitialize (Esc q)
The Esc q sequence executes an initialization sequence similar to that
executed upon entering block mode. The exceptions to this are as
follows:
Page 1 is blank filled (rather than containing the screen text from
conversational mode).
The communications line is not reinitialized.
Define Enter Key Function (Esc u)
The Esc u sequence allows you to modify the characters that are
generated when the Enter key is pressed. The format for the escape
sequence is as follows:
Esc
u count string
where:
count
is an ASCII character whose code, offset by 20H, indicates
the length in bytes of string.
string
is any character string of up to 8 characters. This is the
character string that will be generated when the RETURN key is
pressed. All characters are valid except for NUL (00H) and ENQ
(05H). To generate control characters, the ASCII code for the
control character must be sent in the escape sequence.
In conversational mode, the power-on sequence initializes the RETURN
key to generate a CR (0DH) character. The following example causes the
RETURN key to generate a CR as well as a LF (0AH) character and a
colon (:) prompt:
Esc u # CR LF :
Terminate Remote 6530 Operation (Esc - z)
The Esc - z sequence allows you to control 6530 remote termination, and
allows you to pass error-level information up to the MS-DOS system.
This makes it possible to execute programs from batch files that are too
large to âspawn offâ and keep 6530 resident. On receipt of this escape
sequence, the 6530 terminates execution through the same logic as if the
user had pressed the Ctrl-End key sequence. The parameter p is an ASCII
decimal value to be passed up as the exit error-level. This can be checked
in MS-DOS batch files to control execution of that batch file. The format
for the sequence is as follows: