next - show the next message (only available within the message handling system, mh)
next [+foldername] [-[no]header] [-help] [-showproc program] [-noshowproc] [options to showproc]
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. Prints a list of the valid options to this command. Specifies an alternative program to list messages. The default is to use the program defined by the showproc: entry in the .mh_profile file. As with show, you can give options to the showproc program at the command line. These are passed directly to showproc by next.
The defaults for this command are:
+folder defaults to the current folder -header
The command next displays the next message in the current folder. The next message is the one after the current message in the folder. The message that is shown becomes the current message.
If you name a folder using the +folder
displays the next message in the folder you specify. That folder
becomes the current folder.
command is really a link to the
program. As a result, if you make a link to
and that link is not called
next, your link will act like
instead. To avoid this, add a profile-entry for the link to
and add the argument
to the entry.
Path: To determine the user's Mail directory
showproc: Program to show the message
The user profile.
show(1), prev(1), mh_profile(4)