Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inc(1MH) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

comp(1mh)

folder(1mh)

forw(1mh)

inc(1mh)

mail(1mh)

next(1mh)

pick(1mh)

prev(1mh)

prompter(1mh)

refile(1mh)

repl(1mh)

rmf(1mh)

rmm(1mh)

scan(1mh)

send(1mh)

show(1mh)



INC(1MH)                COMMAND REFERENCE                INC(1MH)



NAME
     inc - incorporate new mail

SYNOPSIS
     inc [ +folder ] [ -audit audit-file ] [ -ms ms-folder ] [
     -help ] [ -changecur ]
     [ -nochangecur ] [ -time ] [ -notime ] [ -numdate ] [
     -nonumdate ]

DESCRIPTION
     Inc incorporates mail from the user's incoming mail drop
     (/usr/spool/mail/$USER) into an MH folder.  If '+folder'
     isn't specified, the folder named inbox in the user's MH
     directory will be used.  The new messages being incorporated
     are assigned numbers starting with the next highest number
     in the folder.  If the specified (or default) folder doesn't
     exist, the user will be queried prior to its creation.  As
     the messages are processed, a scan listing of the new mail
     is produced.

     If the user's profile contains a 'Msg-Protect: nnn' entry,
     it will be used as the protection on the newly created
     messages, otherwise the MH default of 664 will be used.
     During all operations on messages, this initially assigned
     protection will be preserved for each message, so chmod(1)
     may be used to set a protection on an individual message,
     and its protection will be preserved thereafter.

     If the switch -audit audit-file is specified (usually as a
     default switch in the profile), then inc will append a
     header line and a line per message to the end of the
     specified audit-file with the format:

          <<inc>> date
                  <scan line for first message>
                  <scan line for second message>
                                  <etc.>

     This is useful for keeping track of volume and source of
     incoming mail.  Eventually, repl, forw, and comp may also
     produce audits to this (or another) file, perhaps with
     'Message-Id:' information to keep an exact correspondence
     history.  'Audit-file' will be in the user's MH directory
     unless a full path is specified.

     Inc will incorporate even illegally formatted messages into
     the user's MH folder, inserting a blank line prior to the
     offending component and printing a comment identifying the
     bad message.

     In all cases, the /usr/spool/mail/$USER file will be zeroed.




Printed 5/12/88                                                 1





INC(1MH)                COMMAND REFERENCE                INC(1MH)



     Your .mh_profile can contain the following entries:

          Path:               To determine the user's MH directory
          Folder-Protect:     For protection on new folders
          Msg-Protect:        For protection on new messages

     inc has the following defaults:

          +folder defaults to inbox

     The folder into which the message is being incorporated will
     become the current folder, and the first message
     incorporated will be the current message.  This leaves the
     context ready for a show of the first new message unless
     -nochangecur is set.

OPTIONS
     Options with an astrisk following indicates default
     condition.

     -audit audit-file
        inc will append a header line and a line per message to
        the end of the specified audit-file with the format:

          <<inc>> date
                       <scan line for first message>
                       <scan line for second message>
                                       <etc.>

     -help
        Displays a synopsis of the inc command.

     +folder
        folder becomes the current folder.

     -ms ms-file
        inc will read from ms-file as though it were the mail
        drop, instead of the default mail drop
        /usr/spool/mail/$USER.

     -changecur*
        will cause the current message to be changed to the first
        message incorporated.

     -nochangecur
        will cause the current message not to be changed to the
        first message incorporated.

     -time
        will cause the time the message was sent (in 24 hour
        format) to be printed on the scan line during
        incorporation.



Printed 5/12/88                                                 2





INC(1MH)                COMMAND REFERENCE                INC(1MH)



     -notime*
        will not cause the time the message was sent (in 24 hour
        format) to be printed on the scan line during
        incorporation.

     -numdate
        will cause the date in the scan line during incoporation
        to be printed in YYMMDD format (useful for sorting scan
        lines by dates).

     -nonumdate*
        will not cause the date in the scan line during
        incoporation to be printed in YYMMDD format (useful for
        sorting scan lines by dates).

FILES
     $HOME/.mh_profile
                      The user profile

     /usr/spool/mail/$USER
                      The user's mail drop

     <mh-dir>/audit-file
                      Audit trace file (optional)

SEE ALSO
     comp(1mh), folder(1mh), forw(1mh), inc(1mh), mail(1mh),
     next(1mh), pick(1mh), prev(1mh), prompter(1mh), refile(1mh),
     repl(1mh), rmf(1mh), rmm(1mh), scan(1mh), send(1mh), and
     show(1mh).

























Printed 5/12/88                                                 3





































































%%index%%
na:264,78;
sy:342,1052;
de:1394,2468;4198,775;
op:4973,1833;7142,832;
fi:7974,356;
se:8330,540;
%%index%%000000000129

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