Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ali

anno

comp

dist

forw

mhl

prompter

send

whatnow

whom

mh-alias

mh-format

mh-mail

mh-profile



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



-------------------------------------------------------------------------------
repl



PURPOSE

Replies to a message.

SYNTAX













































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





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



        +-----------+   +------- cur -------+   +-- -noannotate --+
repl ---|           |---|      one of       |---|     one of      |--->
        +- +folder -+   | +---------------+ |   | +-------------+ |
                        +-| num      cur  |-+   +-| -annotate   |-+
                          | sequence .    |       | -noannotate |
                          | first    next |       +-------------+
                          | prev     last |
                          +---------------+

    +-------- -cc all --------+   +-- -noquery --+   +--------------------+
>---|    one of     one of    |---|    one of    |---|                    |--->
    |   +-------+   +-----+   |   | +----------+ |   +--- -fcc +folder ---+
    +---| -cc   |---| all |---+   +-| -query   |-+     ^                |
      ^ | -nocc |   | to  | |       | -noquery |       +----------------+
      | +-------+   | cc  | |       +----------+
      |             | me  | |
      |             +-----+ |
      +---------------------+

    +--------------------------------------------------------------------+
>---| +--- -nodraftfolder ---------------------------------------------+ |--->
    +-|                 one of                                         |-+
      | +------------------------------------+   +------- new -------+ |
      +-| -draftfolder +folder -draftmessage |---|      one of       |-+
        | -draftfolder +folder               |   | +---------------+ |
        | -draftmessage                      |   +-| num           |-+
        +------------------------------------+     | sequence next |
                                                   | first    last |
                                                   | prev     new  |
                                                   | cur           |
                                                   +---------------+

    +--------------+   +-----------------+   +---- -format -----+
>---|              |---|     one of      |---|      one of      |--->
    +- -form file -+   | +-------------+ |   | +--------------+ |
                       +-| -editor cmd |-+   +-| -format      |-+
                         | -noedit     |       | -noformat    |
                         +-------------+       | -filter file |
                                               +--------------+

    +-- -noinplace --+   +- -width 72 --+   +----------------------------+
>---|     one of     |---|              |---|           one of           |---|
    | +------------+ |   +- -width num -+   | +------------------------+ |
    +-| -inplace   |-+                      +-| -whatnowproc cmdstring |-+
      | -noinplace |                          | -nowwhatnowproc        |
      +------------+                          +------------------------+


repl --- -help ---|


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



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





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




DESCRIPTION

The repl command is used to compose a reply to a message.  repl is part of the
Message Handling (MH) package and can be used with other MH and AIX commands.

By default, repl copies a message form to a new draft message and invokes an
editor.  You can then fill in the message header fields To: and Subject:, fill
in or delete the other header fields (such as cc: and Bcc:), and add the body
of the message.  When you exit the editor, the repl command invokes the MH
command whatnow.  You can press Enter to see a list of the available whatnow
subcommands.  These subcommands enable you to continue editing the reply, list
the reply, direct the disposition of the reply, or end the processing of the
repl command.  "whatnow" describes the subcommands.

You can specify the message that you want to reply to by using the +folder msg
flag.  If you do not specify a message, repl replies to the current message.

You can specify the format of the reply by using the -form flag.  If you do not
specify this flag, repl uses your default message format located in the file
user_mh_directory/replcomps.  If this file does not exist, repl uses the system
default message format located in /usr/lib/mh/replcomps.

Note:  The line of dashes or a blank line must be left between the header and
       the body of the message for the message to be identified when it is
       sent.

FLAGS

-annotate                Annotates the message being replied to with the lines:

                           Replied: date
                           Replied: addrs

                         The annotation appears in the original draft message
                         so that you can maintain a complete list of activities
                         associated with the original message.

                         If you do not actually send the reply using the
                         immediate repl command, the -annotate flag may fail to
                         provide annotation.  The -inplace flag forces
                         annotation to be done in place.

-cc names                Specifies the users who will be listed in the cc:
                         field of the reply.  You can specify the following for
                         names:  all, to, cc, and me.  The default is -cc all.

-draftfolder +folder     Places the draft message in the specified folder.  If
                         you do not specify this flag, repl selects a default
                         draft folder according to the information supplied in
                         the MH profiles.  You can define a default draft
                         folder in $HOME/.mh_profile.  If -draftfolder +folder



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





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



                         is followed by msg, msg represents the -draftmessage
                         attribute.

