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

  1.  
  2.  
  3.  
  4.           December 8, 1991                   Installing UUPC/extended 1.11q
  5.  
  6.  
  7.  
  8.           Table of Contents          Table of Contents          Table of Contents
  9.  
  10.  
  11.           Table of Contents.............................................1
  12.  
  13.           Viewing This Document on a Terminal...........................2
  14.  
  15.           Revision......................................................2
  16.  
  17.           Overview......................................................2
  18.  
  19.           Installing or upgrading UUPC/extended.........................2
  20.  
  21.           The Fine Art of Chat Scripts..................................6
  22.  
  23.           Modem files...................................................8
  24.  
  25.           Permissions (PERMISSN) files..................................8
  26.  
  27.           Forward Files.................................................9
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                         - 1 -
  63.  
  64.  
  65.           December 8, 1991                   Installing UUPC/extended 1.11q
  66.  
  67.  
  68.  
  69.           Viewing This Document on a Terminal          Viewing This Document on a Terminal          Viewing This Document on a Terminal
  70.  
  71.           This document includes overstrikes for printing on a printer.  To
  72.           read this document on-line, extract the program NOVRSTRK from the
  73.           UUPC/extended optional programs archive and issue the following
  74.           command:
  75.  
  76.                NOVRSTRK INSTALL.PRN INSTALL.TXT
  77.  
  78.           You can then browse the terminal ready version of the document,
  79.           INSTALL.TXT.
  80.  
  81.  
  82.           Revision          Revision          Revision
  83.  
  84.           This document applies to version 1.11q of UUPC/extended, and was
  85.           last updated on December 8, 1991 by Drew Derbyshire.
  86.  
  87.  
  88.           Overview          Overview          Overview
  89.  
  90.           This document provides installation instructions for
  91.           UUPC/extended.  Questions or suggestions on this document should
  92.           be directed to the UUPC/extended help desk, help@kew.com.
  93.  
  94.  
  95.           Installing or upgrading           Installing or upgrading           Installing or upgrading UUPC/extended                                  UUPC/extended                                  UUPC/extended
  96.  
  97.               Note:              Note:              Note: Because UUPC/extended now includes a total of  13
  98.                     executable files, it is suggested that these files be
  99.                     placed in their own directory, and this directory then
  100.                     be added to your MS-DOS or OS/2 PATH variable.  When
  101.                     this is done, be sure to delete any executable files
  102.                     for previous releases of UUPC/extended from other
  103.                     directories on your hard disk.
  104.  
  105.               Note:              Note:              Note: Each file that must be customized for UUPC/extended has
  106.                     comments in it describing the information that goes in
  107.                     the file.
  108.  
  109.           The general procedure for installing UUPC/extended is as follows:
  110.  
  111.                Backup your system.1
  112.  
  113.                If upgrading UUPC/extended, read the CHANGES.PRN file for
  114.                changes related to the newest release.  In many cases,
  115.                CHANGES.PRN includes documentation of new options and
  116.                configuration file variables before any other documents.
  117.  
  118.                If upgrading from a release of UUPC/extended previous to
  119.                1.11a,  you must clear your spool directories of files
  120.                before installing the new release.   In general, this is
  121.  
  122.  
  123.                                         - 2 -
  124.  
  125.  
  126.           December 8, 1991                   Installing UUPC/extended 1.11q
  127.  
  128.  
  129.                done by invoking UUIO for the previous release to deliver
  130.                any queued files to other sites.
  131.  
  132.                Choose a host name for your system, and user id for
  133.                yourself.
  134.  
  135.                Get the phone number, user id & password, and login
  136.                procedure for the system that will act as your mail server.
  137.  
  138.                Under MS-DOS, add the following line to your CONFIG.SYS, or
  139.                create a CONFIG.SYS in the root directory of your boot disk
  140.                or diskette if you currently do not have one:
  141.  
  142.                     FILES=20
  143.  
  144.               Note:              Note:              Note: If you already have a FILES= line in your CONFIG.SYS,
  145.                     it should read at least 10 and should be raised to 20.
  146.                     If the number is greater than 20, then do not lower it.
  147.  
  148.                If you are upgrading from a release of UUPC/extended
  149.                previous to 1.11p, delete the old version of UUXQT,
  150.                UUXQT.COM.  This has been replaced by UUXQT.EXE.
  151.  
  152.                If you are upgrading from a release of UUPC/extended
  153.                previous to 1.11a, delete the old communications module,
  154.                UUIO.EXE; this has been replaced by UUIO.BAT, UUCICO.EXE and
  155.                UUXQT.EXE.
  156.  
  157.                If you are upgrading from a release of UUPC/extended
  158.                previous to 1.09a, delete the old version of UUPOLL,
  159.                UUPOLL.EXE.  This has been replaced by a smaller UUPOLL.COM.
  160.  
  161.                Copy the MAIL.EXE, UUCICO.EXE, UUXQT.EXE and RMAIL.COM files
  162.                to a directory in your path; the suggested name for this
  163.                directory is \lib\uupc\bin.  These files are required.
  164.  
  165.               Note:              Note:              Note: Several of the programs, including UUCICO and UUXQT,
  166.                     change directories as required to search for spool
  167.                     files.  Because of this, programs such as RMAIL and (if
  168.                     used) RNEWS must be in your path.  Having them in the
  169.                     current directory is not sufficient.
  170.  
  171.               Note:              Note:              Note: Version 1.11p of UUPC/extended includes two version of
  172.                     UUCICO, UUCICO.EXE and UUCICOLD.EXE.  UUCICO.EXE
  173.                     includes support for newer serial port UARTS, but may
  174.                     not work on all systems.  If this version of UUCICO
  175.                     does not work on your system, please send mail to
  176.                     plummer@wang.com describing the problem, and use the
  177.                     alternative version of UUCICO by copying UUCICOLD.EXE
  178.                     to UUCICO.EXE.
  179.  
  180.                Copy the SU.BAT, UUIO.BAT, FMT.COM, GENSIG.COM,
  181.                NOVRSTRK.COM, UUPOLL.COM, UUSUB.COM, UUSTAT.COM, UUX.COM,
  182.  
  183.  
  184.                                         - 3 -
  185.  
  186.  
  187.           December 8, 1991                   Installing UUPC/extended 1.11q
  188.  
  189.  
  190.                and UUCP.COM files to a directory in your path.  These files
  191.                are optional.
  192.  
  193.               Note:              Note:              Note: Under OS/2, the SU.BAT and UUIO.BAT files can be copied
  194.                     to SU.CMD and UUIO.CMD.  Also under OS/2, there are no
  195.                     .COM files; all modules have an extension of ".EXE'.
  196.  
  197.                Customize the UUPC.RC file, and copy it to the directory
  198.                defined in the file as the 'ConfDir' within the file.  This
  199.                file defines the directories and other basic configuration
  200.                parameters of UUPC/extended.
  201.  
  202.                Customize the SYSTEMS file and copy it to the 'ConfDir'
  203.                directory defined in UUPC.RC.  This file defines the names
  204.                of other systems connected to yours and when and how to call
  205.                them.
  206.  
  207.               Note:              Note:              Note: If you are converting from a release previous to 1.10a,
  208.                     you must update the SYSTEMS file to the newer format.
  209.                     See the sample SYSTEMS file for details.
  210.  
  211.                Create a PERMISSN (permissions) file in the 'ConfDir'
  212.                directory defined in UUPC.RC.  This file defines the access
  213.                that remote systems have to your programs and data files.
  214.                Basic instructions for a PERMISSN file which allows only
  215.                mail are listed below.
  216.  
  217.                Copy to the 'ConfDir' directory and modify as needed any
  218.                modem (*.MDM) files you need to define the behavior of your
  219.                modem; files are included for the Hayes Smartmodem 1200,
  220.                Hayes Smartmodem 2400, Microcom SX/1200, and others.   See
  221.                below for short discussions on writing modem files and
  222.                general chat scripts,  and see the supplied modem files for
  223.                examples.
  224.  
  225.                Generate MAIL.HLP and TILDE.HLP in the 'ConfDir' directory
  226.                defined in UUPC.RC via the NOVRSTRK program as follows:
  227.  
  228.                     NOVRSTRK  MAIL.PRN  ConfDir\MAIL.HLP
  229.                     NOVRSTRK  TILDE.PRN ConfDir\TILDE.HLP
  230.  
  231.                Where 'ConfDir' is replaced by the actual configuration
  232.                directory name.  These files provide on-line help to the
  233.                MAIL command.
  234.  
  235.                If special routing is required for hosts, customize the
  236.                HOSTPATH file, and copy it to the 'ConfDir' directory
  237.                defined in UUPC.RC.  This file is not usually needed, but
  238.                can used to:
  239.  
  240.                     Gateway mail from UUPC/extended to another mail program
  241.                     Alias the local host to another name
  242.                     Alias a remote host to another name
  243.                     Prevent improperly addressed mail from leaving the
  244.  
  245.                                         - 4 -
  246.  
  247.  
  248.           December 8, 1991                   Installing UUPC/extended 1.11q
  249.  
  250.  
  251.                     local domain
  252.                     Route mail via a non-default path
  253.  
  254.                If only one user will be using the system, customize the
  255.                PERSONAL.RC file, and copy it to the 'ConfDir' directory
  256.                defined in UUPC.RC.  This file defines the personal
  257.                configuration for a user of UUPC/extended, including his/her
  258.                full name, home directory for storing files, and so forth.
  259.  
  260.                If multiple users are to share the same system, create
  261.                multiple customized copies of the PERSONAL.RC in the
  262.                'ConfDir' directory defined in UUPC.RC, each with a unique
  263.                name such as "TOM.RC", "DICK.RC" or "HARRY.RC".
  264.  
  265.                Customize the PASSWD file, and copy it to the 'ConfDir'
  266.                directory defined in UUPC.RC, and add each user to the
  267.                PASSWD file.   This file defines the name and home directory
  268.                of each local user, and the user id and password for remote
  269.                users (systems) logging in.
  270.  
  271.                For each user, customize the PERSONAL.SIG file, and copy it
  272.                to the 'Home' directory defined in PERSONAL.RC for that
  273.                user.  This file is appended to all outgoing mail for the
  274.                user to provide a boiler-plate signature with the user's
  275.                reply address.  If this file is not installed, then the line
  276.                in the PERSONAL.RC file describing it must be commented out
  277.                with a pound sign (#) in column 1.
  278.  
  279.               Note:              Note:              Note: Especially for users of new systems, it is strongly
  280.                     advised that you do create a signature file and include
  281.                     in it your name, electronic mail address, snail mail
  282.                     address, and telephone number.   This extra information
  283.                     is needed for a person to contact you if your
  284.                     electronic mail address cannot be replied to.2
  285.  
  286.                Customize the ALIASES.TXT file, and copy it to the directory
  287.                defined in the PERSONAL.RC file as your Home directory.
  288.                This file defines short nicknames for longer e-mail
  289.                addresses and lists of addresses.  If this file is not
  290.                installed, then the line in the PERSONAL.RC file describing
  291.                it must be commented out with a pound sign (#) in column 1.
  292.  
  293.               Note:              Note:              Note: The addresses supplied in the ALIASES.TXT file, are
  294.                     valid addresses; they are provided as examples and to
  295.                     assist you in getting more information about
  296.                     UUPC/extended, communications software in general,
  297.                     USENET, and the Internet.  However, they are not for
  298.                     random testing; abuses such as a recent user who sent
  299.                     mail to all the addresses in the file as a "hello
  300.                     world" test will force discarding of the live
  301.                     information in the file for future releases.
  302.  
  303.  
  304.  
  305.  
  306.                                         - 5 -
  307.  
  308.  
  309.           December 8, 1991                   Installing UUPC/extended 1.11q
  310.  
  311.  
  312.                Edit your AUTOEXEC.BAT (CONFIG.SYS if using OS/2), adding
  313.                SET commands for the variables UUPCSYSRC, the fully
  314.                qualified name of your UUPC.RC file, UUPCUSRRC, the fully
  315.                qualified name of your PERSONAL.RC file, and for TZ, your
  316.                local time zone.  Sample TZ variable SET commands are as
  317.                follows:
  318.  
  319.                     SET TZ=EST5EDT or        (Eastern Time, 5 hours behind
  320.                     GMT)
  321.                     SET TZ=EST5              (Eastern Time, but no daylight
  322.                     savings change)
  323.                     SET TZ=CST6CDT or
  324.                     SET TZ=MST7MDT or
  325.                     SET TZ=PST8PDT or        (Pacific Time, 8 hours behind
  326.                     GMT)
  327.                     SET TZ=GMT0              (GMT, no offset, no daylight
  328.                     savings)
  329.  
  330.                Your mileage and time zone may vary.  Time zones ahead of
  331.                GMT should use a minus sign in front of the hours offset.
  332.  
  333.                Reboot your system to allow your changes to your
  334.                AUTOEXEC.BAT to take effect.
  335.  
  336.                Test the system by sending mail to yourself (see below).
  337.  
  338.  
  339.           The Fine Art of Chat Scripts          The Fine Art of Chat Scripts          The Fine Art of Chat Scripts
  340.  
  341.           The hardest part of setting UUPC/extended is setting up the chat
  342.           scripts used in the SYSTEMS and various modem (*.MDM) files.   A
  343.           chat script, in its simplest form, is a series of strings sent to
  344.           the modem or remote system alternating with the expected
  345.           responses to those transmitted strings.  On output, carriage
  346.           returns are automatically appended to the strings unless
  347.           explicitly overriden by the special escape sequence (\c).
  348.  
  349.           In UUPC/extended, the sequence always begins with an expected
  350.           string, like this sample string to initialize a modem:
  351.  
  352.                "" "" "" ATZ OK \dATX4&D2V1E0 OK
  353.  
  354.           The first empty string ("") says to expect nothing, the second
  355.           transmits nothing except the automatically appended carriage
  356.           return, nothing is again expected in return, the string ATZ is
  357.           sent followed a carriage return, OK is expected in response,  the
  358.           string ATX4&D2 is sent after a two second delay caused by the
  359.           escape sequence \d, and finally a second OK is expected.  Things
  360.           to note about this sequence include the use of the empty strings
  361.           to insure the ATZ command is issued at the beginning of a new
  362.           line, and the use of the delay sequence (\d) to give the modem
  363.           time to recover from the first command.   The most common failure
  364.           of new chat script writers is to omit delays where needed on
  365.  
  366.  
  367.                                         - 6 -
  368.  
  369.  
  370.           December 8, 1991                   Installing UUPC/extended 1.11q
  371.  
  372.  
  373.           output; this can cause a modem or system to lose characters and
  374.           generally louse up one's day.
  375.  
  376.           To round out the escape sequences supported by UUPC/extended, the
  377.           complete list follows; the empty string ("") is used on input,
  378.           all other strings are recognized on output only.  Quotation marks
  379.           may used on input or output to enclose a string which includes
  380.           whitespace.  The list includes:
  381.  
  382.                ""        Expect a NULL string
  383.  
  384.                BREAK     Send BREAK
  385.  
  386.                \b        Insert Backspace
  387.                \B
  388.  
  389.                \d        Delay two seconds
  390.                \D
  391.  
  392.                \c        Omit carriage return at end of string
  393.                \C
  394.  
  395.                \m        Insert carriage return
  396.                \M
  397.                \r
  398.                \R
  399.  
  400.                \n        Insert newline
  401.  
  402.                \p        Delay four tenths of a second
  403.                \P
  404.  
  405.                \t        Insert tab character
  406.                \T
  407.  
  408.                \s        Insert space character
  409.                \S
  410.  
  411.                \Znnnn    Set serial port speed to nnnn
  412.  
  413.                \nnn      Convert the numeric octal string nnn to a single
  414.                          character and transmit it
  415.  
  416.                \\        Insert a backslash (\)
  417.  
  418.  
  419.  
  420.           In addition, one other special syntax exists; to allow for
  421.           alternate output when an expected string is not received, hyphens
  422.           in an expect string delimit alternate output to be sent, such as:
  423.  
  424.                "" "" ogin:--ogin:--ogin:
  425.  
  426.  
  427.  
  428.                                         - 7 -
  429.  
  430.  
  431.           December 8, 1991                   Installing UUPC/extended 1.11q
  432.  
  433.  
  434.           If a login prompt (ogin:) is not received by the standard timeout
  435.           period (generally, 30 seconds), the string between the hyphens
  436.           (nothing, followed by the appended carriage return) is sent; if
  437.           no response is received, the sequence is repeated one more time.
  438.  
  439.  
  440.           Modem files          Modem files          Modem files
  441.  
  442.           Modem files are configuration files which define the strings used
  443.           to command a modem for dialing out; this allows commands always
  444.           used with a particular modem to be written once rather being
  445.           placed everywhere they are used, and also allows different modems
  446.           to be used with the system by only changing the modem file (or
  447.           changing the reference to the modem file in the SYSTEMS or
  448.           UUPC.RC files).
  449.  
  450.           All strings defined in a modem file are standard scripts as
  451.           described above with the exception of the dial prefix and dial
  452.           suffix strings.  These are combined with the phone number listed
  453.           in the SYSTEMS file for a host and sent as one string to the
  454.           modem when dialing out.  Sample files are included for the Hayes
  455.           Smartmodem 2400, Trailblazer 2500, the Microcom SX/1200, and a
  456.           few other modems; most modems have behavior similar to one of
  457.           these modems, so minor changes to one of these files should get
  458.           you up and running.
  459.  
  460.               Note:              Note:              Note: If you make changes to modem file, copy it to a new
  461.                     name to avoid confusion with the distributed version.
  462.  
  463.  
  464.           Permissions (PERMISSN) files          Permissions (PERMISSN) files          Permissions (PERMISSN) files
  465.  
  466.           For each system you contact, it must be defined in a PERMISSN
  467.           file located in the UUPC/extended configuration directory.    In
  468.           the permissions file, systems can classified by whether they are
  469.           called out to, dial in to the local system, or both.
  470.  
  471.               Note:              Note:              Note: If you allow anonymous logins, an entry should also be
  472.                     placed in the PERMISSN file for the system
  473.                     "*anonymous".
  474.  
  475.           Systems you call out to must have a MACHINE entry, such as
  476.  
  477.                MACHINE=system
  478.  
  479.           This defines the existence of the machine "system", and default
  480.           permissions are granted to the system.  These permissions include
  481.           the ability to execute RMAIL and RNEWS, and the ability to send
  482.           files to the spool directory.  If the additional keyword
  483.           REQUEST=YES is added to the MACHINE statement, then the remote
  484.           system may also read and write files in your public directory,
  485.           which is the directory defined by the variable PubDir in the
  486.           UUPC.RC file.
  487.  
  488.  
  489.                                         - 8 -
  490.  
  491.  
  492.           December 8, 1991                   Installing UUPC/extended 1.11q
  493.  
  494.  
  495.           Systems which dial into you must have a LOGNAME entry, such as:
  496.  
  497.                LOGNAME=userid VALIDATE=system SENDFILES=YES
  498.  
  499.           This allows host "system" to login as user id "userid" with the
  500.           same default permissions as described above.  It further allows
  501.           your system to transmit files to the other system even though it
  502.           called you (SENDFILES=YES)3.  However, to run UUXQT they must
  503.           also have a MACHINE entry, because UUXQT does not look at LOGIN
  504.           entries.4  Thus, to handle the general case, both of the above
  505.           entries must exist in the permissions file, but they can be
  506.           combined:
  507.  
  508.                LOGNAME=userid VALIDATE=system MACHINE=system SENDFILES=YES
  509.  
  510.           The remote system can be granted access to additional directories
  511.           and programs through the use of additional parameters on the
  512.           LOGNAME and MACHINE statements; these are documented in Managing
  513.           UUCP and Usenet.
  514.  
  515.               Note:              Note:              Note: One difference between the PERMISSIONS file as defined
  516.                     in the Nutshell Handbooks and as implemented in
  517.                     UUPC/extended is that only one user id may be specified
  518.                     per LOGNAME entry in UUPC/extended.  This restriction
  519.                     is by choice to prevent a system from logging in as
  520.                     another system.
  521.  
  522.  
  523.           Forward Files          Forward Files          Forward Files
  524.  
  525.           UUPC/extended has the ability to forward mail destined for a
  526.           single user or entire system or domain.  Routing mail for an
  527.           entire system or domain is performed via an entry in the HOSTPATH
  528.           file, which is documented in the supplied sample HOSTPATH file.
  529.           Forwarding mail for a single user is performed by placing a file
  530.           named FORWARD in the user's home directory as defined in the
  531.           PASSWD file, and contains one or more destinations, one per line
  532.           as follows:
  533.  
  534.             address   Simple address, subject to normal forwarding rules
  535.                       on the local system
  536.  
  537.             \address  An address prefixed by a backslash; remote
  538.                       addresses are delivered normally, but if a local
  539.                       address it will be delivered without being subject
  540.                       to user id verification or forwarding.
  541.  
  542.             |command  An MS-DOS command prefixed by an or bar (|).  The
  543.                       mail is piped into the specified command.
  544.  
  545.             pathname  An absolute path name.  To be recongized as a file,
  546.                       the file must begin with a slash (/), a tilde (~),
  547.                       or a driver letter/colon sequence (x:).  The mail
  548.  
  549.  
  550.                                         - 9 -
  551.  
  552.  
  553.           December 8, 1991                   Installing UUPC/extended 1.11q
  554.  
  555.  
  556.                       is appended at the end of the specified file
  557.                       normally, with a line of binary ones separating
  558.                       mail items just as if it were a mailbox.  For file
  559.                       names beginning with tilde (~), the file name is
  560.                       expanded as described in MAIL.HLP.
  561.  
  562.           As an example, the following data, if saved in the user's home
  563.           directory under the name FORWARD, would cause the mail to
  564.           formatted to the console via the UUPC/extended FMT program, to be
  565.           forward to the postmaster normally, to be saved in the mailbox
  566.           for user BOGUS without checking if such a user exists or has
  567.           forwarding enabled, and finally to be saved in the user's home
  568.           directory in the file BKUPMAIL.TXT:
  569.  
  570.                |FMT
  571.                postmaster
  572.                \bogus
  573.                ~/BKUPMAIL.TXT
  574.  
  575.                               
  576.  
  577.           1If you do not currently backup your system, this is an excellent
  578.           time to start.
  579.  
  580.           2Recently, help@kew.com was sent the same query multiple times by
  581.           a user with an invalid return address.  He failed to include his
  582.           telephone number or other address in his note; thus, both his
  583.           original query and the follow-up letters asking why the original
  584.           query could not be answered could not be replied to.
  585.  
  586.           3The default, carried over from UNIX, is that files are only
  587.           transmitted when you are the calling system.  This means that
  588.           SENDFILES=YES is not needed on a MACHINE statement.
  589.  
  590.           4This is because UUXQT runs and processes eXecute files after
  591.           UUCICO has terminated.  As UUCICO has terminated, there is no way
  592.           to tell if the file were delivered by an outbound or inbound
  593.           telephone call.
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.                                        - 10 -