SHOW(1m,C) AIX Commands Reference SHOW(1m,C)
-------------------------------------------------------------------------------
show
PURPOSE
Shows messages.
SYNTAX
+-----------+ +----- cur ----------------------------------------+
show ---| |---| +-------- all ---------------------------------+ |-->
+- +folder -+ +-| +----------- -draft -----------------------+ |-+
+-| +------------ sequence ------------+ |-+
+---| one of |---+
^ | +-------+ +------------------+ | |
| +-| num |---| one of |-+ |
| | first | |1+--------------+ | |
| | prev | +-| :num -prev |-+ |
| | cur | | :+num -cur | |
| | . | | :-num -. | |
| | next | | -num -next | |
| | last | | -first -last | |
| +-------+ +--------------+ |
+--------------------------------------+
+--- -header ---+ +-------------------------+
>---| one of |---| one of |---|
| +-----------+ | | +---------------------+ |
+-| -header |-+ +-| -showproc cmdstring |-+
| -noheader | | -noshowproc |
+-----------+ +---------------------+
show --- -help ---|
-----------------
1 Do not put a blank between these items.
Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.
DESCRIPTION
The show command is used to display a list of messages. show is part of the
Message Handling (MH) package and can be used with other MH and AIX commands.
The show command sends a listing of each of the specified messages to standard
output. If standard output is not a display, show lists each message with a
one-line header and two separation lines.
Processed November 8, 1990 SHOW(1m,C) 1
SHOW(1m,C) AIX Commands Reference SHOW(1m,C)
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 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.
If the Unseen-Sequence entry is present in $HOME/.mh_profile and is not empty,
show removes each of the messages shown from each sequence named by the profile
entry.
FLAGS
-draft Shows the file user_mh_directory/draft if it exists.
+folder msgs Specifies the messages that you want to show. msgscan be
several messages, a range of messages, or a single
message. You can use the following message references
when specifying msgs:
num first prev
cur . next
last all sequence
The default message is the current message in the current
folder. If several messages are specified, the last
message shown becomes the current message.
-header Displays a one-line description of the message being
shown. The description includes the folder name and the
message number. If you show more than one message, this
flag does not produce message headers. This flag is the
default.
-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.
Processed November 8, 1990 SHOW(1m,C) 2
SHOW(1m,C) AIX Commands Reference SHOW(1m,C)
Unseen-Sequence: Specifies the sequences used to keep track of your unseen
messages.
FILES
$HOME/.mh_profile The MH user profile.
user_mh_directory/draft
The draft file.
RELATED INFORMATION
See the following commands: "mhl," "next," "pick," "prev," "scan,"
"sendmail, mailq, newaliases."
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 SHOW(1m,C) 3