prev(1mh)prev(1mh)Nameprev - show the previous message
Syntaxprev [ +folder ] [ -[no]header ] [ -help ] [ -showproc program ] [
-noshowproc ] [ options to ]
Description
The command displays the previous message in the current folder. The
previous message is the one before the current message in the folder.
The message that is shown becomes the current message.
You can specify a folder other than the current folder by using the
+folder argument. If you specify a folder, that becomes the current
folder.
Options-header
-noheader Displays a one-line header before the message. The header
consists of the name of the folder and the message number.
This is the default behavior. It can be suppressed with the
-noheader option.
-help Prints a list of the valid options to this command.
-showproc program [ options ]
-noshowproc
Specifies an alternative program to list messages. The
default is to use the program defined by the showproc: entry
in the file. As with you can give options to the program at
the command line. These are passed directly to by
The defaults for this command are:
+folder defaults to the current folder
-header
Restrictions
The command is really a link to the program. As a result, if you make
a link to and that link is not called your link will act like instead.
To avoid this, add a profile-entry for the link to your MH profile and
add the argument to the entry.
Examples
The command in the following example displays the previous message in
the folder
$ prev +copylog
Profile Components
Path: To determine your Mail directory
showproc: Program to show the message
Files
The user profile.
See Alsoshow(1mh), next(1mh)prev(1mh)