home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / NETWORK / UUPC11QD.ZIP / MAIL.PRN < prev    next >
Encoding:
Text File  |  1991-12-08  |  35.5 KB  |  496 lines

  1.  
  2.  
  3.  
  4.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  5.  
  6.  
  7.  
  8.           Revision:          Revision:          Revision:
  9.  
  10.           This document applies to UUPC/extended version 1.11q, and was
  11.           last updated on November 22, 1991 by Drew Derbyshire.
  12.  
  13.  
  14.           Introduction:          Introduction:          Introduction:
  15.  
  16.           This file describes how to invoke and use the UUPC/extended mail
  17.           program.  It lists the commands available from the question mark
  18.           (?) prompt in when reading MAIL.   See tilde.hlp for tilde (~)
  19.           escape commands available when sending mail.
  20.  
  21.  
  22.           Command line options          Command line options          Command line options
  23.  
  24.           The MAIL               MAIL               MAIL  program is used for both sending and receiving mail.
  25.           The options available depend whether you wish to send or receive
  26.           mail.  For sending mail interactively, the syntax is:
  27.  
  28.                mail -s "subject" addressees
  29.  
  30.           If the -s "subject" is omitted, the user is prompted for a
  31.           subject.  Addressees must be specified, and are in the form
  32.           listed below.  For receiving mail, the syntax is:
  33.  
  34.                mail -f filename
  35.                mail -u userid
  36.  
  37.           where filename is the mailbox to be read using the syntax
  38.           described below for filenames, or userid is the user id whose
  39.           system mailbox is to be read.  The default is to read your own
  40.           system mailbox.
  41.  
  42.           Types of operands          Types of operands          Types of operands
  43.  
  44.           In the list of available commands, items refers to one or more
  45.           items in the mail box.  These items can be specified in the
  46.           following fashion:
  47.  
  48.           Item Number    A single numeric value,  the special
  49.                          character dot (.) to specify the current
  50.                          item, or the special character dollar sign
  51.                          ($) to specify the last item in the mailbox.
  52.           Item range     Two Item numbers separated by a hyphen (-).
  53.                          The items must be in ascending order; for
  54.                          example, 1-$ is valid, $-1 is not valid.
  55.           List of items  A list of item numbers and/or item ranges,
  56.                          separated by spaces.  The list need not be
  57.                          in ascending order.  An example is: 1-5 8 7
  58.                          14-17.
  59.           Asterisk (*)   Selects all items in the mailbox
  60.  
  61.  
  62.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  63.  
  64.  
  65.           Subject        A slash (/) followed by a subject to search
  66.                          for, optionally followed by a terminating
  67.                          slash.  Each Subject: or Resent-Subject:
  68.                          will be searched for the specified string.
  69.                          An example is /UUPC bugs/
  70.           User id        A single word (no white space) appearing in
  71.                          the From or Resent-From lines of the mail
  72.                          header.  Note that if the command accepts
  73.                          both an item and a userid, you cannot
  74.                          specify the item as a user id.
  75.  
  76.                          Note:                         Note:                         Note: If the command accepts both an item
  77.                          and file name and you specify a user id for
  78.                          the item, you must explicitly provide the
  79.                          default filename unless the user id includes
  80.                          the characters at sign (@), percent sign
  81.                          (%), or exclamation point (!).
  82.  
  83.  
  84.           Some commands also allow file names as operands.  These may be
  85.           described in the following fashion:
  86.  
  87.           Simple file    An MS-DOS file name with no path name
  88.           name
  89.           Relative path  An MS-DOS file name with one or more back
  90.           name           slashes (\) which does not begin with a back
  91.                          slash or drive letter.
  92.           Absolute path  An MS-DOS file name with one or more back
  93.           name           slashes (\) which begins with a back slash
  94.                          or drive letter.
  95.           Mailbox        A simple file name prefixed by the plus sign
  96.                          (+) character.  This will cause the file be
  97.                          referenced as if it is the mailbox for the
  98.                          specified user.  For example, +postmast
  99.                          refers to the mailbox for user postmast.
  100.           Relative to    A simple file name preceded by a tilde and
  101.           your home      slash (~/).  The file is then referenced by
  102.           directory      the prepending the home directory listed in
  103.                          your PERSONAL.RC to the simple file name.
  104.           Relative to    A simple file name preceded by a tilde, the
  105.           another's home userid, and a slash (~userid/).  The file is
  106.           directory.     then referenced by the prepending the home
  107.                          directory listed in the PASSWD file for user
  108.                          "userid" to the simple file name.
  109.  
  110.  
  111.           When sending mail from the MS-DOS command line or via the mail                                                                    mail                                                                    mail or
  112.           forward          forward          forward commands, addressees must be entered.  These take the
  113.           form:
  114.  
  115.           userid              A simple user id, for delivery on the
  116.                               local system.
  117.  
  118.  
  119.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  120.  
  121.  
  122.           userid@node         A user id and node combination, for
  123.                               delivery to userid on system node.
  124.  
  125.           nickname            A user or list defined in the user's
  126.                               ALIASES                              ALIASES                              ALIASES.                                     .                                     .TXT                                       TXT                                       TXT file.
  127.  
  128.           If the flag -c                       -c                       -c is inserted before a user id, then all following
  129.           users are delivered as Carbon Copy (Cc:) addressees.  If the flag
  130.           -b is inserted before a user id, then all following users are
  131.           delivered as blind carbon copies; their addresses do not appear
  132.           in the mail header.  The blind carbon copy flag must follow any
  133.           all normal addressees and carbon copy addressees.
  134.  
  135.  
  136.           Commands available when reading mail:          Commands available when reading mail:          Commands available when reading mail:
  137.  
  138.           Commands are entered in response to the mail question mark prompt
  139.           (?); all commands must be separated from their operands, if any,
  140.           by white space.  Most commands can be abbreviated to a single
  141.           character; the commands which cannot be so abbreviated and their
  142.           shortest allowable abbreviation are debug                                              debug                                              debug (deb                                                     deb                                                     deb), dquit                                                            dquit                                                            dquit (dq                                                                  dq                                                                  dq),
  143.           previous          previous          previous (pre                    pre                    pre),  set                           set                           set (se                                se                                se), and status                                         status                                         status (st                                                 st                                                 st).
  144.  
  145.           The commands supported by UUPC/extended                                                                                                     are as follows:
  146.  
  147.           empty line               If the current mail has not been
  148.                                    touched, then an empty line acts as a
  149.                                    print                                   print                                   print command; otherwise, it acts as a
  150.                                    next                                   next                                   next command.
  151.           ! command                Executes                                                                                         command as an MS-DOS command.
  152.                                    If command is omitted, runs an
  153.                                    inferior command processor (which
  154.                                    gives the user a new DOS prompt.)
  155.           ?                        Prints a summary of commands
  156.                                    available.
  157.           + integer                Alias for down                                             down                                             down command.
  158.           - integer                Alias for up                                             up                                             up command.
  159.           alias a1 a2 a3           Displays alias information loaded from
  160.                                    user's ALIASES                                          ALIASES                                          ALIASES.                                                 .                                                 .TXT                                                   TXT                                                   TXT file for nicknames
  161.                                    a1 a2 a3.  If an alias is list of
  162.                                    other aliases, the list is recursively
  163.                                    exploded and displayed.  This command
  164.                                    has no default operand; at least one
  165.                                    alias must be specified.
  166.           copy items file          Copies mail items into file with
  167.                                    headers.  Default file is the printer
  168.                                    on device PRN                                             PRN                                             PRN.
  169.           debug integer            Sets internal trace level to integer;
  170.                                    default is 0 at start up, 1 if command
  171.                                    is entered with no operands.  This can
  172.                                    also be set by the command line flag -                                                                        -                                                                        -
  173.                                    x.                                   x.                                   x.
  174.  
  175.  
  176.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  177.  
  178.  
  179.           delete items             Sets status of items to deleted.
  180.                                    Deleted items are ignored when
  181.                                    selecting mail by subject or user id,
  182.                                    and are purged from the mailbox when
  183.                                    the quit                                       quit                                       quit command is issued.
  184.           dquit items              Short for delete                                             delete                                             delete followed by quit.                                                                quit.                                                                quit.
  185.           exit                     Exits mail without updating mailbox;
  186.                                    deleted items are left alone.  Compare
  187.                                    this to the quit                                               quit                                               quit command.
  188.           forward items addrs      Resents items to addrs.  Note that if
  189.                                    the askcc                                        askcc                                        askcc option is set, each item
  190.                                    forwarded will be prompted for Carbon
  191.                                    Copy addressees.
  192.           go items                 Positions to the last of the items
  193.                                    selected.
  194.           headers                  Displays summary information for all
  195.                                    items in the mailbox.
  196.           Headers items            Displays summary information for the
  197.                                    selected items in the mailbox.
  198.           help                     Prints this long help text.
  199.           mail -s subject addrs    Interactively send mail to addrs with
  200.           mail addrs               optional subject.
  201.           next integer             Move down in mailbox by integer items.
  202.                                    Default is 1.
  203.           previous integer         Alias of up                                             up                                             up command.
  204.           print items              Print items from mailbox, using the
  205.                                    external pager if define in the
  206.                                    configuration file and ignoring a
  207.                                    standard list of RFC-822 fields in the
  208.                                    mail header such as Received: and
  209.                                    Message-Id:.  Compare this to the
  210.                                    Print                                   Print                                   Print, type                                          type                                          type, and Type                                                    Type                                                    Type commands,                                                                 ,                                                                 ,
  211.           Print items              Print items from mailbox, using
  212.                                    internal pager and ignoring a standard
  213.                                    list of RFC-822 fields in the mail
  214.                                    header.
  215.           quit                     Terminates the reading of mail.  All
  216.                                    deleted items are purged, and all
  217.                                    other items are saved in the original
  218.                                    mailbox or in =mbox depending on the
  219.                                    setting of the save                                                  save                                                  save flag.
  220.           reply items              Interactively sends mail to the
  221.                                    authors of each of the items
  222.                                    requested.  Note that each item is
  223.                                    replied to separately, specifying
  224.                                    "reply 1-10" will send ten pieces of
  225.                                    mail to ten people.
  226.           save items file          Saves the specified items complete
  227.                                    with mail headers into file, and then
  228.                                    deletes the items.  Compare this to
  229.                                    the copy                                        copy                                        copy and write                                                write                                                write commands.
  230.  
  231.  
  232.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  233.  
  234.  
  235.           set                      Sets various boolean options.   These
  236.                                    option can also be set in your
  237.                                    PERSONAL                                   PERSONAL                                   PERSONAL.                                           .                                           .RC                                             RC                                             RC file.  The options are
  238.                                    listed below under SET OPTIONS                                                      SET OPTIONS                                                      SET OPTIONS.                                                                 .                                                                 .
  239.           status                   Reports miscellaneous program
  240.                                    information, including:
  241.  
  242.                                         The version and creation time of
  243.                                              the program
  244.                                         The operating system version
  245.                                         The current address and related
  246.                                              information
  247.                                         The current file name, size, and
  248.                                              date last updated
  249.  
  250.           type items               Print items from mailbox, using
  251.                                    external pager if available and
  252.                                    displaying RFC-822 fields suppressed
  253.                                    by the print                                          print                                          print command.  Compare this to
  254.                                    the print                                        rint                                        rint, Print                                              Print                                              Print, and Type                                                         Type                                                         Type commands,                                                                      ,                                                                      ,
  255.           Type items               Print items from mailbox, using
  256.                                    internal pager and displaying RFC-822
  257.                                    fields suppressed by the print                                                            print                                                            print and
  258.                                    Print                                   Print                                   Print commands.
  259.           undelete                 Changes status of items to unread.
  260.           write items file         Writes items                                          items                                          items to file                                                   file                                                   file without the RFC-
  261.                                    822 headers and then deletes them.
  262.                                    The default file is ~/mbox                                                       ~/mbox                                                       ~/mbox.  Compare
  263.                                    this to the copy                                               copy                                               copy and save                                                        save                                                        save commands.
  264.           xit                      Alias for the exit                                                 exit                                                 exit command.
  265.  
  266.           Set options          Set options          Set options
  267.  
  268.           In addition to the commands listed above, a variety of options
  269.           can be set in the various configuration files; of special note
  270.           are the boolean options specified via options=                                                options=                                                options=  keyword in the
  271.           configuration files, as they can be changed via the set                                                              set                                                              set command.
  272.           Options are enabled by specifying their keyword, and disabled by
  273.           prefixing the keyword with the characters "no"; the default for
  274.           all options is disabled.
  275.  
  276.           Valid boolean options which can be set by the user in the UUPC.RC
  277.           file, their PERSONAL.RC file, or via the options                                                   options                                                   options command are as
  278.           follows:
  279.  
  280.           Option    Default operation          Operation if set
  281.           name
  282.  
  283.  
  284.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  285.  
  286.  
  287.           askcc     The user must enter all    After composing, reply
  288.                     addressees when invoking   to, or forwarding mail,
  289.                     mail                    mail                    mail or forward                            forward                            forward.           the user is prompted for
  290.                     Additional addressees      carbon copy (Cc:)
  291.                     cannot be added to mail    addressees.
  292.                     generated by reply                                 reply                                 reply.
  293.  
  294.  
  295.           autoedit  When sending mail, the     If the user has defined
  296.                     user is presented with     an editor, when sending
  297.                     the line oriented  send    mail,  the editor is
  298.                     mail interface.  To use a  immediately invoked for
  299.                     full screen editor, the    the user to enter mail
  300.                     user must use the ~e                                      ~e                                      ~e       with.  The user must exit
  301.                     (edit) command or exit     the editor to  include
  302.                     line oriented data entry   mail from the active
  303.                     to invoke his editor.      mailbox.
  304.  
  305.           autoincl  Do not automatically       When the reply command is
  306.           ude       include the text of mail   invoked, automatically
  307.                     being replied to.          include the text of the
  308.                                                mail being replied to as
  309.                                                if the ~i command was
  310.                                                issued.
  311.  
  312.           autosign  When sending mail, the     If defined in the user's
  313.                     user's signature file is   configuration file, the
  314.                     not appended to outgoing   signature is
  315.                     mail automatically.  If    automatically appended to
  316.                     defined, the user mail     all outgoing mail.
  317.                     still include the file
  318.                     via the ~g                            ~g                            ~g (include
  319.                     autograph) command.
  320.  
  321.           backup    Do not create a backup of  Before updating or
  322.                     the file being processed   deleting the current file
  323.                     before rewriting or        when exiting mail, rename
  324.                     deleting it.               the existing file to the
  325.                                                same file name with the
  326.                                                extension defined by the
  327.                                                configuration variable
  328.                                                BackupExt                                               BackupExt                                               BackupExt.
  329.  
  330.                                                Note:                                               Note:                                               Note: If no extension is
  331.                                                defined, a default
  332.                                                extension of "BAK" is
  333.                                                used.
  334.  
  335.  
  336.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  337.  
  338.  
  339.           doskey    Under DOS, interactive     If installed, the MS-DOS
  340.                     input is read from the     5.0 DOSKEY program is
  341.                     console using standard     used to read input from
  342.                     DOS services (INT 21H      the console; normal
  343.                     function 0AH).  DOSKEY,    DOSKEY functions,
  344.                     if installed, is ignored.  including the ability to
  345.                     Empty input lines are      edit and scroll input,
  346.                     processed normally.        along with macro
  347.                                                expansion, is available.
  348.                                                Empty lines (which can be
  349.                                                generated by DOSKEY macro
  350.                                                processing) are ignored
  351.                                                at the command prompt
  352.                                                unless the expert                                                           expert                                                           expert option
  353.                                                is also set.
  354.  
  355.                                                Note:                                                Note:                                                Note: If DOSKEY is not
  356.                                                installed, when the user
  357.                                                is first prompted for
  358.                                                input the doskey                                                          doskey                                                          doskey option
  359.                                                is reset to nodoskey                                                           nodoskey                                                           nodoskey with
  360.                                                a warning message.
  361.  
  362.           dot       When sending mail,         When sending mail,
  363.                     interactive input must be  interactive input can be
  364.                     terminated by the DOS end  terminated by a single
  365.                     of file character (Ctrl-   period (.) in column one.
  366.                     Z).
  367.  
  368.           expert    All informational          Boiler plate messages,
  369.                     messages are displayed,    such as the initial help
  370.                     and if the doskey                               doskey                               doskey option   prompt, are suppressed,
  371.                     is also set, empty input   and empty input lines are
  372.                     lines are ignored in       not ignored when the
  373.                     response to the command    doskey                                               doskey                                               doskey option is set.
  374.                     prompt.
  375.  
  376.  
  377.           forward-  Mail sent via the forward                                      forward                                      forward  If the user has defined
  378.           save      command is not saved in    an outgoing mailbox, then
  379.                     the user's outgoing        mail sent via the forward                                                                 forward                                                                 forward
  380.                     mailbox.                   command is saved in the
  381.                                                same fashion as other
  382.                                                outgoing mail.
  383.  
  384.  
  385.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  386.  
  387.  
  388.           fromsep   Items in the mailbox must  Items in the mailbox can
  389.                     be separated by a line of  be separated only by UUCP
  390.                     binary ones (1).           format From                                                      From                                                      From lines.  The
  391.                                                line of binary ones (1)
  392.                                                required between items by
  393.                                                the default operation of
  394.                                                nofromsep                                               nofromsep                                               nofromsep is still
  395.                                                generated when updating
  396.                                                mailboxes.
  397.  
  398.                                                Note:                                                Note:                                                Note: This option must be
  399.                                                set in a system or user
  400.                                                configuration file,
  401.                                                because it only examined
  402.                                                at start up.
  403.  
  404.           pager     help                    help                    help, print                          print                          print and type                                    type                                    type use   help                                               help                                               help, print                                                     print                                                     print and type                                                               type                                                               type use
  405.                     the external pager if one  the internal pager, and
  406.                     is defined, and Print                                     Print                                     Print and  Print                                                Print                                                Print and Type                                                          Type                                                          Type use the
  407.                     Type                     Type                     Type use the internal      external pager if one is
  408.                     pager.                     defined
  409.  
  410.           purge     Empty mailboxes are left   Empty mailboxes are
  411.                     in place when the user     deleted when the user
  412.                     exits mail.                exits mail.
  413.  
  414.  
  415.           save      Mail is left in the        If mail is not deleted
  416.                     user's system mailbox      from the user's system
  417.                     after reading.             mailbox after reading, it
  418.                                                is automatically saved in
  419.                                                his ~/mbox                                                    ~/mbox                                                    ~/mbox file when the
  420.                                                user exits mail.
  421.  
  422.           verbose   When invoked from mail,    When invoked from mail,
  423.                     rmail only displays error  rmail displays both error
  424.                     messages.                  messages and nominal
  425.                                                status messages,
  426.                                                including the addresses
  427.                                                mail was delivered to.
  428.  
  429.  
  430.  
  431.           The following system oriented options must apply to all users on
  432.           a system and can only                           only                           only be set in the UUPC.RC file:
  433.  
  434.           Option    Default operation          Operation if set
  435.           name
  436.  
  437.           bang      RFC-822 headers are        RFC-822 headers are
  438.                     generated with a           generated with UUCP style
  439.                     "User name" <user@node>    (User name) node!user
  440.                     format.                    format.
  441.  
  442.  
  443.           December 8, 1991                UUPC/extended 1.11q Mail Command Reference
  444.  
  445.  
  446.           director  Mail for  "user" is        Mail for  "user" is
  447.           y         delivered to the file      delivered to the file
  448.                     user in the directory      newmail in the user sub-
  449.                     specified by the maildir=                                     maildir=                                     maildir=  directory of the
  450.                     line in the system         directory specified by
  451.                     configuration file.        the maildir=                                                   maildir=                                                   maildir= line in the
  452.                                                system configuration
  453.                                                file.
  454.  
  455.           history   No news history is         A history is maintained
  456.                     maintained.                of all news articles read
  457.                                                and posted.
  458.  
  459.                                                Note:                                               Note:                                               Note:  Because news is
  460.                                                not supported in
  461.                                                UUPC/extended 1.11q, this
  462.                                                option has no effect.
  463.  
  464.           kanji     No translation of          Mail which orginates
  465.                     characters takes place     locally is translated
  466.                     during RMAIL processing.   from a 2 byte Kanji code
  467.                                                called Shift-JIS
  468.                                                (Japanese ideogram) to
  469.                                                Kanji in a 7bit subset of
  470.                                                ISO2022 which can be
  471.                                                transmitted via SMTP.
  472.                                                Mail from remote systems
  473.                                                which is delivered
  474.                                                locally is translated
  475.                                                from JIS 7bit back to
  476.                                                Shift-JIS.
  477.  
  478.  
  479.           monocase  Job sequence ids are       Job sequence ids are
  480.                     generated in base 62       generated in base 36
  481.                     using numerics and upper   using numerics and upper
  482.                     and lower case             case alphabetics.
  483.                     alphabetics.
  484.  
  485.           multique  When queuing mail for      When queuing mail for
  486.           ue        other hosts, each          other hosts, a single
  487.                     addressee is delivered     file delivered via the
  488.                     separately.                remote UUCP can have
  489.                                                multiple addressees.
  490.  
  491.           syslog    No record is made of       The file SYSLOG is
  492.                     files transferred.         written in the spool
  493.                                                directory with a record
  494.                                                for each file transferred
  495.                                                to or from the local
  496.                                                system.