Index Click this button to go to the index for this section.


next(1)

NAME

next - show the next message (only available within the message handling system, mh)

SYNOPSIS

next [ +foldername ] [ -[no]header ] [ -help ] [ -showproc program ] [ -noshowproc ] [ options to showproc ]

DESCRIPTION

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 argument, next displays the next message in the folder you specify. That folder becomes the current folder.

FLAGS

-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 .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

RESTRICTIONS

The next command 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 avoid this, add a profile-entry for the link to your .mh_profile and add the argument next to the entry.

PROFILE COMPONENTS

Path: To determine the user's Mail directory showproc: Program to show the message

FILES

$HOME/.mh_profile The user profile.

RELATED INFORMATION

show(1), prev(1), mh_profile(4)