Connects the TANDEM user’s port to a specified target port so that target port activity is displayed at the TANDEM user’s terminal for monitoring purposes. Also, in feed mode, it allows the TANDEM user’s port to pass input to the target user process.
TANDEM target-port{ (options}
target-port is the number of the port to be monitored.
F Enable feed mode immediately.
V Establishes a view mode session with the same restrictions as the PEEK command. That is, the session can be terminated with the return key and the TANDEM menu cannot be displayed, so the TANDEM commands are not available.
Both users must be connected to the same Reality database.
Tandem operation must be enabled on the target port. This can be done:
Note: Both SSM and ALLOW-TANDEM give you the option to allow or enable TANDEM. If tandem is allowed rather than enabled, the user must enable access with the system debugger before connection can be made.
TANDEM does not allow you to monitor underlying host terminal I/O (for example, when you use the SYS command).
When TANDEM is used in conjunction with Field Read, to minimise differences between the target and TANDEM user’s terminal displays, the TANDEM user’s port must be set up in exactly the same terminal mode as the target port before commencing tandem operation. For example, if Field Read operation is disabled on the target port, it must be disabled on the TANDEM user’s port. If the Field Read terminal executive (T.E.) is loaded and Field Read is enabled on the target port, then the T.E. must be loaded and Field Read enabled on the TANDEM user’s port.
TANDEM connects the user's port to the specified target port and operates with the target port in one of two modes:
To change a mode or quit Tandem operation altogether, you must interrupt the tandem process by pressing the current break key (this can be temporarily changed with the B command described below). The following menu is displayed:
? This help menu Q Exit tandem F Enable feed mode F n Enable feed mode on stream n V Revert to view mode V n Revert to view mode on stream n M t Send message 't' D Force to debugger B ^k Break-key Control-k <Enter> resumes session
Enter:
F{stream} To select feed mode. If no stream number is specified, all target input/output is displayed on both the target and TANDEM users’ terminals. If you specify a stream number, input/output for that stream is re-routed to the TANDEM user’s terminal.
Valid stream numbers are in the range 0 to 15. Stream 0 is normal Reality input/output and stream 1 is debugger input/output (system debugger). None of the other streams are currently used.
V{stream} To select view mode. If no stream number is specified, selects view mode on all streams; otherwise, deselects feed mode on the specified stream.
M Send a message to the target port’s terminal.
D Force the target process into the default application debugger if one is enabled or, if not, into the system debugger.
Bkey To temporarily change the break key. To specify a control key combination, precede the key with a caret character (^); for example, ^C specifies CTRL+C. The change lasts only until TANDEM is terminated.
? Display help.
Q To quit TANDEM operation.
When in command mode, the command prompt displays the
current mode (View or Feed) and, if in feed mode, a bit-significant hexadecimal
number representing the currently enabled streams. The default is
ffff
(all streams enabled). For example:
Tandem/View>
Tandem is in view mode.
Tandem/Feed:ffff
Tandem is in feed mode on all streams.
Tandem/Feed:0002
Tandem is in feed mode on stream 1 only (bit 1 is set).
Tandem/Feed:0003
Tandem is in feed mode on streams 0 and 1 (bits 0 and 1 are set).
Press RETURN to leave command mode.
When tandem mode is requested, it becomes effective at the start of a read or a write operation to the port. Any active read or write is allowed to complete before Tandem mode is started.
If after entering TANDEM, the target does not respond
within 5 seconds, TANDEM times out, displaying the message
Port is not responding
. This message will also be displayed if TANDEM
operation is disabled on the target port.
:
TANDEM 401
Allows you to monitor on your current terminal the screen activity on the terminal connected to port 401.