Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ folder(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

folders

mhpath

packf

refile

mh-profile



FOLDER(1,C)                 AIX Commands Reference                  FOLDER(1,C)



-------------------------------------------------------------------------------
folder



PURPOSE

Selects and lists folders and messages.

SYNTAX


          +-----------+  +-------------------+  +--------+  +-- -nopack --+
folder ---|           |--|                   |--|        |--|             |--->
          |           |  |      one of       |  |        |  |   one of    |
          +- +folder -+  | +---------------+ |  +- -all -+  | +---------+ |
                         +-| num      cur  |-+              +-| -pack   |-+
                           | sequence .    |                  | -nopack |
                           | first    next |                  +---------+
                           | prev     last |
                           +---------------+

   +-- -nofast --+  +-- -norecurse --+  +--------------+  +---------------+
   |             |  |                |  |              |  |               |
>--|   one of    |--|     one of     |--|    one of    |--|    one of     |--->
   | +---------+ |  | +------------+ |  | +----------+ |  | +-----------+ |
   +-| -fast   |-+  +-| -recurse   |-+  +-| -print   |-+  +-| -header   |-+
     | -nofast |      | -norecurse |      | -noprint |      | -noheader |
     +---------+      +------------+      +----------+      +-----------+

   +-- -nototal --+  +-----------+  +-------------+
   |              |  |           |  |             |
>--|    one of    |--|  one of   |--|   one of    |---|
   | +----------+ |  | +-------+ |  | +---------+ |
   +-| -total   |-+  +-| -push |-+  +-| -list   |-+
     | -nototal |      | -pop  |      | -nolist |
     +----------+      +-------+      +---------+

folder --- -help ---|


DESCRIPTION

The folder command sets the current folder and the current message for that
folder, and lists information about your folders.  The folder command is part
of the Message Handling (MH) package and can be used with other MH and AIX
commands.  The folder command entered with only the -all flag gives a line of
information for each folder in your mail directory, telling how many messages
are in the folder, what the current message is, the range of message numbers in
the folder, and whether it is the current folder.  The folder command specified
without arguments provides information for the current folder.  The -recurse




Processed November 8, 1990        FOLDER(1,C)                                 1





FOLDER(1,C)                 AIX Commands Reference                  FOLDER(1,C)



flag displays information for all folders and sub-folders in your entire mail
directory structure.

Use the +folder argument to specify a current folder, and specify a message
(+folder msg) to designate the current message for that folder.  You also can
create a folder stack to manipulate a group of folders by using the -push,
-pop, and -list flags.

FLAGS

-all         Displays a line of information about each folder in your mail
             directory.  Specify +folder to display the information about that
             folder and the sub-folders within that folder's directory.  Add
             the -recurse flag to display the information about the specified
             folder and for all sub-folders in all directories under the
             specified folder's directory.  Other options available with the
             -all flag are -fast, -pack, and -total.

+folder msg  Sets the specified folder as the current folder.  You also can
             specify a current message using the msg argument; use one of the
             following message references:  num, sequence, first, prev, cur, .
             (period), next, or last.  If you specify sequence, that sequence
             must contain only one message.

-fast        Displays only the names of the folders.

-header      Displays column headings for the folder information.

-help        Displays help information for the command.

-list        Displays the current folder followed by the contents of the folder
             stack.

-nofast      Displays information about each folder.  This flag is the default.

-noheader    Suppresses column headings for the folder information.  This flag
             is the default.

-nolist      Suppresses the display of the folder stack contents.  This flag is
             the default.

-nopack      Does not renumber the messages in the folder option.  This flag is
             the default.

-noprint     Does not display folder information.  The -noprint option only
             works when the -push, -pop, or -list flags are specified.

-norecurse   Displays information about the top-level folders in your current
             folder only.  It does not display information about sub-folders.
             This flag is the default.





Processed November 8, 1990        FOLDER(1,C)                                 2





FOLDER(1,C)                 AIX Commands Reference                  FOLDER(1,C)



-nototal     Does not display a total of all messages and folders in your mail
             directory structure.  The -total option is the default when the
             -all flag is specified; otherwise, -nototal is the default.

-pack        Renumbers the messages in the specified folder.  This renumbering
             eliminates the gaps in the message numbering after messages have
             been deleted.

-pop         Removes the folder from the top of the folder stack and makes it
             the current folder.  The +folder argument cannot be specified with
             the -pop flag.

-print       Displays information about the folders, including the number of
             messages in each folder, the current message for each folder, and
             the current folder.  If the -push, -pop, or -list flag is
             specified, the -noprint option is the default; otherwise, the
             -print option is the default.

-push        Moves the current folder to the top of the folder stack and sets
             the specified folder as the current folder.  If no folder is
             specified, the -push options swaps the current folder with the
             folder on the top of the folder stack.

-recurse     Displays information about all folders and sub-folders in your
             current folder.  You can specify a folder to display the
             information about that folder and its sub-folders only.

-total       Displays a total of all messages and folders in your mail
             directory structure.  The -total option does not display
             information for sub-folders unless you also specify the -recurse
             flag.  The -total flag is the default if the -all flag is
             specified.

PROFILE ENTRIES

Current-Folder:
              Sets your default current folder.

Folder-Protect:
              Sets the protection level for your new folder directories.

Folder-Stack: Specifies your folder stack.

Isproc:       Specifies the program used to list the contents of a folder.

Path:         Specifies your user_mh_directory.

FILES

$HOME/.mh_profile   MH user profile.





Processed November 8, 1990        FOLDER(1,C)                                 3





FOLDER(1,C)                 AIX Commands Reference                  FOLDER(1,C)



RELATED INFORMATION

See other MH commands:  "folders,"  "mhpath,"  "packf," and "refile."

See the mh-profile file in AIX Operating System Technical Reference.

See the "Overview of the Message Handling Package" in Managing the AIX
Operating System.















































Processed November 8, 1990        FOLDER(1,C)                                 4



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