 |
» |
|
|
|
Displays the contents of the command line history stack. You
may specify the format in which the listing appears, and whether
it appears on $STDLIST
or in a file. (Native Mode) Parameters |  |
Table 5-3 History Stack Ranges Start | End | Effect |
---|
(omitted) | (omitted) | Lists all commands in the redo stack. | m | n | Lists commands m
through n. | m | (omitted) | Displays commands m
through the last command in the stack. | (omitted) | n | Displays the stack from the first command through
command n. |
If m and n
are negative values, they refer to relative command numbers (relative
to the most recent command, which is -1). If m
and n are positive, they refer to absolute
command numbers (the order in which they were entered). To display
a single line, m must equal n. - REL
Displays the commands in their relative sequence
(from -m to -1), where -1 denotes the
most recent command in the stack. - ABS
Displays the commands in their absolute order (the
order in which they were entered). ABS
is the default. - UNN
Suppresses numbering of the commands during display. - outfile
Sends the listing to a disk file named outfile
instead of to the default, $STDLIST.
New disk files are created TEMP.
File equations are ignored, unless outfile
is preceded by an asterisk (*).
You must use a file equation to overwrite a permanent file.
Operation Notes |  |
The LISTREDO
command displays the contents of the REDO
command line stack. By default, the display order is from the earliest
command to the most recent command. Before any command line is displayed,
anything resembling a lockword is blanked out. However, any lockwords
remain active and available for editing through the DO
and REDO commands. Use |  |
This command is available in a session, job, or in BREAK.
It is not available from a program. Pressing Break
aborts the execution of this command. Examples |  |
If three commands are written to the REDO
stack and the third command is LISTREDO,
the display appears as: 1) COMMANDONE 2) COMMANDTWO 3) LISTREDO
|
If the third command were LISTREDO ;REL,
the display appears as: -3) COMMANDONE -2) COMMANDTWO -1) LISTREDO ;REL
|
To create a permanent disk file called CMDFILE
containing the output from LISTREDO,
enter: BUILD CMDFILE;REC=-80,,,ASCII;DISC=9 FILE LIST=CMDFILE,OLD LISTREDO -10,-2;OUT=*LIST;UNN
|
CMDFILE
contains a listing of nine command lines, but without the command
number; -10 is 9 lines distant from the most recent command; -2
is one line distant from the most recent command. The most recent
command is not listed. Related Information |  |
- Commands
DO,
REDO - Manuals
Using the HP 3000 Series 900: Advanced
Skills (31126A Opt. 002)
|