home *** CD-ROM | disk | FTP | other *** search
- COMMAND HISTORY
-
- MM remembers commands you have given during the current session, and you
- can use the "history" to avoid retyping the same commands.
-
- ^P Go back to the previous command ^N Go forward to the next command
-
- Usually you can just use ^P (control-p) until you reach the desired
- command, but ^N lets you come forward in case you pass it.
-
- Example:
- MM>h from howie #Suppose this shows 6 messages, and you think
- #message 4 may be the one you want to read.
- MM>r 4 #You see message 4, but it's not the right one,
- #so you want to look at the headers again.
- MM> #Use ^P twice. The second command back was "h from
- #howie", so just press RETURN when you get to it.
-
- The point is to type ^P^P, two strokes, rather than "h from howie", 13
- strokes. Another point is that you might have forgotten exactly what
- command you typed, if it was lengthy.
-
- Another use of command history is to avoid retyping when two commands
- are similar. In that case, combine use of command history with command
- line editing. See the example below.
-
- A related feature is that the last message-sequence you used is stored as
- "previous-sequence", which can be typed as "pr" or even "p". If you need
- to go back to an earlier message-sequence, use command history.
-
- Example: Suppose you give two HEADERS commands in a row:
- MM>h from fuat on mon
- MM>h text macintosh
- Then, to read the set of messages with "macintosh" in the text, the easiest
- way is to use previous-sequence:
- MM>r pr
- However, to read the set from Fuat on Monday, the alternative to retyping
- is to use command history and edit the command line:
- MM>h from fuat on mon #Use ^P three times to get back to this, and
- MM>r from fuat on mon #then use ^A, ^D, type "r" and RETURN.
-
- For more help, type "help" and one of the following:
- command-line-edit message-sequence
-