home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / pcboard / uupcb100.zip / UUCICO.DOC < prev    next >
Text File  |  1992-04-21  |  13KB  |  300 lines

  1.  
  2.  
  3. The following is quoted for information purposes only.  The complete
  4. file, UUCICO.INF is included elsewhere in UUCICO.ZIP.
  5.  
  6. ============================================================================
  7.   UUCICO.EXE is copyrighted but freely distributable. This ONLY
  8.   applies to uucico and not to any other files in the Waffle package.
  9.   You may do with it what you wish, but this file and all credits and
  10.   copyrights must remain intact. Our address is
  11.  
  12.       Darkside International
  13.       PO Box 4436
  14.       Mountain View CA 94040
  15.  
  16.   This free distribution applies ONLY to UUCICO.EXE,
  17.   and not to the remainder of the Waffle package.
  18.  
  19.   Waffle's UUCICO is derived from DCP, a package released
  20.   to the public in 1987. Because it is based on DCP, source
  21.   for those portions are available by request.
  22.  
  23.   Both DCP's and Waffle's copyrights apply to UUCICO.
  24.   DCP is (C) Copyright 1987 R H Lamb.
  25.  
  26.   Electronic mail to:  dell@vox.darkside.com,
  27.                        or ..{apple,ames}!uuwest!dell
  28.  
  29. ============================================================================
  30.  
  31.                    ┌───────────────────────────────┐
  32.                    │DESQVIEW USERS: See Note Below!│
  33.                    └───────────────────────────────┘
  34.  
  35.                ┌────────────────────────────────────────┐
  36.                │HIGH SPEED CONNECTIONS - See Note Below.│
  37.                └────────────────────────────────────────┘
  38.  
  39. Note: before UUCICO.EXE can run, the environmental variable WAFFLE must
  40. be set to point to the static file.  If the static file was located in
  41. C:\UUPCB\SYSTEM, you would set WAFFLE=C:\UUPCB\SYSTEM\STATIC.
  42. See STATIC.DOC for more information.
  43.  
  44.                       UUCICO COMMAND LINE OPTIONS
  45.  
  46. -r              Role.  -r0 sets UUCICO.EXE to receive a call.  There is
  47.                 also an -r1 setting to signify dialing out.  The -r1
  48.                 option is redundant and not required.
  49.  
  50. -s <system>     System.  The system that you wish UUCICO.EXE to poll.  You
  51.                 must specify either a system name or the words "any" for
  52.                 those sites that have traffic spooled or "all" to poll
  53.                 all sites in your systems file.
  54.  
  55.                 Example:
  56.                 uucico -s uunet
  57.  
  58.  
  59. -x <#>          Sets the level of the debug output.  This is captured in
  60.                 the file "UUCP" in the admin directory.  It is also
  61.                 echoed to the system console.  The default is 0.  A
  62.                 setting of 2 will give the info necessary to debug the
  63.                 expect send sequences.
  64.  
  65.                 Example
  66.                 uucico -x2
  67.  
  68.  
  69. -q              Quiet mode.  Info from UUCICO.EXE debug messages is not
  70.                 echoed to the screen.  It is only kept in the log.
  71.  
  72.  
  73. -b <speed>      Connect speed.  If this is not specified, UUCICO.EXE
  74.                 will use the speed specified in the systems file entry
  75.                 for the system you are calling or it will try to use the
  76.                 incoming connect speed.
  77.  
  78.  
  79. -d <device>     Device.  -d1 = COM1 and -d2 = COM2.  Not needed if port
  80.                 specified in the static file.  Note: UUCICO.EXE only
  81.                 supports COM1 and COM2.
  82.  
  83. -i              Ignore carrier detect.
  84.  
  85. -a              Anonymous uucp allowed.  This allows systems that are
  86.                 not in your systems file to connect to your system.  Not
  87.                 recommended in most circumstances.
  88.  
  89. -w              Reverse uucp connections.  This allows another system to
  90.                 request files from your public uucp directory.
  91.  
  92. -t <sec>        Time for expect/send sequences.  The default is 30
  93.                 seconds.  This can be useful if it takes a LOOONNNGGG
  94.                 time to connect to a uucp site.  For example, when
  95.                 calling a site that sends Telebit answering tones first
  96.                 and you are using a non-Telebit modem.
  97.  
  98. -n <name>       Temporary uucp name.  Some unix variants will only take
  99.                 a 7 letter uucp name, others will take 8 characters.
  100.                 Therefore, if your system has an 8-character name, like
  101.                 uupcbbbs you can specify:
  102.  
  103.                 uucico -n uupcbbb
  104.  
  105.                 to allow your system to talk to theirs.
  106.  
  107.                            Your Systems File
  108.  
  109. There should be one line in the systems file for each separate phone
  110. number of each system you call for mail and/or news.  The files are are
  111. in the following format:
  112.  
  113. system time-to-call port dialer speed protocol expect/send sequence
  114.  
  115. Here's a typical entry:
  116.  
  117. klingon Any COM1 Direct 19200 g "" ATZ OK ATDT5551212 CONNECT \d\r\d\r
  118.         ogin:-ogin: romulus  word: sela
  119.  
  120. Ok, let's break it down, step by step:
  121.  
  122. klingon - This is the name of the remote system
  123.  
  124. Any -   Call at Any time.  I suggest you always use this.  There are other
  125.         options including:
  126.  
  127.         Evening - 5PM-8AM Mon-Fri and Sat & Sunday, anytime.
  128.  
  129.         Never - Don't call this system
  130.  
  131.         Su Mo Tu We Th Fr Sa - Days of the week.  You can specify any
  132.         combination, like FrSaSu or MoWeFr, etc.  Run them all together
  133.         into one string.
  134.  
  135.         Wk - Weekday, i.e., M-F.
  136.  
  137.         0000-0000 - A time field in military time.  i.e., 2300-0530 for
  138.         11:00 PM to 5:30 AM, etc.  This can be used in conjunction with
  139.         the other abbreviations like We1700-2300 for Wednesday only
  140.         5:00 PM to 11:00 PM.
  141.  
  142.         AGAIN: I RECOMMEND THAT YOU SIMPLY USE "Any" INSTEAD OF THESE
  143.         MORE COMPLEX STRUCTURES, AT LEAST FOR NOW.
  144.  
  145. COM1    Your comm port, either COM1 or COM2.  Note: NO COLON! NO COM3,
  146.         NO COM4!
  147.  
  148. Direct  There are two options, Direct and Serial.  Direct supports
  149.         Carrier Detect, Serial doesn't require carrier detect.
  150.  
  151. 19200   Speed to call at.  I use 19200 on HSTs, even when calling
  152.         non-HST systems.  It works fine that way.  19200 is the highest
  153.         speed that I have tested.  Try 38400 at your own risk!
  154.  
  155. g       Protocol.  The only protocol supported by uucico is the UNIX g
  156.         protocol for uucp.  Other protocols exist, but are not yet
  157.         supported.
  158.  
  159.  
  160. Expect/Send sequences (also known as a "chat script"):
  161.  
  162. From here on out, entries in Systems are in pairs.  They are expect and
  163. send.  They perform roughly the same thing as a QModem script.  The
  164. difference is that they are simpler and more cryptic.  Here's the pairs
  165. from the example:
  166.  
  167. "" ATZ  - The "" means nothing.  In other words, expect nothing, send
  168.         ATZ.  We use "" as a dummy entry here so that we can proceed to
  169.         the "send" stage.  ATZ is, of course, the modem reset command.
  170.         If you need some sort of initialization, send that instead.
  171.  
  172. OK ATDT5551212 -  Wait for the "OK" from the modem, then send the
  173.         dialing instruction to dial the remote systems phone number.
  174.  
  175. CONNECT \d\r\d\r - Wait for connect from your modem and then execute the
  176.         following instructions, one after another:
  177.         \d - pause two seconds
  178.         \r - send carriage return
  179.         \d - pause two seconds (again)
  180.         \r - send carriage return
  181.  
  182.         The logic here is that most Unix systems need a second or two to
  183.         spawn a login prompt after you connect to the modem.
  184.         Additionally, many systems need one or two carriage returns to
  185.         get the login.  Full summary is below.
  186.  
  187. ogin:--ogin: romulus   This is a little different.  Here we are waiting
  188.         for the five characters "ogin:".  Please note the "--" and then
  189.         the repetition of the "ogin:".  This means wait then send
  190.         whatever is between the dashes.  That could be nothing, as shown
  191.         here, in which case all that is sent is a carriage return.  You
  192.         could also put the word "BREAK" between the two dashes (i.e.,
  193.         "ogin:-BREAK-ogin:" to send a break.  This is needed, on
  194.         occasion to cycle the connect speed on the remote system.
  195.         The default delay is 30 seconds between all expect/send
  196.         sequences, including between the two dashes.  You can override
  197.         this delay with the -t option, see above.
  198.  
  199.         (Note: "ogin:" is the last five characters of the system login
  200.         prompt. Most UNIX systems use login:, but others might have
  201.         something else. I recommend that you call the system with a
  202.         terminal program first and see what the prompt looks like.)
  203.  
  204. word: sela      Wait for the system password prompt and send the
  205.         password (sela).
  206.  
  207. From this point, the process is automatic.  The systems identify
  208. themselves to each other and the calling system (i.e., you) sends the
  209. items it has spooled for the remote site.  Then the channel is reversed
  210. and remote sends to you.  After that, the systems hang up and uucico.exe
  211. exits with error level 0.  If a busy or other problem occurred,
  212. uucico.exe will exit with error level 1.  See CALLUNIX.BAT for how this
  213. is handled.
  214.  
  215. UUCICO ERROR MESSAGES:
  216.  
  217. On occasion, particularly if your UNIX host didn't finish setting up
  218. *your* system on *their* system,  you may get these error messages in
  219. your \UUPCB\ADMIN\UUCP log file.
  220.  
  221. For example you might get:
  222.  
  223. Can't Tango - (reason).  Can't Tango means that you can't talk.  Here
  224. are some of the reason codes:
  225.  
  226. Can't Tango - RLOGIN - The remote system does not have permission to
  227.         talk to you.  There is a "Permission" file on most Unix systems
  228.         that must be set before the system will let you connect.
  229.  
  230. Can't Tango - RLCK - The remote system has a "lock" on file for your
  231.         system.  That is a flag that indicates that remote is trying to
  232.         call you (NOTE: uuPCB doesn't currently support RECEIVING
  233.         calls.) or it has not yet removed the lock from the previous
  234.         conversation.  Wait a few minutes and try again.
  235.  
  236. Can't Tango - RYou are unknown to me. - In other words, your system is
  237. not defined in the remotes systems file.  Check for typos, line noise
  238. problems, etc.
  239.  
  240.         Here's a summary of these commands:
  241.  
  242.         \b    Send or expect a backspace (i.e., a control-H).
  243.         \c    Dont send a CR after the end of a send string.
  244.         \d    Two second Delay.
  245.         \n    Send or expect a linefeed (i.e., a control-J).
  246.         \r    Send or expect a carriage return (i.e., a control-M).
  247.         \s    Send or expect a space character.
  248.         \t    Send or expect a tab (i.e., a control-I).
  249.         \\    Send or expect the backslash character.
  250.  
  251.         You can send other characters by send a "\" and a three digit
  252.         octal representation of the ascii code.  That's right, OCTAL
  253.         (base 8), not decimal, not hex.
  254.  
  255.                          High Speed Connections
  256.  
  257. If you are connecting to your feed site at high speed (9600 or higher),
  258. a fossil driver like BNU.COM or BNU.SYS might be needed.  In many cases,
  259. UUCICO.EXE operating without the fossil driver at high speed will have a
  260. large number of errors.  A fossil driver will, in many cases, clear this
  261. up.  BNU170.ZIP is available for download from Ed Hopper's BBS at
  262. 713-997-7575.  BNU supports locking of port speed at 19200, etc.  It can
  263. be installed and uninstalled as part of your batch file if you do not
  264. want to run it all the time.  Note the "uu.driver: fossil" parameter
  265. (below) for the static file.  It MUST be included for your fossil driver
  266. to work.
  267.  
  268.                          STATIC FILE PARAMETERS
  269.  
  270. In some cases you will not need these parameters.  These parameters go in
  271. the STATIC file.
  272.  
  273. uu.alive - Time before UUCICO gives up on a call attempt.  Default is 90
  274.            seconds.
  275.  
  276. uu.debug - Allows you to set the default debugging level.  The -x
  277.            command line option also does this.
  278.  
  279. uu.driver - By setting 'uu.driver: fossil' you can utilize a fossil
  280.             driver if desired.
  281.  
  282. uu.errors - Number of errors before aborting a session.  Default is
  283.             200.
  284.  
  285.                          ┌───────────────────┐
  286.                          │Desqview Users Note│
  287.                          └───────────────────┘
  288.  
  289. The Clark Development documentation for use of PC Board and Desqview
  290. instructs you to set the parameter:
  291.  
  292. Uses Serial Ports (Y,N,1,2) ...............................N
  293.  
  294. If you do this, UUCICO may be unreliable.  Therefore, set it to Y or to
  295. the com port for that node.  You need only do this on the Desqview
  296. partition that actually executes UUCICO.
  297.  
  298.  
  299.  
  300.