-draftmessage msg        Specifies the draft message.  You can use one of the
                         following message references as msg:

                         num                   sequence                  first
                         prev                  cur                       .
                         next                  last                      new

                         The default draft message is new.

-editor cmd              Specifies that cmd is the initial editor for composing
                         the reply.  If you do not specify this flag, repl
                         selects a default editor or suppresses the initial
                         edit, according to the information supplied in the MH
                         profiles.  You can define a default initial editor in
                         $HOME/.mh_profile.

-fcc +folder             Places a file copy of the reply in folder.  If you do
                         not specify this flag, repl will not produce a file
                         copy.

-filter file             Reformats the message being replied to and places the
                         reformatted message in the body of the reply.  -filter
                         uses the mhl command and the specified format file.
                         If you do not specify this flag, repl will omit the
                         original message from the reply.  The repl command
                         does not have a default filter file.  Thus, if you
                         specify -filter, you must also specify file.

+folder msg              Replies to the specified message in the specified
                         folder.  You can use one of the following message
                         references as msg:

                         num                   sequence                  first
                         prev                  cur                       .
                         next                  last

                         The default message is the current message in the
                         current folder.  If you specify a folder, that folder
                         becomes the current folder.  The message being replied
                         to becomes the current message.

-form file               Uses the form contained in the specified file for the
                         form of the reply.  repl treats each line in file as a
                         format string.

-format                  Removes duplicate addresses from the fields To:, cc:,
                         and Bcc: and standardizes these fields.  repl also
                         uses the the columns specified by the -width flag to




Processed November 8, 1990        REPL(1m,C)                                  4





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



                         determine the format of these fields.  This flag is
                         the default.

-help                    Displays help information for the command.

-inplace                 Forces annotation to be done in place in order to
                         preserve links to the annotated message.

-noannotate              Does not annotate the message.  This flag is the
                         default.

-nocc names              Specifies the users who will not be listed in the cc:
                         field of the reply.  You can specify the following for
                         names:  all, to, cc, and me.

-nodraftfolder           Places the draft in the file user_mh_directory/draft.

-noedit                  Suppresses the initial edit.

-noformat                Does not Remove duplicate addresses from the fields
                         To:, cc:, and Bcc: or standardize these fields.  repl
                         also does not use the the columns specified by the
                         -width flag to determine the format of these fields.

-noinplace               Does not perform annotation in place.  This flag is
                         the default.

-noquery                 Automatically builds the To: and cc: fields.  This
                         flag is the default.

-nowhatnowproc           Does not invoke a program that guides you through the
                         reply tasks.  The -nowhatnowproc flag also prevents
                         any edit from occurring.

-query                   Builds the To and cc: fields by interactively asking
                         you if you want each address that would normally be
                         placed in these fields actually placed in these
                         fields.

-whatnowproc cmdstring   Invokes cmdstring as the program to guide you through
                         the reply tasks.  See "whatnow" for information about
                         the default whatnow program and its subcommands.

                         Note:  If you specify "whatnow" for cmdstring, repl
                                invokes an internal whatnow procedure rather
                                than a program with the file name whatnow.

-width num               Sets the width of the address fields.  The default is
                         72 columns.

PROFILE ENTRIES




Processed November 8, 1990        REPL(1m,C)                                  5





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



Alternate-Mailboxes:    Specifies your mailboxes.
Current-Folder:         Sets your default current folder.
Draft-Folder:           Sets your default folder for drafts.
Editor:                 Sets your default initial editor.
fileproc:               Specifies the program used to refile messages.
mhlproc:                Specifies the program used to filter the message for
                        which you are creating a reply.
Msg-Protect:            Sets the protection level for your new message files.
Path:                   Specifies your user_mh_directory.
whatnowproc:            Specifies the program used to prompt "What now?"
                        questions.

FILES

/usr/lib/mh/replcomps          The MH default reply template.
user_mh_directory/replcomps    The user's default reply template.  (If it
                               exists, it overrides the MH default reply
                               template.)
$HOME/.mh_profile              The MH user profile.
user_mh_directory/draft        The draft file.

RELATED INFORMATION

Other MH commands:  "ali,"  "anno,"  "comp," "dist,"  "forw,"  "mhl,"
"prompter,"  "send,"  "whatnow," "whom."

The mh-alias, mh-format, mh-mail, and mh-profile files in AIX Operating System
Technical Reference.

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
























Processed November 8, 1990        REPL(1m,C)                                  6



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