HP 3000 Manuals

Lesson 4: LISTREDO [ MPE V to MPE XL: Getting Started ] MPE/iX 5.0 Documentation


MPE V to MPE XL: Getting Started

Lesson 4:  LISTREDO 

You can use the new LISTREDO command to see your command line history
stack on your terminal screen.

To see your command line history stack, enter LISTREDO at the MPE prompt
(:).  (Try it now.)

     LISTREDO

Notice that the LISTREDO command appears at the bottom of the command
history display as the most recent command entered.

	       Click here to view figure.
When the history stack has reached its maximum size, the top command on
the list is deleted as each new command entered is added to the bottom of
the list.  Consecutive numbering of the commands continues until the
session ends.

Exercises 

6.   Enter several simple commands, such as LISTF and SHOWME. After every
     couple of commands, display the contents of your command line
     history stack.  Try entering a misspelled command.  How is it
     recorded in the history stack?

7.   Given a maximum history stack size of 20, what range of numbers will
     be displayed by LISTREDO if LISTREDO is command number 45?



MPE/iX 5.0 Documentation