DOKK / manpages / debian 11 / nmh / next.1mh.en
NEXT(1mh) NEXT(1mh)

next - show the next nmh message

next [-help] [-version] [+folder] [-showproc program] [-showmimeproc program] [-header | -noheader] [-checkmime | -nocheckmime] [switches for showproc or showmimeproc]

next performs a show on the next message in the specified (or current) folder. Like show, it passes any switches on to the program showproc or showmimeproc, which is called to list the message. This command is almost exactly equivalent to “show next”. Consult the manual entry for show(1) for all the details.

$HOME/.mh_profile
The user profile

To determine the user's nmh directory
To find the default current folder
Program to show non-MIME messages
Program to show MIME messages

prev(1), show(1)

+folder
The current folder.

If a folder is specified, it will become the current folder. The message that is shown (i.e., the next message in sequence) will become the current message.

next is really a link to the show program. As a result, if you make a link to next and that link is not called next, your link will act like show instead. To circumvent this, add a profile-entry for the link to your nmh profile and add the argument next to the entry.

1999-04-30 nmh-1.7.1