next
PURPOSE
Shows the next message.
SYNOPSIS
next [+folder][-header][-noheader][-showproc program]
[-noshowproc][switches for showproc][-help]
DESCRIPTION
The next command is used to display the next message in a
folder. next is equivalent to the show command with next
specified as the message. next is part of the MH
(Message Handling) package and can be used with other MH
and AIX commands.
The next command links to the show program and passes
show its flags and attributes.
Note: If you link to next and call that link something
other than next, your link will function like the show
command, rather than like the next command.
The show command invokes a program to perform the
listing. The system default is /bin/pg. You can define
your own default with the showproc: entry in
$HOME/.mh_profile. If you set showproc: entry to mhl,
show calls an internal mhl routine instead of the mhl
command. You can also specify the program to perform a
listing in the cmdstring of the -showproc flag.
The show command passes any flags that it does not recog-
nize to the program performing the listing. Thus, you
can specify flags for the listing program, as well as the
flags described in this command section.
FLAGS
+folder Specifies the folder that contains
the message you want to show.
-header Displays a one-line description of
the message being shown. The
description includes the folder name
and the message number.
-help Displays help information for the
command.
-noheader Does not display a one-line
description of each message being
shown.
-noshowproc Uses /bin/cat to perform the
listing.
-showproc cmdstring Uses the specified command string to
perform the listing.
PROFILE ENTRIES
Current-Folder: Sets your default current folder.
Path: Specifies your user_mh_directory.
showproc: Specifies the program used to show
messages.
FILES
$HOME/.mh_profile The MH user profile.
RELATED INFORMATION
Other MH commands: "prev," "show."
The mh-format, mh-mail, and mh-profile files in AIX Oper-
ating System Technical Reference.
The "Overview of the Message Handling Package" in Man-
aging the AIX Operating System.