6530 Programmer's Guide
Block Mode Operation
6530 Programmer’s Guide
3-93
cursor
specifies the row and column for the current cursor
position. This will have either the normal or the extended addressing
format as described in “Cursor and Buffer Addressing” on page 3-
13.
Write to Message Field (Esc o)
The Esc o sequence allows your application program to write text into the
message field of the message/status line. (See Chapter 1 for a discussion
of the message/status line format). The Esc o code is followed by the text
to be displayed, and the sequence is terminated by a CR control character
(ODH). For example, the following sequence writes the phrase SELECT
OPTION in the message field:
Esc o SELECT OPTION CR
The 6530 clears an existing message before writing the new text. Thus, to
simply clear the message field. you can send:
Esc o CR
The message can also be assigned video attributes by embedding Esc 6
sequences within the text.
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.
Terminate Remote 6530 Operation (Esc - z)
The Esc - z sequence allows you to control the 6530’s 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 the 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: