|
|
Displays one or more commands in the command history buffer.
LISTR[EDO] [m] [,n] [;{ABS | REL | UNN}]
- m,n
displays a range of commands in the command history buffer.
m is the starting number (least recent) and
n is the ending number (most recent). If
m is equal to n, only the specified
command is displayed. m and n can either
be absolute (positive) numbers or relative (negative) numbers; however,
both must be either relative or absolute. The use of these parameters is
discussed further in the table below.
START |
END |
RESULT |
(omitted) | (omitted) |
All commands in history buffer are displayed. |
m | ,n |
Command m through command n are
displayed. |
m | (omitted) |
Command m through the last command are displayed. |
(omitted) | ,n |
The first command through command n are displayed. |
- ABS
displays the absolute command numbers. ABS is the default. Absolute
numbers are positive numbers beginning with the first (least recent)
command in the command history buffer. For example, 1 is the first
command in the command history buffer.
- REL
displays the relative command numbers. Relative numbers are negative
numbers beginning with the last (most recent) command in the command
history buffer. For example, -1 is the last command in the command
history buffer.
- UNN
suppresses command numbering.
The LISTREDO commands displays the commands from least recent
to most recent. Up to 20 commands can be displayed. The LISTREDO
command is added to the command history buffer.
In this example, the first LISTREDO command is issued when
the command history buffer contains two commands. However, when
the buffer is displayed, three commands are listed since the LISTREDO
command is added to the buffer. The next LISTREDO command lists all
the commands in the commands history buffer with relative numbers.
Finally, the third LISTREDO command lists the third most recent
command through the most recent command with relative numbers.
>LISTREDO
1) DEFINE
2) FIND FINDX
3) LISTREDO
>LISTREDO ;REL
-4) DEFINE
-3) FIND FINDX
-2) LISTREDO
-1) LISTREDO ;REL
>LISTREDO -3 ;REL
-3) LISTREDO
-2) LISTREDO ;REL
-1) LISTREDO -3 ;REL
>
|