home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / UUPC11XD.ZIP / COMMANDS.PRN < prev    next >
Encoding:
Text File  |  1992-09-04  |  55.5 KB  |  1,282 lines

  1.  
  2.  
  3.  
  4.           September 4, 1992             UUPC/extended 1.11v Command
  5.           Reference
  6.  
  7.  
  8.           Table of Contents          Table of Contents          Table of Contents
  9.  
  10.  
  11.           Table of Contents.............................................1
  12.  
  13.           Revision......................................................3
  14.  
  15.           Overview......................................................3
  16.  
  17.           Command Syntax................................................3
  18.  
  19.           UUPC/extended Command Descriptions............................3
  20.  
  21.                COMM34...................................................3
  22.  
  23.                EXPIRE...................................................4
  24.  
  25.                FMT......................................................5
  26.  
  27.                GENSIG...................................................5
  28.  
  29.                MAIL.....................................................6
  30.  
  31.                NOVRSTRK.................................................7
  32.  
  33.                RMAIL....................................................8
  34.                     RFC-822 Mode........................................9
  35.                     Stand alone Mode....................................9
  36.                     UNIX RMAIL Emulation Mode...........................10
  37.  
  38.                RNEWS....................................................11
  39.                     Regular Mode........................................12
  40.                     SNEWS mode..........................................13
  41.  
  42.                SU.......................................................13
  43.  
  44.                UUCICO...................................................14
  45.  
  46.                UUCLEAN..................................................15
  47.  
  48.                UUIO.....................................................16
  49.  
  50.                UUCP.....................................................16
  51.  
  52.                UUPOLL...................................................17
  53.  
  54.                UUNAME...................................................19
  55.  
  56.                UUSTAT...................................................19
  57.  
  58.                UUSUB....................................................20
  59.  
  60.                UUX......................................................20
  61.  
  62.                                      - 1 -
  63.  
  64.  
  65.           September 4, 1992             UUPC/extended 1.11v Command
  66.           Reference
  67.  
  68.  
  69.                UUXQT....................................................20
  70.  
  71.                WAITING..................................................21
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.                                      - 2 -
  124.  
  125.  
  126.           September 4, 1992             UUPC/extended                                                             1.11v Command
  127.           Reference
  128.  
  129.           Revision          Revision          Revision
  130.  
  131.                   41st          This is      revision of this document and applies to version
  132.                    UUPC/extended                of           1.11v                 .  This was last updated on September 4,
  133.                   Katherine E. Williams               by           1992                         .
  134.  
  135.  
  136.           Overview          Overview          Overview
  137.  
  138.           This document describes the syntax of the commands supplied with
  139.           UUPC/extended.  It assumes you have installed the programs and
  140.           configured them as described in INSTALL.PRN, and that you have
  141.           access to the Nutshell Handbook Using UUCP and Usenet.
  142.  
  143.           Additional documentation for the MAIL command is in the file
  144.           MAIL.PRN, and additional information on the UUSTAT command is in
  145.           the file UUSTAT.PRN.
  146.  
  147.  
  148.           Command Syntax          Command Syntax          Command Syntax
  149.  
  150.           To obtain the syntax of the various command line options, enter
  151.           the command name followed by '-?'; for example:
  152.  
  153.                COMM34 -?       MAIL -?         UUNAME -?       UUX -?
  154.                EXPIRE -?       UUCICO -?       UUSTAT -?       UUXQT -?
  155.                FMT-?           UUPOLL-?        UUSUB -?
  156.                GENSIG -?       UUCP -?
  157.  
  158.  
  159.               Note:              Note:              Note: For a listing of the commands available when reading
  160.                     mail, see the file MAIL.HLP in the configuration
  161.                     directory; for commands available when sending mail,
  162.                     see the file TILDE.HLP in the configuration directory.
  163.  
  164.  
  165.           UUPC/extended          UUPC/extended          UUPC/extended Command Descriptions                        Command Descriptions                        Command Descriptions
  166.  
  167.               Note:              Note:              Note: These are general instructions, and you may require
  168.                     additional assistance if you have never used a UNIX-
  169.                     like mail system before.
  170.  
  171.           Descriptions of the commands supplied as part of UUPC/extended
  172.           follow in alphabetical order.
  173.  
  174.  
  175.           COMM34          COMM34          COMM34
  176.  
  177.           COMM34 defines non-default addresses of communications ports 3
  178.           and 4 (COM3 and COM4) under MS-DOS.  It does this by poking the
  179.           provided operands into the BIOS memory segment at hexadecimal
  180.           address 0040:0000 where UUCICO and other programs such as Kermit
  181.           search for port addresses.  It also displays all defined port
  182.           addresses for COM1-4.
  183.  
  184.                                      - 3 -
  185.  
  186.  
  187.           September 4, 1992             UUPC/extended 1.11v Command
  188.           Reference
  189.  
  190.               Note:              Note:              Note: This command is not available under OS/2, but may be
  191.                     used in an OS/2 DOS box.  The preferred way to define
  192.                     the port addresses for COM3 and COM4 to both OS/2 and
  193.                     to DOS boxes under OS/2 is to add information to the
  194.                     relevant DEVICE= statements in the OS/2 CONFIG.SYS.
  195.  
  196.           The syntax of the COMM34 command is:
  197.  
  198.           COMM34 port3 [port4]
  199.  
  200.           where:
  201.  
  202.              port3    is the hexadecimal address for COM3, or 0 if
  203.                       omitted and port4 is specified.
  204.  
  205.               Note:              Note:              Note: COM3 must use IRQ 4.
  206.  
  207.             port4     is the hexadecimal address for communications port
  208.                       4.
  209.  
  210.               Note:              Note:              Note: COM4 must use IRQ 3.
  211.  
  212.           If all operands are omitted, COMM34 displays a help screen and
  213.           the current port assignments.
  214.  
  215.  
  216.           EXPIRE          EXPIRE          EXPIRE
  217.  
  218.           EXPIRE archives and/or deletes articles created by RNEWS in
  219.           normal mode after a specified period of days.  For EXPIRE to run,
  220.           the ACTIVE file must exist.  (See the description of RNEWS for
  221.           the layout of the ACTIVE file.)  When received, articles are kept
  222.           in the directory hierarchy defined by the NewsDir                                                    NewsDir                                                    NewsDir variable; after
  223.           the period specified by the expire period, EXPIRE moves articles
  224.           to the directory hiearchy defined by the ArchDir                                                    ArchDir                                                    ArchDir variable for the
  225.           number of days specified by the archive period, after which
  226.           EXPIRE deletes the articles.
  227.  
  228.               Note:              Note:              Note: Because the articles are moved from the main news
  229.                     directories to the archive directorties via a rename
  230.                     call (the articles are not copied), the two directory
  231.                     hiearchies must reside on the same disk partition.  If
  232.                     an article cannot be archived for this or any other
  233.                     reason, it will be deleted when the expire period is
  234.                     reached.
  235.  
  236.           The syntax of EXPIRE is:
  237.  
  238.           EXPIRE    [-x debuglevel] [-e days] [-a days] [n newsgroup]
  239.  
  240.           Where:
  241.  
  242.             -a days   Number of days news is to be archived (saved but
  243.                       inaccessible to the user) after it is expired.  The
  244.  
  245.                                      - 4 -
  246.  
  247.  
  248.           September 4, 1992             UUPC/extended 1.11v Command
  249.           Reference
  250.  
  251.                       default is zero (0) days, that is the news is be
  252.                       deleted without archiving.
  253.  
  254.             -e days   Number of days  news is be kept in a directories
  255.                       accessible to the user before being deleted or
  256.                       archived depending on the archive (-a) flag.   The
  257.                       default period is seven (7) days.
  258.  
  259.             -n newsgroup The name of the news group to scan for expired
  260.                       articles.   The default is to scan all news groups
  261.                       in the active file for articles to expire.
  262.  
  263.             -x debug  Display debug messages at or below level "debug".
  264.                       The default value is 1; the option may set to 0 for
  265.                       unattended production use, or as high 20 for
  266.                       detailed debugging.
  267.  
  268.  
  269.           FMT          FMT          FMT
  270.  
  271.           FMT is used as a simple paragraph formatter when entering mail in
  272.           line mode.  It effectively removes all carriage returns from
  273.           within a paragraph and then writes the paragraph out in lines as
  274.           close as possible to 72 characters in length without going over.
  275.           Paragraphs are separated by blank lines in the input file and
  276.           output files.
  277.  
  278.               Note:              Note:              Note: If the first word on a new line is longer than the
  279.                     maximum line length, it is written by itself on the
  280.                     line.  It is not truncated.
  281.  
  282.           The command syntax is:
  283.  
  284.                FMT  [-#] [input-file [output-file]]
  285.  
  286.           The optional flag -#, where "#" is a number greater than or equal
  287.           to 0, overrides the default maximum length of 72 characters per
  288.           line.  The default the input and output files are the console.
  289.  
  290.           To format the all the text you have typed in from line mode, use
  291.           it as a pipe at the question mark (?) prompt while sending mail:
  292.  
  293.                ~|FMT
  294.  
  295.  
  296.           GENSIG          GENSIG          GENSIG
  297.  
  298.           GENSIG reads a standard signature file and appends random text
  299.           selected from a second file, writing the combined data to a third
  300.           file.  The format of the command is:
  301.  
  302.                GENSIG fixed.inp variable.inp merged.out
  303.  
  304.  
  305.  
  306.                                      - 5 -
  307.  
  308.  
  309.           September 4, 1992             UUPC/extended 1.11v Command
  310.           Reference
  311.  
  312.           Where "fixed.inp" is the fixed portion of the signature file
  313.           containing your name and address, "variable.inp" is a file which
  314.           begins which a delimiter line followed by quotes or other text
  315.           separated by additional delimiter lines.  For example, the
  316.           variable input file might look like this:
  317.  
  318.                **
  319.                The above is a delimiter line.
  320.                **
  321.                Free the Intel 386!
  322.                **
  323.                "UUCP/extended" is "system crash" spelled sideways.
  324.                **
  325.                Don't quote me!
  326.  
  327.           The file "merged.out" will contain the entire text of the
  328.           "fixed.inp" file followed by one delimited text block from
  329.           "variable.inp".  If you use this to generate a signature file,
  330.           then your PERSONAL.RC should reference the file "merged.out"  as
  331.           your signature file.
  332.  
  333.               Note:              Note:              Note: To generate fresh quotes, this program should be run
  334.                     from your AUTOEXEC.BAT or other regularly run batch
  335.                     file.
  336.  
  337.  
  338.           MAIL          MAIL          MAIL
  339.  
  340.           To send mail, with the body of the message being typed in from
  341.           the PC keyboard:
  342.  
  343.                MAIL -s "the subject" address1 address2 ...
  344.  
  345.           Where "the subject" is the topic of the message, enclosed in
  346.           quotes; if the subject is omitted, then the '-s' flag should be
  347.           omitted as well.  Addresses are in the form user@node, node!user,
  348.           localuser, or nick,  where nick is a nickname in your aliases.txt
  349.           file.  The flags '-c' and '-b' may also be inserted between
  350.           addresses; all addresses after '-c' are sent as Carbon copies,
  351.           and addresses following '-b' are Blind Carbon copies (and not
  352.           displayed in the header of the message).   Thus, a valid mail
  353.           command may be:
  354.  
  355.                mail -s "Chocolate" snuffles@pandora.kew.com
  356.  
  357.           The mail program will then prompt you for the message1 to be
  358.           sent.
  359.  
  360.                               
  361.  
  362.           1This is a sample only.  Snuffles, proofreading this, announced
  363.           quite firmly that she does not want a message about Chocolate,
  364.           she wants the real thing.  She also pointed out that she reads
  365.           her mail on kendra, not on pandora.
  366.  
  367.                                      - 6 -
  368.  
  369.  
  370.           September 4, 1992             UUPC/extended 1.11v Command
  371.           Reference
  372.  
  373.               Note:              Note:              Note: ~? may be entered for available commands when entering
  374.                     the mail.
  375.  
  376.               Note:              Note:              Note: This only queues the mail for sending if it is going to
  377.                     another system connected via a modem; UUCICO (below)
  378.                     must be invoked to actually transfer the mail to the
  379.                     other system.
  380.  
  381.           To send mail which already exists in a text file, the procedure
  382.           is as above, but the standard syntax for MS-DOS file redirection
  383.           is added to the end of the command line:
  384.  
  385.                MAIL -s "the subject" address1 address2 < filename
  386.  
  387.               Note:              Note:              Note: Do not send binary files using the MAIL command.  Use
  388.                     the UUCP command for transferring binary files to
  389.                     directly connected systems, and use a program such as
  390.                     UUENCODE (not supplied) to convert a binary file to
  391.                     printable characters mailing to distant systems.
  392.  
  393.           To read your new mail, enter the command:
  394.  
  395.                MAIL
  396.  
  397.           If you do not have a mailbox or the mailbox is empty, MAIL will
  398.           report this fact and exit.  If you have mail, the program will
  399.           scan the mailbox, display the subjects of all the messages, and
  400.           then prompt you with the message number you are on and a question
  401.           mark (?).  For a list of commands within MAIL, enter a question
  402.           mark at the prompt (?); to exit MAIL, enter 'q' at the prompt.
  403.  
  404.           To read mail saved in a file in other than your mailbox, enter:
  405.  
  406.                MAIL -f filename
  407.  
  408.           Where filename is the file to be processed for mail.  This may be
  409.           the file you specified to store outgoing mail in, or mail you
  410.           saved into another file when reading your new mail.
  411.  
  412.               Note:              Note:              Note:  When reading or saving mail, use of the tilde slash
  413.                     combination (~/) in front of a file name directs MAIL
  414.                     to look for the specified file in your home directory,
  415.                     the path of which was specified in your PERSONAL.RC
  416.                     file.
  417.  
  418.               Note:              Note:              Note: For additional information on MAIL, including the
  419.                     command line flags and available subcommands, see the
  420.                     MAIL.PRN file.
  421.  
  422.  
  423.           NOVRSTRK          NOVRSTRK          NOVRSTRK
  424.  
  425.           NOVRSTRK is used to strip overstrikes from files to allow viewing
  426.           on a terminal.  If used to display the UUPC/extended
  427.  
  428.                                      - 7 -
  429.  
  430.  
  431.           September 4, 1992             UUPC/extended 1.11v Command
  432.           Reference
  433.  
  434.           documentation, it will drop the overstrikes created by back
  435.           spaces which are used to create bold and underscored text on a
  436.           printer.   The syntax of NOVRSTRK is:
  437.  
  438.                NOVRSTRK  [input-file [output-file]]
  439.  
  440.           The default input and output files are the console.
  441.  
  442.  
  443.           RMAIL          RMAIL          RMAIL
  444.  
  445.           RMAIL is the Mail Delivery Agent (MDA) for UUPC/extended; that
  446.           is, other programs such as MAIL and UUXQT pass it mail for
  447.           delivery on standard input (STDIN), and RMAIL the handles actual
  448.           writing to local mailboxes and/or queuing for remote systems.
  449.           RMAIL is designed to only be invoked from other programs, and as
  450.           such, end-users should never have to invoke RMAIL.  The following
  451.           information is included primarily for those who need to invoke
  452.           RMAIL from another program, such as an external news reader.
  453.  
  454.           RMAIL operates in one of three modes:
  455.  
  456.                As an RFC-822 parsing back-end to the MAIL user agent
  457.                program
  458.                As a stand alone mailer for utility programs such as UUXQT
  459.                As substiute for the UNIX RMAIL program invoked by UUXQT for
  460.                remote mail delivery
  461.  
  462.           These three operating modes are described below.
  463.  
  464.           The general syntax of RMAIL is as follows:
  465.  
  466.           RMAIL     [[-f | -F] filename] [-x debug] address(es)
  467.           RMAIL     [[-f | -F] filename] [-x debug] [-s subject] -w
  468.           address(es) [-c address(es)] [[-b address(es)]
  469.           RMAIL     [[-f | -F] filename] [-x debug] -t
  470.  
  471.           Where:
  472.  
  473.             -b address(es)    Specifies optional blind carbon copy
  474.                       address(es).  Must follow all other flags and
  475.                       addresses; used only with -w flag.
  476.  
  477.             -c address(es)    Specifies optional carbon copy address(es).
  478.                       Must follow all other flags and addresses except
  479.                       for the -b flags and its associated addresses.
  480.  
  481.             -f filename  Specifies the following file name is to be used
  482.                       in place of standard input
  483.  
  484.             -F filename  Specifies the following file name is to be used
  485.                       in place of standard input; the file is deleted
  486.                       after use.
  487.  
  488.  
  489.                                      - 8 -
  490.  
  491.  
  492.           September 4, 1992             UUPC/extended 1.11v Command
  493.           Reference
  494.  
  495.             -s subject   Optional subject; used with and implies the -w
  496.                       flag.
  497.  
  498.             -t        Enables RFC-822 header parsing mode.
  499.  
  500.             -w        Enable stand-alone mailer mode.
  501.  
  502.             -x debug  Display debug messages at or below level "debug".
  503.                       The default value is 1; the option may set to 0 for
  504.                       unattended production use, or as high 20 for
  505.                       detailed debugging.
  506.  
  507.             address(es)  One or more addresses the mail is to delivered
  508.                       to.  Not used with -t flag; required for othe
  509.                       modes.
  510.  
  511.             RFC-822 Mode            RFC-822 Mode            RFC-822 Mode
  512.  
  513.           In RFC-822 mode, RMAIL is invoked with the (-t                                                      -t                                                      -t) flag, which
  514.           directs RMAIL to determine the addresses by parsing the mail's
  515.           RFC-822 header.  This mode acts as the back-end  to a program
  516.           such as MAIL which generates a the RFC-822 header and passes the
  517.           mail to RMAIL for both local and remote delivery.  RMAIL reads
  518.           the header, validates the From:                                    From:                                    From: address, generates generates a a
  519.           UUCP From               From               From line, RFC-822 Message-ID:                                  Message-ID:                                  Message-ID: and Received:                                                  Received:                                                  Received: lines, and
  520.           delivers mail to each address included in  the To:                                                         To:                                                         To:, Cc:                                                              Cc:                                                              Cc:, and Bcc:                                                                       Bcc:                                                                       Bcc:
  521.           headers.  The Bcc:                        Bcc:                        Bcc: header, if any, is read for its addresses but
  522.           not copied; other all header lines are copied as-is.
  523.  
  524.               Note:              Note:              Note: When an RFC-822 header prefixed by Resent-                                                       Resent-                                                       Resent- is found,
  525.                     only the Resent-                             Resent-                             Resent- headers are used; the original headers
  526.                     are copied but otherwise ignored.  In this case, the
  527.                     preceding description applies to the Resent-                                                         Resent-                                                         Resent- headers;
  528.                     the original headers are copied without being examined.
  529.  
  530.           The RFC-822 header read by RMAIL is subject to the following
  531.           restrictions:
  532.  
  533.                All Resent-                   Resent-                   Resent- headers, if any, must precede the original
  534.                headers.
  535.  
  536.                The From:                   From:                   From: header must precede the To:                                                 To:                                                 To: header.
  537.  
  538.               Note:              Note:              Note: If the address in the From:                                          From:                                          From: header does not match the
  539.                     address of the user defined in the UUPC.RC and/or
  540.                     PERSONAL.RC files, a Sender:                                         Sender:                                         Sender: line is generated with
  541.                     correct address.
  542.  
  543.                The To:                   To:                   To:, Cc:                        Cc:                        Cc:, and Bcc:                                 Bcc:                                 Bcc: headers must be together in the
  544.                listed order.  Each address in these headers must begin on a
  545.                new line and be less than 512 bytes long.
  546.  
  547.             Stand alone Mode            Stand alone Mode            Stand alone Mode
  548.  
  549.  
  550.                                      - 9 -
  551.  
  552.  
  553.           September 4, 1992             UUPC/extended 1.11v Command
  554.           Reference
  555.  
  556.           In stand alone mode, RMAIL is invoked with the (-w                                                          -w                                                          -w) flag to
  557.           process mail without an existing RFC-822 header; this allows
  558.           bypassing the Mail User Agent (MAIL) for specialized applications
  559.           such as mail generated by another program.  This mail is subject
  560.           to the following restrictions:
  561.  
  562.                Mail is not logged in the user's outgoing mailbox
  563.  
  564.                The user's signature file is not appended to the mail
  565.  
  566.                Aliases are not expanded
  567.  
  568.                All addresses plus the subject (if any) must fit on the MS-
  569.                DOS or OS/2 command line
  570.  
  571.           The following services are performed by RMAIL in stand alone
  572.           mode:
  573.  
  574.                A UUCP From                      From                      From line is generated.
  575.  
  576.                A valid RFC-822 header is generated  with Received:                                                         Received:                                                         Received:, Date:                                                                    Date:                                                                    Date:,
  577.                Message-ID:               Message-ID:               Message-ID:, From:                            From:                            From:, and To:                                       To:                                       To: lines.  In addition, Subject:                                                                Subject:                                                                Subject:
  578.                and Cc:                   Cc:                   Cc: lines as required if the Subject (-s                                                         -s                                                         -s) and/or Carbon
  579.                Copy (-c                     -c                     -c) options are specified.
  580.  
  581.                The generated RFC-822 header also includes a From:                                                             From:                                                             From: user id
  582.                derived by the MS-DOS or OS/2 environment variable LOGNAME                                                                  LOGNAME                                                                  LOGNAME2,
  583.                if defined; otherwise the default current user is used.
  584.                When LOGNAME                     LOGNAME                     LOGNAME is defined the real name of the user will be
  585.                taken from the UUPC/extended PASSWD file if available, or a
  586.                dummy name.3
  587.  
  588.                Mail is queued for the addresses on the command line,
  589.                including primary addresses, carbon copied addresses, and
  590.                blind carbon coped addresses.  As with RFC-822 mode, the
  591.                output of RMAIL in stand alone mode does not include any
  592.                reference to blind carbon copy users in the actual mail
  593.                header.
  594.  
  595.             UNIX RMAIL Emulation Mode            UNIX RMAIL Emulation Mode            UNIX RMAIL Emulation Mode
  596.  
  597.           In UNIX RMAIL emulation mode, the following processing takes
  598.           place:
  599.  
  600.  
  601.                               
  602.  
  603.           2Note that this is not                             not                             not a UUPC.RC or PERSONAL.RC variable.
  604.  
  605.           3"Postmaster" is used the user id defined as Postmaster in
  606.           UUPC.RC and for the address POSTMASTER, "UNIX-to-UNIX Copy" for
  607.           the userid UUCP.  For all other undefined addresses, the rel name
  608.           is set to the same value as the userid itself.
  609.  
  610.  
  611.                                      - 10 -
  612.  
  613.  
  614.           September 4, 1992             UUPC/extended 1.11v Command
  615.           Reference
  616.  
  617.                Mail is read in to a temporary file; the UUCP From                                                              From                                                              From line,
  618.                which is the first line in the file, is parsed and stripped
  619.                from the mail.  No other mail headers are examined.
  620.  
  621.                Mail is delivered to each local user on the command line
  622.                with a UUCP From                            From                            From line generated from the system name(s)
  623.                parsed from the incoming From                                        From                                        From line.
  624.  
  625.                Mail is delivered to all other users on the command line
  626.                with a UUCP From                           From                           From line generated from the system name(s)
  627.                parsed from the incoming From                                        From                                        From line with the system name
  628.                UUXQT received the mail from prefixed to the list unless it
  629.                is already the first system in the list.
  630.  
  631.               Note:              Note:              Note: UUXQT normally passes the incomng system name in the
  632.                     UU_MACHINE                    UU_MACHINE                    UU_MACHINE environment variable; if this is not set,
  633.                     the incoming system name is taken from the "remote from
  634.                     system" portion of the From                                           From                                           From line.  If this data is also
  635.                     mising or invalid, the incoming system name is
  636.                     generated as being from the local system and user id
  637.                     /dev/null.4
  638.  
  639.  
  640.           RNEWS          RNEWS          RNEWS
  641.  
  642.           RNEWS processes incoming news from other systems, and normally
  643.           never directly invoked by the user.  It is invoked automatically
  644.           by UUXQT upon the arrival of news at the local system, reading
  645.           the news on standard input.  RNEWS operates in one of two modes:
  646.           regular mode and SNEWS mode, described below.
  647.  
  648.           The syntax of RNEWS is as follows:
  649.  
  650.           RNEWS     [[-f|-F] filename] [-x debug]
  651.  
  652.           Where:
  653.  
  654.             -f filename  Specifies the following file name is to be used
  655.                       in place of standard input
  656.  
  657.             -F filename  Specifies the following file name is to be used
  658.                       in place of standard input; the file is to be
  659.                       deleted after use.
  660.  
  661.             -x debug  Display debug messages at or below level "debug".
  662.                       The default value is 1; the option may set to 0 for
  663.                       unattended production use, or as high 20 for
  664.                       detailed debugging.
  665.                               
  666.  
  667.           4This behavior is based on the similar behavior of the BSD
  668.           sendmail program.  Why it does it is beyond the scope of this
  669.           document (or most human understanding).
  670.  
  671.  
  672.                                      - 11 -
  673.  
  674.  
  675.           September 4, 1992             UUPC/extended 1.11v Command
  676.           Reference
  677.  
  678.               Note:              Note:              Note: For RNEWS to correctly process compressed news (news
  679.                     which has been compacted to take less time to be
  680.                     transmitted to the local system), a decompression
  681.                     program must be installed.  Unless this program is
  682.                     named uncompre                           uncompre                           uncompre  and resides in the path searched by
  683.                     UUXQT                    UUXQT                    UUXQT, the variable Uncompress                                         Uncompress                                         Uncompress must be defined in the
  684.                     UUPC.RC file.  See the sample UUPC.RC for details.
  685.  
  686.               Note:              Note:              Note: The compress program is not supplied with
  687.                     UUPC/extended.
  688.  
  689.             Regular Mode            Regular Mode            Regular Mode
  690.  
  691.           The regular mode of RNEWS enabled by specifying or defaulting the
  692.           boolean option nosnews                         nosnews                         nosnews in the UUPC.RC configuration file.  In
  693.           this mode, RNEWS searches for the file ACTIVE in the
  694.           UUPC/extended news directory, and reads this file for the local
  695.           active news groups.  Any news received for groups not included in
  696.           the ACTIVE file is discarded without comment.
  697.  
  698.           The format of the active file defines one news group per line,
  699.           with the format for each line as follows:
  700.  
  701.                news.group first last post
  702.  
  703.           Where:
  704.  
  705.             news.group   The name of the news group.
  706.  
  707.             first     The number of the first article currently on
  708.                       system.  If no articles are on the system, the
  709.                       number should be 0.
  710.  
  711.             last      The number of the last article on the system.  If
  712.                       no articles are on the system, this number should
  713.                       be 1.
  714.  
  715.             post      A single character describing whether or not local
  716.                       users can post to the news group.  Y allows
  717.                       unrestricted posting, N disallows all posting, and
  718.                       M defines the group as moderated, and that posts
  719.                       are to be forwarded to the moderator.
  720.  
  721.               Note:              Note:              Note: If the ACTIVE file does not exist or has gross format
  722.                     errors, RNEWS will abort and the incoming news will be
  723.                     lost.
  724.  
  725.           In regular mode, news is processed as follows:
  726.  
  727.           1.The active file is loaded.
  728.  
  729.           2.If the input file is compressed, the input is copied to a
  730.             holding file and the user specified uncompress program is
  731.  
  732.  
  733.                                      - 12 -
  734.  
  735.  
  736.           September 4, 1992             UUPC/extended 1.11v Command
  737.           Reference
  738.  
  739.             invoked to decompress the holding file.  It is then treated as
  740.             batched news.
  741.  
  742.           3.If news is batched with multiple articles per file
  743.             transferred, then the articles in the file written to a
  744.             temporary one at a time; this temporary file is then processed
  745.             as a single article.
  746.  
  747.           4.For each article processed, the news groups line of the header
  748.             is scanned; for each group listed which is also in the header
  749.             file, the article is copied to the group's directory under the
  750.             next available article number.
  751.  
  752.           5.The active file is written out with updated article numbers.
  753.  
  754.             SNEWS mode            SNEWS mode            SNEWS mode
  755.  
  756.           The SNEWS mode of RNEWS enabled by specifying the boolean option
  757.           snews          snews          snews in the UUPC.RC configuration file.  In this mode, RNEWS
  758.           uncompresses news but does not unbatch news or distribute it to
  759.           unique directories based on the news groups the news is intended
  760.           for.  Rather, the files are written out in sequence in the
  761.           UUPC/extended news directory.
  762.  
  763.               Note:              Note:              Note: In SNEWS mode, the ACTIVE file need not exist, and is
  764.                     ignored if it does exist.
  765.  
  766.  
  767.           SU          SU          SU
  768.  
  769.           SU changes the environment variable UUPCUSRRC to change the user
  770.           profile of the user using UUPC/extended.  This allows multiple
  771.           users to easily share the same PC for UUPC/extended.
  772.  
  773.               Note:              Note:              Note: Because SU is a command file, it does not examine
  774.                     UUPC.RC for the name of the UUPC/extended configuration
  775.                     directory.  Thus, if the directory is not the default
  776.                     \uupc, the SU command file must edited to point at the
  777.                     configuration directory.
  778.  
  779.           The syntax of the SU command is:
  780.  
  781.           SU userid [command]
  782.  
  783.           Where:
  784.  
  785.             userid    defines the user to use when setting the UUPCUSRRC
  786.                       variable.  The file \UUPC\userid.RC must exist.
  787.  
  788.             command   defines the optional command to execute as this
  789.                       user, i.e. MAIL.  The default is to run an inferior
  790.                       command processor, aka second copy of COMMAND.COM.
  791.                       The default user id restored by typing EXIT to
  792.                       terminate the inferior command processor.
  793.  
  794.                                      - 13 -
  795.  
  796.  
  797.           September 4, 1992             UUPC/extended 1.11v Command
  798.           Reference
  799.  
  800.           UUCICO          UUCICO          UUCICO
  801.  
  802.           UUCICO performs actual exchange of files with other systems.
  803.           Normally, UUCICO is invoked from either UUPOLL or UUIO.BAT;
  804.           however, the program can also be invoked directly.  To make call
  805.           UUCICO all connected systems to deliver and pickup remote mail
  806.           and files:
  807.  
  808.                UUCICO -s all
  809.  
  810.           This directs UUCICO poll all the systems listed in the SYSTEMS
  811.           file.
  812.  
  813.           To make UUCICO wait for an incoming call:
  814.  
  815.                BREAK ON
  816.                UUCICO -r 0
  817.  
  818.           UUCICO will wait for a successful telephone call, and exit upon
  819.           completion; UUCICO may be terminated by entering Cntrl-Break from
  820.           the keyboard.5
  821.  
  822.           The full list of options supported by UUCICO is as follows:
  823.  
  824.             -d hhmm   Duration: If specified, this flag specifies that
  825.                       UUCICO running in passive mode is terminate after
  826.                       hh:mm (hours and minutes).
  827.  
  828.               Note:              Note:              Note: This flag replaces the execute period flag (-u) in
  829.                     previous versions of UUCICO.
  830.  
  831.             -l logname   Specifies the name of the log file used by
  832.                       UUCICO; the default extension is ".LOG".  The
  833.                       default logfile is UUC ICO.LOG.
  834.  
  835.             -m inmodem   Specifies the name of the modem file to use for
  836.                       passive polling.  This flag implies the -r 0 flag,
  837.                       and sets the default log file name.  The default is
  838.                       to use the value of the variable InModem                                                       InModem                                                       InModem for
  839.                       passive polling.
  840.  
  841.             -r 0      Slave Role: initializes the modem and wait for the
  842.                       telephone to ring with an incoming call; the caller
  843.                       will be presented with a UNIX style login prompt.
  844.                       This option is modified by the -u, -w, -x, and -z
  845.                       options.
  846.  
  847.                               
  848.  
  849.           5The BREAK ON command is required to insure that MS-DOS polls the
  850.           keyboard for the Cntrl-Break sequence; otherwise, you may have to
  851.           reboot your system to terminate UUCICO.  BREAK ON is always
  852.           enabled under OS/2.
  853.  
  854.  
  855.                                      - 14 -
  856.  
  857.  
  858.           September 4, 1992             UUPC/extended 1.11v Command
  859.           Reference
  860.  
  861.             -r 1      Master Role: actively poll (call out) to the system
  862.                       defined by the -s option.  This option is the
  863.                       default, and is modified by the -n and -s options.
  864.  
  865.             -n        Call now flag:  when specified, UUCICO ignores the
  866.                       time fields defined in the SYSTEM file when
  867.                       determining if a system should be called, and
  868.                       treates all systems as if they were defined with a
  869.                       time of "any".
  870.  
  871.             -s sysname   System name to call.  Default is to call "any",
  872.                       which is any system the local system has work
  873.                       queued for.  Sysname may also be specified as
  874.                       "all", which requests all systems listed in the
  875.                       systems file be called, or the name of any system
  876.                       listed the systems file.  This option is ignored
  877.                       when -r 0 is specified.
  878.  
  879.             -w who    Begin processing in slave mode as if user "who" had
  880.                       just logged in.  This option is for use when
  881.                       another program has answered the modem and
  882.                       validated the user id.  This option implies the -r
  883.                       0 option and is modified by the -z option.
  884.  
  885.             -x debug  Display debug messages at or below level "debug".
  886.                       The default value is 1; the option may set to 0 for
  887.                       unattended production use, or as high 20 for
  888.                       detailed debugging.
  889.  
  890.               Note:              Note:              Note: Use of debug level 5 or higher for extended periods of
  891.                     time may fill rapidly fill your hard disk with
  892.                     debugging output, and should be used sparingly.
  893.  
  894.             -z bps    Set modem speed to "bps" bits per second when used
  895.                       with -w option.  The default speed is the speed
  896.                       listed in the modem definition file defined in the
  897.                       UUPC.RC variable InModem.  This option is ignored
  898.                       if -w is not specified.
  899.  
  900.  
  901.           UUCLEAN          UUCLEAN          UUCLEAN
  902.  
  903.           UUCLEAN ages log files through five generations and clears old
  904.           UUPC/extended temporary files from the spool and temporary
  905.           directories.  Under OS/2, UUCLEAN also executes UNDELETE to purge
  906.           these files and other spool files from the OS/2 undelete cache.
  907.           UUCLEAN must be executed when programs which create log files
  908.           (UUCICO, UUXQT, and RMAIL)  are not running.
  909.  
  910.               Note:              Note:              Note: UUCLEAN does not clean log files created in the spool
  911.                     directory created with non-standard names via use of
  912.                     the UUCICO logfile (-l) flag.
  913.  
  914.           The syntax of the UUCLEAN command is:
  915.  
  916.                                      - 15 -
  917.  
  918.  
  919.           September 4, 1992             UUPC/extended 1.11v Command
  920.           Reference
  921.  
  922.           UUCLEAN [spooldir [tempdir]]
  923.  
  924.           Where:
  925.  
  926.             spooldir  Specifies the UUPC/extended spool directory to
  927.                       clean.  The default is \uupc\spool on the current
  928.                       drive.
  929.  
  930.               Note:              Note:              Note: Because UUCLEAN is a batch file, it does not examine
  931.                     UUPC.RC.  Therefore, the file must be edited if you do
  932.                     not use the default directory structure and do use
  933.                     UUCLEAN.
  934.  
  935.             tempdir   Specifies the temporary directory to clean.  The
  936.                       default is the value of the TEMP environment
  937.                       variable.
  938.  
  939.               Note:              Note:              Note: tempdir is a positional operand.  If you specify
  940.                     tempdir, you must also specify spooldir.
  941.  
  942.  
  943.           UUIO          UUIO          UUIO
  944.  
  945.           UUIO is a batch file which executes UUSTAT -q and UUCICO followed
  946.           by UUXQT; all UUIO command line arguments are passed to UUCICO;
  947.           no user arguments are passed to UUSTAT or UUXQT.
  948.  
  949.               Note:              Note:              Note: The UUSTAT command can be deleted from the UUIO command
  950.                     file with no loss of function.  It is included for the
  951.                     informational display.
  952.  
  953.           See the description of UUCICO above for a description of the
  954.                     command line arguments.
  955.  
  956.  
  957.           UUCP          UUCP          UUCP
  958.  
  959.           UUCP queues binary or text files for transfer between two
  960.           directly connected systems.  The basic UUCP command syntax is:
  961.  
  962.                UUCP file1 system!file2       or
  963.                UUCP system!file3 file4
  964.  
  965.           The first example copies a local file (file1) to a remote host
  966.           (system) as file2, the second example copies a file (file3) on a
  967.           remote host (system) to the local file 4.  Filenames may be
  968.           specified as an absolute path name, relative to a user's home
  969.           directory (~user/file), or relative path to the UUCP public
  970.           directory (~/name).
  971.  
  972.               Note:              Note:              Note: On most systems, access will be severely restricted.
  973.                     Check with a user or system administrator on the remote
  974.                     system before transferring files to possibly restricted
  975.                     locations.
  976.  
  977.                                      - 16 -
  978.  
  979.  
  980.           September 4, 1992             UUPC/extended 1.11v Command
  981.           Reference
  982.  
  983.           For additional information on the UUCP command, see chapter 2 of
  984.           Using UUCP and Usenet.
  985.  
  986.  
  987.           UUPOLL          UUPOLL          UUPOLL
  988.  
  989.           UUPOLL allows unattended operation of the PC, automatically
  990.           running UUCICO on a timed basis.  Each time UUPOLL invokes
  991.           UUCICO, it also automatically runs UUXQT to process any files
  992.           received by UUCICO.
  993.  
  994.           To use UUPOLL to have UUCICO call out on a regular basis:
  995.  
  996.                UUPOLL -f 0240 -i 0600
  997.  
  998.           This will cause UUCICO to call out at 2:40 A.M. and every six
  999.           hours thereafter until the user presses Cntrl-Break.  Both flags
  1000.           are specified as hhmm (hours and minutes).
  1001.  
  1002.           To use UUPOLL to have UUCICO call out on a regular basis, and
  1003.           automatically answer the telephone between outgoing calls:
  1004.  
  1005.                UUPOLL -f 0240 -i 0600 -r 0
  1006.  
  1007.           This will cause UUCICO to call out at 2:40 A.M. and every six
  1008.           hours thereafter until the user presses Cntrl-Break, and in
  1009.           addition UUCICO will be invoked in passive mode to answer the
  1010.           telephone between outgoing calls.
  1011.  
  1012.           The full list of operands allowed by UUPOLL are as follows:
  1013.  
  1014.             -a hhmm   Automatically actively poll system "any" after each
  1015.                       successful incoming poll if hhmm seconds have
  1016.                       passed since last active poll.  This allows mail
  1017.                       delivered by incoming systems to be automatically
  1018.                       forwarded to systems the local system is allowed to
  1019.                       call out to.  The delay time may be specified  as
  1020.                       0, in which case UUCICO will actively poll system
  1021.                       "any" after every successful incoming telephone
  1022.                       call.  This option has no effect if -r 0 is not
  1023.                       specified.
  1024.  
  1025.             -c hhmm   Time to execute UUCLEAN to clean the spool
  1026.                       directory in hours and minutes.  The default is to
  1027.                       not run UUCLEAN.
  1028.  
  1029.             -C command   Command to run to clean spool directory at time
  1030.                       specified by -c flag.  The default is the run
  1031.                       UUCLEAN command with no operands.
  1032.  
  1033.             -d hhmm   Duration of polling in hours and minutes.  If the
  1034.                       exit (-e) flag is not specified, then after this
  1035.                       period UUPOLL exits.  If neither -d or -e is
  1036.  
  1037.  
  1038.                                      - 17 -
  1039.  
  1040.  
  1041.           September 4, 1992             UUPC/extended 1.11v Command
  1042.           Reference
  1043.  
  1044.                       specified, the default is poll until the user
  1045.                       presses Cntrl-Break.
  1046.  
  1047.             -e hhmm   Time of day that UUPOLL is to exit. If neither -d
  1048.                       or -e is specified, the default is poll until the
  1049.                       user presses Cntrl-Break.   If the specified time
  1050.                       has already passed and the duration (-d) flag is
  1051.                       not specified, then UUPOLL immediately exits.  If
  1052.                       the duration flag is specified, then UUPOLL will
  1053.                       not exit if and only if the exit time would be
  1054.                       reached before the duration expires; in any case,
  1055.                       UUPOLL will exit no later than the time specified
  1056.                       by the exit time.  For example: UUPOLL -e 2400 -d
  1057.                       2400 will always run to the next midnight, but
  1058.                       UUPOLL -e 300 -d 1200 will exit immediately if it
  1059.                       is more than 12 hours before 3 AM (that is, the
  1060.                       current time is before 3 PM).
  1061.  
  1062.             -f hhmm   First time to poll in hours and minutes.  Default
  1063.                       is to not actively poll unless the user specifies
  1064.                       an interval via -i, in which case the default is
  1065.                       the current time plus the interval.
  1066.  
  1067.               Note:              Note:              Note: UUPOLL automatically determines when it is later than
  1068.                     the specified first poll time and selects the available
  1069.                     next time to poll.  If it desired for UUPOLL to poll 24
  1070.                     hours a day, then the first poll time should be
  1071.                     specified as to midnight as possible.
  1072.  
  1073.                     If, for example, the system is to poll at 6:13 AM, 2:13
  1074.                     PM, and 10:13 PM, UUPOLL must be invoked with:
  1075.  
  1076.                               UUPOLL -i 0800 -f 0613
  1077.  
  1078.                     Even if it is after 6:13 AM.
  1079.  
  1080.             -i hhmm   Interval to poll in hours and minutes.  Default is
  1081.                       0400 (4 hours) if -f is specified.
  1082.  
  1083.             -l log    log file name to pass to UUCICO.
  1084.  
  1085.             -m modem  modem name to pass to UUCICO.
  1086.  
  1087.             -r 0      Directs UUCICO to answer telephone between active
  1088.                       polls.  Default is to not answer the telephone.
  1089.  
  1090.             -r 1      Directs UUCICO not to answer the telephone, but to
  1091.                       actively poll after the interval specified with -i.
  1092.  
  1093.             -s system System name to poll.  Default is "all" followed by
  1094.                       "any", which cannot be explicitly specified.
  1095.  
  1096.             -x n      Debug level passed to UUCICO and UUXQT.  Default is
  1097.                       1.
  1098.  
  1099.                                      - 18 -
  1100.  
  1101.  
  1102.           September 4, 1992             UUPC/extended 1.11v Command
  1103.           Reference
  1104.  
  1105.               Note:              Note:              Note: Either -r, -i, or -f must be specified.
  1106.  
  1107.               Note:              Note:              Note: For additional information on the -l, -m, -s, -x, and
  1108.                     -r options, see the description of UUCICO, above.
  1109.  
  1110.               Note:              Note:              Note: If you specify both the -r 0 and either the -f or -i
  1111.                     options, the effect is to have UUCICO invoked to answer
  1112.                     the telephone between the active polls defined by the -
  1113.                     f or -i options.
  1114.  
  1115.  
  1116.           UUNAME          UUNAME          UUNAME
  1117.  
  1118.           UUNAME reports names of the remote systems defined to
  1119.           UUPC/extended via the SYSTEMS file or the local system name
  1120.           (nodename) defined in UUPC.RC.
  1121.  
  1122.           The syntax of the UUNAME command is:
  1123.  
  1124.           UUNAME [-l]
  1125.  
  1126.           Where:
  1127.  
  1128.             -d        specifies the local domain name is to be reported.
  1129.  
  1130.             -l        specifies the local system name is to be reported.
  1131.  
  1132.           The default is report all the defined remote systems instead.
  1133.  
  1134.  
  1135.           UUSTAT          UUSTAT          UUSTAT
  1136.  
  1137.           UUSTAT reports information on the jobs queued for another system;
  1138.           it can output detailed or summary information for one or all
  1139.           systems directtly connected to the local host.  UUSTAT is fully
  1140.           documented in the file UUSTAT.PRN; a summary of its operands is
  1141.           follows.
  1142.  
  1143.           To display all jobs queued for the current user:
  1144.  
  1145.                UUSTAT
  1146.  
  1147.           To display all jobs queued by all users:
  1148.  
  1149.                UUSTAT -a
  1150.  
  1151.           To display the number of jobs queued for all remote systems,
  1152.           their last connection time,  and the age of the oldest job
  1153.           queued:
  1154.  
  1155.                UUSTAT -q
  1156.  
  1157.           To display the status of all remote systems and their last
  1158.           connection time:
  1159.  
  1160.                                      - 19 -
  1161.  
  1162.  
  1163.           September 4, 1992             UUPC/extended 1.11v Command
  1164.           Reference
  1165.  
  1166.                UUSTAT -m
  1167.  
  1168.  
  1169.           UUSUB          UUSUB          UUSUB
  1170.  
  1171.           UUSUB reports statistics on the data transmitted between the
  1172.           local and remote systems since the last time the file HOSTATUS in
  1173.           the UUPC/extended spooling directory was created.  UUSUB is
  1174.           invoked with no operands to report these statistics:
  1175.  
  1176.                UUSUB
  1177.  
  1178.           The syntax of UUSUB is:
  1179.  
  1180.           UUSUB [-x debuglevel] [-c] [-s system]
  1181.  
  1182.           Where:
  1183.  
  1184.             -c        Clears (resets) the totals.
  1185.  
  1186.             -s sysname   System name to report on or to clear.  The
  1187.                       default is report on or clear all known systems.
  1188.  
  1189.             -x debug  Display debug messages at or below level "debug".
  1190.                       The default value is 1; the option may set to 0 for
  1191.                       unattended production use, or as high 20 for
  1192.                       detailed debugging.
  1193.  
  1194.  
  1195.           UUX          UUX          UUX
  1196.  
  1197.           The UUX command queues commands for execution on remote systems.
  1198.           It used by other facilities, such as news functions and the UUCP
  1199.           command, to handle processing more complex than simple file
  1200.           transfers.
  1201.  
  1202.           The UUX command is still under development.  It's use is
  1203.           discouraged at this time.
  1204.  
  1205.  
  1206.           UUXQT          UUXQT          UUXQT
  1207.  
  1208.           UUXQT must be executed to process remote files after UUCICO has
  1209.           received these files from a remote host.  It normally is invoked
  1210.           with no operands:
  1211.  
  1212.                UUXQT
  1213.  
  1214.           This will automatically process all eXecute files in the local
  1215.           spool queues with the default debugging level in effect.
  1216.  
  1217.           UUXQT supports the following command line options:
  1218.  
  1219.  
  1220.  
  1221.                                      - 20 -
  1222.  
  1223.  
  1224.           September 4, 1992             UUPC/extended 1.11v Command
  1225.           Reference
  1226.  
  1227.             -s sysname   Process work only for work "sysname".  The
  1228.                       default is system "all", which processes work for
  1229.                       all known systems.
  1230.  
  1231.             -x debug  Display debug messages at or below level "debug".
  1232.                       The default value is 1; the option may set to 0 for
  1233.                       unattended production use, or as high 20 for
  1234.                       detailed debugging.
  1235.  
  1236.           To automatically execute UUXQT every time UUCICO is run, use
  1237.           UUPOLL or UUIO.
  1238.  
  1239.  
  1240.           WAITING          WAITING          WAITING
  1241.  
  1242.           The WAITING command reports on which users have mail waiting in
  1243.           the UUPC/extended mail directory.  It exits without comment if no
  1244.           mail is waiting.
  1245.  
  1246.               Note:              Note:              Note: Because WAITING is a command file, it assumes the mail
  1247.                     directory is \uupc\mail on the current drive.  The file
  1248.                     must be edited by hand if this is not the directory for
  1249.                     system mailboxes.
  1250.  
  1251.               Note:              Note:              Note: This command is more effective if the multitask                                                          multitask                                                          multitask option
  1252.                     is specified in the UUPC.RC file, as then mail moved
  1253.                     out of the system mail directory as soon the user
  1254.                     invokes the MAIL command after new mail arrives.
  1255.  
  1256.           The syntax of the WAITING command is:
  1257.  
  1258.           WAITING   userid
  1259.  
  1260.           Where:
  1261.  
  1262.             userid    defines the userid to check for waiting mail.  The
  1263.                       default is all users.
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.                                      - 21 -