Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
ACC Utilities Reference Guide > Chapter 4 ZTERM - Interactive Routine Interface

Running ZTERM Interactively

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

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:

$ zterm
18:35:44 ZCOM Interactive command utility Rev4.02 <950204>
18:35:44 Primary ZLU is 1106
ZTERM> dz,120
18:35:50 ZLU entry for ZLU # 120
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII...
000 E64F 0001 009F 0000 0000 544D 3030 3132 3020 0000 fO TM00120
010 0000 0000 0000 0000 007A 7EC8 0000 0000 0000 0000 z~H
ZTERM> dz,121
18:35:54 ZLU entry for ZLU # 121
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII...
000 E75A 0001 00AA 0000 0000 544D 3030 3132 3120 0000 gZ * TM00121
010 0000 0000 0000 0000 007A 7EC8 0000 0000 0000 0000 z~H
ZTERM> ex

However if the output is redirected to a file output.file the dialog reduces to the following:

$ zterm > output.file
ZTERM> dz,120
ZTERM> dz,121
ZTERM> ex

The generated output can be seen by listing the file output.file.

$ more output.file
18:36:07 ZCOM Interactive command utility Rev4.02 <950204>
18:36:07 Primary ZLU is 1106
18:36:10 ZLU entry for ZLU # 120
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII...
000 E64F 0001 009F 0000 0000 544D 3030 3132 3020 0000 fO TM00120
010 0000 0000 0000 0000 007A 7EC8 0000 0000 0000 0000 z~H
18:36:13 ZLU entry for ZLU # 121
Lcn .00. .01. .02. .03. .04. .05. .06. .07. .08. .09. ASCII.....ASCII...
000 E75A 0001 00AA 0000 0000 544D 3030 3132 3120 0000 gZ * TM00121
010 0000 0000 0000 0000 007A 7EC8 0000 0000 0000 0000 z~H
$
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004 Hewlett-Packard Development Company, L.P.