text
stringlengths
0
99.6k
N. Interrogation.
Although not part of the B Plus Protocol, implementors are urged
to support the CompuServe Interrogation Sequence. This process
passes information to the CompuServe Host to identify the
various options supported by the terminal program. Host
software will generally perform an Enquire (Section D.1) first
to determine if the terminal program supports B Protocol. If B
Protocl ("Classic," QuickB, or B Plus) is supported, the host
then sends the sequence:
<ESC> I
When the terminal program receives this sequence of characters,
it transmits an Interrogation Response as follows:
<#> <Mod> <Ver> <F-codes> <+> <Check> <CR>
where:
<#> Identifies the string as an Interrogation
Response
<Mod> Specifies the specific hardware or operating
system, or a generic class of software. It is
always three characters in length. In addition
to several reserved codes, the following
generic codes are defined:
APX - Apple (TM) II/Macintosh
ATX - Atari (TM) 8, 16, and 32 bit
AUT - Auto-Script Program
CCX - Commodore (TM) C64 and Amiga
CPM - CP/M (TM) Operating System
IBX - IBM (TM) Compatible
XXX - Other model/type
<Ver> Gives the terminal software version number. It
may contain Letters, Digits, and Periods.
<F-codes> A series of character fields giving the
options supported. Each <F-code> is followed
by a comma. The currently recognized <F-codes>
are as follows:
Cursor/Screen Control
AC : ANSI Color
CA : ANSI/VT100 Cursor Control
CC : VIDTEX/VT52 Cursor Control
CW : Wide mode (Double width characters
invoked by <ESC> <m>
uninvoked by <ESC> <l> (lower
case L)
SSyx : Screen Size; y gives number of
lines + 31, x gives number of
33
columns plus 31. SS7o identifies
a 24 line by 80 column screen.
It is suggested that the SS field
always be present.
Graphics
GF : GIF graphics
GH : High resolution RLE graphics
GM : Medium resolution RLE graphics
NF : Full NAPLPS graphics
Protocols
AP : Recognizes and properly responds to
the CompuServe Application Protocol
escape sequences
CB : Capture Buffer
PB : B Protocol (includes QuickB and B
Plus)
PX : XMODEM
Miscellaneous
HC : Hard Copy (printer connected)
XX : Ignored
All other <F-codes> are reserved for future use.
<Check> This is a check value derived by adding
together all characters in the Interrogate
Response up to and including the +,
truncating the sum to 16 bits, and converting
it to an ASCII digit string.
<CR> This is the ASCII Carriage Return and serves to
terminate the Interrogate Response.
If the <Check> value does not match, the host will send another
<ESC> I and compare the string it receives to the previous one.
If the two strings match, it is accepted, otherwise the <ESC> I
and matching will continue for ten trials before giving up.