PREV(1m,C) AIX Commands Reference PREV(1m,C)
-------------------------------------------------------------------------------
prev
PURPOSE
Displays the previous message.
SYNTAX
+------------+ +--- -header ---+ +-------------------------+
prev ---| |---| one of |---| one of |---|
+- + folder -+ | +-----------+ | | +---------------------+ |
+-| -header |-+ +-| -showproc cmdstring |-+
| -noheader | | -noshowproc |
+-----------+ +---------------------+
prev -- -help --|
Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.
DESCRIPTION
The prev command is used to display the previous message in a folder. This
command is equivalent to the show command with prev specified as the message.
The prev command is part of the Message Handling (MH) package and can be used
with other MH commands.
The prev command links to the show program and passes this program its flags
and attributes.
Note: If you link to the prev command and call that link something other than
prev, your link functions like the show command rather than the prev
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, the show command 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 recognize 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
Processed November 8, 1990 PREV(1m,C) 1
PREV(1m,C) AIX Commands Reference PREV(1m,C)
+ 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
.profile
$HOME/.mh_profile MH user profile.
RELATED INFORMATION
See the following commands: "next," "show."
See the mh-format, mh-mail, and mh-profile files in AIX Operating System
Technical Reference.
See "Overview of the Message Handling Package" in Managing the AIX Operating
System.
Processed November 8, 1990 PREV(1m,C) 2