62
The
ATTACH
command is also used to specify a host port for serial connections:
ATTACH {–V} BACI CONNECT=<name>{;<rate>-<size><parity><stopbits>}
...where
name
is the host name of the serial port to use (e.g.,
ser0
or
COM1
). If the
–V
(verbose) option is
included, a connection confirmation message will be output to the port.
An optional serial port configuration string may be supplied after the host name. The required values are:
•
rate
is the baud rate in bits per second.
•
size
is the character size in bits including the parity bit, if designated.
•
parity
designates the parity to use:
N
(no),
E
(even),
O
(odd),
M
(mark), or
S
(space).
•
stopbits
is the number of stop bits (
1
,
1.5
, or
2
).
Serial connections default to 9600 baud, 8-bit characters, no parity, and one stop bit.
While the BACI can connect to generic clients, RTE drivers for the BACI require the use of HP terminals or terminal
emulators.
Device and unit configuration options specify timing and output modes. The command forms are:
SET BACI <device-option>
SET BACI <unit-option>
Device options that may be specified are:
Option
Action
DIAGNOSTIC
Connect using a diagnostic test connector
TERMINAL
Connect using Telnet or a serial port; default
FASTTIME
Use optimized timing; default
REALTIME
Use realistic timing
SC=<n>
Set the interface card select code; default is 35
DEBUG=<option>
Enable tracing
NODEBUG
Disable tracing; default
ENABLED
Enable the device; default
DISABLED
Disable the device
Enabling
DIAGNOSTIC
mode simulates the installation of the HP 12966-60003 diagnostic test (loopback)
connector onto the 12966A card. In addition, any current session is disconnected, and the BACI is detached from
the Telnet listening port. While in diagnostic mode, the
ATTACH BACI
command is not allowed. Enabling
TERMINAL
mode simulates the installation of the HP 12966-60008 (264x terminal) connector and RS-232 cable
and allows the BACI to be attached to accept an incoming connection again.
The BACI supports fifteen programmable baud rates from 50 to 9600 baud, as well as an external rate determined
by the connected terminal. With the
REALTIME
option, the simulation accurately models the transmission and
reception baud rates (in machine instructions). For example, setting the interface to 1200 baud will take twice as
long to output a given listing as setting the interface to 2400 baud. Enabling optimized timing with the
FASTTIME
option reduces the timing to the minimum necessary to operate correctly; this is much faster than the real BACI
would operate.
Setting the BACI to fast timing also enables three optimizations. First, buffered characters are transferred via
Telnet in blocks, rather than a character at a time. Second, ENQ/ACK handshaking is done locally, without