ACC Utilities Reference Guide
ZTERM - Interactive Routine Interface
Running ZTERM Interactively
Chapter 4 99
Running ZTERM Interactively
To run ZTERM from the shell prompt $:
$ zterm [commandfilename]
ZTERM is usually invoked interactively, in which case the command file
name is not specified. ZTERM responds with:
$ zterm
hh:mm:ss ZCOM Interactive command utility
hh:mm:ss Primary ZLU is xxxxx
ZTERM>
Many of ZTERM’s messages and responses are time stamped to facilitate
correlation of the ZTERM results and those of other programs, protocols,
and messages logged in the ZCOM message log.
The prompt ZTERM> indicates ZTERM is ready to accept interactive
commands. If ZTERM is run from an HP terminal (such as HP2392, or
700/92), or a window emulating an HP terminal, a command stack
facility is available to allow easy repetition of previously used commands,
and editing of those commands for reuse.
The command stack is displayed by entering / and ZTERM will display
the list of most recently used command on the screen. For example:
ZTERM> /
---Commands---
dp 100
??
di error
di on
ZTERM positions the cursor at the bottom of the list. Any of the
commands may be reused by positioning the cursor on the desired line
and pressing <Return>. If the command needs to be modified before
reusing then it can be modified on the screen before pressing <Return>.
The output from ZTERM is usually displayed on the terminal. However
if ZTERM is run with standard out redirected to an alternate
destination, then only the ZTERM prompts will be seen on the terminal.
For example, the usual dialog for two DZ commands is shown below:










