Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mhl(1m) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ap

dp

next

prev

show

mh-format

mh-profile



MHL(1m,C)                   AIX Commands Reference                    MHL(1m,C)



-------------------------------------------------------------------------------
mhl



PURPOSE

Produces formatted listings of messages.

SYNTAX

                   +--------------+   +-------------------+
/usr/lib/mh/mhl ---|              |---|                   |--->
                   +- -form file -+   +- -folder +folder -+


         +----------------------------------------------------->
     >---| +---- -moreproc cmd --------------------------------->
         +-|                +--- -bell ---+   +-- -noclear --+
           +- -nomoreproc --|   one of    |---|    one of    |--->
                            | +---------+ |   | +----------+ |
                            +-| -bell   |-+   +-| -clear   |-+
                              | -nobell |       | -noclear |
                              +---------+       +----------+


          >--------------------------------------------+
           >-----------------------------------------+ |--- file ---|
                +---------------+   +--------------+ |-+ ^        |
            >---|               |---|              |-+   +--------+
                +- -length num -+   +- -width num -+


/usr/lib/mh/mhl --- -help ---|


Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.

DESCRIPTION

The mhl command is used to create formatted lists of messages.  The mhl command
is part of the Message Handling (MH) 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.



Processed November 8, 1990         MHL(1m,C)                                  1





MHL(1m,C)                   AIX Commands Reference                    MHL(1m,C)



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.

-digest         Creates a digest format for the message output.

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

-forward        Places a blank after the leading dashes (-) at the start on an
                output line.

-forwall        Forwards message.

-help           Displays help information for the command.

-length num     Sets the length of the output.  The default value is the value
                indicated by $TERM.  If that value is not appropriate, the
                default value is 40.

-moreproc cmd   Uses cmdinstead 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 clear 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.



Processed November 8, 1990         MHL(1m,C)                                  2





MHL(1m,C)                   AIX Commands Reference                    MHL(1m,C)



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

See other MH commands:  "ap,"  "dp,"  "next," "prev," and  "show."

See the mh-format 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         MHL(1m,C)                                  3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026