Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ show(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mhl

next

pick

prev

scan

sendmail

mh-format

mh-mail

mh-profile

show

PURPOSE

     Shows messages.

SYNOPSIS
      show [+folder][msgs][-draft][-header][-noheader]
           [-showproc program][-noshowproc][switches
           for showproc][-help]


DESCRIPTION

     The show command  is used to display a  list of messages.
     show is part of the MH (Message Handling) 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.

     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.

     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.   msgs can be  several mes-
                          sages,  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.
     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

     Other   commands:   "mhl,"    "next,"  "pick,"    "prev,"
     "scan,"  "sendmail."

     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