mhl
PURPOSE
Produces formatted listings of messages.
SYNOPSIS
mhl [-bell][-nobell][-clear][-noclear]
[-folder +folder][-form formfile]
[-length lines][-width columns]
[-moreproc program][-nomoreproc]
[files...][-help]
DESCRIPTION
The mhl command is used to create formatted lists of mes-
sages. The mhl command is part of the MH (Message Han-
dling) package and can be used with other MH and AIX
commands. mhl is usually invoked through the profile
entry showproc: or through the -showproc flag in other MH
commands.
The mhl command uses the formatting directions listed in
the format file to display the message information about
each of the specified messages. If you specify more than
one message, mhl provides a prompt before displaying each
screen of messages or with -nomoreproc, before displaying
each message. If you specify -nomoreproc, press Enter or
END OF FILE to see the next message. Press INTERRUPT to
stop the current message output and to receive a prompt
for the next message. Press QUIT to stop the command
output.
FLAGS
-bell Produces an audible indicator at the end
of each page. This flag affects mhl only
if the output device is a display and the
moreproc: entry is defined and empty.
This flag is the default.
-clear Clears the screen at the end of each page
when the output device is a display. When
the output device is not a display, -clear
inserts a formfeed character at the end of
each message. If the output device is a
display, mhl uses the $TERM and $TERMCAP
environment variables to determine the
type of display. This flag affects mhl
only if the moreproc: entry is defined and
is empty.
-folder +folder Specifies the folder to be used for the
mhl.format messagename entry. The default
is the value of the $mhfolder environment
variable.
-form file Uses the format contained in the specified
file. If you do not specify this flag,
mhl uses the format described in
user_mh_directory/mhl.format. If this
file does not exist, mhl uses the system
default format described in
/usr/lib/mh/mhl.format.
-help Displays help information for the command.
-length num Sets the length of the output. The
default value is the value indicated by
$TERMCAP. If that value is not appro-
priate, the default value is 40.
-moreproc cmd Uses cmd instead of the value of the
moreproc: entry specified in
$HOME/.mh_profile.
-nobell Does not produce an audible indicator at
the end of each page. This flag affects
mhl only if the output device is a display
and the moreproc: entry is defined and is
empty.
-noclear Does not clears the screen at the end of
each page when the output device is a
display. When the output device is not a
display, -clear does not insert a formfeed
character at the end of each message.
This flag affects mhl only if the
moreproc: entry is defined and is empty.
This flag is the default.
-nomoreproc Sets moreproc: as an empty value.
-width num Sets the width of the output. The default
value is the value indicated by $TERMCAP.
If that value is not appropriate, the
default value is 80.
PROFILE ENTRY
moreproc: Specifies the interactive program for commu-
nicating with user.
FILES
/usr/lib/mh/mhl.format The default MH message
template.
user_mh_directory/mhl.format The user's default
message template. (If
it exists, it overrides
the default MH message
template.)
$HOME/.mh_profile The MH user profile.
RELATED INFORMATION
Other MH commands: "ap," "dp," "next," "prev," and
"show."
The mh-format and mh-profile files in AIX Operating
System Technical Reference.
The "Overview of the Message Handling Package" in Man-
aging the AIX Operating System.