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

  1.  
  2.  
  3.  
  4.  
  5.           December 8, 1991                UUPC/extended 1.11q Command Reference
  6.  
  7.  
  8.  
  9.  
  10.           Table of Contents
  11.           Table of Contents
  12.           Table of Contents
  13.  
  14.  
  15.  
  16.           Table of Contents.............................................1
  17.  
  18.  
  19.           Revision......................................................2
  20.  
  21.  
  22.           Overview......................................................2
  23.  
  24.  
  25.           Command Syntax................................................2
  26.  
  27.  
  28.           UUPC/extended Command Descriptions............................2
  29.  
  30.  
  31.                FMT......................................................2
  32.  
  33.                GENSIG...................................................3
  34.  
  35.  
  36.                MAIL.....................................................3
  37.  
  38.                NOVRSTRK.................................................5
  39.  
  40.  
  41.                RMAIL....................................................5
  42.  
  43.                     RFC-822 Mode........................................6
  44.  
  45.                     Stand alone Mode....................................7
  46.  
  47.                     UNIX RMAIL Emulation Mode...........................8
  48.  
  49.                RNEWS....................................................8
  50.  
  51.  
  52.                UUCICO...................................................8
  53.  
  54.                UUIO.....................................................10
  55.  
  56.  
  57.                UUCP.....................................................10
  58.  
  59.                UUPOLL...................................................11
  60.  
  61.  
  62.                UUSTAT...................................................12
  63.  
  64.                UUSUB....................................................13
  65.  
  66.  
  67.                UUX......................................................13
  68.  
  69.                UUXQT....................................................13
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.                                         - 1 -
  90.  
  91.  
  92.  
  93.           December 8, 1991                UUPC/extended 1.11q Command Reference
  94.  
  95.  
  96.  
  97.  
  98.           Revision
  99.           Revision
  100.           Revision
  101.  
  102.  
  103.           This document applies to version 1.11q of UUPC/extended, and was
  104.  
  105.           last updated on November 22, 1991 by Drew Derbyshire.
  106.  
  107.  
  108.  
  109.           Overview
  110.           Overview
  111.           Overview
  112.  
  113.  
  114.           This document describes the syntax of the commands supplied with
  115.  
  116.           UUPC/extended.  It assumes you have installed the programs and
  117.  
  118.           configured them as described in INSTALL.PRN, and that you have
  119.  
  120.           access to the Nutshell Handbook Using UUCP and Usenet.
  121.  
  122.  
  123.           Additional documentation for the MAIL command is in the file
  124.  
  125.           MAIL.PRN, and additional information on the UUSTAT command is in
  126.  
  127.           the file UUSTAT.PRN.
  128.  
  129.  
  130.  
  131.           Command Syntax
  132.           Command Syntax
  133.           Command Syntax
  134.  
  135.  
  136.           To obtain the syntax of the various command line options, enter
  137.  
  138.           the command name followed by '-?'; for example:
  139.  
  140.  
  141.                FMT-?           UUCICO -?       UUSTAT -?       UUX -?
  142.  
  143.                GENSIG -?       UUPOLL-?        UUSUB -?        UUXQT -?
  144.  
  145.                MAIL -?         UUCP -?
  146.  
  147.  
  148.  
  149.               Note:
  150.               Note:
  151.               Note: For a listing of the commands available when reading
  152.  
  153.                     mail, see the file MAIL.HLP in the configuration
  154.  
  155.                     directory; for commands available when sending mail,
  156.  
  157.                     see the file TILDE.HLP in the configuration directory.
  158.  
  159.  
  160.  
  161.           UUPC/extended
  162.           UUPC/extended
  163.           UUPC/extended Command Descriptions
  164.                         Command Descriptions
  165.                         Command Descriptions
  166.  
  167.  
  168.               Note:
  169.               Note:
  170.               Note: These are general instructions, and you may require
  171.  
  172.                     additional assistance if you have never used a UNIX-
  173.  
  174.                     like mail system before.
  175.  
  176.  
  177.           Descriptions of the commands supplied as part of UUPC/extended
  178.  
  179.           follow in alphabetical order.
  180.  
  181.  
  182.  
  183.           FMT
  184.           FMT
  185.           FMT
  186.  
  187.  
  188.           FMT is used as a simple paragraph formatter when entering mail in
  189.  
  190.           line mode.  It effectively removes all carriage returns from
  191.  
  192.           within a paragraph and then writes the paragraph out in lines as
  193.  
  194.           close as possible to 72 characters in length without going over.
  195.  
  196.           Paragraphs are separated by blank lines in the input file and
  197.  
  198.           output files.
  199.  
  200.  
  201.  
  202.                                         - 2 -
  203.  
  204.  
  205.  
  206.           December 8, 1991                UUPC/extended 1.11q Command Reference
  207.  
  208.  
  209.  
  210.               Note:
  211.               Note:
  212.               Note: If the first word on a new line is longer than the
  213.  
  214.                     maximum line length, it is written by itself on the
  215.  
  216.                     line.  It is not truncated.
  217.  
  218.  
  219.           The command syntax is:
  220.  
  221.  
  222.                FMT  [-#] [input-file [output-file]]
  223.  
  224.  
  225.           The optional flag -#, where "#" is a number greater than or equal
  226.  
  227.           to 0, overrides the default maximum length of 72 characters per
  228.  
  229.           line.  The default the input and output files are the console.
  230.  
  231.  
  232.           To format the all the text you have typed in from line mode, use
  233.  
  234.           it as a pipe at the question mark (?) prompt while sending mail:
  235.  
  236.  
  237.                ~|FMT
  238.  
  239.  
  240.  
  241.           GENSIG
  242.           GENSIG
  243.           GENSIG
  244.  
  245.  
  246.           GENSIG reads a standard signature file and appends random text
  247.  
  248.           selected from a second file, writing the combined data to a third
  249.  
  250.           file.  The format of the command is:
  251.  
  252.  
  253.                GENSIG fixed.inp variable.inp merged.out
  254.  
  255.  
  256.           Where "fixed.inp" is the fixed portion of the signature file
  257.  
  258.           containing your name and address, "variable.inp" is a file which
  259.  
  260.           begins which a delimiter line followed by quotes or other text
  261.  
  262.           separated by additional delimiter lines.  For example, the
  263.  
  264.           variable input file might look like this:
  265.  
  266.  
  267.                **
  268.  
  269.                The above is a delimiter line.
  270.  
  271.                **
  272.  
  273.                Free the Intel 386!
  274.  
  275.                **
  276.  
  277.                "UUCP/extended" is "system crash" spelled sideways.
  278.  
  279.                **
  280.  
  281.                Don't quote me!
  282.  
  283.  
  284.           The file "merged.out" will contain the entire text of the
  285.  
  286.           "fixed.inp" file followed by one delimited text block from
  287.  
  288.           "variable.inp".  If you use this to generate a signature file,
  289.  
  290.           then your PERSONAL.RC should reference the file "merged.out"  as
  291.  
  292.           your signature file.
  293.  
  294.  
  295.               Note:
  296.               Note:
  297.               Note: To generate fresh quotes, this program should be run
  298.  
  299.                     from your AUTOEXEC.BAT or other regularly run batch
  300.  
  301.                     file.
  302.  
  303.  
  304.           MAIL
  305.           MAIL
  306.           MAIL
  307.  
  308.  
  309.  
  310.  
  311.                                         - 3 -
  312.  
  313.  
  314.  
  315.           December 8, 1991                UUPC/extended 1.11q Command Reference
  316.  
  317.  
  318.  
  319.           To send mail, with the body of the message being typed in from
  320.  
  321.           the PC keyboard:
  322.  
  323.  
  324.                MAIL -s "the subject" address1 address2 ...
  325.  
  326.  
  327.           Where "the subject" is the topic of the message, enclosed in
  328.  
  329.           quotes; if the subject is omitted, then the '-s' flag should be
  330.  
  331.           omitted as well.  Addresses are in the form user@node, node!user,
  332.  
  333.           localuser, or nick,  where nick is a nickname in your aliases.txt
  334.  
  335.           file.  The flags '-c' and '-b' may also be inserted between
  336.  
  337.           addresses; all addresses after '-c' are sent as Carbon copies,
  338.  
  339.           and addresses following '-b' are Blind Carbon copies (and not
  340.  
  341.           displayed in the header of the message).   Thus, a valid mail
  342.  
  343.           command may be:
  344.  
  345.  
  346.                mail -s "Chocolate" snuffles@pandora.kew.com
  347.  
  348.  
  349.           The mail program will then prompt you for the message1 to be
  350.  
  351.           sent.
  352.  
  353.  
  354.               Note:
  355.               Note:
  356.               Note: ~? may be entered for available commands when entering
  357.  
  358.                     the mail.
  359.  
  360.  
  361.               Note:
  362.               Note:
  363.               Note: This only queues the mail for sending if it is going to
  364.  
  365.                     another system connected via a modem; UUCICO (below)
  366.  
  367.                     must be invoked to actually transfer the mail to the
  368.  
  369.                     other system.
  370.  
  371.  
  372.           To send mail which already exists in a text file, the procedure
  373.  
  374.           is as above, but the standard syntax for MS-DOS file redirection
  375.  
  376.           is added to the end of the command line:
  377.  
  378.  
  379.                MAIL -s "the subject" address1 address2 < filename
  380.  
  381.  
  382.               Note:
  383.               Note:
  384.               Note: Do not send binary files using the MAIL command.  Use
  385.  
  386.                     the UUCP command for transferring binary files to
  387.  
  388.                     directly connected systems, and use a program such as
  389.  
  390.                     UUENCODE (not supplied) to convert a binary file to
  391.  
  392.                     printable characters mailing to distant systems.
  393.  
  394.  
  395.           To read your new mail, enter the command:
  396.  
  397.  
  398.                MAIL
  399.  
  400.  
  401.           If you do not have a mailbox or the mailbox is empty, MAIL will
  402.  
  403.           report this fact and exit.  If you have mail, the program will
  404.  
  405.           scan the mailbox, display the subjects of all the messages, and
  406.  
  407.           then prompt you with the message number you are on and a question
  408.  
  409.           mark (?).  For a list of commands within MAIL, enter a question
  410.  
  411.           mark at the prompt (?); to exit MAIL, enter 'q' at the prompt.
  412.  
  413.  
  414.           To read mail saved in a file in other than your mailbox, enter:
  415.  
  416.  
  417.  
  418.  
  419.                                         - 4 -
  420.  
  421.  
  422.  
  423.           December 8, 1991                UUPC/extended 1.11q Command Reference
  424.  
  425.  
  426.  
  427.                MAIL -f filename
  428.  
  429.  
  430.           Where filename is the file to be processed for mail.  This may be
  431.  
  432.           the file you specified to store outgoing mail in, or mail you
  433.  
  434.           saved into another file when reading your new mail.
  435.  
  436.  
  437.               Note:
  438.               Note:
  439.               Note:  When reading or saving mail, use of the tilde slash
  440.  
  441.                     combination (~/) in front of a file name directs MAIL
  442.  
  443.                     to look for the specified file in your home directory,
  444.  
  445.                     the path of which was specified in your PERSONAL.RC
  446.  
  447.                     file.
  448.  
  449.  
  450.               Note:
  451.               Note:
  452.               Note: For additional information on MAIL, including the
  453.  
  454.                     command line flags and available subcommands, see the
  455.  
  456.                     MAIL.PRN file.
  457.  
  458.  
  459.  
  460.           NOVRSTRK
  461.           NOVRSTRK
  462.           NOVRSTRK
  463.  
  464.  
  465.           NOVRSTRK is used to strip overstrikes from files to allow viewing
  466.  
  467.           on a terminal.  If used to display the UUPC/extended
  468.  
  469.           documentation, it will drop the overstrikes created by back
  470.  
  471.           spaces which are used to create bold and underscored text on a
  472.  
  473.           printer.   The syntax of NOVRSTRK is:
  474.  
  475.  
  476.                NOVRSTRK  [input-file [output-file]]
  477.  
  478.  
  479.           The default input and output files are the console.
  480.  
  481.  
  482.           RMAIL
  483.           RMAIL
  484.           RMAIL
  485.  
  486.  
  487.           RMAIL is the Mail Delivery Agent (MDA) for UUPC/extended; that
  488.  
  489.           is, other programs such as MAIL and UUXQT pass it mail for
  490.  
  491.           delivery on standard input (STDIN), and RMAIL the handles actual
  492.  
  493.           writing to local mailboxes and/or queuing for remote systems.
  494.  
  495.           RMAIL is designed to only be invoked from other programs, and as
  496.  
  497.           such, end-users should never have to invoke RMAIL.  The following
  498.  
  499.           information is included primarily for those who need to invoke
  500.  
  501.           RMAIL from a another program, such as an external news reader.
  502.  
  503.  
  504.           RMAIL operates in one of three modes:
  505.  
  506.  
  507.                As an RFC-822 parsing back-end to the MAIL user agent
  508.  
  509.                program
  510.  
  511.                As a stand alone mailer for utility programs such as UUXQT
  512.  
  513.                As substiute for the UNIX RMAIL program invoked by UUXQT for
  514.  
  515.                remote mail delivery
  516.  
  517.  
  518.           These three operating modes are described below.
  519.  
  520.  
  521.           The general syntax of RMAIL is as follows:
  522.  
  523.  
  524.           RMAIL     [[-f|-F] filename] [-x debug] address(es)
  525.  
  526.  
  527.  
  528.                                         - 5 -
  529.  
  530.  
  531.  
  532.           December 8, 1991                UUPC/extended 1.11q Command Reference
  533.  
  534.  
  535.  
  536.           RMAIL     [[-f|-F] filename] [-x debug] [-s subject] -w
  537.  
  538.           address(es) [-c address(es)] [[-b address(es)]
  539.  
  540.           RMAIL     [[-f|-F] filename] [-x debug] -t
  541.  
  542.  
  543.           Where:
  544.  
  545.  
  546.             -b address(es)    Specifies optional blind carbon copy
  547.  
  548.                       address(es).  Must follow all other flags and
  549.  
  550.                       addresses; used only with -w flag.
  551.  
  552.  
  553.             -c address(es)    Specifies optional carbon copy address(es).
  554.  
  555.                       Must follow all other flags and addresses except
  556.  
  557.                       for the -b flags and its associated addresses.
  558.  
  559.  
  560.             -f filename  Specifies the following file name is to be used
  561.  
  562.                       in place of standard input
  563.  
  564.  
  565.             -F filename  Specifies the following file name is to be used
  566.  
  567.                       in place of standard input; the file is to be
  568.  
  569.                       deleted after use.
  570.  
  571.  
  572.             -s subject   Optional subject; used with and implies the -w
  573.  
  574.                       flag.
  575.  
  576.  
  577.             -t        Enables RFC-822 header parsing mode.
  578.  
  579.  
  580.             -w        Enable stand-alone mailer mode.
  581.  
  582.  
  583.             -x debug  Display debug messages at or below level "debug".
  584.  
  585.                       The default value is 1; the option may set to 0 for
  586.  
  587.                       unattended production use, or as high 20 for
  588.  
  589.                       detailed debugging.
  590.  
  591.  
  592.             address(es)  One or more addresses the mail is to delivered
  593.  
  594.                       to.  Not used with -t flag; required for othe
  595.  
  596.                       modes.
  597.  
  598.  
  599.             RFC-822 Mode
  600.             RFC-822 Mode
  601.             RFC-822 Mode
  602.  
  603.  
  604.           In RFC-822 mode, RMAIL is invoked with the (-t
  605.                                                       -t
  606.                                                       -t) flag, which
  607.  
  608.           directs RMAIL to determine the addresses by parsing the mail's
  609.  
  610.           RFC-822 header.  This mode is designed to act the back-end  to a
  611.  
  612.           program such as MAIL which generates a the RFC-822 header and
  613.  
  614.           passes the mail to RMAIL for both local and remote delivery.
  615.  
  616.           RMAIL reads the header, validates the From:
  617.                                                 From:
  618.                                                 From: address, generates
  619.  
  620.           generates a a UUCP From
  621.                              From
  622.                              From line, RFC-822 Message-ID:
  623.                                                 Message-ID:
  624.                                                 Message-ID: and Received:
  625.                                                                 Received:
  626.                                                                 Received:
  627.  
  628.           lines, and delivers mail to each address included in  the To:
  629.                                                                     To:
  630.                                                                     To:,
  631.  
  632.           Cc:
  633.           Cc:
  634.           Cc:, and Bcc:
  635.                    Bcc:
  636.                    Bcc: headers.  The Bcc:
  637.                                       Bcc:
  638.                                       Bcc: header, if any, is read for its
  639.  
  640.           addresses but not copied; other all header lines are copied as-
  641.  
  642.           is.
  643.  
  644.  
  645.               Note:
  646.               Note:
  647.               Note: When an RFC-822 header prefixed by Resent-
  648.                                                        Resent-
  649.                                                        Resent- is found,
  650.  
  651.                     only the Resent-
  652.                              Resent-
  653.                              Resent- headers are used; the original headers
  654.  
  655.                     are copied but otherwise ignored.  In this case, the
  656.  
  657.  
  658.                                         - 6 -
  659.  
  660.  
  661.  
  662.           December 8, 1991                UUPC/extended 1.11q Command Reference
  663.  
  664.  
  665.  
  666.                     preceding description applies to the Resent-
  667.                                                          Resent-
  668.                                                          Resent- headers;
  669.  
  670.                     the original headers are copied without being examined.
  671.  
  672.  
  673.           The RFC-822 header read by RMAIL is subject to the following
  674.  
  675.           restrictions:
  676.  
  677.  
  678.                All Resent-
  679.                    Resent-
  680.                    Resent- headers, if any, must precede the original
  681.  
  682.                headers.
  683.  
  684.  
  685.                The From:
  686.                    From:
  687.                    From: header must precede the To:
  688.                                                  To:
  689.                                                  To: header.
  690.  
  691.  
  692.               Note:
  693.               Note:
  694.               Note: If the address in the From:
  695.                                           From:
  696.                                           From: header does not match the
  697.  
  698.                     address of the user defined in the UUPC.RC and/or
  699.  
  700.                     PERSONAL.RC files, a Sender:
  701.                                          Sender:
  702.                                          Sender: line is generated with
  703.  
  704.                     correct address.
  705.  
  706.  
  707.                The To:
  708.                    To:
  709.                    To:, Cc:
  710.                         Cc:
  711.                         Cc:, and Bcc:
  712.                                  Bcc:
  713.                                  Bcc: headers must be together in the
  714.  
  715.                listed order.  Each address in these headers must begin on a
  716.  
  717.                new line and be less than 512 bytes long.
  718.  
  719.  
  720.             Stand alone Mode
  721.             Stand alone Mode
  722.             Stand alone Mode
  723.  
  724.  
  725.           In stand alone mode, RMAIL is invoked with the (-w
  726.                                                           -w
  727.                                                           -w) flag to
  728.  
  729.           process mail without an existing RFC-822 header; this allows
  730.  
  731.           bypassing the Mail User Agent (MAIL) for specialized applications
  732.  
  733.           such as mail generated by another program.  This mail is subject
  734.  
  735.           to the following restrictions:
  736.  
  737.  
  738.                Mail is not logged in the user's outgoing mailbox
  739.  
  740.  
  741.                The user's signature file is not appended to the mail
  742.  
  743.  
  744.                Aliases are not expanded
  745.  
  746.  
  747.                All addresses plus the subject (if any) must fit on the MS-
  748.  
  749.                DOS or OS/2 command line
  750.  
  751.  
  752.           The following services are performed by RMAIL in stand alone
  753.  
  754.           mode:
  755.  
  756.  
  757.                A UUCP From
  758.                       From
  759.                       From line is generated.
  760.  
  761.  
  762.                A valid RFC-822 header is generated  with Received:
  763.                                                          Received:
  764.                                                          Received:, Date:
  765.                                                                     Date:
  766.                                                                     Date:,
  767.  
  768.                Message-ID:
  769.                Message-ID:
  770.                Message-ID:, From:
  771.                             From:
  772.                             From:, and To:
  773.                                        To:
  774.                                        To: lines.  In addition, Subject:
  775.                                                                 Subject:
  776.                                                                 Subject:
  777.  
  778.                and Cc:
  779.                    Cc:
  780.                    Cc: lines as required if the Subject (-s
  781.                                                          -s
  782.                                                          -s) and/or Carbon
  783.  
  784.                Copy (-c
  785.                      -c
  786.                      -c) are specified.
  787.  
  788.  
  789.                The generated RFC-822 header also includes a From: 
  790.                                                             From: 
  791.                                                             From: user id
  792.  
  793.                derived by the MS-DOS or OS/2 environment variable LOGNAME
  794.                                                                   LOGNAME
  795.                                                                   LOGNAME2,
  796.  
  797.                if defined; otherwise the default current user is used.
  798.  
  799.                When LOGNAME 
  800.                     LOGNAME 
  801.                     LOGNAME is defined the real name of the user will be
  802.  
  803.                taken from the UUPC/extended PASSWD file if available, or a
  804.  
  805.                dummy name.3
  806.  
  807.  
  808.  
  809.                                         - 7 -
  810.  
  811.  
  812.  
  813.           December 8, 1991                UUPC/extended 1.11q Command Reference
  814.  
  815.  
  816.  
  817.                Mail is queued for the addresses on the command line,
  818.  
  819.                including primary addresses, carbon copied addresses, and
  820.  
  821.                blind carbon coped addresses.  As with RFC-822 mode, the
  822.  
  823.                output of RMAIL in stand alone mode does not include any
  824.  
  825.                reference to blind carbon copy users in the actual mail
  826.  
  827.                header.
  828.  
  829.  
  830.             UNIX RMAIL Emulation Mode
  831.             UNIX RMAIL Emulation Mode
  832.             UNIX RMAIL Emulation Mode
  833.  
  834.  
  835.           In UNIX RMAIL emulation mode, the following processing takes
  836.  
  837.           place:
  838.  
  839.  
  840.                Mail is read in to a temporary file; the UUCP From 
  841.                                                              From 
  842.                                                              From line,
  843.  
  844.                which is the first line in the file, is parsed and stripped
  845.  
  846.                from the mail.  No other mail headers are examined.
  847.  
  848.  
  849.                Mail is delivered to each local user on the command line
  850.  
  851.                with a UUCP From 
  852.                            From 
  853.                            From line generated from the system name(s)
  854.  
  855.                parsed from the incoming From
  856.                                         From
  857.                                         From line.
  858.  
  859.  
  860.                Mail is delivered to all other users on the command line
  861.  
  862.                with a UUCP From
  863.                            From
  864.                            From line generated from the system name(s)
  865.  
  866.                parsed from the incoming From
  867.                                         From
  868.                                         From line with the system name
  869.  
  870.                UUXQT received the mail from prefixed to the list unless it
  871.  
  872.                is already the first system in the list.
  873.  
  874.  
  875.               Note:
  876.               Note:
  877.               Note: UUXQT normally passes the incomng system name in the
  878.  
  879.                     UU_MACHINE
  880.                     UU_MACHINE
  881.                     UU_MACHINE environment variable; if this is not set,
  882.  
  883.                     the incoming system name is taken from the "remote from
  884.  
  885.                     system" portion of the From
  886.                                            From
  887.                                            From line.  If this data is also
  888.  
  889.                     mising or invalid, the incoming system name is
  890.  
  891.                     generated as being from the local system and user id
  892.  
  893.                     /dev/null.4
  894.  
  895.  
  896.  
  897.           RNEWS
  898.           RNEWS
  899.           RNEWS
  900.  
  901.  
  902.           The RNEWS command is a dummy command supplied with UUPC/extended
  903.  
  904.           to write news articles or batches to the news directory defined
  905.  
  906.           in the UUPC.RC configuration file.  It does not uncompress or
  907.  
  908.           unbatch news, nor does it organize the news by subject matter.
  909.  
  910.           It is intended only to keep news to the local system from being
  911.  
  912.           lost.
  913.  
  914.  
  915.               Note:
  916.               Note:
  917.               Note: A full suite of news programs is under development, but
  918.  
  919.                     are not available at this time.  Queries about news
  920.  
  921.                     should be directed to uupc-news@kew.com.
  922.  
  923.  
  924.           UUCICO
  925.           UUCICO
  926.           UUCICO
  927.  
  928.  
  929.           UUCICO performs actual exchange of files with other systems.
  930.  
  931.           Normally, UUCICO is invoked from either UUPOLL or UUIO.BAT;
  932.  
  933.           however, the program can also be invoked directly.  To make call
  934.  
  935.  
  936.  
  937.                                         - 8 -
  938.  
  939.  
  940.  
  941.           December 8, 1991                UUPC/extended 1.11q Command Reference
  942.  
  943.  
  944.  
  945.           UUCICO all connected systems to deliver and pickup remote mail
  946.  
  947.           and files:
  948.  
  949.  
  950.                UUCICO -s all
  951.  
  952.  
  953.           This directs UUCICO poll all the systems listed in the SYSTEMS
  954.  
  955.           file.
  956.  
  957.  
  958.           To make UUCICO wait for an incoming call:
  959.  
  960.  
  961.                BREAK ON
  962.  
  963.                UUCICO -r 0
  964.  
  965.  
  966.           UUCICO will wait for a successful telephone call, and exit upon
  967.  
  968.           completion; UUCICO may be terminated by entering Cntrl-Break from
  969.  
  970.           the keyboard.5
  971.  
  972.  
  973.           The full list of options supported by UUCICO is as follows:
  974.  
  975.  
  976.             -r 0      Slave Role: initializes the modem and wait for the
  977.  
  978.                       telephone to ring with an incoming call; the caller
  979.  
  980.                       will be presented with a UNIX style login prompt.
  981.  
  982.                       This option is modified by the -u, -w, -x, and -z
  983.  
  984.                       options.
  985.  
  986.  
  987.             -r 1      Master Role: actively poll (call out) to the system
  988.  
  989.                       defined by the -s option.  This option is the
  990.  
  991.                       default, and is modified by the -n and -s options.
  992.  
  993.  
  994.             -n        Call now flag:  when specified, UUCICO ignores the
  995.  
  996.                       time fields defined in the SYSTEM file when
  997.  
  998.                       determining if a system should be called, and
  999.  
  1000.                       treates all systems as if they were defined with a
  1001.  
  1002.                       time of "any".
  1003.  
  1004.  
  1005.             -s sysname   System name to call.  Default is to call "any",
  1006.  
  1007.                       which is any system the local system has work
  1008.  
  1009.                       queued for.  Sysname may also be specified as
  1010.  
  1011.                       "all", which requests all systems listed in the
  1012.  
  1013.                       systems file be called, or the name of any system
  1014.  
  1015.                       listed the systems file.  This option is ignored
  1016.  
  1017.                       when -r 0 is specified.
  1018.  
  1019.  
  1020.             -u when   Passively poll (wait for the telephone to ring)
  1021.  
  1022.                       until time "when", where "when" is a valid time in
  1023.  
  1024.                       the format used by the SYSTEMS file to define a
  1025.  
  1026.                       system call be called out to.  The default is to
  1027.  
  1028.                       wait for the telephone ring forever.  This operand
  1029.  
  1030.                       is primarily for use by the UUPOLL program.  This
  1031.  
  1032.                       option is ignored when -r 1 is specified or
  1033.  
  1034.                       defaulted.
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.                                         - 9 -
  1041.  
  1042.  
  1043.  
  1044.           December 8, 1991                UUPC/extended 1.11q Command Reference
  1045.  
  1046.  
  1047.  
  1048.             -w who    Begin processing in slave mode as if user "who" had
  1049.  
  1050.                       just logged in.  This option is for use when
  1051.  
  1052.                       another program has answered the modem and
  1053.  
  1054.                       validated the user id.  This option implies the -r
  1055.  
  1056.                       0 option and is modified by the -z option.
  1057.  
  1058.  
  1059.             -x debug  Display debug messages at or below level "debug".
  1060.  
  1061.                       The default value is 1; the option may set to 0 for
  1062.  
  1063.                       unattended production use, or as high 20 for
  1064.  
  1065.                       detailed debugging.
  1066.  
  1067.  
  1068.               Note:
  1069.               Note:
  1070.               Note: Use of debug level 5 or higher for extended periods of
  1071.  
  1072.                     time may fill rapidly fill your hard disk with
  1073.  
  1074.                     debugging output, and should be used sparingly.
  1075.  
  1076.  
  1077.             -z bps    Set modem speed to "bps" bits per second when used
  1078.  
  1079.                       with -w option.  The default speed is the speed
  1080.  
  1081.                       listed in the modem definition file defined in the
  1082.  
  1083.                       UUPC.RC variable InModem.  This option is ignored
  1084.  
  1085.                       if -w is not specified.
  1086.  
  1087.  
  1088.  
  1089.           UUIO
  1090.           UUIO
  1091.           UUIO
  1092.  
  1093.  
  1094.           UUIO is a batch file which executes UUCICO followed by UUXQT; it
  1095.  
  1096.           also renames the UUCICO logs, aging them through five cycles and
  1097.  
  1098.           deleting the oldest log.  All UUIO command line arguments are
  1099.  
  1100.           passed to UUCICO; no arguments are passed to UUXQT.
  1101.  
  1102.  
  1103.               Note:
  1104.               Note:
  1105.               Note: If the default spool directory name (C:\lib\uupc\spool)
  1106.  
  1107.                     is not used in the UUPC.RC file, you must edit UUIO to
  1108.  
  1109.                     refer to the actual spool directory name.
  1110.  
  1111.  
  1112.           See the description of UUCICO above for a description of the
  1113.  
  1114.                     command line arguments.
  1115.  
  1116.  
  1117.           UUCP
  1118.           UUCP
  1119.           UUCP
  1120.  
  1121.  
  1122.           UUCP queues binary or text files for transfer between two
  1123.  
  1124.           directly connected systems.  The basic UUCP command syntax is:
  1125.  
  1126.  
  1127.                UUCP file1 system!file2       or
  1128.  
  1129.                UUCP system!file3 file4
  1130.  
  1131.  
  1132.           The first example copies a local file (file1) to a remote host
  1133.  
  1134.           (system) as file2, the second example copies a file (file3) on a
  1135.  
  1136.           remote host (system) to the local file 4.  Filenames may be
  1137.  
  1138.           specified as an absolute path name, relative to a user's home
  1139.  
  1140.           directory (~user/file), or relative path to the UUCP public
  1141.  
  1142.           directory (~/name).
  1143.  
  1144.  
  1145.               Note:
  1146.               Note:
  1147.               Note: On most systems, access will be severely restricted.
  1148.  
  1149.                     Check with a user or system administrator on the remote
  1150.  
  1151.  
  1152.  
  1153.                                        - 10 -
  1154.  
  1155.  
  1156.  
  1157.           December 8, 1991                UUPC/extended 1.11q Command Reference
  1158.  
  1159.  
  1160.  
  1161.                     system before transferring files to possibly restricted
  1162.  
  1163.                     locations.
  1164.  
  1165.  
  1166.           For additional information on the UUCP command, see chapter 2 of
  1167.  
  1168.           Using UUCP and Usenet.
  1169.  
  1170.  
  1171.  
  1172.           UUPOLL
  1173.           UUPOLL
  1174.           UUPOLL
  1175.  
  1176.  
  1177.           UUPOLL allows unattended operation of the PC, automatically
  1178.  
  1179.           running UUCICO on a timed basis.  Each time UUPOLL invokes
  1180.  
  1181.           UUCICO, it also automatically runs UUXQT to process any files
  1182.  
  1183.           received by UUCICO.
  1184.  
  1185.  
  1186.           To use UUPOLL to have UUCICO call out on a regular basis:
  1187.  
  1188.  
  1189.                UUPOLL -f 0240 -i 0600
  1190.  
  1191.  
  1192.           This will cause UUCICO to call out at 2:40 A.M. and every six
  1193.  
  1194.           hours thereafter until the user presses Cntrl-Break.  Both flags
  1195.  
  1196.           are specified as hhmm (hours and minutes).
  1197.  
  1198.  
  1199.           To use UUPOLL to have UUCICO call out on a regular basis, and
  1200.  
  1201.           automatically answer the telephone between outgoing calls:
  1202.  
  1203.  
  1204.                UUPOLL -f 0240 -i 0600 -r 0
  1205.  
  1206.  
  1207.           This will cause UUCICO to call out at 2:40 A.M. and every six
  1208.  
  1209.           hours thereafter until the user presses Cntrl-Break, and in
  1210.  
  1211.           addition UUCICO will be invoked in passive mode to answer the
  1212.  
  1213.           telephone between outgoing calls.
  1214.  
  1215.  
  1216.           The full list of operands allowed by UUPOLL are as follows:
  1217.  
  1218.  
  1219.             -a hhmm   Automatically actively poll system "any" after each
  1220.  
  1221.                       successful incoming poll if hhmm seconds have
  1222.  
  1223.                       passed since last active poll.  This allows mail
  1224.  
  1225.                       delivered by incoming systems to be automatically
  1226.  
  1227.                       forwarded to systems the local system is allowed to
  1228.  
  1229.                       call out to.  The delay time may be specified  as
  1230.  
  1231.                       0, in which case UUCICO will actively poll system
  1232.  
  1233.                       "any" after every successful incoming telephone
  1234.  
  1235.                       call.  This option has no effect if -r 0 is not
  1236.  
  1237.                       specified.
  1238.  
  1239.  
  1240.             -d hhmm   Duration of polling in hours and minutes, after
  1241.  
  1242.                       which UUPOLL exits.  Default is poll until the user
  1243.  
  1244.                       presses Cntrl-Break.
  1245.  
  1246.  
  1247.             -f hhmm   First time to poll in hours and minutes.  Default
  1248.  
  1249.                       is to not actively poll unless the user specifies
  1250.  
  1251.                       an interval via -i, in which case the default is
  1252.  
  1253.                       the current time plus the interval.
  1254.  
  1255.  
  1256.  
  1257.                                        - 11 -
  1258.  
  1259.  
  1260.  
  1261.           December 8, 1991                UUPC/extended 1.11q Command Reference
  1262.  
  1263.  
  1264.  
  1265.               Note:
  1266.               Note:
  1267.               Note: UUPOLL automatically determines when it is later than
  1268.  
  1269.                     the specified first poll time and selects the available
  1270.  
  1271.                     next time to poll.  If it desired for UUPOLL to poll 24
  1272.  
  1273.                     hours a day, then the first poll time should be
  1274.  
  1275.                     specified as to midnight as possible.
  1276.  
  1277.  
  1278.                     If, for example, the system is to poll at 6:13 AM, 2:13
  1279.  
  1280.                     PM, and 10:13 PM, UUPOLL must be invoked with:
  1281.  
  1282.  
  1283.                               UUPOLL -i 0800 -f 0613
  1284.  
  1285.  
  1286.                     Even if it is after 6:13 AM.
  1287.  
  1288.  
  1289.             -i hhmm   Interval to poll in hours and minutes.  Default is
  1290.  
  1291.                       0400 (4 hours) if -f is specified.
  1292.  
  1293.  
  1294.             -r 0      Directs UUCICO to answer telephone between active
  1295.  
  1296.                       polls.  Default is to not answer the telephone.
  1297.  
  1298.  
  1299.             -r 1      Directs UUCICO not to answer the telephone, but to
  1300.  
  1301.                       actively poll after the interval specified with -i.
  1302.  
  1303.  
  1304.             -s system System name to poll.  Default is "all" followed by
  1305.  
  1306.                       "any", which cannot be explicit specified.
  1307.  
  1308.  
  1309.             -x n      Debug level passed to UUCICO and UUXQT.  Default is
  1310.  
  1311.                       1.
  1312.  
  1313.  
  1314.               Note:
  1315.               Note:
  1316.               Note: Either -r, -i, or -f must be specified.
  1317.  
  1318.  
  1319.               Note:
  1320.               Note:
  1321.               Note: For additional information on the -s, -x, and -r
  1322.  
  1323.                     options, see the description of UUCICO, above.
  1324.  
  1325.  
  1326.               Note:
  1327.               Note:
  1328.               Note: If you specify both the -r 0 and either the -f or -i
  1329.  
  1330.                     options, the effect is to have UUCICO invoked to answer
  1331.  
  1332.                     the telephone between the active polls defined by the -
  1333.  
  1334.                     f or -i options.
  1335.  
  1336.  
  1337.  
  1338.           UUSTAT
  1339.           UUSTAT
  1340.           UUSTAT
  1341.  
  1342.  
  1343.           UUSTAT reports information on the jobs queued for another system;
  1344.  
  1345.           it can output detailed or summary information for one or all
  1346.  
  1347.           systems directtly connected to the local host.  UUSTAT is fully
  1348.  
  1349.           documented in the file UUSTAT.PRN; a summary of its operands is
  1350.  
  1351.           follows.
  1352.  
  1353.  
  1354.           To display all jobs queued for the current user:
  1355.  
  1356.  
  1357.                UUSTAT
  1358.  
  1359.  
  1360.           To display all jobs queued by all users:
  1361.  
  1362.  
  1363.                UUSTAT -a
  1364.  
  1365.  
  1366.                                        - 12 -
  1367.  
  1368.  
  1369.  
  1370.           December 8, 1991                UUPC/extended 1.11q Command Reference
  1371.  
  1372.  
  1373.  
  1374.           To display the number of jobs queued for all remote systems,
  1375.  
  1376.           their last connection time,  and the age of the oldest job
  1377.  
  1378.           queued:
  1379.  
  1380.  
  1381.                UUSTAT -q
  1382.  
  1383.  
  1384.           To display the status of all remote systems and their last
  1385.  
  1386.           connection time:
  1387.  
  1388.  
  1389.                UUSTAT -m
  1390.  
  1391.  
  1392.  
  1393.           UUSUB
  1394.           UUSUB
  1395.           UUSUB
  1396.  
  1397.  
  1398.           UUSUB reports statistics on the data transmitted between the
  1399.  
  1400.           local and remote systems since the last time the file HOSTATUS in
  1401.  
  1402.           the UUPC/extended spooling directory was created.  UUSUB is
  1403.  
  1404.           invoked with no operands to report these statistics:
  1405.  
  1406.  
  1407.                UUSUB
  1408.  
  1409.  
  1410.               Note:
  1411.               Note:
  1412.               Note: The summaries can be reset by erasing the HOSTATUS file
  1413.  
  1414.                     from the spool directory.
  1415.  
  1416.  
  1417.           UUX
  1418.           UUX
  1419.           UUX
  1420.  
  1421.  
  1422.           The UUX command queues commands for execution on remote systems.
  1423.  
  1424.           It used by other facilities, such as news functions and the UUCP
  1425.  
  1426.           command, to handle processing more complex than simple file
  1427.  
  1428.           transfers.
  1429.  
  1430.  
  1431.           The UUX command is still under development.  It's use is
  1432.  
  1433.           discouraged at this time.
  1434.  
  1435.  
  1436.  
  1437.           UUXQT
  1438.           UUXQT
  1439.           UUXQT
  1440.  
  1441.  
  1442.           UUXQT must be executed to process remote files after UUCICO has
  1443.  
  1444.           received these files from a remote host.  It normally is invoked
  1445.  
  1446.           with no operands:
  1447.  
  1448.  
  1449.                UUXQT
  1450.  
  1451.  
  1452.           This will automatically process all eXecute files in the local
  1453.  
  1454.           spool queues with the default debugging level in effect.
  1455.  
  1456.  
  1457.           UUXQT supports the following command line options:
  1458.  
  1459.  
  1460.             -s sysname   Process work only for work "sysname".  The
  1461.  
  1462.                       default is system "all", which processes work for
  1463.  
  1464.                       all known systems.
  1465.  
  1466.  
  1467.             -x debug  Display debug messages at or below level "debug".
  1468.  
  1469.                       The default value is 1; the option may set to 0 for
  1470.  
  1471.  
  1472.                                        - 13 -
  1473.  
  1474.  
  1475.  
  1476.           December 8, 1991                UUPC/extended 1.11q Command Reference
  1477.  
  1478.  
  1479.  
  1480.                       unattended production use, or as high 20 for
  1481.  
  1482.                       detailed debugging.
  1483.  
  1484.  
  1485.           To automatically execute UUXQT every time UUCICO is run, use
  1486.  
  1487.           UUPOLL or UUIO.
  1488.  
  1489.  
  1490.                               
  1491.  
  1492.  
  1493.           1This is a sample only.  Snuffles, proofreading this, announced
  1494.  
  1495.           quite firmly that she does not want a message about Chocolate,
  1496.  
  1497.           she wants the real thing.  She also pointed out that she reads
  1498.  
  1499.           her mail on kendra, not on pandora.
  1500.  
  1501.  
  1502.           2Note that this is not
  1503.                              not
  1504.                              not a UUPC.RC or PERSONAL.RC variable.
  1505.  
  1506.  
  1507.           3"Postmaster" is used the user id defined as Postmaster in
  1508.  
  1509.           UUPC.RC and for the address POSTMASTER, "UNIX-to-UNIX Copy" for
  1510.  
  1511.           the userid UUCP.  For all other undefined addresses, the rel name
  1512.  
  1513.           is set to the same value as the userid itself.
  1514.  
  1515.  
  1516.           4This behavior is based on the similar behavior of the BSD
  1517.  
  1518.           sendmail program.  Why it does it is beyond the scope of this
  1519.  
  1520.           document (or most human understanding).
  1521.  
  1522.  
  1523.           5The BREAK ON command is required to insure that MS-DOS polls the
  1524.  
  1525.           keyboard for the Cntrl-Break sequence; otherwise, you may have to
  1526.  
  1527.           reboot your system to terminate UUCICO.  BREAK ON is always
  1528.  
  1529.           enabled under OS/2.
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.                                        - 14 -