Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mark(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

MH

mh-profile

mark

PURPOSE

     Creates, modifies, and displays message sequences.

SYNOPSIS
      mark [+folder][msgs][-sequence name...][-add][-delete]
           [-list][-public][-nopublic][-zero][-nozero][-help]


DESCRIPTION

     The mark command  is used to create a  sequence, delete a
     sequence, add messages to a sequence, and delete messages
     from a sequence.   The mark command is also  used to list
     messages in  a sequence and  list sequences in  a folder.
     The mark  command is  part of  the MH  (Message Handling)
     package and can be used with other MH and AIX commands.

     The mark command specified with  only a folder name lists
     the sequences  defined for  that folder and  the messages
     that comprise  each of the  sequences.  If you  specify a
     new sequence name with the -sequence flag, mark creates a
     new sequence.  You can use  the -add flag to add messages
     to a sequence and the -delete flag to remove message from
     a  sequence.   When  all  messages  are  deleted  from  a
     sequence, mark removes the sequence name from the folder.

FLAGS

     -add            Adds messages to  the specified sequence.
                     If  messages are  specified then  -add is
                     the default.
     -delete         Deletes   messages  from   the  specified
                     sequence.
     +folder msgs    Specifies messages that  you want mark to
                     select  from.  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

                     If the  -list flag  is used,  the default
                     for msgs is  all.  Otherwise, the default
                     is  the  current  message.   The  default
                     folder  is the  current  folder.  If  you
                     specify a folder, that folder becomes the
                     current folder.
     -help           Displays   help   information   for   the
                     command.
     -list           Displays  the messages  in the  specified
                     sequence.   If  you   do  not  specify  a
                     sequence,  -list  displays  all  sequence
                     names defined for the folder and the mes-
                     sages in each sequence.
     -nopublic       Restricts the specified  sequence to your
                     usage.  -nopublic  does not  restrict the
                     messages  in   the  sequence,   only  the
                     sequence.  This option  is the default if
                     the folder is  write-protected from other
                     users.
     -nozero         Modifies  the   sequence  by   adding  or
                     deleting only the specified messages (see
                     the  -zero  flag).    This  flag  is  the
                     default.
     -public         Makes the specified sequence available to
                     other users.  -public  does not make pro-
                     tected   messages  available,   only  the
                     sequence.   This flag  is the  default if
                     the  folder is  not write-protected  from
                     other users.
     -sequence name  Specifies a sequence for the -list, -add,
                     and -delete operations.  You must specify
                     this flag for the  -add and -delete oper-
                     ations.
     -zero           Clears the specified sequence of all mes-
                     sages before  adding any  other messages.
                     When the -delete  flag is also specified,
                     -zero places all of the messages from the
                     folder into the  sequence before deleting
                     any messages.

PROFILE ENTRIES

     Current-Folder:    Sets your default current folder.
     Path:              Specifies your user_mh_directory.

FILES

     $HOME/.mh_profile    The MH user profile.

RELATED INFORMATION

     The MH command "pick."

     The  mh-profile file  in AIX  Operating 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