Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pick

mh-profile



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



-------------------------------------------------------------------------------
mark



PURPOSE

Creates, modifies and displays message sequences.

SYNTAX


   +-----------------------------------------------------------------------+
>--|                   +-------------+  +-------------+  +---------------+ |-->
   +- -sequence name --|   one of    |--|   one of    |--|    one of     |-+
                       | +---------+ |  | +---------+ |  | +-----------+ |
                       +-| -add    |-+  +-| -zero   |-+  +-| -public   |-+
                         | -delete |      | -nozero |      | -nopublic |
                         +---------+      +---------+      +-----------+

                                                                +---------+
                                                            >---|         |---|
                                                                +- -list -+

mark --- -help ---|


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

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 Message Handling (MH) 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 -add
       is the default.

-delete
       Deletes messages from the specified sequence.




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





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



+foldermsgs
       Specifies messages that you want mark to select from.  msgs can be
       several messages, 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 msgsis 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 messages 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 protected 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 operations.

-zero  Clears the specified sequence of all messages 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.




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





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



RELATED INFORMATION

See the MH command "pick."

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

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















































Processed November 8, 1990        MARK(1m,C)                                  3



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