Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

next

show

mh-format

mh-mail

mh-profile

prev

PURPOSE

     Shows the previous message.

SYNOPSIS
     prev [+folder][-header][-noheader][-showproc program]
          [-noshowproc][-switches for showproc][-help]


DESCRIPTION

     The prev command is used  to display the previous message
     in a folder.  prev is equivalent to the show command with
     prev specified  as the message.   prev is part of  the MH
     (Message Handling) package and can  be used with other MH
     and AIX commands.

     The prev  command links  to the  show program  and passes
     show its flags and attributes.

     Note:  If you  link to prev and call  that link something
     other than  prev, your link  will function like  the show
     command, rather than like 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,
     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:  "next,"  "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.

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