home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / internet / trickle.doc < prev    next >
Encoding:
Text File  |  2003-06-11  |  41.7 KB  |  863 lines

  1.  
  2.  
  3.                          The TRICKLE Server
  4.                (C)1987-1993 Turgut Kalfaoglu <TURGUT@TREARN>
  5.                     Last Document Revision: Mar 1993
  6.  
  7. Contents:
  8.  
  9.   * What is TRICKLE?
  10.       * The server site list
  11.       * Sending commands to TRICKLE: How?
  12.       * What does it provide (directories and sites)
  13.       * Trickle at a glance (statistics)
  14.   * How Does It Work?
  15.       * How to use /PDDIR
  16.       * How to conduct global searches
  17.       * How to use /PDGET
  18.       * Subscribing to files
  19.       * FTP Delivery to you
  20.       * Other commands of interest
  21.       * Local (optional) commands
  22.   * Receiving your files:
  23.       * Format of the arriving files
  24.       * Receiving your file in a different
  25.         format(Sending/Encoding options)
  26.       * VAX/VMS Users - how to receive the files..
  27.       * A last word on options
  28.       * How to Use BITSEND/BITRCV (IBM and VAX)
  29.       * How to receive the file that arrives (via PC3270 or Kermit)
  30.   * How to Donate files to SIMTEL-20 archives
  31.   * The .ARC format
  32.   * The .ZIP format
  33.   * Server Internals:
  34.       * How Does the Cache Work?
  35.       * The amazing life of a /PDGET request
  36.       * Quotas and other Ugly Limitations
  37.       * Sending files to TRICKLE
  38.       * Delay Periods (How long will it take?)
  39.   * Additional Help (lists, online docs, human help)
  40.   * Glossary that does not exist
  41.  
  42.  
  43. What is TRICKLE?
  44.  
  45.     This server holds different server's  files in its shared cache,
  46.     thus  speeding up  the delivery  of the  requested files  with a
  47.     reduced network  load.  It  uses efficient listserv  delivery if
  48.     the file has  multiple recipients, and among  the server network
  49.     there is up to one copy of any given file.
  50.  
  51. The Server Sites (listed in connection order:)
  52.  
  53. Location        EARN/BITNET          Internet
  54. --------------  ----------------     ----------------------------------
  55. In Turkey:      TRICKLE@TREARN       TRICKLE@EGE.EDU.TR
  56. In Italy:       TRICKLE@IMIPOLI
  57. In Belgium:     TRICKLE@BANUFS11     TRICKLE@CCS.UFSIA.AC.BE
  58. In Austria:     TRICKLE@AWIWUW11
  59. In Germany:     TRICKLE@DEARN        TRICKLE@VM.GMD.DE
  60. In Israel:      TRICKLE@TAUNIVM      TRICKLE@VM.TAU.AC.IL
  61. In Netherlands: TRICKLE@HEARN        TRICKLE@HEARN.NIC.SURFNET.NL
  62. In France:      TRICKLE@FRMOP11      TRICKLE@FRMOP11.CNUSC.FR
  63. In Colombia:    TRICKLE@UNALCOL      TRICKLE@UNALCOL.UNAL.EDU.CO
  64. In Sweden:      TRICKLE@SEARN        TRICKLE@SEARN.SUNET.SE
  65. In Turkey:      TRICKLE@TRMETU       TRICKLE@3090.CC.METU.EDU.TR
  66.  
  67.     You are  urged to use the  one that is closer  to your location.
  68.     In this tutorial, we will be using 'TELL TRICKLE AT FRMOP11',but
  69.     this can  be replaced  with 'TELL TRICKLE  AT <your  location of
  70.     preference>'
  71.  
  72. Sending Commands To Trickle: How?
  73.  
  74.     We  also will  use  the 'TELL'  command to  send  a single  line
  75.     message.  It should be replaced with whatever is appropriate for
  76.     your system.  (Like XMIT , SEND, etc.) If you are on a node that
  77.     cannot reach a TRICKLE directly,  for example, an internet node,
  78.     then you  must send MAIL  files to  the server.  Simply  put the
  79.     commands, one per line, into the  text portion of your mail.  If
  80.     you are  using MAIL,  you do  not need to  put 'TELL  TRICKLE AT
  81.     FRMOP11' in front of every command -every line has to begin with
  82.     a slash  (all valid trickle  commands begin with a  slash).  You
  83.     can also  place more than  one command  per command file,  up to
  84.     your daily command limit.
  85.  
  86.     RED now  accepts command  files in MAIL,  NOTE, or  regular file
  87.     format.   Use  your system's  (and  yours)  favorite utility  to
  88.     prepare your  command, and mail  it to  the server.  If  you are
  89.     using MAIL, you  may need to place Reply-To: tag  to ensure that
  90.     the server replies  to the address that you  specify, instead of
  91.     your 'obvious' address from your 'From:' field.
  92.  
  93.     The command  files may contain  any number of  instructions, one
  94.     per line.   These lines must all  start with a slash,  since all
  95.     server commands begin with a slash.
  96.  
  97.     If you are on  a site that is not part  of BITNET/EARN, you will
  98.     receive  the files  you  request UUENCODED.   You  may tell  the
  99.     server otherwise by specifying (XXE (HEX  or (BTOA at the end of
  100.     your command.  If you wish to  make sure that the server replies
  101.     via mail, you need to append (MAIL to the end of your command.
  102.  
  103. What Does it Provide?
  104.  
  105.     A Milnet  node, SIMTEL20.ARMY.MIL at White  Sands Missile Range,
  106.     New  Mexico contains  a  large selection  of  public domain  and
  107.     'shareware'  software.  This  DECsystem-20 machine,  running the
  108.     Tops-20  operating  system  provides  many  files  of  interest,
  109.     especially to CP/M and MSDOS users.
  110.  
  111.     The Trickle (or RED) server mirrors these SIMTEL's files,plus any
  112.     number of other FTP sites,  currently including, but not limited
  113.     to nic.funet.fi, wuarchive.wustl.edu, and ftp-os2.nmsu.edu.  The
  114.     server operators  are free to  choose the directories  that they
  115.     would  like to  support.  Thus  the exact  directories supported
  116.     varies from server to  server.  The non-standard directories are
  117.     considered to the be "Global Directories" meaning, regardless of
  118.     locations,  users  requesting  files  from  these  archives  are
  119.     honored.
  120.  
  121. The Current List of Provided Directories
  122.  
  123.     Let us stress  that this list can change at  any moment, and new
  124.     directories can be added at any time:
  125.  
  126. Directory     Mirrored FTP Site     Provided Via       Comments
  127. ---------     -----------------     ------------       ---------------
  128. MSDOS         SIMTEL20.ARMY.MIL     LISTSERV@RPITSVM   All servers have it
  129. MISC          SIMTEL20.ARMY.MIL     LISTSERV@RPITSVM    "     "     "    "
  130. SIGM          SIMTEL20.ARMY.MIL     LISTSERV@NDSUVM1    "     "     "    "
  131. PC-BLUE       SIMTEL20.ARMY.MIL     LISTSERV@NDSUVM1    "     "     "    "
  132. CPM           SIMTEL20.ARMY.MIL     LISTSERV@NDSUVM1    "     "     "    "
  133. ARCHIVES      SIMTEL20.ARMY.MIL     LISTSERV@RPITSVM    "     "     "    "
  134. UNIX-C        SIMTEL20.ARMY.MIL     LISTSERV@FRORS12    A "global" directory
  135. MACINTOS      SIMTEL20.ARMY.MIL     LISTSERV@FRORS12    "     "       "
  136. OS2           FTP-OS2.NMSU.EDU      LISTSERV@FRORS12    "     "       "
  137. AMIGA         NIC.FUNET.FI          LISTSERV@FRORS12    "     "       "
  138. KERMIT        WATSUN.CC.COLUMBIA.EDU LISTSERV@FRORS12   "     "       "
  139. TEX           RUSINFO.RUS-UNI-      LISTSERV@FRORS12    "     "       "
  140.               STUTTGART.DE
  141. WUARCHIVE     wuarchive.wustl.edu   BULLETIN@AWIWUW11   "     "       "
  142. EXPO-MIT      export.lcs.mit.edu    BULLETIN@AWIWUW11   "     "       "
  143. UUNET         ftp.uu.net            BULLETIN@AWIWUW11   "     "       "
  144. SUMEX-AIM     sumex-aim.stanford.edu BULLETIN@AWIWUW11  "     "       "
  145.  
  146.     In most cases, the Provided-Via server either limits the commands
  147.     from users,  or does not accept  them.  It is provided  here as a
  148.     reference.  You are advised to use them via the TRICKLE server.
  149.  
  150.     These  directories  are  mirrored   identically  -  meaning,  for
  151.     example,  anything  that  is   in  the  /pub/amiga  directory  of
  152.     NIC.FUNET.FI can be obtained  from trickle as <AMIGA.subdirname>.
  153.     They  are  refreshed  with  the  originals every  1  to  7  days,
  154.     depending on the activity of the directory.
  155.  
  156.     The "global"  directories are  the directories  that are  open to
  157.     everyone, regardless of geographical location.  These directories
  158.     are "optional" and  thus the server administrator  decides if his
  159.     or her site should support it.
  160.  
  161.     We, the server  operators, would like to stress that  we have no
  162.     affiliation with  the US Army,  with White Sands  Missile Range,
  163.     nor with any  of the other file providing  sites.  These servers
  164.     are made available  in the true spirit  of volunteerism, without
  165.     any outside sponsorship for the service.
  166.  
  167. TRICKLE At A Glance
  168.  
  169.     Trickle has sent 4.5 gigabytes  of software in Februrary 1993 to
  170.     users.  It  has received 1  gigabyte of software from  FTP sites
  171.     during  the   same  period.   Your  "average"   TRICKLE  has  12
  172.     directories, 2860 subdirectories, 58371 files in 2.6 gigabytes!
  173.  
  174.     TRICKLE code has  been worked on since 1988, and  in 1993, it is
  175.     still being enhanced.  Just the code itself takes 750 Kilobytes,
  176.     without any  optional commands.   With directories,  help files,
  177.     external commands, it occupies 11 megabytes of disk space.
  178.  
  179. How does it work?
  180.  
  181.     It  provides  faster file  delivery  than  remote file  servers,
  182.     because it holds the most  recently requested files, and it also
  183.     asks its peers, to find out if any of them has the file.
  184.  
  185.     It has  two major commands.   /PDDIR and /PDGET..  As  the names
  186.     indicate, the /PDDIR provides the names of the files, and /PDGET
  187.     delivers files.
  188.  
  189. How to use /PDDIR:
  190.  
  191.     On IBM/VM systems,  you can get a list of  the 'major directory'
  192.     names by simply typing this command:
  193.                       TELL TRICKLE AT FRMOP11 /PDDIR
  194.     If you  are mailing  in your  commands, you  simply need  to put
  195.     /PDDIR at the body of your mail message.
  196.  
  197.     RED should  now send you  a list  of the major  directory names.
  198.     Now, you can obtain a list  of the sub-directories of any of the
  199.     displayed  names  by  putting  the name  between  less-than  and
  200.     greater-than symbols..  For example,
  201.            TELL TRICKLE AT FRMOP11 /PDDIR <MSDOS>
  202.  
  203.     RED  will  mail   you  a  file  containing  the   names  of  the
  204.     sub-directories.   Once you  choose a  subdirectory to  examine,
  205.     type in the main directory name,  a period, then the name of the
  206.     subdirectory   name.   For   example,   if   you  chose  STARTER
  207.     sub-directory of MSDOS, then you may type this:
  208.            TELL TRICKLE AT FRMOP11 /PDDIR <MSDOS.STARTER>
  209.  
  210.     RED will  first notify you  of the  number of files  found, then
  211.     will go  ahead and mail  you this  list..  Once you  choose your
  212.     file(s) to order, then read on..
  213.  
  214. How to conduct Global Searches:
  215.  
  216.     Let's say  you know  the filename,  but have  no idea  about the
  217.     location of  the file.   There is an  optional command  that can
  218.     help  you perform  searches based  on a  wild-card you  specify.
  219.     It's called /GENERIC.  You basically specify all you can, and it
  220.     does the rest.
  221.  
  222.     Let's say the file you are trying to find is called SCAN, and it
  223.     runs under MS-DOS.  You can send something like:
  224.  
  225.           /GENERIC <MSDOS.*>SCAN*.*
  226.  
  227.     This will match any file in  a subdirectory of MSDOS that starts
  228.     with the word  SCAN.  You can get very exotic  with the pattern,
  229.     and the  only limitation  is that  the 'root'  directory, namely
  230.     MSDOS must be specified.
  231.  
  232. How to use the /PDGET command:
  233.  
  234.     Once you have a filename in hand, then tell RED to send you this
  235.     file  by providing  it with  the  full directory  name, and  the
  236.     filename..  If you  wish to order a game  called MADMAX.ARC that
  237.     resides in  the <MSDOS.GAMES>  directory, then  you may  type in
  238.     this command:
  239.           TELL TRICKLE AT FRMOP11 /PDGET <MSDOS.GAMES>MADMAX.ARC
  240.  
  241.     Naturally,  the above  is only  an example,  and ever  since the
  242.     GAMES directory has vanished  from SIMTEL (managerial problems),
  243.     the above example is guaranteed not to work.
  244.  
  245.     Note that it is now possible to order multiple files with /PDGET.
  246.     If you just specify '*' wildcards in your /PDGET command, TRICKLE
  247.     uses the '/generic' command to itself, finds out which files
  248.     match, and orders those files for you. So, if you want to get
  249.     the files starting with 'CSD' from the OS2 directory, you may
  250.     say:
  251.           TELL TRICKLE AT FRMOP11 /PDGET <OS2.*>CSD*
  252.  
  253. Subscribing to Files:
  254.     This new feature  allows you to subscribe to a  'pattern' on the
  255.     server, and whenever new files that match that pattern arrive to
  256.     the server, a  /PDGET command will be  automatically entered for
  257.     you, for those files.
  258.  
  259.     Basically, you  tell the server the  directory, the subdirectory
  260.     and a 'keyword' - the first  few characters of a filename.  If a
  261.     few files match  your request, your entry is  recorded, and from
  262.     there on,  if that pattern shows  up in the 'New  Files Listing'
  263.     mail of  the server, the  command /PDGET  for that file  will be
  264.     entered for you.
  265.  
  266.     LIMITATIONS:  ..You are  still bound  by your  daily quotas  and
  267.     server  quotas.   The server  simply  'simulates'  that you  are
  268.     sending  /PDGET  commands to  it.   So,  if  you have  too  many
  269.     subscriptions, you MAY get 'you  issued too many commands today'
  270.     error, or  'the server's  outstanding bytes  count is  too high,
  271.     cannot order another file from  SIMTEL right now.' errors.
  272.  
  273.     The simulated  /PDGET command is assumed  to have come in  as an
  274.     interactive message to  the server, so if you are  not logged in
  275.     at that  time, you may miss  the server's reply message  - don't
  276.     think that it  did not work.  Try a /TRLIST  before ordering the
  277.     file (again).
  278.  
  279.     HOW TO USE:
  280.  
  281.     Actually, there are three new commands:
  282.         /SUB   <directory.subdir>keyword
  283.         /UNSUB <directory.subdir>keyword
  284.         /SUB QUERY
  285.  
  286.     /SUB now  has double purpose -  you can still subscribe  to 'new
  287.     directory listings' announcement file  by using /SUB <directory>
  288.     , but  you can also use  it with a subdirectory  option as well.
  289.     Let me give an example, I like getting the SCAN utility whenever
  290.     a new one is available, so I can send this (and I already did :)
  291.  
  292.     /SUB <MSDOS.VIRUS>SCAN (UUE
  293.  
  294.     Now I am subscribed to  all files in the <MSDOS.VIRUS> directory
  295.     that start with the word SCAN.  Note that it would be useless to
  296.     subscribe to "SCAN91" since the trailing numbers keep changing -
  297.     in the near future, no files would match your pattern.
  298.  
  299.     The UUE option  just tells the server to encode  the file for me
  300.     before sending.  It's an optional parameter.  (See the help file
  301.     for encoding options).  If you don't specify it, the server will
  302.     send  it   NETDATA  (..if   your  "From:"   address  is   not  a
  303.     domain-address.  If so, the default is the UUE encoding.)
  304.  
  305.     It is also possible to subscribe to ALL files in a subdirectory.
  306.     Let's  say that  you want  to receive  all patches  available to
  307.     OS/2, as soon as they are made available.  You could send:
  308.  
  309.         /SUB <OS2.OS2_PATCHES>*
  310.  
  311.     to a server that supports this  directory.  From now on, any new
  312.     or changed file will be delivered to you.
  313.  
  314.     Likewise, /UNSUB removes an entry from your subscription list.
  315.  
  316.     Finally, /SUB QUERY allows you to review your subscriptions.  It
  317.     will display a list of the keywords stored for you.
  318.  
  319.     There  is  currently  no  artificial  limit  on  the  number  of
  320.     subscriptions,  and hopefully  we will  not have  to build  such
  321.     limits.  Remember: You  CAN exceed daily limits if  you have too
  322.     many subscriptions.
  323.  
  324.     Since the  filedates of  00INDEX, INDEX.TXT  and such  files are
  325.     usually  changed  without  changing the  contents,  this  causes
  326.     problems for  users who are  subscribed to entire  directories -
  327.     they keep getting the INDEX  for that directory regardless of if
  328.     it  was changed  or not.   To  prevent this,  TRICKLE no  longer
  329.     includes  such files  in its  New  Files Listings,  nor does  it
  330.     deliver it to the people who are /SUBscribed to them.
  331.  
  332.     Note:  This new  option also  allows for  'mirroring' of  server
  333.     archives.  If thre  are those who are working on  a server which
  334.     can  receive feed  from a  TRICKLE server,  please contact  your
  335.     closest  server's  administrator.   TRICKLE can  subscribe  your
  336.     server to  ALL the files  in a  subdirectory, and order  ALL new
  337.     files  -   but  for  this,   you  need  the  approval   of  your
  338.     administrator.
  339.  
  340.     Finally, a disclaimer: A file  subscription can be terminated by
  341.     the server maintainer, if it deemes to be too resource-consuming
  342.     (such as, if you subscribe to too many things).
  343.  
  344. FTP Delivery to you
  345.  
  346.     TRICKLE now  has an  option to deliver  the files  you requested
  347.     directly to your PC or  workstation!  For this, your system must
  348.     be  on  the  internet,  so  that TRICKLE  can  FTP  it  to  you.
  349.     Basically, you tell  the server to which host name  and to which
  350.     directory you  want your software  delivered to, and  the server
  351.     uses this  information whenever  it "wants"  to send  you files.
  352.     You  need  to  provide  the information  once,  and  the  server
  353.     broadcasts this info to its peers, and records it on disk.
  354.  
  355.     How to configure TRICKLE for FTP Delivery
  356.  
  357.     You need to use the /FTP ADD address directory command to define
  358.     where  you want  the  software  sent.  "address"  can  be an  IP
  359.     address,  or a  domain  address,  like "earn-ps.circe.fr".   The
  360.     directory is the name of the  directory where you want the stuff
  361.     sent to.   The server will  use this next  to its "cd  " command
  362.     when  it connects  to your  ftp server.   Let's say  you are  at
  363.     myhost.somewhere.here,  and  you  want   TRICKLE  to  send  your
  364.     software to your /pub/incoming directory.  Your /FTP ADD command
  365.     needs to look like:
  366.  
  367.       /FTP ADD myhost.somewhere.here /pub/incoming
  368.  
  369.     Once you  have this defined,  TRICKLE will  use one of  its "ftp
  370.     slaves" to  deliver you all files.   Informational messages will
  371.     always come  thru by  mail, including  output of  commands, like
  372.     /PDDIR.
  373.  
  374.     How To Configure Your Workstation or PC for FTP Delivery
  375.  
  376.     TRICKLE   will   always   use   "anonymous"   as   userid,   and
  377.     "-trickle@nodename.bitnet" as password.  nodename is the name of
  378.     the local  node where the  server is  running.  So, you  need to
  379.     configure your  workstation or  PC to  accept someone  trying to
  380.     connect  to you  as "anonymous."  Most software  packages permit
  381.     anonymous  users, but  you may  have to  configure your  network
  382.     software.
  383.  
  384.     When things go wrong
  385.  
  386.     TRICKLE's  "ftp  slaves"  (called  TRFTP servers)  will  try  to
  387.     connect to you up  to five times.  Then it will  send you a mail
  388.     message showing you the transcript of the failure.  It will keep
  389.     your file  in HOLD  status, until  someone restarts  that slave.
  390.     Then it  will re-try your  file again.  Since TRFTP  servers are
  391.     brand new code,  we hope to enhance it soon  so that it re-tries
  392.     the connection every  day, or even every x hours.   In any case,
  393.     the file is not lost, but can be delayed at the trftp server.
  394.  
  395.     Warning!
  396.  
  397.     FTP  service  is  only  for those  whose  hardware/software  and
  398.     network connection are capable of  running a ftp deamon.  If you
  399.     do not have a functioning FTP  deamon on your system, you should
  400.     NOT use the /FTP ADD command.   Otherwise, NONE of the files you
  401.     requested will be  delivered to you, and the  TRFTP servers will
  402.     try forever to connect to you.
  403.  
  404. Other Commands of Interest:
  405.  
  406. /NEWS  sends you our 2-page newsletter. Currently not used, ever since
  407.        we started discussion lists ('discussed' later on in this
  408.        document)
  409. /FTP ADD domainaddress directoryname
  410. /FTP QUERY
  411. /FTP DELETE    These commands are related to the FTP delivery of files
  412.       to your workstation or PC. See the chapter called "FTP Delivery".
  413. /STAT  provides you the statistics of daily usage.
  414. /HELP  sends you this file.
  415. /CAC Sends you a  list of the files that are  stored on its disk
  416.      right now.  These files can be sent faster than the other files.
  417. /OPS   displays the RED operators
  418. /QUO Shows you the RED's quota, and how much of that quotait has
  419.      used.  Once RED exceeds its  quota, it cannot order files, until
  420.      it receives some of the requested files.
  421. /SUB <dirnam> Allows you to  subscribe to a directory.  Whenever
  422.      a new listing comes in, RED  will send you a file containing the
  423.      names of the new files.
  424. /SUB <dirnam.subdir>pattern  Allows you to subscribe to a particular
  425.      set of files on the server. See chapter on "Subscribing to Files"
  426.      for more info.
  427. /SUB QUERY  Displays the file patterns you are subscribed to.
  428. /UNSUB <dirnam>  is to stop RED  from sending you the  new files
  429.      listings.  Please  issue this  command if you  will not  use the
  430.      server anymore.
  431. /UNSUB <dirnam.subdir>pattern  Terminates a file subscription.
  432. /NEW <dirnam>  nnn This  command, displays  the files  that have
  433.      arrived within 'nnn' days, in  the 'dirnam' directory.  If 'nnn'
  434.      is  omitted,  it defaults  to  the  last  time you  issued  this
  435.      command, for  that directory.  If  you are issuing  this command
  436.      for the first  time, then it simply looks for  files that are at
  437.      most a month old.
  438. /POLL forces RED to check its peer servers. Normally the server checks
  439.     its peer servers at regular intervals to find out if they are
  440.     running. This command quickens this check. Useful if your own
  441.     trickle server is down, and you wish to use a remote server. If
  442.     you send this command to the remote server, it will recognize that
  443.     your closest server is down more quickly.
  444.  
  445. Local Help Commands:
  446.     Several versions  of this help  file have been written  in other
  447.     languages.  However, not all  RED servers support all languages.
  448.     For example, the  server at DKTC11 supports  /HJELP command, the
  449.     TREARN  server has  /IMDAT, the  FRMOP11 server  has /AIDE.   To
  450.     determine the correct local command,  send a '?' command to your
  451.     nearest server.
  452.  
  453. Local (optional) TRICKLE Commands:
  454.     A whole range of optional commands have been written for TRICKLE
  455.     by the  server administrators.   These commands are  listed when
  456.     you send a "/?" command to  the server.  Here is a brief summary
  457.     of the local commands that you are likely to encounter:
  458.     /GENERIC <dir.subdir>fn.ft       This command allows you to do
  459.       wildcard searches within the directories. Excluding the 'dir',
  460.       which must be specified, the other fields can be filled with
  461.       generic patterns. Here are some examples:
  462.            /GENERIC <MSDOS.*>SCAN*.*
  463.            /GENERIC <MSDOS.TR*>ARJ*.ZIP
  464.            /GENERIC <UNIX-C.*>GREP*.*
  465.       /GENERIC is  one of  the few  commands that  accepts '*'  as a
  466.       wild- card character.   This is in contrast  with /PDDIR which
  467.       can be supplied with the first few characters of a filename.
  468.     /DISTANCE node1 node2      This command calculates the distance
  469.       between two BITNET/EARN/Netnorth nodes. The calculation is
  470.       done based on the number of hops and the link speeds and
  471.       resistances.
  472.     /TRLIST      This command is very useful: It displays the files
  473.       you have already ordered from the server. It also lists the
  474.       status of each file - whether it is being checked at other
  475.       TRICKLE servers, or if it has been ordered from an FTP-NJE
  476.       gateway server.
  477.     /PDSNEWS     This is a local utility that replaces VM login
  478.       messages. If this command is installed at the local TRICKLE,
  479.       it can store system messages, and display only those messages
  480.       that the user have not seen before.
  481.  
  482. Receiving your files:
  483.  
  484.     Format of the Arriving Files:
  485.  
  486.     For the  below chart, we shall  assume that you have  not placed
  487.     any conversion options at the end of your command.
  488.  
  489.     If you have used:        You can expect the file to arrive:
  490.     ---------------------    ----------------------------------
  491.     'tell' style message:    BITSEND, NETDATA format.
  492.  
  493.     MAIL command file:       UUENCODED, in numbered pieces.
  494.  
  495.     A regular file, or       Just like 'tell' messages,
  496.     IBM's NOTE command:      replies in BITSEND, NETDATA.
  497.  
  498.     If the file is small enough, BITSEND reverts to SENDFILE, to send
  499.     your file in one piece. You can just use RECEIVE for such files.
  500.  
  501.     TRICKLE will send the files in a NETDATA format, -unless you use
  502.     the (OLD option-.  On IBM systems, these files can be LOOKed and
  503.     RECEIVEd,  but the  PEEK  command cannot  handle NETDATA  format
  504.     properly.  However, since most files  are ASCII, it is of little
  505.     use to  LOOK at them.  (LOOK  is a utility that  can be obtained
  506.     from  your  country NETSERV,  it  is  similar  to PEEK,  and  it
  507.     displays the contents of the files in your reader.
  508.  
  509.     Since SIMTEL  (and your  personal computer)  keeps its  files in
  510.     ASCII  format, so  does TRICKLE.   So, you  may not  be able  to
  511.     examine  your file  on  the  VM system.   However,  some of  the
  512.     description  files (recognized  by their  names) can  be ordered
  513.     with the (EBC80  or (EBC32 option, if you wish  to look at these
  514.     files on the VM. However, never order files ending with .ZIP or
  515.     .ARC using EBC options - the result will not be decypherable!
  516.     Such files are binary files that need to be sent to the PC for
  517.     proper processing.
  518.     Normally, SIMTEL files  are sent AS-IS, meaning,  ASCII.  If you
  519.     would like to  receive your file in a different  format, you may
  520.     want to append any  of the below to the end of  any of your your
  521.     commands:
  522.  
  523. Encoding options: You may use up to one from this list per command.
  524.     (EBC80 Converts the file to 80-Column EBCDIC format
  525.     (EBC32 Converts the file to 132-Column EBCDIC format
  526.     (UUE uuencodes the file
  527.     (XXE xxencodes the file that is to be sent to you.
  528.     (HEX Turns the file to HEX format  - use it if even (XXE doesn't
  529.        work for you, since the file doubles in size with this option.
  530.     (BTOA BTOA-Encrypts the file. Useful for Unix systems.
  531.  
  532. Sending Options: You may use up to one of these at a time:
  533.     (OLD Sends the file using DISK DUMP or PUNCH format
  534.     (SF Supresses BITSEND, and forces SENDFILE to be used for the transfer.
  535.     (MAIL Forces results to be sent via MAILER.  (This option is
  536.       automatically added for MAIL command files)
  537.     (MSG  Useful for /PDDIR command if you do not wish to receive the reply
  538.       as a mail message (long /PDDIR replies are sent via mail, short ones
  539.       are sent as messages by default)
  540.  
  541.     You may put  one of the sending options and  one of the encoding
  542.     options.   So, to  receive  a file  called  UUDECODE.C in  PUNCH
  543.     format and UUENCODEd:
  544.       TELL TRICKLE AT FRMOP11 /PDGET <MSDOS.C>UUDECODE.C (OLD UUE
  545.  
  546.     To receive a file in EBCDIC format, you may enter a command that
  547.     looks like this:
  548.       TELL TRICKLE AT FRMOP11 /PDGET <MSDOS.GAMES>MADMAX.ARC (EBC80
  549.  
  550.     However, it  is not  useful at  all to receive  an .ARC  file in
  551.     EBCDIC format.  The above is not a terribly good example. Oh well.
  552.  
  553. VAX/VMS Users:
  554.  
  555.     If  your  host  is  a  DEC VAX  system  running  VMS  with  Jnet
  556.     networking software, you can avoid the need for uuencoding.  You
  557.     can  tell the  Jnet software  to bypass  the usual  EBCDIC/ASCII
  558.     conversion, but there  are a few additional  steps needed before
  559.     downloading a file.
  560.  
  561.     * Receive  the file with  the Jnet command  RECEIVE/BINARY.  The
  562.     BINARY modifier  suppresses the normal  EBCDIC/ASCII conversion.
  563.     Let's assume that the file  is called MYFILE.ARC.  This file, as
  564.     received, is  almost correct; there may  be an error is  how VMS
  565.     interprets the records.
  566.  
  567.     *  Generate an  FDL file  for MYFILE.ARC  using: ANALYZE/RMS/FDL
  568.     MYFILE.ARC
  569.  
  570.     * Edit the FDL file with the command EDIT/FDL MYFILE
  571.  
  572.     Examine the CARIAGE_CONTROL setting.   Change it to NONE.  Exit
  573.     the editor.
  574.  
  575.     * Use the edited FDL  to correct carriage control interpretation
  576.     errors in the original MYFILE.ARC:
  577.  
  578.     CONVERT/FDL=MYFILE.FDL MYFILE.ARC FIXED_MYFILE.ARC
  579.  
  580.     * Download the FIXED_MYFILE.ARC as a binary file using any
  581.     reliable  means.  (For  VAX  Kermit, use  SET  FILE TYPE  BINARY
  582.     command before starting the download.)
  583.  
  584. A Last Word on Options:
  585.  
  586.     Some of  the options are not  compatible, such as (MAIL  SF, and
  587.     should not be used together -  the behavior of the server may be
  588.     unpredictable.  Also, the  (SF option may result in  a file that
  589.     is  too large  for shipment.   If that  is the  case, a  network
  590.     control program may  detect it, and delete it  before it reaches
  591.     you - use  (SF carefully.  Also,  (SF and (OLD options  would be
  592.     ignored if  you send in  your commands in  a MAIL file.   If you
  593.     wish to receive your files AS-IS,  and still be able to put your
  594.     commands in a file, you can either send a NOTE to the server, or
  595.     simply  create a  file using  your editor,  then send  this file
  596.     directly to the server, without first going through the mailer.
  597.  
  598. How to use BITSEND/BITRCV:
  599.  
  600.     From now on, RED is sending its files in a special format called
  601.     BITSEND - Unless  you include the (SF option  while issuing your
  602.     command.  In  this format,  the files that  are sent  are broken
  603.     into smaller pieces,  if the entire file is too  big to be sent.
  604.     If the file you request is  over the size limit, then the server
  605.     will first  send you a  file called <fn>  BITCTRL - this  is the
  606.     control file, where  BITSEND has written the  protocol used, the
  607.     number of pieces that make up that file, etc.
  608.  
  609.     -------------------------------------------------------
  610.     Important:
  611.     You   should NOT  'RECEIVE' any  files that  have BITCTRL
  612.     or just numbers as filetype!
  613.     -------------------------------------------------------
  614.  
  615.     If you wait  a little longer, the rest of  the file will arrive,
  616.     the filename will be the same  as the <fn> BITCTRL file, but the
  617.     filetype will  consist of just  numbers.  Once you have  all the
  618.     pieces that  make up that  file, you  can then issue  the BITRCV
  619.     command.  You must also specify the  'spool ID' of the file that
  620.     has  BITCTRL as  filetype.  From  RDRList, you  can simply  type
  621.     BITRCV in  front of the file  that has BITCTRL as  filetype.  If
  622.     you get back  an error message, saying  "UNKNOWN CP/CMS COMMAND"
  623.     it simply states that your installation does not have the BITRCV
  624.     program.  Contact your network manager/system operator.
  625.     Note: BITRCV EXEC  can be obtained from your  country NETSERV as
  626.     well.  Simply send "GET BITRCV EXEC" to your NETSERV.
  627.  
  628.     -----------------------------------------------------------
  629.     VAX users:
  630.     There is also an identical  file for your installation, however,
  631.     it is called 'BITRCV COM', and can be obtained from a NETSERV by
  632.     issuing GET BITRCV COM to your country NETSERV.
  633.     -----------------------------------------------------------
  634.  
  635.     If you get back  an error saying that not all of  the file is in
  636.     the  reader, it  simply means  that you  have to  wait a  little
  637.     longer for the rest of the file to arrive.
  638.  
  639.     If you are on a different system, thus cannot use neither BITRCV
  640.     EXEC nor COM,  you can simply merge the files  you receive using
  641.     your editor.
  642.  
  643. How to receive the file that arrives (via PC3270 or Kermit):
  644.  
  645.     Once the file you requested arrives, and is stored on your disk,
  646.     you  will most  likely  wish  to 'download'  this  file to  your
  647.     personal computer.  There are many types of mainframe computers,
  648.     many kinds of personal computers, so  it is impossible for me to
  649.     give you direct, and precise directions.
  650.     However, here are some clues:
  651.  
  652.     * If  you have a  PC with a 3270  Emulation program, and  an IBM
  653.     mainframe, you should request your files from the server without
  654.     options,  or with  (SF  option, and  use  the built-in  transfer
  655.     protocol of the emulation program, without any options again.
  656.     * If  you have  KERMIT at your  installation, request  your file
  657.     without  options, or  with  (SF option,  then  set the  KERMIT's
  658.     FILE-TYPE to BINARY before transferring your file.
  659.     * Remember that if you send a MAIL command file to the server to
  660.     request your  file, and you  use a  domain address as  the reply
  661.     address  (in your  From:  or Reply-To:  fields),  the file  will
  662.     arrive via mail  as well, in UUEncode format.   You can override
  663.     this by  specifying another format  like (XXE or (HEX  or (BTOA.
  664.     If  this file  is  big enough,  you may  receive  it in  several
  665.     pieces, as you can see from the subject header, which says 'Part
  666.     x of  y '.  If  this is the case,  you should edit  the received
  667.     pieces so that all the headers  and the blank lines are removed.
  668.     You may either transfer this  file to your personal computer and
  669.     UUDECODE (or UN-HEX, XXDECODE, etc) it  there, or do this at the
  670.     mainframe level and send the resulting binary file to your PC.
  671.  
  672. How to DONATE files to SIMTEL-20 Archives:
  673.  
  674.     Files that you  receive from here are sent  from another network
  675.     called ArpaNet.  The person-in-charge for the programs is: Keith
  676.     Petersen  <w8sdz@WSMR-SIMTEL20.ARMY.MIL>.   Since  it's  another
  677.     network, you  will need  to use  MAIL to  send the  message.  He
  678.     urges that you talk to him before  you send in the file, so that
  679.     he can check where it should  be put, if it already exists, etc.
  680.     After  getting his  approval,  you need  to  UUENCODE your  file
  681.     (perhaps using PDUTIL), then MAIL it to him.
  682.  
  683. The .ARC format:
  684.  
  685.     ARC is  a special  compression method that  provides substential
  686.     reduction on file  size.  There are one or  more files contained
  687.     within an .ARC  archive.  In order to extract the  files from an
  688.     archive, you  will need a  utility called ARC, or PKUNPAK. These
  689.     are available  from <MSDOS.ARC-LBR> directory.  The  actual file
  690.     names of  these files  vary, but  you may  try:
  691.      TELL  TRICKLE AT FRMOP11  /PDGET  <MSDOS.ARC-LBR>PK361.EXE
  692.     or:
  693.      TELL  TRICKLE  AT FRMOP11 /PDGET <MSDOS.ARC-LBR>ARC512.EXE
  694.     If these  attempt s fail,  it will  probably mean that  the file
  695.     version has changed, and so has  the file name.  You may wish to
  696.     try
  697.      TELL TRICKLE AT FRMOP11 /PDDIR <MSDOS.ARC-LBR>
  698.     and guess the new name of  these files.  Once you receive either
  699.     ARC or PKXARC  and an .ARC file, transmit them  to your personal
  700.     computer and issue the following command:
  701.                           ARC X <filename.arc>
  702.                                    or
  703.                            PKUNPAK <filename>
  704.  
  705.     There is also a second utility called ARCUTIL, which runs on the
  706.     VM  systems, and  extracts  files.  It  also  provides ASCII  to
  707.     EBCDIC conversion  of the extracted files.   To request ARCUTIL,
  708.     enter:
  709.       TELL  TRICKLE  AT   HEARN   /PDGET  <MISC.IBM-VM>ARCUTIL.LBR
  710.  
  711.     The directories of SIMTEL change often.  So, the above files may
  712.     or may not  be in the same directories as  I have indicated.  So
  713.     you may have  to do some searching to find  them..  A good place
  714.     to  check   would  be   the  <MSDOS.STARTER>   directory,  where
  715.     additional  help,  and the  mentioned  archive  managers can  be
  716.     found.
  717.  
  718. The .ZIP Format
  719.  
  720.     The ZIP format  was recently introduced to  SIMTEL archives.  It
  721.     works just  like .ARC,  it provides  an even  better compression
  722.     ratio.  The 'current' file to process ZIP files is PKZ110EU.EXE,
  723.     which is a self-extracting file, meaning that you run it, and it
  724.     extracts  several files  from  'itself'.  Very  odd indeed.   To
  725.     order this file,
  726.     use:
  727.  
  728.         TELL TRICKLE AT FRMOP11 /PDGET <MSDOS.ZIP>PKZ110EU.EXE
  729.  
  730.     Again, the filenames change, so  if TRICKLE replies that no such
  731.     file exists, try a:
  732.  
  733.         TELL TRICKLE AT FRMOP11 /PDDIR <MSDOS.ZIP>EXE
  734.  
  735.     The EXE bit is called a  'keyword' and will cause all files that
  736.     contain 'EXE'  in their  names to be  displayed, instead  of the
  737.     whole <MSDOS.ZIP>  directory, which held  76 entries when  I was
  738.     working on this chapter.
  739.  
  740. Server Internals * * Abandon All Hope Ye Who Enter Here * *
  741.  
  742.  
  743. How Does the  Cache Work?
  744.  
  745.     Imagine that you ask for a file, and the server brings this file
  746.     from a distant  site for you.  Thinking that others  may wish to
  747.     have this  file as well, the  server keeps this file  in an area
  748.     called 'cache.' When someone else requests this file, the server
  749.     simply uses the  stored copy of the file, instead  of asking for
  750.     the file again  from far away.  All the servers  that you see on
  751.     top of this document have  different files in their caches.  So,
  752.     if you  wish to see  the files they  are holding right  now, you
  753.     will have to issue '/CAC' to each one of them.  Note that a file
  754.     does not stay in cache forever.   As new files arrive, the older
  755.     ones are deleted to make room.
  756.  
  757. The Amazing Life of a /PDGET request:
  758.  
  759.     Once you order your file via /PDGET, the server will first check
  760.     its local  cache listings.  If  the file  is not there,  then it
  761.     will  check the  SIMTEL20 listings  to ensure  that a  such file
  762.     indeed exists.  After this, the  server sends the request to all
  763.     other servers, asking them if they  have your file in cache.  If
  764.     a server  replies 'YES!', then that  server has to send  you the
  765.     file.  Everything fails: none of  the servers have your file, or
  766.     even  some servers  don't  respond.  Your  server  will give  up
  767.     waiting  for a  reply in  a day,  and order  your file  from the
  768.     United States.  Once  the file requested arrives  from there, it
  769.     will be sent to you, and  put into the cache directory.  Quite a
  770.     trip for one /PDGET command.
  771.  
  772. Quotas, and Other Ugly Limitations
  773.  
  774.     You may be surprised that  even though most TRICKLE servers have
  775.     some kind of quota, we still get several hundred requests daily.
  776.     Without them,  this number  may easily  rise to  thousands.  The
  777.     impact of  a such usage rate  on the local computer  can be very
  778.     'tiring.' So, the following quota schemes have been implemented:
  779.     1) Total outstanding  bytes quota: This quota is  not really put
  780.     by  the server's  operators.  It  is the  amount that  a TRICKLE
  781.     server can order from The  United States.  This is currently set
  782.     at 10 megabytes for most servers.
  783.     2) Prime times: Some of the  servers, do not function during the
  784.     day,  they  record  the  commands received,  and  process  these
  785.     commands later, when the load on the computer is low.
  786.     3) User request  limitations: Most TRICKLE servers  have a limit
  787.     on how many requests a user can make on the server per day.  The
  788.     request  can be  a  simple /OPS  command, or  a  file order  via
  789.     /PDGET.  It still counts as one.   The server will warn you that
  790.     you are  approaching the  limit, once you  have 3  more commands
  791.     left.  There is  also a 'cost' feature that states  that some of
  792.     the  commands cost  more than  others.  The  following commands:
  793.     /CACHE,  /PDGET,  and  if   implemented,  /TRLIST  and  /GENERIC
  794.     commands cost as two commands.  So, if the site's quota limit is
  795.     40-commands-per-user,  you  may  only  issue  20  of  the  above
  796.     commands.  The commands that are not listed above are counted as
  797.     one command.
  798.     4) Outstanding files  per user: This scheme is  also employed by
  799.     some servers, and it limits the number of files a user can order
  800.     from The United States.
  801.     5)  Delayed Sendfile:  This  last scheme  is  simple: it  delays
  802.     sending  your file  until a  specified time  comes.  Usually  at
  803.     night, when  the network load  is low.   If a site  uses delayed
  804.     sendfile, you  will see a '*  Your file will be  mailed' notice,
  805.     instead of '* Your file is being mailed.'
  806.  
  807. Delay Periods:
  808.  
  809.     If  the file  that you  requested  already exists  in the  cache
  810.     directory, then you  may expect to receive  your file overnight,
  811.     at the latest.  However, the system that RED is running is often
  812.     slowed  down by  the  other processes  that  are running.   This
  813.     negatively  affects  the response  time  of  RED.  If  the  file
  814.     requested does not  exist in the cache directory,  then RED will
  815.     have to order  this file from its list server..   If this is the
  816.     case,  the response  time  of  RED is  dependent  upon the  list
  817.     server.   RED will  give up  waiting for  a file  after five  to
  818.     twelve days after its request.
  819.  
  820. Additional Help:
  821.  
  822. 1) A Discussion List
  823.     We  now   have  several  online  discussion   lists  that  gives
  824.     assistance on the  server.  To join one or more  of these lists,
  825.     simply send the following  command to either LISTSERV@TREARN,
  826.     or LISTSERV@HEARN:
  827.               SUB <the listname> My-full-name
  828.  
  829.     where the listname is one of  these, depending on which list you
  830.     would like to join:
  831.       RED-UG        about the software provided by the servers.
  832.       RED-SYS       Server system news/problems list.
  833.     For example, if you wish to learn how to use the new program you
  834.     got from  the server, or if  you are looking for  a program that
  835.     would remove the virus from  your diskettes, you can consult the
  836.     RED-UG list.  If the server crashes  on you, or doesn't send you
  837.     the file  that you asked for,  you should write this  to RED-SYS
  838.     list.
  839.  
  840.     Remember that you can use MAIL to interact with both TRICKLE and
  841.     LISTSERV, and  if you do,  you need to  put the commands  in the
  842.     mail  body, and  not in  the  subject section,  like some  other
  843.     servers.
  844.  
  845. 2) Other online documentation on the server
  846.     You may request additional documentation  on the workings of the
  847.     server by issuing:
  848.                 INDEX RED-UG
  849.     to LISTSERV@TREARN.BITNET.   Then order any of  the listed files
  850.     via
  851.                 GET fn ft
  852.     ..to  LISTSERV@TREARN, where  fn  and ft  are  the filename  and
  853.     filetype of the listed files.
  854.  
  855. 3) Human Help
  856.  
  857.     Also, you  may get  in touch with  your local  TRICKLE operator.
  858.     You can get his/her network address by using the /OPS command.
  859.  
  860.     We wish you great benefits from using TRICKLE - we know that the
  861.     software it provides can accomplish that.
  862.  
  863.