home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / EXTRAS / UUCODE / UUPC / UPC12BAD.ZIP / commands.prn < prev    next >
Encoding:
Text File  |  1993-10-04  |  115.7 KB  |  2,929 lines

  1.  
  2.  
  3.  
  4.                                         UUPC/extended Command Reference
  5.                                                       Command Reference
  6.                                                       Command Reference
  7.  
  8.  
  9.  
  10.           _______________________________
  11.           UUPC/extended Command Reference
  12.           _______________________________
  13.           UUPC/extended Command Reference
  14.           _______________________________
  15.           UUPC/extended Command Reference
  16.  
  17.  
  18.  
  19.           Overview
  20.           Overview
  21.           Overview
  22.  
  23.           This section describes the syntax of the commands supplied with
  24.           UUPC/extended.  It assumes you have installed the programs and
  25.           configured them as described in Installation
  26.                                           Installation
  27.                                           Installation, page 15, and that
  28.           you have access to the Nutshell Handbook Using UUCP and Usenet.
  29.  
  30.  
  31.           Command Syntax
  32.           Command Syntax
  33.           Command Syntax
  34.  
  35.           To obtain the syntax of the various command line options, enter
  36.           the command name followed by '-?'; for example:
  37.  
  38.             COMM34 -?
  39.             EXPIRE -?
  40.             FMT-?
  41.             GENSIG -?
  42.             MAIL -?
  43.             UUCICO -?
  44.             UUPOLL-?
  45.             UUCP -?
  46.             UUNAME -?
  47.             UUSTAT -?
  48.             UUSUB -?
  49.             UUX -?
  50.             UUXQT -?
  51.  
  52.  
  53.           Command Descriptions
  54.           Command Descriptions
  55.           Command Descriptions
  56.  
  57.           Descriptions of the commands supplied as part of UUPC/extended
  58.           follow in alphabetical order.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.           10/04/93                   - 43 -
  78.  
  79.  
  80.  
  81.           UUPC/extended 
  82.                         
  83.                         1.12b Installation and 
  84.                               Installation and 
  85.                               Installation and User's Reference
  86.                                                User's Reference
  87.                                                User's Reference
  88.  
  89.  
  90.           COMM34
  91.           COMM34
  92.           COMM34
  93.  
  94.  
  95.             Synopsis
  96.             Synopsis
  97.             Synopsis
  98.  
  99.             COMM34 port3 [port4]
  100.  
  101.  
  102.             Availability
  103.             Availability
  104.             Availability
  105.  
  106.             MS-DOS only (possible in OS/2 DOS box, see below)
  107.  
  108.  
  109.             Description
  110.             Description
  111.             Description
  112.  
  113.           COMM34 defines non-default addresses of communications ports 3
  114.           and 4 (COM3 and COM4) under MS-DOS.  It does this by poking the
  115.           provided operands into the BIOS memory segment at hexadecimal
  116.           address 0040:0000 where UUCICO and other programs such as Kermit
  117.           search for port addresses.  It also displays all defined port
  118.           addresses for COM1-4.
  119.  
  120.               Note:
  121.               Note:
  122.               Note: This command is not available under OS/2, but may be
  123.                     used in an OS/2 DOS box.  The preferred way to define
  124.                     the port addresses for COM3 and COM4 to both OS/2 and
  125.                     to DOS boxes under OS/2 is to add information to the
  126.                     relevant DEVICE= statements in the OS/2 CONFIG.SYS.
  127.  
  128.           The syntax of the COMM34 command is:
  129.  
  130.           COMM34 port3 [port4]
  131.  
  132.           where:
  133.  
  134.              port3    is the hexadecimal address for COM3, or 0 if
  135.                       omitted and port4 is specified.
  136.  
  137.               Note:
  138.               Note:
  139.               Note: COM3 must use IRQ 4.
  140.  
  141.             port4     is the hexadecimal address for communications port
  142.                       4.
  143.  
  144.               Note:
  145.               Note:
  146.               Note: COM4 must use IRQ 3.
  147.  
  148.           COMM34 must be run before UUCICO, and only needs to be run once,
  149.           perhaps by putting the appropriate line in your AUTOEXEC.BAT
  150.           file.  If all operands are omitted, COMM34 displays a help screen
  151.           and the current port assignments.
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.                                     -44-                      10/04/93
  160.  
  161.  
  162.  
  163.                                         UUPC/extended Command Reference
  164.                                                       Command Reference
  165.                                                       Command Reference
  166.  
  167.  
  168.           EXPIRE
  169.           EXPIRE
  170.           EXPIRE
  171.  
  172.  
  173.             Synopsis
  174.             Synopsis
  175.             Synopsis
  176.  
  177.             expire [-x debuglevel] [-e days] [-a days] [-n newsgroup]
  178.  
  179.  
  180.             Availability
  181.             Availability
  182.             Availability
  183.  
  184.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  185.  
  186.  
  187.             Description
  188.             Description
  189.             Description
  190.  
  191.           EXPIRE archives and/or deletes articles created by RNEWS in
  192.           normal mode after a specified period of days.  For EXPIRE to run,
  193.           the ACTIVE file must exist.  (See RNEWS in RNEWS
  194.                                                      RNEWS
  195.                                                      RNEWS, page 66, for
  196.           the layout of the ACTIVE file.)  When received, articles are kept
  197.           in the directory hierarchy defined by the NewsDir
  198.                                                     NewsDir
  199.                                                     NewsDir variable.
  200.           After the period specified by the expire period, EXPIRE moves
  201.           articles to the directory hierarchy defined by the ArchiveDir
  202.                                                              ArchiveDir
  203.                                                              ArchiveDir
  204.           variable for the number of days specified by the archive period,
  205.           after which EXPIRE deletes the articles.
  206.  
  207.               Note:
  208.               Note:
  209.               Note: Because the articles are moved from the main news
  210.                     directories to the archive directories via a rename
  211.                     call (the articles are not copied), the two directory
  212.                     hierarchies must reside on the same disk partition.  If
  213.                     an article cannot be archived for this or any other
  214.                     reason, it will be deleted when the expire period is
  215.                     reached.
  216.  
  217.           The syntax of EXPIRE is:
  218.  
  219.           expire [-x debuglevel] [-e days] [-a days] [-n newsgroup]
  220.  
  221.           Where:
  222.  
  223.             -a days   Number of days news is to be archived (saved but
  224.                       inaccessible to the user) after it is expired.  The
  225.                       default is zero (0) days, that is the news is be
  226.                       deleted without archiving.
  227.  
  228.             -e days   Number of days news is be kept in a directories
  229.                       accessible to the user before being deleted or
  230.                       archived depending on the archive (-a) flag.  The
  231.                       default period is seven (7) days.
  232.  
  233.             -n newsgroup The name of the newsgroup to scan for expired
  234.                       articles.  The default is to scan all news groups
  235.                       in the active file for articles to expire.
  236.  
  237.             -x debug  Display debug messages at or below level debug.
  238.                       The default value is 1, but the option may be set
  239.           10/04/93                   - 45 -
  240.  
  241.  
  242.  
  243.           UUPC/extended 
  244.                         
  245.                         1.12b Installation and 
  246.                               Installation and 
  247.                               Installation and User's Reference
  248.                                                User's Reference
  249.                                                User's Reference
  250.  
  251.  
  252.                       to 0 for unattended production use, or as high 20
  253.                       for detailed debugging.
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.                                     -46-                      10/04/93
  308.  
  309.  
  310.  
  311.                                         UUPC/extended Command Reference
  312.                                                       Command Reference
  313.                                                       Command Reference
  314.  
  315.  
  316.           FMT
  317.           FMT
  318.           FMT
  319.  
  320.  
  321.             Synopsis
  322.             Synopsis
  323.             Synopsis
  324.  
  325.                FMT  [-#] [input-file [output-file]]
  326.  
  327.  
  328.             Availability
  329.             Availability
  330.             Availability
  331.  
  332.             MS-DOS, OS/2, and Windows NT
  333.  
  334.  
  335.             Description
  336.             Description
  337.             Description
  338.  
  339.           FMT is used as a simple paragraph formatter when entering mail in
  340.           line mode.  It effectively removes all carriage returns from
  341.           within a paragraph and then writes the paragraph out in lines as
  342.           close as possible to 72 characters in length without going over.
  343.           Paragraphs are separated by blank lines in the input file and
  344.           output files.
  345.  
  346.               Note:
  347.               Note:
  348.               Note: If the first word on a new line is longer than the
  349.                     maximum line length, it is written by itself on the
  350.                     line.  It is not truncated.
  351.  
  352.           The command syntax is:
  353.  
  354.                FMT  [-#] [input-file [output-file]]
  355.  
  356.           The optional flag -#, where "#" is a number greater than or equal
  357.           to 0, overrides the default maximum length of 72 characters per
  358.           line.  The default input and output files are the console.
  359.  
  360.           To format all the text you have typed in from line mode, use it
  361.           as a pipe at the question mark (?) prompt while sending mail:
  362.  
  363.           ~|FMT
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.           10/04/93                   - 47 -
  382.  
  383.  
  384.  
  385.           UUPC/extended 
  386.                         
  387.                         1.12b Installation and 
  388.                               Installation and 
  389.                               Installation and User's Reference
  390.                                                User's Reference
  391.                                                User's Reference
  392.  
  393.  
  394.           GENSIG
  395.           GENSIG
  396.           GENSIG
  397.  
  398.  
  399.             Synopsis
  400.             Synopsis
  401.             Synopsis
  402.  
  403.                GENSIG fixed.inp variable.inp merged.out
  404.  
  405.  
  406.             Availability
  407.             Availability
  408.             Availability
  409.  
  410.             MS-DOS, OS/2, and Windows NT
  411.  
  412.  
  413.             Description
  414.             Description
  415.             Description
  416.  
  417.           GENSIG reads a standard signature file and appends random text
  418.           selected from a second file, writing the combined data to a third
  419.           file.  The format of the command is:
  420.  
  421.                GENSIG fixed.inp variable.inp merged.out
  422.  
  423.           Where fixed.inp is the fixed portion of the signature file
  424.           containing your name and address, and variable.inp is a file
  425.           which begins which a delimiter line followed by quotes or other
  426.           text separated by additional delimiter lines.  For example, the
  427.           variable input file might look like this:
  428.  
  429.                **
  430.                The above is a delimiter line.
  431.                **
  432.                Free the Intel 386!
  433.                **
  434.                "UUPC/extended" is "system crash" spelled sideways.
  435.                **
  436.                Don't quote me!
  437.  
  438.           The file merged.out will contain the entire text of the fixed.inp
  439.           file followed by one delimited text block from variable.inp.  If
  440.           you use this to generate a signature file, then your [userid].RC
  441.           should reference the file merged.out  as your signature file.
  442.  
  443.               Note:
  444.               Note:
  445.               Note: To generate fresh quotes, this program should be run
  446.                     from your AUTOEXEC.BAT or other regularly run batch
  447.                     file.
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.                                     -48-                      10/04/93
  460.  
  461.  
  462.  
  463.                                         UUPC/extended Command Reference
  464.                                                       Command Reference
  465.                                                       Command Reference
  466.  
  467.  
  468.           MAIL
  469.           MAIL
  470.           MAIL
  471.  
  472.             Command line interface for read and sending mail
  473.  
  474.  
  475.             Synopsis
  476.             Synopsis
  477.             Synopsis
  478.  
  479.             mail [-x debug] [-p] [-t] [-f name]
  480.             mail [-x debug] [-p] [-t] [-u userid]
  481.             mail [-x debug] [-s subject] address ... [-c] address ... [-b]
  482.           address
  483.  
  484.  
  485.             Availability
  486.             Availability
  487.             Availability
  488.  
  489.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  490.  
  491.  
  492.             Description
  493.             Description
  494.             Description
  495.  
  496.           The MAIL command is used to both compose and read mail.  It
  497.           provides a human interface to the user mailboxes, and formats
  498.           mail for the RMAIL command to perform delivery to local and
  499.           remote users.
  500.  
  501.           If MAIL is invoked interactively with one or more addresses, it
  502.           prompts for the subject of the message (if not provided via the -
  503.           s flag), and then prompts for the text of the message either
  504.           directly or via a user specified editor.  (See The UUPC/extended
  505.                                                          The UUPC/extended
  506.                                                          The UUPC/extended
  507.           UUPC.RC and [userid].RC files
  508.           UUPC.RC and [userid].RC files
  509.           UUPC.RC and [userid].RC files, page 91, to find out how to
  510.           specify an editor.  The program then prompts for the action to
  511.           take (list, edit, input additional lines of text directly, abort,
  512.           or send) until the message is sent or aborted.  When sent, the
  513.           required RFC-822 headers are added to the mail and the entire
  514.           message is passed to RMAIL for delivery.
  515.  
  516.           If MAIL is invoked with one or more addresses and the input is
  517.           not the keyboard, then the input is taken without prompting or
  518.           editing and passed to RMAIL with the appropriate RFC-822 headers.
  519.  
  520.           If invoked without addresses to send mail to, MAIL reads the
  521.           user's system mailbox (or other mailbox if specified on the
  522.           command line), displays a one line summary of each message, and
  523.           prompts for a user command with a item number and a question mark
  524.           (?).  Commands can be issued to read, save, delete, or send mail
  525.           until the program is terminated by the quit or exit commands.
  526.  
  527.           The following option is always accepted by MAIL:
  528.  
  529.             -x debug  Amount of debugging information to display.  The
  530.                       default is taken from the environment variable
  531.                       UUPCDEBUG if set and is otherwise 0.  The higher
  532.                       the debug level, the more information overwhelms
  533.                       the unsuspecting user.
  534.  
  535.           10/04/93                   - 49 -
  536.  
  537.  
  538.  
  539.           UUPC/extended 1.12b
  540.                         
  541.                         
  542.                               Installation and 
  543.                               Installation and 
  544.                               Installation and User's Reference
  545.                                                User's Reference
  546.                                                User's Reference
  547.  
  548.  
  549.           The following options are accepted when composing mail:
  550.  
  551.             -s subject   Subject of the message to send.  If multiple
  552.                       words, this must be enclosed in quotes.  This
  553.                       option must precede any addresses and the -c and/or
  554.                       -b flags, if supplied.
  555.  
  556.                address
  557.             -c           One or more carbon copy addresses.  Such
  558.                       addresses are listed under the CC: field of the
  559.                       RFC-822 header rather than in the To: field.  One
  560.                       or more addresses must be listed after the -c flag.
  561.  
  562.                address 
  563.             -b           One or more blind carbon copy addresses.  Such
  564.                       addresses are listed under the Bcc: field of the
  565.                       RFC-822 header, which is dropped by RMAIL after
  566.                       processing.  Thus, no one sees these addresses in
  567.                       their mail headers.
  568.  
  569.           The following options are accepted when reading mail:
  570.  
  571.                filename
  572.             -f           Name of the file to read rather than the system
  573.                       mailbox.  See below for the syntax of accepted file
  574.                       names.
  575.  
  576.                userid
  577.             -u        Name of the user whose system mailbox is to be
  578.                       read.
  579.  
  580.             -t        Rather than display who mail is from in the one
  581.                       summary, display who the mail is to.  This is
  582.                       automatically enabled for the file defined by the
  583.                       UUPC.RC variable FileSent= 
  584.                                        FileSent= 
  585.                                        FileSent= (See The UUPC/extended
  586.                                                       The UUPC/extended
  587.                                                       The UUPC/extended
  588.                       UUPC.RC and [userid].RC files
  589.                       UUPC.RC and [userid].RC files
  590.                       UUPC.RC and [userid].RC files, page 91, for a
  591.                       further explanation.), which defines where a copy
  592.                       of mail you send is saved.  If the    flag is
  593.                                                          -t
  594.                                                          -t
  595.                                                          -t
  596.                       specified for the           file, it reverts to
  597.                                         FileSent=
  598.                                         FileSent=
  599.                                         FileSent=
  600.                       normal processing (displaying whom the mail is
  601.                       from).
  602.  
  603.             -p        Print all the mail in the specified mailbox and
  604.                       exit.
  605.  
  606.                Types of operands
  607.                Types of operands
  608.                Types of operands
  609.  
  610.           In the list of commands available when reading mail, messages
  611.           refers to one or more messages in the mail box.  These items can
  612.           be specified in one of the following ways:
  613.  
  614.  
  615.            Message        A single numeric value,  the special character
  616.            Number         dot (.) to specify the current item, or the
  617.                           special character dollar sign ($) to specify the
  618.                           last item in the mailbox.
  619.  
  620.  
  621.  
  622.                                      50-
  623.                                     -                         10/04/93
  624.  
  625.  
  626.  
  627.                                         UUPC/extended Command Reference
  628.                                                       Command Reference
  629.                                                       Command Reference
  630.  
  631.  
  632.  
  633.            Message range  Two message numbers separated by a hyphen (-).
  634.                           The messages must be in ascending order; for
  635.                           example, 1-$ is valid, but $-1 is not valid.
  636.  
  637.  
  638.            List of        A list of message numbers and/or message ranges,
  639.            messages       separated by spaces.  The list need not be in
  640.                           ascending order.  An example is: 1-5 8 7 14-17.
  641.  
  642.  
  643.            Asterisk (*)   Selects all messages in the mailbox
  644.  
  645.  
  646.            Subject        A slash (/) followed by a subject to search for,
  647.                           optionally followed by a terminating slash.
  648.                           Each Subject: or Resent-Subject: will be
  649.                           searched for the specified string.  An example
  650.                           is /UUPC bugs/
  651.  
  652.  
  653.            User id        A single word (no white space) appearing in the
  654.                           From or Resent-From lines of the mail header.
  655.                           Note that if the command accepts both an item
  656.                           and a userid, you cannot specify the item as a
  657.                           user id.
  658.  
  659.                           Note:
  660.                           Note:
  661.                           Note:      If the command accepts both an item
  662.                           and file name and you specify a user id for the
  663.                           item, you must explicitly provide the default
  664.                           filename unless the user id includes the
  665.                           characters at sign (@), percent sign (%), or
  666.                           exclamation point (!).
  667.  
  668.  
  669.  
  670.  
  671.           Some commands also allow file names as operands.  File names may
  672.           look like any of the following:
  673.  
  674.  
  675.            Type of file   Description                       Example
  676.  
  677.  
  678.  
  679.  
  680.            Simple file    An MS-DOS file name with no path  snuffles.spb
  681.            name           name
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.           10/04/93                   - 51 -
  690.  
  691.  
  692.  
  693.           UUPC/extended 1.12b
  694.                         
  695.                         
  696.                               Installation and 
  697.                               Installation and 
  698.                               Installation and User's Reference
  699.                                                User's Reference
  700.                                                User's Reference
  701.  
  702.  
  703.  
  704.            Relative path  An MS-DOS file name with one or   mail\snuffles
  705.            name           more back slashes (\) which does  .spb
  706.                           not begin with a back slash or
  707.                           drive letter.
  708.  
  709.  
  710.            Absolute path  An MS-DOS file name with one or   d:\uupc\snuff
  711.            name           more back slashes (\) which       les.spb
  712.                           begins with a back slash or drive
  713.                           letter.
  714.  
  715.  
  716.            UNC name       Universal Naming Convention name. \\kewgate\uup
  717.                           A file located on a network       c\mail\snuffl
  718.                           server.                           es.spb
  719.  
  720.  
  721.            Mailbox        A simple file name prefixed by    +snuffles
  722.                           the plus sign (+) character.
  723.                           This will cause the file be
  724.                           referenced as if it is the
  725.                           mailbox for the specified user.
  726.                           For example, +postmast refers to
  727.                           the mailbox for user postmast.
  728.  
  729.  
  730.            Relative to    A simple file name preceded by a  ~/oldmail/snu
  731.            your home      tilde and slash (~/).  The file   ffles.spb
  732.            directory      is then referenced by the
  733.                           prepending the home directory
  734.                           listed in your        ].RC 
  735.                                           userid
  736.                                          [           to the
  737.                           simple file name.
  738.  
  739.  
  740.            Relative to    A simple file name preceded by a  ~snuffles/old
  741.            another's      tilde, the userid, and a slash    mail.spb
  742.            home           (~userid/).  The file is then
  743.            directory.     referenced by the prepending the
  744.                           home directory listed in the
  745.                           PASSWD file for user "userid" to
  746.                           the simple file name.
  747.  
  748.  
  749.  
  750.  
  751.           When sending mail from the command line or via the      or
  752.                                                              mail
  753.                                                              mail
  754.                                                              mail
  755.                   commands, the destination address must be entered.
  756.           forward 
  757.           forward 
  758.           forward 
  759.           Acceptable addresses look like any of the following:
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.                                     -52-                      10/04/93
  767.  
  768.  
  769.  
  770.                                         UUPC/extended Command Reference
  771.                                                       Command Reference
  772.                                                       Command Reference
  773.  
  774.  
  775.  
  776.            Address      Description                         Example
  777.            type
  778.  
  779.  
  780.  
  781.  
  782.            userid       A simple user id, for delivery on   snuffles
  783.                         the local system.
  784.  
  785.  
  786.                   node
  787.                  @
  788.            userid       A user id and node combination,     snuffles@kew.c
  789.                         for delivery to        on system
  790.                                         userid              om
  791.                         node.
  792.  
  793.  
  794.                 userid
  795.                !
  796.            node         A user id and node combination,     smersh!kendra!
  797.                         for delivery to        on system
  798.                                         userid              snuffles
  799.                         node
  800.  
  801.  
  802.            nickname     A user or list defined in the       pbear
  803.                         user's ALIASES.TXT file or local
  804.                                            
  805.                                            
  806.                                            
  807.                         system aliases file.
  808.  
  809.  
  810.  
  811.  
  812.           If the flag    is inserted before a user id, then mail to the
  813.                       -c 
  814.                       -c 
  815.                       -c 
  816.           following users is sent as Carbon Copy (Cc:) addresses.  If the
  817.                   is inserted before a user id, then mail to the following
  818.                   
  819.                -b
  820.                -b
  821.                -b
  822.           flag 
  823.           users is sent as blind carbon copies.  Their addresses do not
  824.           appear in the mail header.  The blind carbon copy flag must
  825.           follow any all normal addresses and carbon copy addressees.
  826.  
  827.            Example:
  828.            Example:
  829.            Example: mail -s "Test message" snuffles -c athena!kewms -b
  830.                     software@kew.com
  831.  
  832.                Commands available when reading mail
  833.                Commands available when reading mail
  834.                Commands available when reading mail
  835.  
  836.           Commands are entered in response to the mail question mark prompt
  837.           (?).  All commands must be separated from their operands, if any,
  838.           by white space.  Most commands can be abbreviated to a single
  839.           character; the commands which cannot be so abbreviated and their
  840.           shortest allowable abbreviation are debug
  841.                                               debug
  842.                                               debug        dquit 
  843.                                                            dquit 
  844.                                                            dquit 
  845.                                                         ), 
  846.                                                      deb
  847.                                                      deb
  848.                                                      deb
  849.                                                     (            (  ),
  850.                                                                   dq
  851.                                                                   dq
  852.                                                                   dq
  853.                    (
  854.           previous
  855.           previous
  856.           previous  pre
  857.                     pre
  858.                     pre    set
  859.                            set
  860.                            set
  861.                        ),         ), and 
  862.                                (se
  863.                                 se
  864.                                 se               st
  865.                                                  st
  866.                                                  st
  867.                                          status
  868.                                          status
  869.                                          status (  ).
  870.  
  871.           The following commands can be used within MAIL:
  872.  
  873.  
  874.            empty line        If the current message has not been read,
  875.                              then an empty line acts as a print
  876.                                                           print
  877.                                                           print command;
  878.                              otherwise, it acts as a      command.
  879.                                                      next
  880.                                                      next
  881.                                                      next
  882.  
  883.  
  884.           10/04/93                     53
  885.                                      -    -
  886.  
  887.  
  888.  
  889.           UUPC/extended 
  890.                         
  891.                         1.12b Installation and 
  892.                               Installation and 
  893.                               Installation and User's Reference
  894.                                                User's Reference
  895.                                                User's Reference
  896.  
  897.  
  898.  
  899.            ! command         Executes 
  900.                                       
  901.                                       command as an MS-DOS, OS/2, or
  902.                              Windows NT command.  If command is omitted,
  903.                              runs an inferior command processor (which
  904.                              gives the user a new command prompt.)
  905.  
  906.  
  907.            ?                 Prints a summary of commands available.
  908.  
  909.  
  910.            + integer         Alias for next
  911.                                        next
  912.                                        next command.
  913.  
  914.  
  915.            - integer         Alias for up
  916.                                        up
  917.                                        up command.
  918.  
  919.  
  920.            alias a1 a2 a3    Displays alias information loaded from
  921.                              user's ALIASES.TXT 
  922.                                                 
  923.                                                 file for nicknames a1 a2
  924.                              a3.  If an alias is list of other aliases,
  925.                              the list is recursively exploded and
  926.                              displayed.  This command has no default
  927.                              operand. At least one alias must be
  928.                              specified.
  929.  
  930.  
  931.            copy items file   Copies mail items into file with headers.
  932.                              Default file is the printer on device PRN
  933.                                                                    PRN
  934.                                                                    PRN.
  935.  
  936.  
  937.            debug integer     Sets internal trace level to integer. The
  938.                              default is 0 when mail
  939.                                                mail
  940.                                                mail starts, and gets set
  941.                              to 1 if you just type "debug" without
  942.                              entering an integer.  The internal trace
  943.                              level can also be set by the command line
  944.                              flag -x.
  945.                                   -x.
  946.                                   -x.
  947.  
  948.  
  949.            delete messages   Sets status of messages to deleted.
  950.                              Deleted messages are ignored when selecting
  951.                              mail by subject or user id, and are purged
  952.                              from the mailbox when the quit
  953.                                                        quit
  954.                                                        quit command is
  955.                              issued.  See also undelete
  956.                                                undelete
  957.                                                undelete.
  958.  
  959.  
  960.            dquit messages    Short for delete
  961.                                        delete
  962.                                        delete followed by quit.
  963.                                                           quit.
  964.                                                           quit.
  965.  
  966.  
  967.            exit              Exits mail without updating mailbox;
  968.                              deleted items are left alone.  Compare this
  969.                              to the quit
  970.                                     quit
  971.                                     quit command.
  972.  
  973.  
  974.  
  975.  
  976.  
  977.                                     -54-                      10/04/93
  978.  
  979.  
  980.  
  981.                                         UUPC/extended Command Reference
  982.                                                       Command Reference
  983.                                                       Command Reference
  984.  
  985.  
  986.  
  987.            forward messages  Resends messages    address.
  988.                                               to           Note that if
  989.            address           the       option is set, each 
  990.                                  askcc 
  991.                                  askcc 
  992.                                  askcc                     message
  993.                              forwarded will be prompted for Carbon Copy
  994.                              addresses.
  995.  
  996.  
  997.               messages
  998.            go                Positions to the last of the messages
  999.                              selected.
  1000.  
  1001.  
  1002.            headers           Displays summary information for all items
  1003.                              in the mailbox.
  1004.  
  1005.  
  1006.                    items
  1007.            Headers           Displays summary information for the
  1008.                              selected items in the mailbox.
  1009.  
  1010.  
  1011.            help              Prints this long help text.
  1012.  
  1013.  
  1014.                    subject
  1015.            mail -s           Interactively send mail to address with
  1016.            address           optional subject.
  1017.                 address
  1018.            mail 
  1019.  
  1020.  
  1021.                 integer
  1022.            next              Move down in mailbox by integer items.
  1023.                              Default is 1.
  1024.  
  1025.  
  1026.            previous          Alias of 
  1027.                     integer           up 
  1028.                                       up 
  1029.                                       up command.
  1030.  
  1031.  
  1032.            print messages    Display messages from the mailbox, using
  1033.                              the external pager if defined in the
  1034.                              configuration file and ignoring (not
  1035.                              printing) a standard list of RFC-822 fields
  1036.                              in the mail header such as Received: and
  1037.                              Message-Id:.  Compare this to the Print
  1038.                                                                Print
  1039.                                                                Print,
  1040.                              type
  1041.                              type
  1042.                              type, and Type
  1043.                                        Type
  1044.                                        Type commands.
  1045.  
  1046.  
  1047.            Print messages    Display messages from mailbox, using
  1048.                              internal pager and ignoring (not printing)
  1049.                              a standard list of RFC-822 fields in the
  1050.                              mail header.
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.           10/04/93                   - 55 -
  1060.  
  1061.  
  1062.  
  1063.           UUPC/extended 1.12b
  1064.                         
  1065.                         
  1066.                               Installation and 
  1067.                               Installation and 
  1068.                               Installation and User's Reference
  1069.                                                User's Reference
  1070.                                                User's Reference
  1071.  
  1072.  
  1073.  
  1074.            quit              Terminates the reading of mail.  All
  1075.                              deleted messages are purged, and all other
  1076.                              messages are saved in the original mailbox
  1077.                              or in ~/mbox depending on the setting of
  1078.                              the      flag.
  1079.                                  save
  1080.                                  save
  1081.                                  save
  1082.  
  1083.  
  1084.                  messages
  1085.            reply             Interactively sends mail to the authors of
  1086.                              each of the messages requested.  Note that
  1087.                              each item is replied to separately,
  1088.                              specifying "reply 1-10" will send ten
  1089.                              pieces of mail to ten people.
  1090.  
  1091.  
  1092.                 messages
  1093.            save              Saves the specified messages complete with
  1094.            file              mail headers into file, and then deletes
  1095.                              the messages.  Compare this to the      and
  1096.                                                                 copy 
  1097.                                                                 copy 
  1098.                                                                 copy 
  1099.                              write
  1100.                              write
  1101.                              write commands.
  1102.  
  1103.  
  1104.            set               Sets various Boolean options.   These
  1105.                              option can also be set in your [      ].RC
  1106.                                                              userid
  1107.                              file.  The options are listed in The
  1108.                                                               The
  1109.                                                               The
  1110.                              UUPC/extended UUPC.RC and [userid].RC
  1111.                              UUPC/extended UUPC.RC and [userid].RC
  1112.                              UUPC/extended UUPC.RC and [userid].RC
  1113.                              files
  1114.                              files
  1115.                              files, page 91.
  1116.  
  1117.  
  1118.            status            Reports miscellaneous program information,
  1119.                              including:
  1120.                                 The version and creation time of the
  1121.                                 program
  1122.                                 The operating system version
  1123.                                 The current user address and related
  1124.                                 information
  1125.                                 The current file name, size, and date
  1126.                                 last updated
  1127.  
  1128.  
  1129.                 messages
  1130.            type              Display messages from mailbox, using
  1131.                              external pager if available and displaying
  1132.                              RFC-822 fields suppressed by the print
  1133.                                                               print
  1134.                                                               print
  1135.                              command.  Compare this to the p    , Print
  1136.                                                                   Print
  1137.                                                                   Print
  1138.                                                             rint
  1139.                                                             rint
  1140.                                                             rint       ,
  1141.                              and Type
  1142.                                  Type
  1143.                                  Type commands.
  1144.                                               .
  1145.                                               .
  1146.  
  1147.  
  1148.                 messages
  1149.            Type              Display messages from mailbox, using
  1150.                              internal pager and displaying RFC-822
  1151.                              fields suppressed by the print
  1152.                                                       print
  1153.                                                       print and Print
  1154.                                                                 Print
  1155.                                                                 Print
  1156.                              commands.
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.                                        -
  1163.                                     -56                       10/04/93
  1164.  
  1165.  
  1166.  
  1167.                                         UUPC/extended Command Reference
  1168.                                                       Command Reference
  1169.                                                       Command Reference
  1170.  
  1171.  
  1172.  
  1173.            undelete          Changes status of messages to unread.
  1174.            messages
  1175.  
  1176.  
  1177.                  messages
  1178.            write             Writes messages    file 
  1179.                                              to      without the RFC-822
  1180.            file              headers and then deletes them.  The default
  1181.                              file    ~/mbox
  1182.                                      ~/mbox
  1183.                                      ~/mbox
  1184.                                   is       .  Compare this to the copy
  1185.                                                                   copy
  1186.                                                                   copy
  1187.                              and      commands.
  1188.                                  save
  1189.                                  save
  1190.                                  save
  1191.  
  1192.  
  1193.            xit               Alias for the      command.
  1194.                                            exit
  1195.                                            exit
  1196.                                            exit
  1197.  
  1198.  
  1199.           Subcommands available while sending mail:
  1200.  
  1201.                ~a        Insert standard signature file.
  1202.  
  1203.                ~A        Insert alternate signature file.
  1204.  
  1205.                ~e        Invoke editor on current message.
  1206.  
  1207.                   item
  1208.                ~m        Include body of message(s) defined by     ,
  1209.                                                                item
  1210.                          indented.
  1211.  
  1212.                   item
  1213.                ~M        Include message(s) define by      with headers,
  1214.                                                       item
  1215.                          indented.
  1216.  
  1217.                   item
  1218.                ~f        Include body of message(s) defined by     ,
  1219.                                                                item
  1220.                          unindented.
  1221.  
  1222.                   item
  1223.                ~F        Include message(s) define by      with headers,
  1224.                                                       item
  1225.                          unindented.
  1226.  
  1227.                ~p        Print message entered so far using external
  1228.                          pager.
  1229.  
  1230.                ~P        Print message entered so far.
  1231.  
  1232.                   file
  1233.                ~r        Read in an arbitrary file.
  1234.  
  1235.                ~s        Add new subject or replace existing subject with
  1236.                subject   subject
  1237.  
  1238.                ~v        Alias for ~e command (for compatibility with
  1239.                          UNIX sendmail).
  1240.  
  1241.                ~?        Display this mail subcommand list.
  1242.  
  1243.                  cmd
  1244.                ~|        Filter message entered so far through cmd
  1245.  
  1246.                  cmd
  1247.                ~!        Execute command (does not alter message)
  1248.  
  1249.                ~~        Enter a data line beginning with a tilde (~)
  1250.  
  1251.           10/04/93                   - 57 -
  1252.  
  1253.  
  1254.  
  1255.           UUPC/extended 
  1256.                         
  1257.                         1.12b Installation and 
  1258.                               Installation and 
  1259.                               Installation and User's Reference
  1260.                                                User's Reference
  1261.                                                User's Reference
  1262.  
  1263.  
  1264.  
  1265.  
  1266.           When entering mail at the ? prompt, use these commands by putting
  1267.           the ~ in column 1.
  1268.  
  1269.               Note:
  1270.               Note:
  1271.               Note: The ~m
  1272.                         ~m
  1273.                         ~m and ~M
  1274.                                ~M
  1275.                                ~M commands use the same syntax to describe
  1276.                     for items as the main mail parser; this allows
  1277.                     specifying message number(s), user id, or subject.
  1278.                     Type "help" at a MAIL prompt for a detailed description
  1279.                     of the allowed syntax.
  1280.  
  1281.               Note:
  1282.               Note:
  1283.               Note: The exact meaning of ~p
  1284.                                          ~p
  1285.                                          ~p and ~P
  1286.                                                 ~P
  1287.                                                 ~P commands can be inverted
  1288.                     by the use of the pager
  1289.                                       pager
  1290.                                       pager option.
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.             Files
  1297.             Files
  1298.             Files
  1299.  
  1300.           /uupc/tilde.hlp     Help file for tilde (~) commands when sending
  1301.           mail.
  1302.           /uupc/mail/[userid].spb  System Mailbox for [userid].
  1303.  
  1304.  
  1305.             Bugs
  1306.             Bugs
  1307.             Bugs
  1308.  
  1309.           Command line option checking is not as robust as it could be.
  1310.  
  1311.           The automatic advancing of the current item pointer to an
  1312.           undeleted item makes multiple operations on a deleted item
  1313.           interesting.
  1314.  
  1315.           Under MS-DOS, redirection from NUL looks like a device, not a
  1316.           file, and thus the program prompts for input when it has no
  1317.           business doing so.
  1318.  
  1319.           The copy command does not properly copy files to the printer
  1320.           under OS/2.
  1321.  
  1322.           MAIL incorrectly parses an return address with a quoted
  1323.           exclamation point, such as:
  1324.  
  1325.                "Smarter than the average bear!" <snuffles@kendra.kew.com>
  1326.  
  1327.           Some editors, like EDLIN, cause the signature file to be lost
  1328.           because the editor appends a ^Z (Ctrl-Z) to the file.
  1329.  
  1330.           The reply command gets confused by mixed mode addresses.
  1331.  
  1332.           How MAIL determines return addresses is sometimes flaky.
  1333.  
  1334.           The list of RFC-822 headers which are suppressed by the print
  1335.           command cannot be altered by the user; they are displayed in an
  1336.           all or nothing fashion.
  1337.                                     -58-                      10/04/93
  1338.  
  1339.  
  1340.  
  1341.                                         UUPC/extended Command Reference
  1342.                                                       Command Reference
  1343.                                                       Command Reference
  1344.  
  1345.  
  1346.           There is no 'Replyall' command to reply to all interested parties
  1347.           to a message.
  1348.  
  1349.           In MAIL, entering '1' should print the first item in the mailbox
  1350.           if the option 'autoprint' is set.  Currently, it doesn't.
  1351.  
  1352.           The list of ignored headers is not configurable.
  1353.  
  1354.           The user cannot configure which header lines are used by MAIL in
  1355.           determining From or Replyto addresses.
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.             See Also
  1363.             See Also
  1364.             See Also
  1365.  
  1366.             RMAIL
  1367.  
  1368.  
  1369.             History
  1370.             History
  1371.             History
  1372.  
  1373.           This is the 23rd revision of this document and was last updated
  1374.           on October 4, 1993 by Katherine Derbyshire.
  1375.  
  1376.           1993UUPC/extended
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.           10/04/93                   - 59 -
  1406.  
  1407.  
  1408.  
  1409.           UUPC/extended 
  1410.                         
  1411.                         1.12b Installation and 
  1412.                               Installation and 
  1413.                               Installation and User's Reference
  1414.                                                User's Reference
  1415.                                                User's Reference
  1416.  
  1417.  
  1418.           NOVRSTRK
  1419.           NOVRSTRK
  1420.           NOVRSTRK
  1421.  
  1422.  
  1423.             Synopsis
  1424.             Synopsis
  1425.             Synopsis
  1426.  
  1427.             NOVRSTRK     [input-file [output-file]]
  1428.  
  1429.  
  1430.             Availability
  1431.             Availability
  1432.             Availability
  1433.  
  1434.             MS-DOS, OS/2, and Windows NT
  1435.  
  1436.  
  1437.             Description
  1438.             Description
  1439.             Description
  1440.  
  1441.           NOVRSTRK is used to strip overstrikes from files to allow viewing
  1442.           on a terminal.  If used to display the UUPC/extended
  1443.           documentation, it will drop the overstrikes created by back
  1444.           spaces which are used to create bold and underscored text on a
  1445.           printer.   The syntax of NOVRSTRK is:
  1446.  
  1447.             NOVRSTRK     [input-file [output-file]]
  1448.  
  1449.           The default input and output files are the console.
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.                                     -60-                      10/04/93
  1482.  
  1483.  
  1484.  
  1485.                                         UUPC/extended Command Reference
  1486.                                                       Command Reference
  1487.                                                       Command Reference
  1488.  
  1489.  
  1490.           RMAIL
  1491.           RMAIL
  1492.           RMAIL
  1493.  
  1494.  
  1495.             Synopsis
  1496.             Synopsis
  1497.             Synopsis
  1498.  
  1499.             RMAIL   [[-f | -F] filename] [-x debug] address(es)
  1500.             RMAIL   [[-f | -F] filename] [-x debug] [-s subject] -w
  1501.             address(es) [-c address(es)] [[-b address(es)]
  1502.             RMAIL   [[-f | -F] filename] [-x debug] -t
  1503.  
  1504.  
  1505.             Availability
  1506.             Availability
  1507.             Availability
  1508.  
  1509.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  1510.  
  1511.  
  1512.             Description
  1513.             Description
  1514.             Description
  1515.  
  1516.           RMAIL is the Mail Delivery Agent (MDA) for UUPC/extended.  That
  1517.           is, other programs such as MAIL and UUXQT pass it mail for
  1518.           delivery on standard input (STDIN), and RMAIL then handles actual
  1519.           writing to local mailboxes and/or queuing for remote systems.
  1520.           RMAIL is designed to be invoked from other programs, and as such,
  1521.           end-users should never have to invoke RMAIL directly.  The
  1522.           following information is included primarily for those who need to
  1523.           invoke RMAIL from another program, such as an external news
  1524.           reader.
  1525.  
  1526.           RMAIL operates in one of three modes:
  1527.  
  1528.             As an RFC-822 parsing back-end to the MAIL user agent program
  1529.             As a stand alone mailer for utility programs such as UUXQT
  1530.             As substitute for the UNIX RMAIL program invoked by UUXQT for
  1531.             remote mail delivery.
  1532.  
  1533.           These three operating modes are described below.
  1534.  
  1535.           The general syntax of RMAIL is as follows:
  1536.  
  1537.             RMAIL   [[-f | -F] filename] [-x debug] address(es)
  1538.             RMAIL   [[-f | -F] filename] [-x debug] [-s subject] -w
  1539.             address(es) [-c address(es)] [[-b address(es)]
  1540.             RMAIL   [[-f | -F] filename] [-x debug] -t
  1541.  
  1542.           Where:
  1543.  
  1544.             -b address(es)    Specifies optional blind carbon copy
  1545.                       address(es).  Must follow all other flags and
  1546.                       addresses.  Used only with -w flag.
  1547.  
  1548.             -c address(es)    Specifies optional carbon copy address(es).
  1549.                       Must follow all other flags and addresses except
  1550.                       for the -b flags and its associated addresses.
  1551.  
  1552.  
  1553.           10/04/93                   - 61 -
  1554.  
  1555.  
  1556.  
  1557.           UUPC/extended 
  1558.                         
  1559.                         1.12b Installation and 
  1560.                               Installation and 
  1561.                               Installation and User's Reference
  1562.                                                User's Reference
  1563.                                                User's Reference
  1564.  
  1565.  
  1566.             -f filename  Specifies filename is to be used in place of
  1567.                       standard input
  1568.  
  1569.             -F filename  Specifies filename is to be used in place of
  1570.                       standard input.  The file is deleted after use.
  1571.  
  1572.             -s subject   Optional subject.  Used with and implies the -w
  1573.                       flag.
  1574.  
  1575.             -t        Enables RFC-822 header parsing mode.
  1576.  
  1577.             -w        Enable stand-alone mailer mode.
  1578.  
  1579.             -x debug  Display debug messages at or below level debug.
  1580.                       The default value is 1.  The option may be set to 0
  1581.                       for unattended production use, or as high 20 for
  1582.                       detailed debugging.
  1583.  
  1584.             address(es)  One or more addresses the mail is to be
  1585.                       delivered to.  Not used with -t flag, but required
  1586.                       for other modes.
  1587.  
  1588.                RFC-822 Mode
  1589.                RFC-822 Mode
  1590.                RFC-822 Mode
  1591.  
  1592.           In RFC-822 mode, RMAIL is invoked with the (-t
  1593.                                                       -t
  1594.                                                       -t) flag, which
  1595.           directs RMAIL to determine the addresses by parsing the mail's
  1596.           RFC-822 header.  This mode acts as the back-end to a program such
  1597.           as MAIL which generates a the RFC-822 header and passes the mail
  1598.           to RMAIL for both local and remote delivery.  RMAIL reads the
  1599.           header, validates the From:
  1600.                                 From:
  1601.                                 From: address, generates a a UUCP From
  1602.                                                                   From
  1603.                                                                   From
  1604.           line, RFC-822 Message-ID:
  1605.                         Message-ID:
  1606.                         Message-ID: and Received:
  1607.                                         Received:
  1608.                                         Received: lines, and delivers mail
  1609.           to each address included in  the To:
  1610.                                            To:
  1611.                                            To:, Cc:
  1612.                                                 Cc:
  1613.                                                 Cc:, and Bcc:
  1614.                                                          Bcc:
  1615.                                                          Bcc: headers.  The
  1616.           Bcc:
  1617.           Bcc:
  1618.           Bcc: header, if any, is read for its addresses but not copied;
  1619.           all other header lines are copied as-is.
  1620.  
  1621.               Note:
  1622.               Note:
  1623.               Note: When an RFC-822 header prefixed by Resent-
  1624.                                                        Resent-
  1625.                                                        Resent- is found,
  1626.                     only the Resent-
  1627.                              Resent-
  1628.                              Resent- headers are used; the original headers
  1629.                     are copied but otherwise ignored.  In this case, the
  1630.                     preceding description applies to the Resent-
  1631.                                                          Resent-
  1632.                                                          Resent- headers;
  1633.                     the original headers are copied without being examined.
  1634.  
  1635.           The RFC-822 header read by RMAIL is subject to the following
  1636.           restrictions:
  1637.  
  1638.             All Resent-
  1639.                 Resent-
  1640.                 Resent- headers, if any, must precede the original
  1641.             headers.
  1642.  
  1643.             The From:
  1644.                 From:
  1645.                 From: header must precede the To:
  1646.                                               To:
  1647.                                               To: header.
  1648.  
  1649.               Note:
  1650.               Note:
  1651.               Note: If the address in the From:
  1652.                                           From:
  1653.                                           From: header does not match the
  1654.                     address of the user defined in the UUPC.RC and/or
  1655.                     [userid].RC files, a Sender:
  1656.                                          Sender:
  1657.                                          Sender: line is generated with the
  1658.                     correct address.
  1659.  
  1660.  
  1661.                                     -62-                      10/04/93
  1662.  
  1663.  
  1664.  
  1665.                                         UUPC/extended Command Reference
  1666.                                                       Command Reference
  1667.                                                       Command Reference
  1668.  
  1669.  
  1670.             The To:
  1671.                 To:
  1672.                 To:, Cc:
  1673.                      Cc:
  1674.                      Cc:, and Bcc:
  1675.                               Bcc:
  1676.                               Bcc: headers must be together in the listed
  1677.             order.  Each address in these headers must begin on a new line
  1678.             and be less than 512 bytes long.
  1679.  
  1680.                Stand alone Mode
  1681.                Stand alone Mode
  1682.                Stand alone Mode
  1683.  
  1684.           In stand alone mode, RMAIL is invoked with the (-w
  1685.                                                           -w
  1686.                                                           -w) flag to
  1687.           process mail without an existing RFC-822 header, bypassing the
  1688.           Mail User Agent (MAIL) for specialized applications such as mail
  1689.           generated by another program.  This mail is subject to the
  1690.           following restrictions:
  1691.  
  1692.                Mail is not logged in the user's outgoing mailbox
  1693.  
  1694.                The user's signature file is not appended to the mail
  1695.  
  1696.                User aliases are not expanded
  1697.  
  1698.                All addresses plus the subject (if any) must fit on the MS-
  1699.                DOS or OS/2 command line
  1700.  
  1701.           The following services are performed by RMAIL in stand alone
  1702.           mode:
  1703.  
  1704.                A UUCP From
  1705.                       From
  1706.                       From line is generated.
  1707.  
  1708.                A valid RFC-822 header is generated with Received:
  1709.                                                         Received:
  1710.                                                         Received:, Date:
  1711.                                                                    Date:
  1712.                                                                    Date:,
  1713.                Message-ID:
  1714.                Message-ID:
  1715.                Message-ID:, From:
  1716.                             From:
  1717.                             From:, and To:
  1718.                                        To:
  1719.                                        To: lines.  In addition, Subject:
  1720.                                                                 Subject:
  1721.                                                                 Subject:
  1722.                and Cc:
  1723.                    Cc:
  1724.                    Cc: lines are generated as required if the Subject (-s
  1725.                                                                        -s
  1726.                                                                        -s)
  1727.                and/or Carbon Copy (-c
  1728.                                    -c
  1729.                                    -c) options are specified.
  1730.  
  1731.                The generated RFC-822 header also includes a From: 
  1732.                                                             From: 
  1733.                                                             From: user id
  1734.                derived from the environment variable LOGNAME
  1735.                                                      LOGNAME
  1736.                                                      LOGNAME24, if defined;
  1737.                otherwise the default current user is used.  When LOGNAME 
  1738.                                                                  LOGNAME 
  1739.                                                                  LOGNAME is
  1740.                defined the real name of the user will be taken from the
  1741.                UUPC/extended PASSWD file if available, or a dummy name will
  1742.                be used.25
  1743.  
  1744.                Mail is queued for the addresses on the command line,
  1745.                including primary addresses, carbon copied addresses, and
  1746.                blind carbon coped addresses.  As with RFC-822 mode, the
  1747.                output of RMAIL in stand alone mode does not include any
  1748.                reference to blind carbon copy users in the actual mail
  1749.                header.
  1750.  
  1751.                               
  1752.  
  1753.           24Note that this is an operating system environment variable, not
  1754.                                                                         not
  1755.                                                                         not
  1756.           a UUPC.RC or [userid].RC variable.
  1757.  
  1758.           25"Postmaster" is used for the user id defined as Postmaster in
  1759.           UUPC.RC and for the address POSTMASTER, "UNIX-to-UNIX Copy" for
  1760.           the userid UUCP.  For all other undefined addresses, the real
  1761.           name is set to the same value as the userid itself.
  1762.  
  1763.           10/04/93                   - 63 -
  1764.  
  1765.  
  1766.  
  1767.           UUPC/extended 
  1768.                         
  1769.                         1.12b Installation and 
  1770.                               Installation and 
  1771.                               Installation and User's Reference
  1772.                                                User's Reference
  1773.                                                User's Reference
  1774.  
  1775.  
  1776.                UNIX RMAIL Emulation Mode
  1777.                UNIX RMAIL Emulation Mode
  1778.                UNIX RMAIL Emulation Mode
  1779.  
  1780.           In UNIX RMAIL emulation mode, the default, the following
  1781.           processing takes place:
  1782.  
  1783.                Mail is read in to a temporary file.  The UUCP From 
  1784.                                                               From 
  1785.                                                               From line,
  1786.                which is the first line in the file, is parsed and stripped
  1787.                from the mail.  No other mail headers are examined.
  1788.  
  1789.                Mail is delivered to each local user on the command line
  1790.                with a UUCP From 
  1791.                            From 
  1792.                            From line generated from the system name(s)
  1793.                parsed from the incoming From
  1794.                                         From
  1795.                                         From line.
  1796.  
  1797.                Mail is delivered to all other users on the command line
  1798.                with a UUCP From
  1799.                            From
  1800.                            From line generated from the system name(s)
  1801.                parsed from the incoming From
  1802.                                         From
  1803.                                         From line with the system name
  1804.                UUXQT received the mail from prefixed to the list unless it
  1805.                is already the first system in the list.
  1806.  
  1807.               Note:
  1808.               Note:
  1809.               Note: UUXQT normally passes the incoming system name in the
  1810.                     UU_MACHINE
  1811.                     UU_MACHINE
  1812.                     UU_MACHINE environment variable, if set.  Otherwise,
  1813.                     the incoming system name is taken from the "remote from
  1814.                     system" portion of the From
  1815.                                            From
  1816.                                            From line.  If this data is also
  1817.                     missing or invalid, the incoming system name is
  1818.                     generated as being from the local system and user id
  1819.                     /dev/null.26
  1820.  
  1821.  
  1822.             Bugs
  1823.             Bugs
  1824.             Bugs
  1825.  
  1826.           All RFC-822 address data within quotes is ignored.  It should be
  1827.           processed in accordance to RFC-822.
  1828.  
  1829.           Input to the program RMAIL in local address mode (-t option) must
  1830.           be in a specific format.  It should accept any valid RFC-822
  1831.           input. When sending mail, headers cannot be edited once entered.
  1832.  
  1833.           With the bounce 
  1834.                    bounce 
  1835.                    bounce option enabled, RMAIL only bounces mail back to
  1836.           the address it parsed from the information passed by UUXQT; it
  1837.           does not examine the RFC-822 headers for fields such as Errors-
  1838.                                                                   Errors-
  1839.                                                                   Errors-
  1840.           To:
  1841.           To:
  1842.           To:.
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.                               
  1852.  
  1853.           26This behavior is based on the similar behavior of the BSD
  1854.           sendmail program.  Why it does it is beyond the scope of this
  1855.           document (or most human understanding).
  1856.  
  1857.                                     -64-                      10/04/93
  1858.  
  1859.  
  1860.  
  1861.                                         UUPC/extended Command Reference
  1862.                                                       Command Reference
  1863.                                                       Command Reference
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.           10/04/93                   - 65 -
  1922.  
  1923.  
  1924.  
  1925.           UUPC/extended 
  1926.                         
  1927.                         1.12b Installation and 
  1928.                               Installation and 
  1929.                               Installation and User's Reference
  1930.                                                User's Reference
  1931.                                                User's Reference
  1932.  
  1933.  
  1934.           RNEWS
  1935.           RNEWS
  1936.           RNEWS
  1937.  
  1938.  
  1939.             Synopsis
  1940.             Synopsis
  1941.             Synopsis
  1942.  
  1943.             RNEWS   [[-f | -F] filename] [-x debug]
  1944.  
  1945.  
  1946.             Availability
  1947.             Availability
  1948.             Availability
  1949.  
  1950.             MS-DOS, OS/2, and Windows NT
  1951.  
  1952.  
  1953.             Description
  1954.             Description
  1955.             Description
  1956.  
  1957.           RNEWS processes incoming news from other systems, and is normally
  1958.           never directly invoked by the user.  It is invoked automatically
  1959.           by UUXQT upon the arrival of news at the local system, reading
  1960.           the news on standard input.  RNEWS operates in one of two modes:
  1961.           regular mode and SNEWS mode, described below.
  1962.  
  1963.           The syntax of RNEWS is as follows:
  1964.  
  1965.           RNEWS     [[-f|-F] filename] [-x debug]
  1966.  
  1967.           Where:
  1968.  
  1969.             -f filename  Specifies filename is to be used in place of
  1970.                       standard input
  1971.  
  1972.             -F filename  Specifies filename is to be used in place of
  1973.                       standard input, and the file is to be deleted after
  1974.                       use.
  1975.  
  1976.             -x debug  Display debug messages at or below level debug.
  1977.                       The default value is 1, but the option may set to 0
  1978.                       for unattended production use or as high 20 for
  1979.                       detailed debugging.
  1980.  
  1981.               Note:
  1982.               Note:
  1983.               Note: For RNEWS to correctly process compressed news (news
  1984.                     which has been compacted to take less time to be
  1985.                     transmitted to the local system), a decompression
  1986.                     program must be installed.  Unless this program is
  1987.                     named uncompre 
  1988.                           uncompre 
  1989.                           uncompre  and resides in the path searched by
  1990.                     UUXQT
  1991.                     UUXQT
  1992.                     UUXQT, the variable Uncompress 
  1993.                                         Uncompress 
  1994.                                         Uncompress must be defined in the
  1995.                     UUPC.RC file.  See the sample UUPC.RC and The
  1996.                                                               The
  1997.                                                               The
  1998.                     UUPC/extended UUPC.RC and [userid].RC files
  1999.                     UUPC/extended UUPC.RC and [userid].RC files
  2000.                     UUPC/extended UUPC.RC and [userid].RC files, page 91,
  2001.                     for details.
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.                                     -66-                      10/04/93
  2010.  
  2011.  
  2012.  
  2013.                                         UUPC/extended Command Reference
  2014.                                                       Command Reference
  2015.                                                       Command Reference
  2016.  
  2017.  
  2018.               Note:
  2019.               Note:
  2020.               Note: The compress program is not supplied with
  2021.                     UUPC/extended27.
  2022.  
  2023.                Regular Mode
  2024.                Regular Mode
  2025.                Regular Mode
  2026.  
  2027.           The regular mode of RNEWS enabled by specifying or defaulting the
  2028.           Boolean option nosnews
  2029.                          nosnews
  2030.                          nosnews in the UUPC.RC configuration file.  In
  2031.           this mode, RNEWS searches for the file ACTIVE in the
  2032.           UUPC/extended configuration directory, and reads this file for
  2033.           the local active news groups.  Any news received for groups not
  2034.           included in the ACTIVE file is discarded without comment.  A
  2035.           sample ACTIVE file is included with the UUPC/extended
  2036.           distribution.
  2037.  
  2038.           The format of the ACTIVE file defines one news group per line,
  2039.           with the format for each line as follows:
  2040.  
  2041.             news.group first last post
  2042.  
  2043.           Where:
  2044.  
  2045.             news.group   The name of the news group.
  2046.  
  2047.             first     The number of the first article currently on
  2048.                       system.  If no articles are on the system, the
  2049.                       number should be 0.
  2050.  
  2051.             last      The number of the last article on the system.  If
  2052.                       no articles are on the system, this number should
  2053.                       be 1.
  2054.  
  2055.             post      A single character describing whether or not local
  2056.                       users can post to the news group.  Y allows
  2057.                       unrestricted posting, N disallows all posting, and
  2058.                       M defines the group as moderated, and that posts
  2059.                       are to be forwarded to the moderator.
  2060.  
  2061.               Note:
  2062.               Note:
  2063.               Note: If the ACTIVE file does not exist or has gross format
  2064.                     errors, RNEWS will abort and the incoming news will be
  2065.                     lost.
  2066.  
  2067.           In regular mode, news is processed as follows:
  2068.  
  2069.           1.The ACTIVE file is loaded.
  2070.  
  2071.  
  2072.                               
  2073.  
  2074.           27Either compress or gzip can be used to uncompress compressed
  2075.           news.  Both can be found on many Internet archives.  Check at
  2076.           wuarchive.wustl.edu for MS-DOS versions, hobbes.nmsu.edu for OS/2
  2077.           versions.  NT versions do exist, but not at any particular public
  2078.           archives at this point.  Try rhino.microsoft.com,
  2079.           sunsite.unc.edu, or gowinnt.microsoft.com but no promises.
  2080.  
  2081.           10/04/93                   - 67 -
  2082.  
  2083.  
  2084.  
  2085.           UUPC/extended 
  2086.                         
  2087.                         1.12b Installation and 
  2088.                               Installation and 
  2089.                               Installation and User's Reference
  2090.                                                User's Reference
  2091.                                                User's Reference
  2092.  
  2093.  
  2094.           2.If the input file is compressed, the input is copied to a
  2095.             holding file and the user specified uncompress program is
  2096.             invoked to decompress the holding file.  It is then treated as
  2097.             batched news.
  2098.  
  2099.           3.If news is batched with multiple articles per file
  2100.             transferred, then the articles in the file are written to a
  2101.             temporary file one at a time.  The temporary file is then
  2102.             processed as a single article.
  2103.  
  2104.           4.For each article processed, the news groups line of the header
  2105.             is scanned.  For each group listed in the header which is also
  2106.             in the ACTIVE file, the article is copied to the group's
  2107.             directory under the next available article number.
  2108.  
  2109.           5.The ACTIVE file is written out with updated article numbers.
  2110.  
  2111.                SNEWS mode
  2112.                SNEWS mode
  2113.                SNEWS mode
  2114.  
  2115.           The SNEWS mode of RNEWS is enabled by specifying the Boolean
  2116.           option snews
  2117.                  snews
  2118.                  snews in the UUPC.RC configuration file.  In this mode,
  2119.           RNEWS does not uncompress or unbatch news, nor does it distribute
  2120.           news to directories based on the news groups for which the news
  2121.           is intended.  Rather, the files are written out in sequence in
  2122.           the UUPC/extended news directory with a file type of *.ART.
  2123.  
  2124.               Note:
  2125.               Note:
  2126.               Note: In SNEWS mode, the ACTIVE file need not exist, and is
  2127.                     ignored if it does exist.
  2128.  
  2129.  
  2130.             Bugs
  2131.             Bugs
  2132.             Bugs
  2133.  
  2134.           The invoked compress program may run out of memory if invoked on
  2135.           a memory constrained DOS system.
  2136.  
  2137.           RNEWS does not translate slashes (/) in file names to back
  2138.           slashes (\) to conform to DOS command line conventions.
  2139.  
  2140.           Updates to the ACTIVE file can be lost if RNEWS crashes while
  2141.           writing it.  Given an old ACTIVE file, the article numbers can be
  2142.           brought back up to date by running EXPIRE.
  2143.  
  2144.  
  2145.             See Also
  2146.             See Also
  2147.             See Also
  2148.  
  2149.             EXPIRE
  2150.  
  2151.  
  2152.             History
  2153.             History
  2154.             History
  2155.  
  2156.           This is the 23rd revision of this document and was last updated
  2157.           on October 4, 1993 by Katherine Derbyshire.
  2158.  
  2159.  
  2160.  
  2161.                                     -68-                      10/04/93
  2162.  
  2163.  
  2164.  
  2165.                                         UUPC/extended Command Reference
  2166.                                                       Command Reference
  2167.                                                       Command Reference
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198.  
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225.           10/04/93                   - 69 -
  2226.  
  2227.  
  2228.  
  2229.           UUPC/extended 
  2230.                         
  2231.                         1.12b Installation and 
  2232.                               Installation and 
  2233.                               Installation and User's Reference
  2234.                                                User's Reference
  2235.                                                User's Reference
  2236.  
  2237.  
  2238.           SU
  2239.           SU
  2240.           SU
  2241.  
  2242.  
  2243.             Synopsis
  2244.             Synopsis
  2245.             Synopsis
  2246.  
  2247.           SU userid [command]
  2248.  
  2249.  
  2250.             Availability
  2251.             Availability
  2252.             Availability
  2253.  
  2254.             MS-DOS and Windows NT (batch file)
  2255.  
  2256.             OS/2 (REXX script)
  2257.  
  2258.  
  2259.             Description
  2260.             Description
  2261.             Description
  2262.  
  2263.           SU changes the environment variable UUPCUSRRC to change the user
  2264.           profile of the user using UUPC/extended.  This allows multiple
  2265.           users to easily share the same PC for UUPC/extended.
  2266.  
  2267.               Note:
  2268.               Note:
  2269.               Note: Because SU is a batch file under DOS and Windows NT, it
  2270.                     does not 
  2271.                          not 
  2272.                          not examine UUPC.RC for the name of the
  2273.                     UUPC/extended configuration directory.  Thus, under DOS
  2274.                     and Windows NT, if the directory is not the default
  2275.                     \uupc, the SU command file must be edited to point at
  2276.                     the configuration directory.
  2277.  
  2278.           The syntax of the SU command is:
  2279.  
  2280.           SU userid [command]
  2281.  
  2282.           Where:
  2283.  
  2284.             userid    defines the user to use when setting the UUPCUSRRC
  2285.                       variable.  The file \UUPC\[userid].RC must exist.
  2286.  
  2287.             command   defines the optional command to execute as this
  2288.                       user, i.e. MAIL.  The default is to run a second
  2289.                       copy of COMMAND.COM.  The default user id restored
  2290.                       by typing EXIT to terminate the inferior command
  2291.                       processor.
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.  
  2303.  
  2304.  
  2305.                                     -70-                      10/04/93
  2306.  
  2307.  
  2308.  
  2309.                                         UUPC/extended Command Reference
  2310.                                                       Command Reference
  2311.                                                       Command Reference
  2312.  
  2313.  
  2314.           UUCICO
  2315.           UUCICO
  2316.           UUCICO
  2317.  
  2318.  
  2319.             Synopsis
  2320.             Synopsis
  2321.             Synopsis
  2322.  
  2323.             uucico [-r 1] [-s system] [-x debug] [-l logname] [-m inmodem]
  2324.             [-n] [-t]
  2325.  
  2326.             uucico -r 0 [-w user] [-x debug] [-z baudrate] [-l logname] [-
  2327.             d hhmm] [-t]
  2328.  
  2329.  
  2330.             Availability
  2331.             Availability
  2332.             Availability
  2333.  
  2334.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  2335.  
  2336.  
  2337.             Description
  2338.             Description
  2339.             Description
  2340.  
  2341.           UUCICO performs the actual exchange of files with other systems.
  2342.           Normally, UUCICO is invoked from either UUPOLL or UUIO, but the
  2343.           program can also be invoked directly.  To make UUCICO call all
  2344.           connected systems to deliver and pickup remote mail and files:
  2345.  
  2346.             UUCICO -s all
  2347.  
  2348.           This directs UUCICO to poll all the systems listed in the SYSTEMS
  2349.           file.
  2350.  
  2351.           To make UUCICO wait for an incoming call:
  2352.  
  2353.             BREAK ON
  2354.             UUCICO -r 0
  2355.  
  2356.           UUCICO will wait for a successful telephone call, and exit upon
  2357.           completion.  Entering Ctrl-Break from the keyboard will terminate
  2358.           UUCICO.28
  2359.  
  2360.           Under OS/2 only, when UUCICO is invoked in passive mode to listen
  2361.           for a phone to ring, it will automatically surrender the port to
  2362.           a UUCICO calling out or the program UUPORT.  If a calling out
  2363.           UUCICO suspends a passive UUCICO, it will automatically wake up
  2364.           the sleeping UUCICO to take the port back.  If UUPORT is used to
  2365.           suspend a UUCICO, UUPORT must be invoked a second to reactivate
  2366.           the sleeping UUCICO.
  2367.  
  2368.           The full list of options supported by UUCICO is as follows:
  2369.  
  2370.                               
  2371.  
  2372.           28The BREAK ON command is required to insure that MS-DOS polls
  2373.           the keyboard for the Ctrl-Break sequence; otherwise, you may have
  2374.           to reboot your system to terminate UUCICO.  BREAK ON is always
  2375.           enabled under OS/2, Windows 3.x, and Windows NT.
  2376.  
  2377.           10/04/93                   - 71 -
  2378.  
  2379.  
  2380.  
  2381.           UUPC/extended 
  2382.                         
  2383.                         1.12b Installation and 
  2384.                               Installation and 
  2385.                               Installation and User's Reference
  2386.                                                User's Reference
  2387.                                                User's Reference
  2388.  
  2389.  
  2390.             -d hhmm   Duration.  If specified, this flag specifies that
  2391.                       UUCICO running in passive mode is terminate after
  2392.                       hh:mm (hours and minutes).  Note that this is a
  2393.                       duration, not an end time.
  2394.  
  2395.               Note:
  2396.               Note:
  2397.               Note: This flag replaces the execute period flag (-u) in
  2398.                     previous versions of UUCICO.
  2399.  
  2400.             -l logname   Specifies the name of the log file used by
  2401.                       UUCICO.  The default extension is ".LOG" and the
  2402.                       default log file is UUCICO.LOG.
  2403.  
  2404.             -m inmodem   Specifies the name of the modem file to use for
  2405.                       passive polling.  This flag implies the -r 0 flag.
  2406.                       The default is to use the value of the UUPC.RC
  2407.                       variable InModem
  2408.                                InModem
  2409.                                InModem for passive polling.
  2410.  
  2411.             -r 0      Slave Mode: initializes the modem and waits for the
  2412.                       telephone to ring with an incoming call; presenting
  2413.                       the caller with a UNIX style login prompt.  This
  2414.                       option is modified by the -d, -w, -x, and -z
  2415.                       options.
  2416.  
  2417.             -r 1      Master Mode: actively poll (call out) to the system
  2418.                       defined by the -s option.  This option is the
  2419.                       default, and is modified by the -n and -s options.
  2420.  
  2421.             -n        Call now flag:  when specified, UUCICO ignores the
  2422.                       time fields defined in the SYSTEM file when
  2423.                       determining if a system should be called, and
  2424.                       treats all systems as if they were defined with a
  2425.                       time of "any".
  2426.  
  2427.             -s sysname   System name to call.  Default is to call "any",
  2428.                       which is any system the local system has work
  2429.                       queued for.  Sysname may also be specified as
  2430.                       "all", which requests all systems listed in the
  2431.                       systems file be called, or as the name of any
  2432.                       system listed the systems file.  This option is
  2433.                       ignored when -r 0 is specified.
  2434.  
  2435.             -t        Trace all data sent or received through
  2436.                       communications port to file LINEDATA.LOG in the
  2437.                       spool directory.
  2438.  
  2439.             -w who    Begin processing in slave mode as if user who had
  2440.                       just logged in.  This option is for use when
  2441.                       another program has answered the modem and
  2442.                       validated the user id.  It implies the -r 0 option
  2443.                       and is modified by the -z option.
  2444.  
  2445.             -x debug  Display debug messages at or below level debug.
  2446.                       The default value is 1, but the option may set to 0
  2447.                       for unattended production use, or as high 20 for
  2448.                       detailed debugging.
  2449.                                     -72-                      10/04/93
  2450.  
  2451.  
  2452.  
  2453.                                         UUPC/extended Command Reference
  2454.                                                       Command Reference
  2455.                                                       Command Reference
  2456.  
  2457.  
  2458.               Note:
  2459.               Note:
  2460.               Note: Use of debug level 5 or higher for extended periods of
  2461.                     time is not recommended as it will rapidly fill your
  2462.                     hard disk with debugging output.
  2463.  
  2464.             -z bps    Set modem speed to bps bits per second when used
  2465.                       with -w option.  The default speed is the speed
  2466.                       listed in the modem definition file defined in the
  2467.                       UUPC.RC variable InModem
  2468.                                        InModem
  2469.                                        InModem.  This option is ignored
  2470.                       if -w is not specified.
  2471.  
  2472.  
  2473.             Exit codes
  2474.             Exit codes
  2475.             Exit codes
  2476.  
  2477.             UUCICO 
  2478.                    
  2479.                    exits with a status of 0 if it manages to successfully
  2480.             connect to at least one remote machine while it was running.
  2481.  
  2482.             Other exit codes and their meaning:
  2483.  
  2484.                5    A normal exit, but UUCICO never managed to connect to
  2485.                any remote sites.
  2486.                69   The program aborted due to a panic situation.
  2487.                100  The user pressed Ctrl-C to terminate UUCICO.
  2488.  
  2489.  
  2490.             Bugs
  2491.             Bugs
  2492.             Bugs
  2493.  
  2494.           On UNIX systems, the default for UUCICO is -r 0 (to be called)
  2495.           rather than -r 1 (call out).  UUCICO -r 1 is a more reasonable
  2496.           default for a PC, but might be unexpected for a UNIX expert.
  2497.  
  2498.           DECUS UUCP 1.1 won't exchange protocol information with
  2499.           UUPC/extended.  A fix for DECUS UUCP 1.1 was posted to the net,
  2500.           and the bug is also fixed in version 1.2.
  2501.  
  2502.           UUPC/extended forces communications to No Parity, 8 data bits, 1
  2503.           stop bit, no in-band flow control.
  2504.  
  2505.               Note
  2506.               Note
  2507.               Note: This is a requirement of the UUCP "g" protocol, which
  2508.                     requires a transparent data line, and thus is a
  2509.                     permanent restriction for "g" protocol connections.
  2510.  
  2511.           The -w option doesn't work properly under OS/2 or Windows NT.
  2512.           Under OS/2, the handle of the open port should be passed.
  2513.  
  2514.           The 32 bit OS/2 version of UUCICO does not support automatically
  2515.           suspending its access to a port it is listening on.  This will be
  2516.           corrected in a future release.
  2517.  
  2518.           If  UUCICO is suspended, woken up, and resuspended immediately,
  2519.           the second suspend may fail because the UUCICO has not finished
  2520.           reinitializing the modem yet.
  2521.  
  2522.           If for some reason UUCICO is not woken up after being suspended
  2523.           (if, for example, the suspending program crashes), the suspended
  2524.  
  2525.           10/04/93                   - 73 -
  2526.  
  2527.  
  2528.  
  2529.           UUPC/extended 
  2530.                         
  2531.                         1.12b Installation and 
  2532.                               Installation and 
  2533.                               Installation and User's Reference
  2534.                                                User's Reference
  2535.                                                User's Reference
  2536.  
  2537.  
  2538.           UUCICO will do a Rip Van Winkle and sleep forever.  It must be
  2539.           killed or manually woken up using UUPORT.
  2540.  
  2541.           Named pipes under OS/2 are incredibly inefficient, with low
  2542.           throughput (~2K bytes per second on a loop back) and high CPU
  2543.           usage.  It is unclear if this is a UUCICO bug or lossage in the
  2544.           operating system itself.
  2545.  
  2546.           UUCICO uses operating system messages when possible for operating
  2547.           system API errors (such as communications port errors) under OS/2
  2548.           and Windows NT.  However, it does not perform parameter
  2549.           substitution, meaning percent signs (%) followed by a single
  2550.           numeric digit may show up in error message text.
  2551.  
  2552.           Under OS/2, UUCICO runs at a raised priority to improve
  2553.           throughput.  While this presents no noticeable impact on response
  2554.           time with the IBM serial port driver, the publicly available
  2555.           SIO.SYS driver may take sufficient CPU time to affect interactive
  2556.           response time.  The Priority
  2557.                               Priority
  2558.                               Priority keyword in the [modem].MDM file can
  2559.           be used to adjust the UUCICO priority under OS/2.
  2560.  
  2561.           Under Windows 3.1, UUCICO crashes UUPOLL when UUCICO exits.
  2562.  
  2563.  
  2564.             See Also
  2565.             See Also
  2566.             See Also
  2567.  
  2568.             UUPOLL, UUIO, UUXQT, RMAIL, UUPORT, and RNEWS
  2569.  
  2570.  
  2571.             History
  2572.             History
  2573.             History
  2574.  
  2575.           This is the 23rd revision of this document and was last updated
  2576.           on October 4, 1993 by Katherine Derbyshire.
  2577.  
  2578.           1993UUPC/extended
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.                                     -74-                      10/04/93
  2600.  
  2601.  
  2602.  
  2603.                                         UUPC/extended Command Reference
  2604.                                                       Command Reference
  2605.                                                       Command Reference
  2606.  
  2607.  
  2608.           UUCLEAN
  2609.           UUCLEAN
  2610.           UUCLEAN
  2611.  
  2612.  
  2613.             Synopsis
  2614.             Synopsis
  2615.             Synopsis
  2616.  
  2617.           UUCLEAN [spooldir [tempdir]]
  2618.  
  2619.  
  2620.             Availability
  2621.             Availability
  2622.             Availability
  2623.  
  2624.             MS-DOS and Windows NT (batch file)
  2625.  
  2626.             OS/2 (REXX script)
  2627.  
  2628.  
  2629.             Description
  2630.             Description
  2631.             Description
  2632.  
  2633.           UUCLEAN ages log files through five generations and clears old
  2634.           UUPC/extended temporary files from the spool and temporary
  2635.           directories.  Under OS/2, UUCLEAN also executes UNDELETE to purge
  2636.           these files and other spool files from the OS/2 undelete cache.
  2637.           UUCLEAN must be executed when programs which create log files
  2638.           (UUCICO, UUXQT, and RMAIL)  are not running.
  2639.  
  2640.               Note:
  2641.               Note:
  2642.               Note: Under DOS and Windows NT, UUCLEAN does not clean log
  2643.                     files created in the spool directory created with non-
  2644.                     standard names via use of the UUCICO log file (-l)
  2645.                     flag.
  2646.  
  2647.           The syntax of the UUCLEAN command is:
  2648.  
  2649.           UUCLEAN [spooldir [tempdir]]
  2650.  
  2651.           Where:
  2652.  
  2653.             spooldir  Specifies the UUPC/extended spool directory to
  2654.                       clean.  The default is \uupc\spool on the current
  2655.                       drive.
  2656.  
  2657.               Note:
  2658.               Note:
  2659.               Note: Because UUCLEAN is a batch file under DOS and Windows
  2660.                     NT, it does not 
  2661.                                 not 
  2662.                                 not examine UUPC.RC.  Therefore, the file
  2663.                     must be edited if you do not use the default directory
  2664.                     structure and do use UUCLEAN.
  2665.  
  2666.             tempdir   Specifies the temporary directory to clean.  The
  2667.                       default is the value of the TEMP environment
  2668.                       variable.
  2669.  
  2670.               Note:
  2671.               Note:
  2672.               Note: tempdir is a positional argument.  If you want to
  2673.                     specify tempdir, you must also specify spooldir.
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.           10/04/93                   - 75 -
  2680.  
  2681.  
  2682.  
  2683.           UUPC/extended 
  2684.                         
  2685.                         1.12b Installation and 
  2686.                               Installation and 
  2687.                               Installation and User's Reference
  2688.                                                User's Reference
  2689.                                                User's Reference
  2690.  
  2691.  
  2692.           UUIO
  2693.           UUIO
  2694.           UUIO
  2695.  
  2696.           UUIO is a batch file which executes UUSTAT -q and UUCICO followed
  2697.           by UUXQT.  All UUIO command line arguments are passed to UUCICO.
  2698.           No user arguments are passed to UUSTAT or UUXQT.
  2699.  
  2700.               Note:
  2701.               Note:
  2702.               Note: The UUSTAT command can be deleted from the UUIO command
  2703.                     file with no loss of function.  It is included for the
  2704.                     informational display only.
  2705.  
  2706.           See UUCICO
  2707.               UUCICO
  2708.               UUCICO on page 70, above, for a description of the command
  2709.                     line arguments.
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.                                     -76-                      10/04/93
  2754.  
  2755.  
  2756.  
  2757.                                         UUPC/extended Command Reference
  2758.                                                       Command Reference
  2759.                                                       Command Reference
  2760.  
  2761.  
  2762.           UUCP
  2763.           UUCP
  2764.           UUCP
  2765.  
  2766.  
  2767.             Synopsis
  2768.             Synopsis
  2769.             Synopsis
  2770.  
  2771.             UUCP srcfile system!destfile          or
  2772.             UUCP system!srcfile destfile
  2773.  
  2774.             Availability
  2775.             Availability
  2776.             Availability
  2777.  
  2778.             MS-DOS, OS/2, and Windows NT
  2779.  
  2780.  
  2781.             Description
  2782.             Description
  2783.             Description
  2784.  
  2785.           UUCP queues binary or text files for transfer between two
  2786.           directly connected systems.  The basic UUCP command syntax is:
  2787.  
  2788.                UUCP srcfile system!destfile  or
  2789.                UUCP system!srcfile destfile
  2790.  
  2791.           The first example copies a local file (srcfile) to a remote host
  2792.           (system) as destfile.  The second example copies a file (srcfile)
  2793.           on a remote host (system) to the local file destfile.  Filenames
  2794.           may be specified as an absolute path name, relative to a user's
  2795.           home directory (~user/file), or a path relative to the UUCP
  2796.           public directory (~/name).
  2797.  
  2798.               Note:
  2799.               Note:
  2800.               Note: On most systems, access will be severely restricted.
  2801.                     Check with a user or system administrator on the remote
  2802.                     system before transferring files to possibly restricted
  2803.                     locations.
  2804.  
  2805.           For additional information on the UUCP command, see chapter 2 of
  2806.           Using UUCP and Usenet.
  2807.  
  2808.  
  2809.             Bugs
  2810.             Bugs
  2811.             Bugs
  2812.  
  2813.           Access checking is not as severely enforced as it would be on a
  2814.           true UNIX system, particularly for local originated UUCP
  2815.           commands.
  2816.  
  2817.           Multi-hop transfers don't work.
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.           10/04/93                   - 77 -
  2830.  
  2831.  
  2832.  
  2833.           UUPC/extended 
  2834.                         
  2835.                         1.12b Installation and 
  2836.                               Installation and 
  2837.                               Installation and User's Reference
  2838.                                                User's Reference
  2839.                                                User's Reference
  2840.  
  2841.  
  2842.           UUNAME
  2843.           UUNAME
  2844.           UUNAME
  2845.  
  2846.  
  2847.             Synopsis
  2848.             Synopsis
  2849.             Synopsis
  2850.  
  2851.             UUNAME [-l | -d ] [-x debug]
  2852.  
  2853.             Availability
  2854.             Availability
  2855.             Availability
  2856.  
  2857.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  2858.  
  2859.  
  2860.             Description
  2861.             Description
  2862.             Description
  2863.  
  2864.           UUNAME reports names of the remote systems defined to
  2865.           UUPC/extended via the SYSTEMS file or the local system name
  2866.           (nodename) defined in UUPC.RC.
  2867.  
  2868.           The syntax of the UUNAME command is:
  2869.  
  2870.           UUNAME [-l  | -d ] [-x debug]
  2871.  
  2872.           Where:
  2873.  
  2874.             -d        specifies the local domain name is to be reported.
  2875.  
  2876.             -l        specifies the local system name is to be reported.
  2877.  
  2878.             -x debug  Display debug messages at or below level debug.
  2879.                       The default value is 1.  The option may set to 0
  2880.                       for unattended production use, or as high 20 for
  2881.                       detailed debugging.
  2882.  
  2883.           The default is report all the defined remote systems instead.
  2884.  
  2885.  
  2886.             Bugs
  2887.             Bugs
  2888.             Bugs
  2889.  
  2890.           Too stupid to have any.
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.                                     -78-                      10/04/93
  2908.  
  2909.  
  2910.  
  2911.                                         UUPC/extended Command Reference
  2912.                                                       Command Reference
  2913.                                                       Command Reference
  2914.  
  2915.  
  2916.           UUPOLL
  2917.           UUPOLL
  2918.           UUPOLL
  2919.  
  2920.  
  2921.             Synopsis
  2922.             Synopsis
  2923.             Synopsis
  2924.  
  2925.             UUPOLL [-r 0 | 1] [-f firsttime] [-i hhmm] [-d hhmm] [-e hhmm]
  2926.             [-c hhmm] [-l logfile] [-m modem]
  2927.                [-B batchfile] [-C command]
  2928.  
  2929.  
  2930.             Availability
  2931.             Availability
  2932.             Availability
  2933.  
  2934.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  2935.  
  2936.  
  2937.             Description
  2938.             Description
  2939.             Description
  2940.  
  2941.           UUPOLL allows unattended operation of the PC, automatically
  2942.           running UUCICO on a timed basis.  Each time UUPOLL invokes
  2943.           UUCICO, it also automatically runs UUXQT to process any files
  2944.           received by UUCICO.
  2945.  
  2946.           To use UUPOLL to have UUCICO call out on a regular basis:
  2947.  
  2948.                UUPOLL -f 0240 -i 0600
  2949.  
  2950.           This will cause UUCICO to call out at 2:40 A.M. and every six
  2951.           hours thereafter until the user presses Ctrl-Break.  Both flags
  2952.           are specified as hhmm (hours and minutes).
  2953.  
  2954.           To use UUPOLL to have UUCICO call out on a regular basis, and
  2955.           automatically answer the telephone between outgoing calls:
  2956.  
  2957.             UUPOLL -f 0240 -i 0600 -r 0
  2958.  
  2959.           This will cause UUCICO to call out at 2:40 A.M. and every six
  2960.           hours thereafter until the user presses Ctrl-Break, and in
  2961.           addition UUCICO will be invoked in passive mode to answer the
  2962.           telephone between outgoing calls.
  2963.  
  2964.           The full list of arguments allowed by UUPOLL are as follows:
  2965.  
  2966.             -a hhmm   Automatically actively poll system "any" after each
  2967.                       successful incoming poll if hhmm seconds have
  2968.                       passed since last active poll.  This allows mail
  2969.                       delivered by incoming systems to be automatically
  2970.                       forwarded to systems the local system is allowed to
  2971.                       call out to.  The delay time may be specified  as
  2972.                       0, in which case UUCICO will actively poll system
  2973.                       "any" after every successful incoming telephone
  2974.                       call.  This option has no effect if -r 0 is not
  2975.                       specified.
  2976.  
  2977.  
  2978.  
  2979.           10/04/93                   - 79 -
  2980.  
  2981.  
  2982.  
  2983.           UUPC/extended 
  2984.                         
  2985.                         1.12b Installation and 
  2986.                               Installation and 
  2987.                               Installation and User's Reference
  2988.                                                User's Reference
  2989.                                                User's Reference
  2990.  
  2991.  
  2992.             -B command   Batch command to execute before each active call
  2993.                       at -i hhmm intervals.  Default is to execute no
  2994.                       commands before calling out.
  2995.  
  2996.             -c hhmm   Time to execute UUCLEAN to clean the spool
  2997.                       directory in hours and minutes.  The default is to
  2998.                       not run UUCLEAN.
  2999.  
  3000.             -C command   Command to run to clean spool directory at time
  3001.                       specified by -c flag.  The default is the run
  3002.                       UUCLEAN command with no operands.
  3003.  
  3004.             -d hhmm   Duration of polling in hours and minutes.  If the
  3005.                       exit (-e) flag is not specified, then after this
  3006.                       period UUPOLL exits.  If neither -d or -e is
  3007.                       specified, the default is poll until the user
  3008.                       presses Ctrl-Break.
  3009.  
  3010.             -e hhmm   Time of day that UUPOLL is to exit. If neither -d
  3011.                       or -e is specified, the default is poll until the
  3012.                       user presses Ctrl-Break.   If the specified time
  3013.                       has already passed and the duration (-d) flag is
  3014.                       not specified, then UUPOLL immediately exits.  If
  3015.                       the duration flag is specified, then UUPOLL will
  3016.                       poll if and only if the exit time (-e hhmm) would
  3017.                       be reached before the duration (-d hhmm) expires.
  3018.                       In any case, UUPOLL will exit no later than the
  3019.                       time specified by the exit time.
  3020.  
  3021.            Example: UUPOLL -e 2400 -d 2400 will always run until the next
  3022.                     midnight, but UUPOLL -e 300 -d 1200 will exit
  3023.                     immediately if it is more than 12 hours before 3 AM
  3024.                     (that is, the current time is before 3 PM).
  3025.  
  3026.             -f hhmm   First time to poll in hours and minutes.  Default
  3027.                       is to not actively poll unless the user specifies
  3028.                       an interval via -i, in which case the default is
  3029.                       the current time plus the interval.
  3030.  
  3031.               Note:
  3032.               Note:
  3033.               Note: UUPOLL automatically determines when it is later than
  3034.                     the specified first poll time and selects the available
  3035.                     next time to poll.  If it desired for UUPOLL to poll 24
  3036.                     hours a day, then the first poll time should be
  3037.                     specified as close to the previous midnight as
  3038.                     possible.
  3039.  
  3040.                     If, for example, the system is to poll at 6:13 AM, 2:13
  3041.                     PM, and 10:13 PM, UUPOLL must be invoked with:
  3042.  
  3043.                      UUPOLL -i 0800 -f 0613
  3044.  
  3045.                     Even if it is after 6:13 AM.
  3046.  
  3047.             -i hhmm   Interval to poll in hours and minutes.  Default is
  3048.                       0400 (4 hours) if -f is specified.
  3049.                                     -80-                      10/04/93
  3050.  
  3051.  
  3052.  
  3053.                                         UUPC/extended Command Reference
  3054.                                                       Command Reference
  3055.                                                       Command Reference
  3056.  
  3057.  
  3058.             -l log    log file name to pass to UUCICO.
  3059.  
  3060.             -m modem  modem name to pass to UUCICO for inbound calls.
  3061.  
  3062.             -r 0      Directs UUCICO to answer telephone between active
  3063.                       polls.  Default is to not answer the telephone.
  3064.  
  3065.             -r 1      Directs UUCICO not to answer the telephone, but to
  3066.                       actively poll after the interval specified with -i.
  3067.  
  3068.             -s system System name to poll.  Default is "all" for the
  3069.                       first poll, followed by "any" for succeeding polls,
  3070.                       which cannot be explicitly specified.
  3071.  
  3072.             -x debug  Debug level passed to UUCICO and UUXQT.  Default is
  3073.                       1.
  3074.  
  3075.               Note:
  3076.               Note:
  3077.               Note: Either -r, -i, or -f must be specified.
  3078.  
  3079.               Note:
  3080.               Note:
  3081.               Note: For additional information on the -l, -m, -s, -x, and
  3082.                     -r options, see the description of UUCICO on page 70,
  3083.                     above.
  3084.  
  3085.               Note:
  3086.               Note:
  3087.               Note: If you specify both the -r 0 and either the -f or -i
  3088.                     options, the effect is to have UUCICO invoked to answer
  3089.                     the telephone between the active polls defined by the -
  3090.                     f or -i options.
  3091.  
  3092.  
  3093.             Exit codes
  3094.             Exit codes
  3095.             Exit codes
  3096.  
  3097.             UUPOLL exits with a status of 0 if it ran, carried out its
  3098.             work, and exited without encountering any problems.
  3099.  
  3100.             Other exit codes and their meaning:
  3101.  
  3102.                69   The program aborted due to a panic situation.
  3103.                100  The user pressed Ctrl-C to terminate UUCICO.
  3104.  
  3105.  
  3106.             Bugs
  3107.             Bugs
  3108.             Bugs
  3109.  
  3110.             Polls after 2 AM on the day when daylight savings time begins
  3111.             or ends in the US will be off by one hour.  This is due to the
  3112.             way that UUPOLL handles (or fails to handle) days that are not
  3113.             24 hours long.  UUPOLL will not attempt to poll during the
  3114.             25th hour of such days, instead waiting for the first poll of
  3115.             the next day.
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.           10/04/93                   - 81 -
  3124.  
  3125.  
  3126.  
  3127.           UUPC/extended 
  3128.                         
  3129.                         1.12b Installation and 
  3130.                               Installation and 
  3131.                               Installation and User's Reference
  3132.                                                User's Reference
  3133.                                                User's Reference
  3134.  
  3135.  
  3136.           UUPORT
  3137.           UUPORT
  3138.           UUPORT
  3139.  
  3140.           Communicate with background UUCICO to surrender communications
  3141.           port.
  3142.  
  3143.  
  3144.             Synopsis
  3145.             Synopsis
  3146.             Synopsis
  3147.  
  3148.             UUPORT [-s | -r] port
  3149.  
  3150.  
  3151.             Availability
  3152.             Availability
  3153.             Availability
  3154.  
  3155.             OS/2 only (DOS under OS/2 yields interesting results.  See
  3156.             below)
  3157.  
  3158.  
  3159.             Description
  3160.             Description
  3161.             Description
  3162.  
  3163.           UUPORT contacts an OS/2 background UUCICO via a named pipe and
  3164.           requests the UUCICO to surrender or resume use of the
  3165.           communications port specified.  This allows another program to
  3166.           use the port without canceling the UUCICO waiting for the and
  3167.           restarting it by hand.
  3168.  
  3169.           The syntax of the UUPORT command is:
  3170.  
  3171.             UUPORT  [-s | -r] port
  3172.  
  3173.           where:
  3174.  
  3175.             -s        specifies the port is be surrendered.
  3176.  
  3177.             -r        use of the port is be resumed.
  3178.  
  3179.               Note:
  3180.               Note:
  3181.               Note: If both the -s and -r flags are omitted, the current
  3182.                     status is queried but left unchanged.
  3183.  
  3184.             port      The port name to process.
  3185.  
  3186.  
  3187.             Files
  3188.             Files
  3189.             Files
  3190.  
  3191.           \PIPE\UUCICO\ZZport           named pipe for contacting local
  3192.           background UUCICO
  3193.           \\servername\PIPE\UUCICO\ZZport    named pipe for contacting
  3194.           networked background UUCICO
  3195.  
  3196.  
  3197.             Bugs
  3198.             Bugs
  3199.             Bugs
  3200.  
  3201.           The DOS version of the program can be built with no source
  3202.           changes, but the results of attempting to run the program are
  3203.           unpredictable and usually catastrophic to either the DOS box or
  3204.           the system as a whole.
  3205.                                     -82-                      10/04/93
  3206.  
  3207.  
  3208.  
  3209.                                         UUPC/extended Command Reference
  3210.                                                       Command Reference
  3211.                                                       Command Reference
  3212.  
  3213.  
  3214.           See UUCICO for additional problems and caveats.
  3215.  
  3216.  
  3217.             See Also
  3218.             See Also
  3219.             See Also
  3220.  
  3221.             UUCICO, UUPOLL
  3222.  
  3223.  
  3224.             Author
  3225.             Author
  3226.             Author
  3227.  
  3228.           Kai Uwe Rommel, with the usual additional hacking by Kendra
  3229.           Electronic Wonderworks.
  3230.  
  3231.  
  3232.             History
  3233.             History
  3234.             History
  3235.  
  3236.           This is the 23rd revision of this document and was last updated
  3237.           on October 4, 1993 by Katherine Derbyshire.
  3238.  
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269.  
  3270.  
  3271.  
  3272.  
  3273.  
  3274.  
  3275.           10/04/93                   - 83 -
  3276.  
  3277.  
  3278.  
  3279.           UUPC/extended 
  3280.                         
  3281.                         1.12b Installation and 
  3282.                               Installation and 
  3283.                               Installation and User's Reference
  3284.                                                User's Reference
  3285.                                                User's Reference
  3286.  
  3287.  
  3288.           UUSTAT
  3289.           UUSTAT
  3290.           UUSTAT
  3291.  
  3292.  
  3293.             Synopsis
  3294.             Synopsis
  3295.             Synopsis
  3296.  
  3297.             UUSTAT [-a] [-m] [-q] [ -k jobid ] [ -r jobid ] [-x debug]
  3298.             UUSTAT [ -s system] [ -u user] [-x debug]
  3299.             UUSTAT [ -P system] [-x debug]
  3300.  
  3301.  
  3302.             Availability
  3303.             Availability
  3304.             Availability
  3305.  
  3306.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  3307.  
  3308.  
  3309.             Description
  3310.             Description
  3311.             Description
  3312.  
  3313.           UUSTAT will display the status of, or cancel, previously
  3314.           specified uucp commands, or provide general status on uucp
  3315.           connections to other systems.  Only one of the following options
  3316.           can be specified with UUSTAT per command execution:
  3317.  
  3318.             -a        List all jobs in queue.
  3319.  
  3320.             -m        Report the status of accessibility of all machines.
  3321.  
  3322.             -q        List the jobs queued for each machine.  If a status
  3323.                       file entry exists for the machine, its date, time
  3324.                       and status information are reported.  In addition,
  3325.                       if a number appears in parentheses next to the
  3326.                       number of C or X files, it is the age in days of
  3327.                       the oldest C/X file for that system.
  3328.  
  3329.               Note:
  3330.               Note:
  3331.               Note:  For systems with a large number of outstanding jobs,
  3332.                     this could take 30 seconds or more of real-time to
  3333.                     execute.
  3334.  
  3335.             -k jobid  Kill the uucp request whose job identification is
  3336.                       jobid.
  3337.  
  3338.             -r jobid  Rejuvenate jobid.  The files associated with jobid
  3339.                       are touched so that their modification time is set
  3340.                       to the current time.
  3341.  
  3342.               Note:
  3343.               Note:
  3344.               Note: The refresh option hasn't yet been fully implemented,
  3345.                     but that's okay because job expiration doesn't happen
  3346.                     either.
  3347.  
  3348.             -P system Create a poll work file.  This empty call file
  3349.                       causes system to be called every time UUCICO is
  3350.                       invoked with the "-s any" option until the system
  3351.                       is contacted.
  3352.  
  3353.             -P all    Create poll work files for all systems.
  3354.  
  3355.                                     -84-                      10/04/93
  3356.  
  3357.  
  3358.  
  3359.                                         UUPC/extended Command Reference
  3360.                                                       Command Reference
  3361.                                                       Command Reference
  3362.  
  3363.  
  3364.           Any or all of the following options can be specified with UUSTAT:
  3365.  
  3366.             -s sys    Report the status of all uucp requests for remote
  3367.                       system sys.
  3368.  
  3369.             -u user   Report the status of all user requests issued by
  3370.                       user.
  3371.  
  3372.             -x debug  Display debug messages at or below level debug.
  3373.                       The default value is 1, but the option may set to 0
  3374.                       for unattended production use, or as high 20 for
  3375.                       detailed debugging.
  3376.  
  3377.           When no options are given, UUSTAT outputs the status of all uucp
  3378.           requests issued by the current user.
  3379.  
  3380.               Note:
  3381.               Note:
  3382.               Note: Poll files created by the current user with the -P
  3383.                     option are not displayed unless the -s or -a options
  3384.                     are used.
  3385.  
  3386.  
  3387.             Returns
  3388.             Returns
  3389.             Returns
  3390.  
  3391.           exits with a status of 0 upon successful completion of its task.
  3392.  
  3393.           Other exit status and their meaning:
  3394.  
  3395.                1    Bad usage.
  3396.                2    stat(), open(), access(), or utime() call failed.
  3397.                3    fopen() failed or file pointer was NULL .
  3398.                4    An internal problem, usually with file access.
  3399.                69   The program aborted due to a panic situation.
  3400.                100  The user typed Ctrl-C.
  3401.  
  3402.  
  3403.             Files
  3404.             Files
  3405.             Files
  3406.  
  3407.             /uupc/spool/system/C/* Command Files for host "system"
  3408.             /uupc/spool/system/D/* Data files
  3409.             /uupc/hostatus         System status summary file
  3410.  
  3411.  
  3412.             Bugs
  3413.             Bugs
  3414.             Bugs
  3415.  
  3416.           The Retry and Count features shown by UNIX systems are not
  3417.           implemented since UUPC/extended doesn't implement STST.system
  3418.           files where some of the needed information would come from.
  3419.  
  3420.           Spooled eXecute (X*) files are not listed by UUSTAT.  This can be
  3421.           corrected without too much trouble, but since the local system
  3422.           doesn't generate the names, they could have been truncated
  3423.           (meaning UUSTAT will blow up during DOS to UNIX name
  3424.           translation).
  3425.  
  3426.  
  3427.           10/04/93                   - 85 -
  3428.  
  3429.  
  3430.  
  3431.           UUPC/extended 
  3432.                         
  3433.                         1.12b Installation and 
  3434.                               Installation and 
  3435.                               Installation and User's Reference
  3436.                                                User's Reference
  3437.                                                User's Reference
  3438.  
  3439.  
  3440.           Work poll files are created with class Z, which is what SunOS
  3441.           4.1.3 uses for poll files.  This may not be desirable if the
  3442.           local system exploits call grading to process only classes above
  3443.           Z.
  3444.  
  3445.           UUSTAT does not actually refresh times with the -r option.
  3446.  
  3447.           The time reported by UUSTAT for each system is the time the local
  3448.           system last connected to the remote system, not the time of the
  3449.           last attempt as in UNIX versions of UUSTAT.  This is both for
  3450.           historical reasons and because the author thought it was more
  3451.           useful.  UUSUB can be used to view the time of the last attempt.
  3452.  
  3453.           Poll work files (generated with the -P flag) are not shown in a
  3454.           per user display.
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.  
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  
  3495.                                     -86-                      10/04/93
  3496.  
  3497.  
  3498.  
  3499.                                         UUPC/extended Command Reference
  3500.                                                       Command Reference
  3501.                                                       Command Reference
  3502.  
  3503.  
  3504.           UUSUB
  3505.           UUSUB
  3506.           UUSUB
  3507.  
  3508.  
  3509.             Synopsis
  3510.             Synopsis
  3511.             Synopsis
  3512.  
  3513.             UUSUB [-x debuglevel] [-c] [-s system]
  3514.  
  3515.  
  3516.             Availability
  3517.             Availability
  3518.             Availability
  3519.  
  3520.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  3521.  
  3522.  
  3523.             Description
  3524.             Description
  3525.             Description
  3526.  
  3527.           UUSUB reports statistics on the data transmitted between the
  3528.           local and remote systems since the last time the file HOSTATUS in
  3529.           the UUPC/extended spooling directory was created.  UUSUB is
  3530.           invoked with no operands to report these statistics:
  3531.  
  3532.                UUSUB
  3533.  
  3534.           The syntax of UUSUB is:
  3535.  
  3536.           UUSUB [-x debuglevel] [-c] [-s system]
  3537.  
  3538.           Where:
  3539.  
  3540.             -c        Clears (resets) the totals.
  3541.  
  3542.             -s sysname   System name to report on or to clear.  The
  3543.                       default is report on or clear all known systems.
  3544.  
  3545.             -x debug  Display debug messages at or below level debug.
  3546.                       The default value is 1.  The option may be set to 0
  3547.                       for unattended production use, or as high 20 for
  3548.                       detailed debugging.
  3549.  
  3550.  
  3551.  
  3552.  
  3553.  
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559.  
  3560.  
  3561.  
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.           10/04/93                   - 87 -
  3568.  
  3569.  
  3570.  
  3571.           UUPC/extended 
  3572.                         
  3573.                         1.12b Installation and 
  3574.                               Installation and 
  3575.                               Installation and User's Reference
  3576.                                                User's Reference
  3577.                                                User's Reference
  3578.  
  3579.  
  3580.           UUX
  3581.           UUX
  3582.           UUX
  3583.  
  3584.  
  3585.             Availability
  3586.             Availability
  3587.             Availability
  3588.  
  3589.             Usage discouraged under all operating environments.  (See
  3590.             below.)
  3591.  
  3592.  
  3593.             Description
  3594.             Description
  3595.             Description
  3596.  
  3597.           The UUX command queues commands for execution on remote systems.
  3598.           It used by other facilities, such as news functions and the UUCP
  3599.           command, to handle processing more complex than simple file
  3600.           transfers.
  3601.  
  3602.  
  3603.             Bugs
  3604.             Bugs
  3605.             Bugs
  3606.  
  3607.           The UUX command is still under development.  Its use is
  3608.                     discouraged at this time.
  3609.  
  3610.           Specific problems are believed to exist with gathering files from
  3611.           multiple systems to process, and multi-hop commands.
  3612.  
  3613.  
  3614.  
  3615.  
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642.  
  3643.                                     -88-                      10/04/93
  3644.  
  3645.  
  3646.  
  3647.                                         UUPC/extended Command Reference
  3648.                                                       Command Reference
  3649.                                                       Command Reference
  3650.  
  3651.  
  3652.           UUXQT
  3653.           UUXQT
  3654.           UUXQT
  3655.  
  3656.  
  3657.             Synopsis
  3658.             Synopsis
  3659.             Synopsis
  3660.  
  3661.             UUXQT [-x debuglevel] [-s system]
  3662.  
  3663.  
  3664.             Availability
  3665.             Availability
  3666.             Availability
  3667.  
  3668.             MS-DOS, Windows 3.x, OS/2, and Windows NT
  3669.  
  3670.  
  3671.             Description
  3672.             Description
  3673.             Description
  3674.  
  3675.           UUXQT must be executed to process remote files after UUCICO has
  3676.           received these files from a remote host.  It normally is invoked
  3677.           with no operands:
  3678.  
  3679.                UUXQT
  3680.  
  3681.           This will automatically process all eXecute files in the local
  3682.           spool queues with the default debugging level in effect.
  3683.  
  3684.           UUXQT supports the following command line options:
  3685.  
  3686.             -s sysname   Process work only for sysname.  The default is
  3687.                       system "all", which processes work for all known
  3688.                       systems.
  3689.  
  3690.             -x debug  Display debug messages at or below level debug.
  3691.                       The default value is 1.  The option may be set to 0
  3692.                       for unattended production use, or as high 20 for
  3693.                       detailed debugging.
  3694.  
  3695.           To automatically execute UUXQT every time UUCICO is run, use
  3696.           UUPOLL or UUIO.
  3697.  
  3698.  
  3699.             Bugs
  3700.             Bugs
  3701.             Bugs
  3702.  
  3703.           Under DOS, if a large number of eXecute files are processed at
  3704.           once by UUXQT under DOS, the DOS environment becomes corrupted
  3705.           and called programs (usually RNEWS or RMAIL) crash because of the
  3706.           bad environment.  This is hard to debug because the redirected
  3707.           output causes the program error to not be displayed on the
  3708.           console.
  3709.  
  3710.  
  3711.  
  3712.  
  3713.  
  3714.  
  3715.  
  3716.  
  3717.           10/04/93                   - 89 -
  3718.  
  3719.  
  3720.  
  3721.           UUPC/extended 
  3722.                         
  3723.                         1.12b Installation and 
  3724.                               Installation and 
  3725.                               Installation and User's Reference
  3726.                                                User's Reference
  3727.                                                User's Reference
  3728.  
  3729.  
  3730.           WAITING
  3731.           WAITING
  3732.           WAITING
  3733.  
  3734.  
  3735.             Synopsis
  3736.             Synopsis
  3737.             Synopsis
  3738.  
  3739.             WAITING [userid]
  3740.  
  3741.  
  3742.             Availability
  3743.             Availability
  3744.             Availability
  3745.  
  3746.             MS-DOS and Windows NT (batch file)
  3747.  
  3748.             OS/2 (REXX script)
  3749.  
  3750.  
  3751.             Description
  3752.             Description
  3753.             Description
  3754.  
  3755.           The WAITING command reports on which users have mail waiting in
  3756.           the UUPC/extended mail directory.  It exits without comment if no
  3757.           mail is waiting.
  3758.  
  3759.               Note:
  3760.               Note:
  3761.               Note: Because WAITING is a batch file under DOS and Windows
  3762.                     NT, it assumes the mail directory is \uupc\mail on the
  3763.                     current drive.  The file must be edited by hand if this
  3764.                     is not the directory for system mailboxes.
  3765.  
  3766.               Note:
  3767.               Note:
  3768.               Note: This command is more effective if the multitask
  3769.                                                           multitask
  3770.                                                           multitask option
  3771.                     is specified in the UUPC.RC file, as then mail is moved
  3772.                     out of the system mail directory as soon the user
  3773.                     invokes the MAIL command after new mail arrives.
  3774.  
  3775.           The syntax of the WAITING command is:
  3776.  
  3777.           WAITING   [userid]
  3778.  
  3779.           Where:
  3780.  
  3781.             userid    defines the userid to check for waiting mail.  The
  3782.                       default is all users.
  3783.  
  3784.  
  3785.             Bugs
  3786.             Bugs
  3787.             Bugs
  3788.  
  3789.           WAITING assumes the extension of mailbox files is SPB.
  3790.  
  3791.           WAITING does not support the directory
  3792.                                        directory
  3793.                                        directory option, which requires
  3794.           look in subdirectories for the waiting mail.
  3795.  
  3796.  
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803.                                     -90-                      10/04/93
  3804.