Status
7.
Command Completion
Status.
This request
returns
one
character
(S, F,
or
U) to indicate
the
completion
status
of
the
last
command
sent
to
the
terminal.
It
can
indicate satisfac-
tory completion (S), failure
(F),
or
interruption
of
the
operation by
the
terminal
operator
pressing
the
1:1
key
(U).
The
escape sequence used for eachof
the
above requests
and
the
format
of
the
returned
status
information is presented
in
the
following paragraphs.
STATUS TRANSFER HANDSHAKING
All
status
requests
are
treated
as
block transfers.
In
response to a
status
request,
the
termi-
nal
transmits
an
escape sequence, followed by a series of
data
bytes, followed by a terminator.
The
terminator
is
as
follows:
Character
Mode:
Block Line Mode:
Block
Page
Mode:
<CR>
or
<CR><
LF>
<CR>
or
<CR><
LF>
<Block
Termi
nator
>
In
either
Character
mode
or
Block Line mode,
the
<CR><LF>
is used
if
Auto Linefeed mode
is enabled.
In
Block
Page
mode,
the
block
terminator
is
as
selected on
the
Terminal
Configu-
ration
menu.
The
default
block
terminator
is
<RS>.
The
type
of
handshaking
used is determined by
the
setting
of
the
InhHndShk
and
InhDC2
fields of
the
Terminal
Configuration
menu
as
follows:
InhHndShkCG)
=NO
DCI
Inh
DC2CH)
=YES
or
NO
InhHndShkCG)
=YES No
handshake
I
nh
DC2CH)
=YES
InhHndShkCG)
=YES DCI/DC2/DCI
Inh
DC2CH)
=NO
Note
that
a
status
request
escape sequence resets
the
«block
trigger
received" flag.
This
means, for example,
that
if
you
are
using
the
DCI
handshake
and
the
terminal
receives a
<DC1>
followed by
the
request,
it
«forgets"
that
a block
trigger
was
just
received
and
thus
will not
send
the
data
immediately. The
terminal
must
receive
another
<DC1 > before
it
will
start
the
data
transfer.
8-2