home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / EFFO / forum3.lzh / DOC / arc.doc next >
Text File  |  1986-04-01  |  58KB  |  1,965 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.                                        ARC
  22.  
  23.                               File Archive Utility
  24.                                    Version 5.1
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.      (C) COPYRIGHT 1985, 1986 by System Enhancement Associates;
  43.          ALL RIGHTS RESERVED
  44.  
  45.  
  46.  
  47.  
  48.  
  49.      This document describes the ARC file utility, version 5.1, which was
  50.      created by System Enhancement Associates in January of 1986.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                 Table of Contents
  63.                                 Table of Contents
  64.  
  65.  
  66.  
  67.      Introduction  ....................................................   1
  68.      Using ARC  .......................................................   3
  69.      ARC commands  ....................................................   4
  70.          Adding files  ................................................   4
  71.          Extracting files  ............................................   6
  72.          Deleting files  ..............................................   6
  73.          Listing archive entries  .....................................   7
  74.          Printing files  ..............................................   9
  75.          Running files  ...............................................   9
  76.          Testing an archive  ..........................................  10
  77.          Converting an archive  .......................................  10
  78.      ARC options  .....................................................  11
  79.          Suppressing compression  .....................................  11
  80.          Backup retention  ............................................  12
  81.          Message suppression  .........................................  13
  82.          Encryption/decryption  .......................................  14
  83.      RAMdisk support  .................................................  15
  84.      MARC  ............................................................  16
  85.      XARC  ............................................................  17
  86.      Version numbers  .................................................  18
  87.      Program update service  ..........................................  19
  88.      Common questions and answers  ....................................  20
  89.      Revision history  ................................................  22
  90.          Changes in version 3  ........................................  22
  91.          Changes in version 4  ........................................  22
  92.          Changes in version 4.1  ......................................  23
  93.          Changes in version 4.3  ......................................  23
  94.          Changes in version 4.4  ......................................  24
  95.          Changes in version 4.5  ......................................  24
  96.          Changes in version 5.0  ......................................  25
  97.          Changes in version 5.1  ......................................  26
  98.      Program history and credits  .....................................  27
  99.      Site license  ....................................................  28
  100.      Order form  ......................................................  30
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.                                   INTRODUCTION
  124.                                   INTRODUCTION
  125.  
  126.  
  127.  
  128.      ARC is the copyrighted property of System Enhancement Associates.  You
  129.      are granted a limited license to use ARC, and to copy it and
  130.      distribute it, provided that the following conditions are met:
  131.  
  132.      1) No fee may be charged for such copying and distribution.
  133.  
  134.      2) ARC may ONLY be distributed in its original, unmodified state.
  135.  
  136.  
  137.      Any voluntary contributions for the use of this program will be
  138.      appreciated, and should be sent to:
  139.  
  140.                           System Enhancement Associates
  141.                                   21 New Street
  142.                                 Wayne, NJ   07470
  143.  
  144.      You may not use this product in a commercial environment or a
  145.      governmental organization without paying a license fee of $35.  Site
  146.      licenses and commercial distribution licenses are available.  A
  147.      program disk and printed documentation are available for $50.  See the
  148.      order form in the back of this manual for more details.
  149.  
  150.  
  151.  
  152.      A word about user supported software:
  153.  
  154.                                                                  freeware
  155.      The user supported software concept (usually referred to as freeware)
  156.      is an attempt to provide software at low cost.  The cost of offering a
  157.      new product by conventional means is staggering, and hence dissuades
  158.      many independent authors and small companies from developing and
  159.      promoting their ideas.  User supported software is an attempt to
  160.      develop a new marketing channel, where products can be introduced at
  161.      low cost.
  162.  
  163.      If user supported software works, then everyone will benefit.  The
  164.      user will benefit by receiving quality products at low cost, and by
  165.      being able to "test drive" software thoroughly before purchasing it.
  166.      The author benefits by being able to enter the commercial software
  167.      arena without first needing large sources of venture capital.
  168.  
  169.      But it can only work with your support.  We're not just talking about
  170.      ARC here, but about all user supported software.  If you find that you
  171.      are still using a program after a couple of weeks, then pretty
  172.      obviously it is worth something to you, and you should send in a
  173.      contribution.
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.      ARC                                                           Page   1
  184.      And now, back to ARC:
  185.  
  186.      ARC is used to create and maintain file archives.  An archive is a
  187.      group of files collected together into one file in such a way that the
  188.      individual files may be recovered intact.
  189.  
  190.      ARC is different from other archive and library utilities in that it
  191.      automatically compresses the files being archived, so that the
  192.      resulting archive takes up a minimum amount of space.
  193.  
  194.      When ARC is used to add a file to an archive it analyzes the file to
  195.      determine which of four storage methods will result in the greatest
  196.      savings.  These four methods are:
  197.  
  198.      1) No compression; the file is stored as is.
  199.  
  200.      2) Repeated-character compression; repeated sequences of the same byte
  201.         value are collapsed into a three-byte code sequence.
  202.  
  203.      3) Huffman squeezing; the file is compressed into variable length bit
  204.         strings, similar to the method used by the SQ programs.
  205.  
  206.      4) Dynamic Lempel-Zev compression;  the file is stored as a series of
  207.         variable size bit codes which represent character strings, and
  208.         which are created "on the fly".
  209.  
  210.      Note that since one of the four methods involves no compression at
  211.      all, the resulting archive entry will never be larger than the
  212.      original file.
  213.  
  214.  
  215.      An interesting note:  It has been brought to our attention that BASIC
  216.                                                        not
  217.      programs compress to a smaller size when they are not tokenized.  If
  218.      you are more concerned with space than speed, you may wish to convert
  219.      your BASIC programs to ASCII form before adding them to an archive.
  220.      Your BASIC manual should give instructions on how to do this.
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.      ARC                                                           Page   2
  245.  
  246.                                     USING ARC
  247.                                     USING ARC
  248.  
  249.  
  250.  
  251.      ARC is invoked with a command of the following format:
  252.  
  253.          ARC <x> <arcname> [<template> . . .]
  254.  
  255.      Where:
  256.  
  257.          <x> is an ARC command letter (see below), in either upper or lower
  258.          case.
  259.  
  260.          <arcname> is the name of the archive to act on, with or without an
  261.          extension.  If no extension is supplied, then ".ARC" is assumed.
  262.          The archive name may include path and drive specifiers.
  263.  
  264.          <template> is one or more file name templates.  The "wildcard"
  265.          characters "*" and "?" may be used.  A file name template may
  266.          include a path or drive specifier, though it isn't always
  267.          meaningful.
  268.  
  269.      If ARC is invoked with no arguments (by typing "ARC", and pressing
  270.      "enter"), then a brief command summary is displayed.
  271.  
  272.  
  273.  
  274.      Following is a brief summary of the available ARC commands:
  275.  
  276.          a   = add files to archive
  277.          m   = move files to archive
  278.          u   = update files in archive
  279.          f   = freshen files in archive
  280.          d   = delete files from archive
  281.          x,e = extract files from archive
  282.          r   = run files from archive
  283.          p   = copy files from archive to standard output
  284.          l   = list files in archive
  285.          v   = verbose listing of files in archive
  286.          t   = test archive integrity
  287.          c   = convert entry to new packing method
  288.  
  289.  
  290.  
  291.      Following is a brief summary of the available ARC options, which may
  292.      alter how a command works:
  293.  
  294.          b   = retain backup copy of archive
  295.          s   = suppress compression (store only)
  296.          w   = suppress warning messages
  297.          n   = suppress notes and comments
  298.          g   = encode or decode archive entry
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.      ARC                                                           Page   3
  306.  
  307.                                   ARC COMMANDS
  308.                                   ARC COMMANDS
  309.  
  310.  
  311.  
  312.      This section describes each of the commands.  ARC will accept any one
  313.      command at a time.  If no commands are given, then a brief command
  314.      list is displayed.
  315.  
  316.  
  317.  
  318.      ____________
  319.      ADDING FILES
  320.  
  321.      Files are added to an archive using the "A" (Add), "M" (Move), "U"
  322.      (Update), or "F" (Freshen) commands.  Add always adds the file.  Move
  323.      differs from Add in that the source file is deleted once it has been
  324.      added to the archive.
  325.  
  326.      Update differs from Add in that the file is only added if it is not
  327.      already in the archive, or if it is newer that the corresponding entry
  328.      in the archive.
  329.  
  330.      Freshen is similar to Update, except that new files are not added to
  331.      the archive; only files already in the archive are updated.
  332.  
  333.  
  334.      For example, if you wish to add a file named "TEST.DAT" to an archive
  335.      named "MY.ARC", you would use a command of the form:
  336.  
  337.          ARC a my test.dat
  338.  
  339.      If you wanted to add all files with a ".C" extension, and all files
  340.      named "STUFF" to an archive named "JUNK.ARC", you could type:
  341.  
  342.          ARC a junk *.c stuff.*
  343.  
  344.      If you wanted to move all files in your current directory into an
  345.      archive named "SUM.ARC", you could use a command of the form:
  346.  
  347.          ARC m sum *.*
  348.  
  349.      If you have an archive named "TEXT.ARC", and you wanted to add to it
  350.      all of your files with an extension of ".TXT" which have been created
  351.      or changed since they were last archived, then you would type:
  352.  
  353.          ARC u text *.txt
  354.  
  355.      If you have a bunch of files in your current directory, with backup
  356.      copies being stored in an archive named "SAFE.ARC", then if you wanted
  357.      to make sure that every file in the archive is the latest version of
  358.      that file, you would type:
  359.  
  360.          ARC f safe
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.      ARC                                                           Page   4
  368.      A word about Update and Freshen:  These are similar in that they look
  369.      at the date and time of last change on the file, and only add it if
  370.      the file has been changed since it was last archived.  They differ in
  371.      that Update will add new files, while Freshen will not.
  372.  
  373.      In other words, Update looks for the files on disk, and adds them if
  374.      they are new or have changed, while Freshen looks in the archive, and
  375.      tries to update the files which are already there.
  376.  
  377.  
  378.      Archive entries are always maintained in alphabetic order.  Archive
  379.      entries may not have duplicate names.  If you add a file to an archive
  380.      that already contains a file by that name, then the existing entry in
  381.      the archive is replaced.  Also, the archive itself and its backup will
  382.      not be added.
  383.  
  384.      You may also add a file which is in a directory other than your
  385.      current directory.  For example, it is perfectly legal to type:
  386.  
  387.          ARC a junk c:\dustbin\stuff.txt
  388.  
  389.      You cannot add two files with the same name.  In other words, if you
  390.      have a file named "C:\DUSTBIN\STUFF.TXT" and another file named
  391.      "C:\BUCKET\STUFF.TXT", then typing:
  392.  
  393.          arc a junk c:\dustbin\*.* c:\bucket\*.*
  394.  
  395.      will not work.
  396.  
  397.  
  398.      ARC does not save the path name.  In other words, if you specify a
  399.      drive and/or path when adding a file, only the actual file name is
  400.      stored in the archive.
  401.  
  402.  
  403.      ARC will never add an archive to itself, nor will it add the temporary
  404.      copy or a backup copy of the archive.
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.      ARC                                                           Page   5
  428.      ________________
  429.      EXTRACTING FILES
  430.  
  431.      Archive entries are extracted with the "E" (Extract) and "X" (eXtract)
  432.      commands.  For example, if you had an archive named "JUNK.ARC", and
  433.      you wanted all files in it with an extension of ".TXT" or ".DOC" to be
  434.      recreated on your disk, you could type:
  435.  
  436.          ARC x junk *.txt *.doc
  437.  
  438.      If you wanted to extract all of the files in an archive named
  439.      "JUNK.ARC", you could simply type:
  440.  
  441.          ARC x junk
  442.  
  443.      Whatever method of file compression was used in storing the files is
  444.      reversed, and uncompressed copies are created in the current
  445.      directory.
  446.  
  447.      You can also specify a path name, in which case the decompressed copy
  448.      is placed in the specified directory.  For example, if you had an
  449.      archive named "JUNK.ARC", and you wanted all files in it with an
  450.      extension of ".TXT" to be placed in the directory "C:\WASTE\LAND",
  451.      then you could type:
  452.  
  453.          ARC x junk c:\waste\land\*.txt
  454.  
  455.      If you wanted to put the file "TRASH.TXT" on your A: drive, and the
  456.      file "LITTER.TXT" on your B: drive, you could type:
  457.  
  458.          ARC x junk a:trash.txt b:litter.txt
  459.  
  460.      If you give more than one path for a file, then only the first one is
  461.      used.  For example, if you typed:
  462.  
  463.          ARC x junk a:trash.txt b:trash.txt
  464.  
  465.      then TRASH.TXT will be placed on your A: drive.
  466.  
  467.  
  468.  
  469.      ______________
  470.      DELETING FILES
  471.  
  472.      Archive entries are deleted with the "D" (Delete) command.  For
  473.      example, if you had an archive named "JUNK.ARC", and you wished to
  474.      delete all entries in it with a filename extension of ".C", you could
  475.      type:
  476.  
  477.          ARC d junk *.c
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.  
  489.      ARC                                                           Page   6
  490.      _______________________
  491.      LISTING ARCHIVE ENTRIES
  492.  
  493.      You can obtain a list of the contents of an archive by using the "L"
  494.      (List) command or the "V" (Verbose list) command.  For example, to see
  495.      what is in an archive named "JUNK.ARC", you could type:
  496.  
  497.          ARC l junk
  498.  
  499.      If you are only interested in files with an extension of ".DOC", then
  500.      you could type:
  501.  
  502.          ARC l junk *.doc
  503.  
  504.  
  505.      ARC prints a short listing of an archive's contents like this:
  506.  
  507.          Name          Length    Date
  508.          ============  ========  =========
  509.          ALPHA.TXT         6784  16 May 85
  510.          BRAVO.TXT         2432  16 May 85
  511.          COCO.TXT           256  16 May 85
  512.                  ====  ========
  513.          Total      3      9472
  514.  
  515.  
  516.      "Name" is simply the name of the file.
  517.  
  518.      "Length" is the unpacked file length.  In other words, it is the
  519.      number of bytes of disk space which the file would take up if it were
  520.      extracted.
  521.  
  522.      "Date" is the date on which the file had last been modified, as of the
  523.      time when it was added to the archive.
  524.  
  525.      "Total" is pretty obvious, I think.
  526.  
  527.  
  528.      ARC prints a verbose listing of an archive's contents like this:
  529.  
  530.      Name          Length    Stowage    SF   Size now  Date       Time    CRC
  531.      ============  ========  ========  ====  ========  =========  ======  ====
  532.      ALPHA.TXT         6784  Squeezed   35%      4413  16 May 85  11:53a  8708
  533.      BRAVO.TXT         2432  Squeezed   41%      1438  16 May 85  11:53a  5BD6
  534.      COCO.TXT           256   Packed     5%       244  16 May 85  11:53a  3AFB
  535.              ====  ========            ====  ========
  536.      Total      3      9472             27%      6095
  537.  
  538.  
  539.      "Name", "Length", and "Date" are the same as for a short listing.
  540.  
  541.      "Stowage" is the compression method used.  The following compression
  542.      methods are currently employed:
  543.  
  544.             --          No compression.
  545.           Packed        Runs of repeated byte values are collapsed.
  546.          Squeezed       Huffman squeeze technique employed.
  547.          Crunched       Lempel-Zev compression technique employed.
  548.  
  549.  
  550.      ARC                                                           Page   7
  551.  
  552.      "SF" is the stowage factor.  In other words, it is the percentage of
  553.      the file length which was saved by compression.  The total stowage
  554.      factor is the stowage factor for the archive as a whole, not counting
  555.      archive overhead.
  556.  
  557.      "Size now" is the number of bytes the file is occupying while in the
  558.      archive.
  559.  
  560.      "Time" is the time of last modification, and is associated with the
  561.      date of last modification.
  562.  
  563.      "CRC" is the CRC check value which has been stored with the file.
  564.      Another CRC value will be calculated when the file is extracted or
  565.      tested to ensure data integrity.  There is no especially good reason
  566.      for displaying this value.
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.      ARC                                                           Page   8
  611.      ______________
  612.      PRINTING FILES
  613.  
  614.      Archive entries may be examined with the "P" (Print) command.  This
  615.      works the same as the Extract command, except that the files are not
  616.      created on disk.  Instead, the contents of the files are written to
  617.      standard output.  For example, if you wanted to see the contents of
  618.      every ".TXT" file in an archive named "JUNK.ARC", but didn't want them
  619.      saved on disk, you could type:
  620.  
  621.          ARC p junk *.txt
  622.  
  623.      If you wanted them to be printed on your printer instead of on your
  624.      screen, you could type:
  625.  
  626.          ARC p junk *.txt >prn
  627.  
  628.  
  629.  
  630.      _____________
  631.      RUNNING FILES
  632.  
  633.      Archive entries may be run without being extracted by use of the "R"
  634.      (Run) command.  For example, if you had an archive named "JUNK.ARC"
  635.      which contained a file named "LEMON.COM", which you wished to run, you
  636.      could type:
  637.  
  638.          ARC r junk lemon
  639.  
  640.      You can run any file from an archive which has an extension of ".COM",
  641.      ".EXE", ".BAT", or ".BAS".  You do not have to specify the extension,
  642.      but all matching files are run if you do not.  In other words, if you
  643.      had an archive named "JUNK.ARC" which contained the files "LEMON.COM",
  644.      "LEMON.EXE", and "LEMON.BAS", and you typed:
  645.  
  646.          ARC r junk lemon
  647.  
  648.      Then all three programs will be run.  You can avoid this by specifying
  649.      an extension in this case.
  650.  
  651.      You cannot give arguments to a program you are running from an
  652.      archive.  Also, you will need a fair amount of memory to run a program
  653.      from an archive.  It probably cannot be done with less than 256k.
  654.  
  655.      In practice, the file to be run is extracted, run, and then deleted.
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.      ARC                                                           Page   9
  673.      __________________
  674.      TESTING AN ARCHIVE
  675.  
  676.      The integrity of an archive may be tested by use of the "T" (Test)
  677.      command.  This checks to make sure that all of the file headers are
  678.      properly placed, and that all of the files are in good shape.
  679.  
  680.      This can be very useful for critical archives, where data integrity
  681.      must be assured.  When an archive is tested, all of the entries in the
  682.      archive are unpacked (without saving them anywhere) so that a CRC
  683.      check value may be calculated and compared with the recorded CRC
  684.      value.
  685.  
  686.      For example, if you just received an archive named "JUNK.ARC" over a
  687.      phone line, and you want to make sure that you received it properly,
  688.      you could type:
  689.  
  690.          ARC t junk
  691.  
  692.      It defeats the purpose of the T command to combine it with N or W.
  693.  
  694.  
  695.      _____________________
  696.      CONVERTING AN ARCHIVE
  697.  
  698.      The "C" (Convert) command is used to convert an archive entry to take
  699.      advantage of newer compression techniques.  This is occasionally
  700.      desirable when a new version of ARC is released.  Please refer to the
  701.      revision history section for details on when new compression methods
  702.      were implemented.
  703.  
  704.      For example, if you had an archive named "JUNK.ARC", and you wanted to
  705.      make sure that all files with an extension of ".DOC" were encoded
  706.      using the very latest methods, you could type:
  707.  
  708.          ARC c junk *.doc
  709.  
  710.      Or if you wanted to convert every file in the archive, you could type:
  711.  
  712.          ARC c junk
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.      ARC                                                           Page  10
  735.  
  736.                                    ARC OPTIONS
  737.                                    ARC OPTIONS
  738.  
  739.  
  740.  
  741.      This section describes the options which are available to modify how
  742.      ARC works.  Any of these options can be combined with any of the
  743.      commands, though the result may not always be something you'd want to
  744.      do.
  745.  
  746.  
  747.  
  748.      _______________________
  749.      SUPPRESSING COMPRESSION
  750.  
  751.      The "S" (Suppress compression) option can be combined with any command
  752.      that updates archive entries.  These include Add, Move, Update,
  753.      Freshen, and Convert.  The effect of the S option is to prevent any
  754.      compression techniques from being employed.  This is intended to allow
  755.      you to add a few files at a time to an archive quickly, and then later
  756.      convert the archive to compress everything at once.
  757.  
  758.      For example, over the course of a day you might give each of the
  759.      following commands:
  760.  
  761.          ARC as junk *.txt
  762.          ARC as junk *.mac
  763.          ARC as junk *.doc
  764.  
  765.      At the end of the day, when you have finished adding things to the
  766.      archive, you could have all of the archive entries compressed at once
  767.      by typing:
  768.  
  769.          ARC c junk
  770.  
  771.      You could also decompress the archive by typing:
  772.  
  773.          ARC cs junk
  774.  
  775.      though I can't imagine why you'd want to.
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.      ARC                                                           Page  11
  797.      ________________
  798.      BACKUP RETENTION
  799.  
  800.      When ARC changes an archive (during an Add, Move, Update, Freshen,
  801.      Delete, or Convert) it creates a new archive with the same name, but
  802.      with an extension of ".$$$".  For example, if you add a file to an
  803.      archive named STUFF.ARC, then ARC will create a new archive named
  804.      STUFF.$$$.  ARC will read from your existing archive and write out the
  805.      new archive with any changes to the ".$$$" copy.
  806.  
  807.      Normally when ARC is finished it deletes the original and renames the
  808.      new archive to the original name (ie. STUFF.ARC goes away, and
  809.      STUFF.$$$ becomes the new STUFF.ARC).  Among other things, this means
  810.      that if anything goes wrong and ARC is unable to finish, then your
  811.      original archive will still be intact.
  812.  
  813.  
  814.      In some circumstances you may wish to retain the original version of
  815.      the archive as a backup copy.  You can do this easily by using the
  816.      Backup option.  Add the letter "B" to your command, and ARC will
  817.      rename your original archive to have an extension of ".BAK" instead of
  818.      deleting it.
  819.  
  820.  
  821.      In other words, if you wanted to add "WASTE.TXT" to an archive named
  822.      "JUNK.ARC", but wanted to keep a backup copy, then you would type:
  823.  
  824.          ARC ab junk waste.txt
  825.  
  826.      Your original archive would become "JUNK.BAK", while "JUNK.ARC" would
  827.      contain the new "WASTE.TXT" file.
  828.  
  829.  
  830.      If you keep a backup of an archive which already has a backup, then
  831.      the older backup copy is deleted.
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.      ARC                                                           Page  12
  858.      ___________________
  859.      MESSAGE SUPPRESSION
  860.  
  861.      ARC prints three types of messages: warnings, comments, and errors.
  862.  
  863.      Warnings are messages about suspected error conditions, such as when a
  864.      file to be extracted already exists, or when an extracted file fails
  865.      the CRC error check.  Warnings may be suppressed by use of the "W"
  866.      (Warn) command.  You should use this command sparingly.  In fact, you
  867.      should probably not use this command at all.
  868.  
  869.      Comments (or notes) are informative messages, such as naming each file
  870.      as it is added to the archive.  Comments and notes may be suppressed
  871.      by use of the "N" (Note) command.
  872.  
  873.      Errors are actual system problems, such as running out of disk space.
  874.      You cannot suppress errors.
  875.  
  876.  
  877.      For example, suppose you extracted all files with an extension of
  878.      ".BAS" from an archive named "JUNK.ARC"  Then, after making some
  879.      changes which you decide not to keep, you decide that you want to
  880.      extract them all again, but you don't want to be asked to confirm
  881.      every one.  In this case, you could type:
  882.  
  883.          ARC xw junk *.bas
  884.  
  885.      Or, if you are going to add a hundred files with an extension of
  886.      ".MSG" to an archive named "TRASH.ARC", and you don't want ARC to list
  887.      them as it adds them, you could type:
  888.  
  889.          ARC an trash *.msg
  890.  
  891.      Or, if you want to extract the entire contents of an archive named
  892.      "JUNK.ARC", and you don't want to hear anything, then type:
  893.  
  894.          ARC xnw junk
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.      ARC                                                           Page  13
  919.      _____________________
  920.      ENCRYPTION/DECRYPTION
  921.  
  922.      Archive entries may be encrypted and decrypted by using the "G"
  923.      (Garble) option.  The Garble option takes the remainder of the command
  924.                                                       last
  925.      string as the password to use, so it must be the last option.
  926.  
  927.  
  928.      For example, if you wanted to add a file named "WASTE.TXT" to an
  929.      archive named "JUNK.ARC", and you wanted to encrypt it using the
  930.      password "DEBRIS", then you would type:
  931.  
  932.          ARC agdebris junk waste.txt
  933.  
  934.      Later on, when you want to extract it again, you would type:
  935.  
  936.          ARC xgdebris junk waste.txt
  937.  
  938.  
  939.      The password you supply is used to encrypt (or decrypt) the archive
  940.      entry by performing an exclusive OR between each byte of the packed
  941.      data and each byte of the password.  The password can be any length,
  942.      and each of its bytes is used in rotation.  The password is converted
  943.                                               not
  944.      to uppercase before it is used, so it is not case sensitive.  Since
  945.      the encryption is performed on the packed data, it has no effect on
  946.      stowage factors.
  947.  
  948.      This is not a particularly sophisticated means of encryption, and it
  949.      is theoretically possible to crack.  Still, since it is performed on
  950.      the packed data, the result should be quite sufficient for casual use.
  951.  
  952.  
  953.      You can, if you wish, use different passwords for different files in
  954.      an archive, but we advise against it.  If you are going to encrypt an
  955.      archive, we suggest you use the same password for every file, and give
  956.      the password whenever you do anything at all with the archive.  It is
  957.      possible to list the entries in an encrypted archive using the "L" and
  958.      "V" commands without giving the password, but nothing else will work
  959.      properly.
  960.  
  961.  
  962.      We advise that you use this option sparingly, if at all.  If you
  963.      should forget or mistype your password, it is highly unlikely that you
  964.      will ever recover your data.
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.      ARC                                                           Page  14
  982.  
  983.                                  RAMDISK SUPPORT
  984.                                  RAMDISK SUPPORT
  985.  
  986.  
  987.  
  988.      If you have a RAMdisk, or other high-speed storage, then you can speed
  989.      up ARC somewhat by telling it to put its temporary files on the
  990.      RAMdisk.  You do this by setting the ARCTEMP environment string with
  991.      the MS-DOS SET command.  For example, if drive B: is your RAMdisk,
  992.      then you would type:
  993.  
  994.          set ARCTEMP=B:
  995.  
  996.      Refer to the MS-DOS manual for more details about the SET command.
  997.      You need only set the ARCTEMP string once, and ARC will use it from
  998.      then on until you change its value or reboot your system.
  999.  
  1000.  
  1001.      If ARC does not find an environment string named ARCTEMP, then it
  1002.      looks for one named TEMP to use instead.  Several packages already use
  1003.      the TEMP string for exactly this purpose.  If you have need of an
  1004.      environment string named TEMP for something else, then you should be
  1005.      sure to define ARCTEMP.
  1006.  
  1007.  
  1008.      There are a limited number of temporary files created by ARC.  The one
  1009.      most often used is "$ARCTEMP.CRN", which is created (if possible) when
  1010.      adding a file to an archive.  The Convert command uses a file named
  1011.      "$ARCTEMP.CVT" to hold each file as it is being converted.  The Run
  1012.      command also creates a temporary file, which has the name "$ARCTEMP",
  1013.      and whose extension matches that of the file being run.
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.      ARC                                                           Page  15
  1043.  
  1044.                                       MARC
  1045.                                       MARC
  1046.  
  1047.  
  1048.  
  1049.      MARC is a separate program which is used to merge archives created by
  1050.      ARC.  MARC moves files from one archive to another without unpacking
  1051.      them.
  1052.  
  1053.  
  1054.      MARC is used as follows:
  1055.  
  1056.          MARC <target> <source> [<template> . . .]
  1057.  
  1058.      Where:
  1059.  
  1060.          <target> is the name of the archive to add files to.
  1061.  
  1062.          <source> is the name of the archive to read files from.
  1063.  
  1064.          <template> is one or more file name templates.  The wildcard
  1065.          characters "*" and "?" may be used.  If no template is supplied,
  1066.          then all of the files in <source> are added to <target>.
  1067.  
  1068.      It is not necessary for the target to exist.  If it does not exist,
  1069.      then it is created.  Thus, MARC can be used as an "extractor" as well
  1070.      as a "merger".
  1071.  
  1072.  
  1073.      For example, if you wanted to create an archive named "JUNK.ARC",
  1074.      which is to contain all of the files with an extension of ".TXT" which
  1075.      are currently contained in another archive named "WASTE.ARC", then you
  1076.      could type:
  1077.  
  1078.          MARC junk waste *.txt
  1079.  
  1080.      If you wanted to create an archive named "JUNK.ARC", which is to
  1081.      contain all of the files currently in the archives "WASTE.ARC" and
  1082.      "TRASH.ARC", you could type:
  1083.  
  1084.          MARC junk waste
  1085.          MARC junk trash
  1086.  
  1087.      Though it would probably be faster to type:
  1088.  
  1089.          COPY waste.arc junk.arc
  1090.          MARC junk trash
  1091.  
  1092.  
  1093.      If MARC is invoked with no arguments, then it gives brief directions
  1094.      in its use.
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.      ARC                                                           Page  16
  1104.  
  1105.                                       XARC
  1106.                                       XARC
  1107.  
  1108.  
  1109.  
  1110.      XARC is a separate program which is used to extract all files from one
  1111.      or more archives.  It doesn't do anything that ARC doesn't do, and it
  1112.      isn't any faster, but it may be preferred in certain cases, as it is
  1113.      much smaller than ARC.
  1114.  
  1115.  
  1116.      XARC is used as follows:
  1117.  
  1118.          XARC <arcname> . . .
  1119.  
  1120.      Where <arcname> is the name of one or more archives.  The wildcard
  1121.      characters "*" and "?" may be used.  All files are extracted from the
  1122.      named archives.
  1123.  
  1124.  
  1125.      For example, if you wanted to extract everything from two archives
  1126.      named "WASTE.ARC" and "JUNK.ARC", you could type:
  1127.  
  1128.          XARC waste junk
  1129.  
  1130.      If you wanted to extract every file from every archive in a
  1131.      subdirectory named "TRASH", you could type:
  1132.  
  1133.          XARC trash\*.arc
  1134.  
  1135.  
  1136.      If XARC is invoked with no arguments, then it gives brief directions
  1137.      in its use.
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.      ARC                                                           Page  17
  1165.  
  1166.                                  VERSION NUMBERS
  1167.                                  VERSION NUMBERS
  1168.  
  1169.  
  1170.  
  1171.      There seems to be some confusion about our version numbering scheme.
  1172.      All of our version numbers are given as a number with two decimal
  1173.      places.
  1174.  
  1175.      The units indicate a major revision, such as adding a new packing
  1176.      algorithm.
  1177.  
  1178.      The first decimal place (tenths) indicates a minor revision that is
  1179.      not essential, but which may be desired.
  1180.  
  1181.      The second decimal place (hundredths) indicates a trivial revision
  1182.      that will probably only be desired by specific individuals or by die-
  1183.      hard "latest version" fanatics.
  1184.  
  1185.      ARC also displays its date and time of last edit.  A change of the
  1186.      date and time without a corresponding change in version number
  1187.      indicates a truly trivial change, such as fixing a spelling error.
  1188.  
  1189.  
  1190.      To sum up: If the units change, then you should get the newer version
  1191.      as soon as you can.  If the tenths change, then you may want to get
  1192.      the newer version, but there's no hurry.  If anything else changes,
  1193.      then you probably shouldn't bother.  This is reflected by our own
  1194.      habit of referring to "version 4.5" instead of "version 4.52".
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.      ARC                                                           Page  18
  1226.  
  1227.                              PROGRAM UPDATE SERVICE
  1228.                              PROGRAM UPDATE SERVICE
  1229.  
  1230.  
  1231.  
  1232.      A license to ARC entitles you to use all future versions of ARC.  New
  1233.      versions are generally available through normal freeware distribution
  1234.      channels, and we prefer that you obtain them that way.  However, many
  1235.      users of ARC have written to ask us about an update service.
  1236.  
  1237.      A program disk containing the latest version is returned on every
  1238.      order of $50 or more.  If you wish to purchase a single-user license
  1239.      and want an update disk, please enclose a check or money order for $50
  1240.      instead of $35.
  1241.  
  1242.      For a fee of $50 per year you can subscribe to our program update
  1243.      service.  Subscribers get up to five program updates per year mailed
  1244.      to them as new versions come out.  This does not include trivial
  1245.      releases.
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.      ARC                                                           Page  19
  1287.  
  1288.                           COMMON QUESTIONS AND ANSWERS
  1289.                           COMMON QUESTIONS AND ANSWERS
  1290.  
  1291.  
  1292.  
  1293.      Here are some of the more common questions we've received about ARC,
  1294.      along with their answers:
  1295.  
  1296.  
  1297.      Q: Why do you bother with squeezing when crunching is so much faster?
  1298.  
  1299.      A: Because crunching isn't really as fast as it looks.  Crunching is a
  1300.         one pass operation, while squeezing requires two passes.  ARC
  1301.         actually does the crunching during the analysis pass, and puts the
  1302.         crunched output in a file named "$ARCTEMP.CRN".  If crunching turns
  1303.         out to be the best method, then this temporary file is copied into
  1304.         the new archive.  In other words, when ARC says "crunching" it
  1305.         isn't really crunching, it's just copying a file.
  1306.  
  1307.                                                               much
  1308.         Also, there are a lot of files out there that squeeze much better
  1309.         than they crunch.
  1310.  
  1311.  
  1312.      Q: Why does ARC run out of room if I make an archive bigger than about
  1313.         180k?
  1314.  
  1315.      A: Because you are working on a floppy disk.  ARC creates a copy of
  1316.         your archive, incorporating any new files as it goes.  When it is
  1317.         done, it deletes the original and renames the new one.  There are a
  1318.         number of reasons for doing it this way, one being that your
  1319.         original archive is still intact if anything happens while ARC is
  1320.         running.  ARC also needs room for the temporary file used in
  1321.         crunching.
  1322.  
  1323.         You can save some space by using the ARCTEMP environment string to
  1324.         put the temporary file on another disk, as well as using drive
  1325.         specifiers and having the archive and the files to add on separate
  1326.         disks, but you still won't be able to make an archive larger than
  1327.         about 180k.  If you need to make a larger archive, and if you have
  1328.         a fixed disk, then you can create the archive on the fixed disk and
  1329.         then copy it to the floppy.
  1330.  
  1331.  
  1332.      Q: I've seen an ARC.COM and an ARC.EXE.  Which one is the right one?
  1333.  
  1334.      A: ARC.EXE.  One or more people have been running ARC through a
  1335.         utility that converts an ".EXE" file to a ".COM" file.  But this
  1336.                                     space
  1337.         utility is designed to save space, not speed.  On ARC it saves
  1338.         about 250 bytes, and makes no measurable difference in program
  1339.         speed.  We've decided that the savings are not worth the extra step
  1340.         in development in this case.
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.      ARC                                                           Page  20
  1350.      Q: Can I use ARC to distribute my public domain or freeware program?
  1351.  
  1352.      A: Yes, of course.
  1353.  
  1354.  
  1355.      Q: Can I use ARC to distribute my commercial software package?
  1356.  
  1357.      A: Yes.  Please contact us for a commercial distribution license.
  1358.  
  1359.  
  1360.      Q: I'm a commercial user.  Why should I pay for freeware that others
  1361.         get for free?
  1362.  
  1363.                                                               all
  1364.      A: Because you cannot credibly plead poverty.  Freeware, all freeware,
  1365.         is an attempt to develop a new marketing channel to the benefit of
  1366.         everyone.  You can still "test drive" freeware for a short period,
  1367.         but if you decide to use it in your business, then you should pay
  1368.         for it.
  1369.  
  1370.  
  1371.      Q: Why not allow me to select which method of compression I want ARC
  1372.         to use?
  1373.  
  1374.      A: It would needlessly complicate ARC, both internally and in use.
  1375.         The exact nature of the compression methods used are complex, and
  1376.         quite different.  The only sure way to tell which will be best in
  1377.         any given case is to analyze the data, as ARC does.  The method
  1378.         chosen may not always be what you expect.
  1379.  
  1380.  
  1381.      Q: How can I get the latest version of ARC?
  1382.  
  1383.      A: ARC updates are distributed through normal freeware channels, and
  1384.         by FidoNet.  We also ship a program update disk on every order of
  1385.         $50 or more.  In addition, we also offer an update subscription
  1386.         service.  See the previous section for more details.
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.      ARC                                                           Page  21
  1411.  
  1412.                                 REVISION HISTORY
  1413.                                 REVISION HISTORY
  1414.  
  1415.  
  1416.  
  1417.      ____________________
  1418.      CHANGES IN VERSION 3
  1419.  
  1420.      The function used to calculate the CRC check value in previous
  1421.      versions has been found to be in error.  It has been replaced with the
  1422.      proper function.  ARC will still read archives created with earlier
  1423.      versions of ARC, but it will report a warning that the CRC value is in
  1424.      error.  All archives created prior to version 3.0 should be unpacked
  1425.      and repacked with the latest version of ARC.
  1426.  
  1427.  
  1428.      Transmitting a file with XMODEM protocol rounds the size up to the
  1429.      next multiple of 128 bytes, adding garbage to the end of the file.
  1430.      This used to confuse ARC, causing it to think that the end of the
  1431.      archive was invalidly formatted.  This has been corrected in
  1432.      version 3.01.  Older archives may still be read, but ARC may report
  1433.      them to be improperly formatted.  All files can be extracted, and no
  1434.      data is lost.  In addition, ARC will automatically correct the problem
  1435.      when it is encountered.
  1436.  
  1437.  
  1438.  
  1439.      ____________________
  1440.      CHANGES IN VERSION 4
  1441.  
  1442.      ARC is adding another data compression technique in this version.  We
  1443.      have been looking for some technique that could improve on Huffman
  1444.      squeezing in at least a few cases.  So far, Lempel-Zev compression
  1445.      seems to be fulfilling our fondest hopes, often achieving compression
  1446.      rates as much as 20% better than squeezing, and sometimes even better.
  1447.      Huffman squeezing depends on some bytes being more "popular" than
  1448.      others, taking the file as a whole.  Lempel-Zev compression is instead
  1449.      looking for strings of bytes which are repeated at various points
  1450.      (such as an end of line followed by spaces for indentation).  Lempel-
  1451.      Zev compression is therefore looking for repetition at a more "macro"
  1452.      level, often achieving impressive packing rates.
  1453.  
  1454.      In the typical case a file is added to an archive once and then
  1455.      extracted many times, so the increased time for an update should more
  1456.      than pay for itself in increased disk space and reduced file
  1457.      transmission time.
  1458.  
  1459.      As usual, ARC version 4.0 is completely upward compatible.  That is,
  1460.      it can deal properly with any archive created by any earlier version
  1461.      of ARC.  It is NOT reverse compatible.  Archives created by ARC 4.0
  1462.      will generally not be usable by earlier versions of ARC.
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.      ARC                                                           Page  22
  1474.      ______________________
  1475.      CHANGES IN VERSION 4.1
  1476.  
  1477.      Lempel-Zev coding has been improved somewhat by performing non-repeat
  1478.      compression on the data before it is coded (as was already done with
  1479.      Huffman squeezing).  This has the two fold advantage of (a) reducing
  1480.      to some extent the amount of data to be encoded, and (b) increasing
  1481.      the time it takes for the string table to fill up.  Performance gains
  1482.      are small, but noticeable.
  1483.  
  1484.      The primary changes are in internal organization.  ARC is now much
  1485.      "cleaner" inside.  In addition to the aesthetic benefits to the
  1486.      author, this should make life easier for the hackers out there.  There
  1487.      is also a slight, but not noticeable, improvement in overall speed
  1488.      when doing an update.
  1489.  
  1490.      Version 4.1 is still fully upward compatible.  But regretfully, it is
  1491.      again not downward compatible.  Version 4.1 can handle any existing
  1492.      archive, but creates archives which older versions (including 4.0)
  1493.      cannot unpack.
  1494.  
  1495.  
  1496.  
  1497.      ______________________
  1498.      CHANGES IN VERSION 4.3
  1499.  
  1500.      Version 4.3 adds the much-demanded feature of using pathnames when
  1501.      adding files to an archive.  For obscure technical reasons, files
  1502.      being extracted still go in the current directory on the current
  1503.      drive.  Pathnames are also not supported for any of the other
  1504.      commands, because it would make no sense.
  1505.  
  1506.      Version 4.3 is also using a slightly different approach when adding a
  1507.      file to an archive.  The end result is twofold:
  1508.  
  1509.      1) Slightly more disk space is required on the drive containing the
  1510.         archive.  This should only be noticeable to those creating very
  1511.         large archives on a floppy based system.
  1512.  
  1513.      2) A 30% reduction in packing time has been achieved in most cases.
  1514.         This should be noticeable to everyone.
  1515.  
  1516.      As always, version 4.3 is still fully upwards compatible, and is
  1517.      backwards compatible as far as version 4.1.
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.      ARC                                                           Page  23
  1536.      ______________________
  1537.      CHANGES IN VERSION 4.4
  1538.  
  1539.      The temporary file introduced in version 4.3 occasionally caused
  1540.      problems for people who had not added a FILES= statement to their
  1541.      CONFIG.SYS file.  This has now been corrected.  Also, support of the
  1542.      ARCTEMP environment string was added to allow placing of the temporary
  1543.      file on a RAMdisk.
  1544.  
  1545.      A bug was reported in the Run command, which has been fixed.  From the
  1546.      nature of the bug, and the extreme time required before the bug was
  1547.      reported, it is deduced that the Run command is probably the least
  1548.      used feature of ARC.
  1549.  
  1550.      The Update command was changed.  It is no longer a straight synonym
  1551.      for Add.  Instead, Update now only adds a file if it is newer than the
  1552.      version already in the archive, as shown by the MS-DOS date/time
  1553.      stamp.
  1554.  
  1555.  
  1556.  
  1557.      ______________________
  1558.      CHANGES IN VERSION 4.5
  1559.  
  1560.      The Convert command was not making use of RAMdisk support.  Now it is.
  1561.  
  1562.      The Freshen command was added.  Our first choice for a name was
  1563.      Refresh, but we already had a Run command.  Assuming that you have an
  1564.      archive which already contains everything you want in it (for software
  1565.      distribution, perhaps), then Freshen would be used to update the
  1566.      archive.  It was pointed out to us that ARC already knows what is in
  1567.      the archive, so it should be able to look on disk for newer versions.
  1568.      Now it can.
  1569.  
  1570.      The Suppress compression option was added by popular demand.  It
  1571.      allows files to be added quickly to an archive, since the files are
  1572.      not analyzed or compressed, but merely stored straight.  The intent is
  1573.      to allow users to build an archive "in pieces", and then compress all
  1574.      of the entries at once with the Convert command.  The conversion is
  1575.      much faster if you take advantage of RAMdisk support.
  1576.  
  1577.      A minor bug was detected in our handling of date/time stamps which
  1578.      occasionally resulted in stamping an archive with the wrong date and
  1579.      time.  This has been corrected.
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.      ARC                                                           Page  24
  1598.      ______________________
  1599.      CHANGES IN VERSION 5.0
  1600.  
  1601.      Several users of ARC have written us to suggest that we should put an
  1602.      order form in the documentation.  It seems that several types of
  1603.      organizations require something like that or they cannot pay no matter
  1604.      how much they'd like to.  While doing that, we also went over the
  1605.      documentation from top to bottom and "slicked it up".  It's now a bit
  1606.      more of an actual manual.  We think you'll appreciate the table of
  1607.      contents as well; we sure do!
  1608.  
  1609.      The Move command used to delete the files as it went.  It now waits
  1610.      until it is finished updating the archive, and deletes them all at
  1611.                  did
  1612.      once.  (You did know that Move is just an Add where the file gets
  1613.      deleted, didn't you?)  This, along with the changes made in version
  1614.      4.5, means that it is now much safer to interrupt ARC while it is
  1615.      working.
  1616.  
  1617.      The Print command no longer prints the name of each file.  Instead, it
  1618.      prints a formfeed after each file.
  1619.  
  1620.      The Run command now supports BASICA programs.  Also, the filename
  1621.      extension is no longer required on the Run command.
  1622.  
  1623.      The Garble option was added.  It provides a convenient means of low
  1624.      level data security for the casual user.  Use it sparingly, if at all.
  1625.  
  1626.      ARC no longer tests for the presence of $ARCTEMP.CRN before creating a
  1627.      new one.  If you interrupt ARC a lot, you'll find this much more
  1628.      convenient.  If you happen to have a file named $ARCTEMP.CRN which you
  1629.      want to keep, too bad.
  1630.  
  1631.      Improved error recovery was added when reading an archive.  ARC now
  1632.      has a good chance of recovering the data from a corrupted archive (the
  1633.      corrupted entry is still lost, of course).
  1634.  
  1635.      Path support has been added for all commands, though it doesn't do
  1636.      anything on most of them.  For example, there isn't much we can do
  1637.      with a path in the List command.  But many users will be glad to know
  1638.      that a path can be used when extracting a file, and specifies where
  1639.      the file is to be placed.
  1640.  
  1641.      Support for the TEMP environment string was added.  If ARC doesn't
  1642.      find an environment string named ARCTEMP, then it looks for one named
  1643.      TEMP to use instead.  Several packages already use the TEMP string for
  1644.      exactly this purpose.  With any luck, maybe we can get a standard
  1645.      going.
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.      ARC                                                           Page  25
  1660.      ARC is now using a different variation of Lempel-Zev coding, courtesy
  1661.      of Kent Williams, who found it on USENET and adapted it to the IBM PC.
  1662.      The new method differs from the old in several respects.  The most
  1663.      significant differences are:
  1664.  
  1665.      1) Where our previous implementation used a fixed code size of twelve
  1666.         bits, the new one starts with a code size of nine bits and
  1667.         increases it as it needs to.
  1668.  
  1669.      2) The earlier method tended to "choke" on large files when its string
  1670.         table filled up.  The new method has a rather ingenious scheme its
  1671.                      adaptive reset
  1672.         authors call adaptive reset.  When it notices that its string table
  1673.         has filled, and its compression ratio is starting to suffer, it
  1674.         clears the table and starts defining new strings.
  1675.  
  1676.      Our benchmarks show an improvement in compression on the order of 10%
  1677.      when crunching is used.  Additionally, ARC 5.0 is on the order of 23%
  1678.      faster at adding a file when crunching is used, or 13% faster when
  1679.      squeezing is used.  Extracting a file crunched with the new method is
  1680.      27% faster than it is with the old method.  Extraction of any other
  1681.      type of file (including those crunched with the older method) is no
  1682.      faster than before.  These figures are based on our own benchmark
  1683.      tests; your results may vary.
  1684.  
  1685.      The previous implementation of Lempel-Zev coding is no longer used to
  1686.      pack files.  The "V" (Verbose listing) command distinguishes between
  1687.      the two by referring to the older method as "crunched" (with a lower-
  1688.      case "c"), and the newer method as "Crunched" (with a capital "C").
  1689.  
  1690.      ARC 5.0 can still read archives created by earlier versions of ARC,
  1691.      but once again it creates archives which older versions cannot read.
  1692.  
  1693.  
  1694.  
  1695.      ______________________
  1696.      CHANGES IN VERSION 5.1
  1697.  
  1698.      Rick Moore discovered that ARC was occasionally adding an archive to
  1699.      itself.  This would only happen when the archive is in the same
  1700.      directory as the files being added, and its name comes last.  This bug
  1701.      has been fixed, though it is still possible to fool ARC into adding an
  1702.      archive to itself by getting tricky with path names.
  1703.  
  1704.      Dana Montgomery found the upper limit on how many files can be added
  1705.      to an archive.  There's always been an upper limit, but it depends on
  1706.      memory, and used to be larger than anyone could possibly want (knock
  1707.      on wood).  However, the added memory requirements in version 5.0
  1708.      lowered this limit into the realm of possibility.  It's somewhere
  1709.      around 500 files, though odd things may happen before then, depending
  1710.      on how the heap gets fragmented.  At any rate, ARC now tries to detect
  1711.      the error and print a meaningful error message.
  1712.  
  1713.      We've also introduced a new packaging method for ARC and its documen-
  1714.      tation, since we are in the unique position of being unable to use ARC
  1715.      for this purpose.  We've created a program called ARC51.COM which,
  1716.      when executed, attempts to create the ARC program and manual.  You
  1717.      must be in the same directory as ARC51.COM when you run it.
  1718.  
  1719.  
  1720.  
  1721.      ARC                                                           Page  26
  1722.  
  1723.                            PROGRAM HISTORY AND CREDITS
  1724.                            PROGRAM HISTORY AND CREDITS
  1725.  
  1726.  
  1727.  
  1728.      In its short life thus far, ARC has astounded us with its popularity.
  1729.      We first wrote it in March of 1985 because we wanted an archive
  1730.      utility that used a distributive directory approach, since this has
  1731.      certain advantages over the more popular central directory approach.
  1732.      We added automatic squeezing in version 2 at the prompting of a
  1733.      friend.  In version 2.1 we added the code to test for the best
  1734.      compression method.  Now (in October of 1985) we find that our humble
  1735.      little program has spread across the country, and seems to have become
  1736.      a new institution.
  1737.  
  1738.      We are thankful for the support and appreciation we have received.  We
  1739.      hope that you find this program of use.
  1740.  
  1741.  
  1742.      If we have achieved greatness, it is because we have stood upon the
  1743.      shoulders of giants.  Nothing is created as a thing unto itself, and
  1744.      ARC is no exception.  Therefore, we would like to give credit to the
  1745.      following people, without whose efforts ARC could not exist:
  1746.  
  1747.  
  1748.      Brian W. Kernighan and P. J. Plauger, whose book "Software Tools"
  1749.      provided many of the ideas behind the distributive directory approach
  1750.      used by ARC.
  1751.  
  1752.      Dick Greenlaw, who wrote the public domain SQ and USQ programs, in
  1753.      which the Huffman squeezing algorithm was first developed.
  1754.  
  1755.      Robert J. Beilstein, who adapted SQ and USQ to Computer Innovations
  1756.      C86 (the language we use), thus providing us with important parts of
  1757.      our squeezing logic.
  1758.  
  1759.      Kent Williams, who graciously allowed us to use his LZWCOM and LZWUNC
  1760.      programs as a basis for our Lempel-Zev compression logic, and who
  1761.      continues to make valuable contributions.
  1762.  
  1763.      David Schwaderer, whose article in the April 1985 issue of PC Tech
  1764.      Journal provided us with the logic for calculating the CRC 16 bit
  1765.      polynomial.
  1766.  
  1767.      Terry A. Welch, whose article "A Technique for High Performance Data
  1768.      Compression", IEEE Computer Vol 17 No 6 (June 1984) seems to have
  1769.      started all the research on Lempel-Zev coding.
  1770.  
  1771.      Spencer W. Thomas, Jim McKie, Steve Davies, Ken Turkowski, James A.
  1772.      Woods, and Joe Orost, who are the authors of the UNIX compress
  1773.      utility.
  1774.  
  1775.  
  1776.      And many, many others whom we could not identify.
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.      ARC                                                           Page  27
  1783.  
  1784.                                   SITE LICENSE
  1785.                                   SITE LICENSE
  1786.  
  1787.  
  1788.  
  1789.      Corporate users may wish to obtain a site license for the use of ARC.
  1790.      Please use the order form in this manual to order a site license.
  1791.      Site licenses are granted as of when we receive your payment.  License
  1792.      fees vary depending on the number of computers on which ARC will be
  1793.      used, as follows:
  1794.  
  1795.           1 to  9 copies  $35 each
  1796.          10 to 24 copies  $25 each
  1797.          25 to 49 copies  $20 each
  1798.          50 to 99 copies  $15 each
  1799.          over  99 copies  $1500 one time fee
  1800.  
  1801.  
  1802.  
  1803.      The following page is a site license agreement, which should be signed
  1804.      and sent with your payment when ordering a commercial site license.
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.      ARC                                                           Page  28
  1844.  
  1845.      The use of ARC in a commercial environment or government organization
  1846.      is granted under the following terms:
  1847.  
  1848.      1.  Payment of the license fee must be made to System Enhancement
  1849.          Associates.  The fee is based on the number of computers which
  1850.          will be used to run ARC, as follows:
  1851.  
  1852.                1 to  9 copies  $35 each
  1853.               10 to 24 copies  $25 each
  1854.               25 to 49 copies  $20 each
  1855.               50 to 99 copies  $15 each
  1856.               over  99 copies  $1500 one time fee
  1857.  
  1858.      2.  You may use ARC on the number of computers included in the license
  1859.          fee.  If you have paid the fee for over 99 copies, then you may
  1860.          use ARC on any number of computers within your organization.
  1861.  
  1862.      3.  You may make copies of the program, in its original,  unmodified
  1863.          form,  without restriction.  You may distribute these copies of
  1864.          the program without restriction.
  1865.  
  1866.      4.  If these copies are distributed outside of your organization,  you
  1867.          have no obligation to control the use of those copies which are
  1868.          outside of your organization.
  1869.  
  1870.      5.  You may make copies of the program documentation, in both its
  1871.          printed form and machine readable form, without restriction.
  1872.  
  1873.      6.  You may use future versions of ARC under this license.  The latest
  1874.          version is available from System Enhancement Associates for a
  1875.          small service charge.
  1876.  
  1877.      7.  You may NOT modify the program or charge a fee for copying or
  1878.          distributing the program.
  1879.  
  1880.      8.  It is your responsibility to make the necessary copies and to
  1881.          deliver them to the computers which they will be used on.
  1882.  
  1883.  
  1884.  
  1885.          I agree to abide by the terms and conditions of this license.
  1886.  
  1887.  
  1888.          _____________________________         __________________________
  1889.          Signature                             Date
  1890.  
  1891.          _____________________________
  1892.          Name (please print or type)
  1893.  
  1894.          _____________________________
  1895.          Title
  1896.  
  1897.          _____________________________
  1898.          Company
  1899.  
  1900.  
  1901.  
  1902.  
  1903.      ARC                                                           Page  29
  1904.  
  1905.                                    ORDER FORM
  1906.                                    ORDER FORM
  1907.  
  1908.  
  1909.  
  1910.      Check which items you wish to purchase:
  1911.  
  1912.          (_) Noncommercial license for the use of ARC.
  1913.  
  1914.          (_) Commercial license for the use of ARC on ___ computers (see
  1915.              price schedule and terms on preceding page).
  1916.  
  1917.          (_) Program disk and documentation (only on orders of $50 or
  1918.              more).
  1919.  
  1920.          (_) Program update subscription service (not more than five
  1921.              updates, does not include trivial changes), $50/year.
  1922.  
  1923.          (_) Payment of $_____ is enclosed (check or money order).
  1924.  
  1925.          (_) Please charge $_____ to my (_) Visa or (_) MasterCard:
  1926.  
  1927.              Card number: ______________________________
  1928.  
  1929.              Expiration date: __________________________
  1930.  
  1931.          _______________________________________________
  1932.          Name
  1933.  
  1934.          _______________________________________________
  1935.  
  1936.  
  1937.          _______________________________________________
  1938.          Address
  1939.  
  1940.          ______________________   ________  ____________
  1941.          City                     State     Zip
  1942.  
  1943.          _______/_______
  1944.          FidoNet address
  1945.  
  1946.  
  1947.      Send this completed form to:
  1948.  
  1949.                           System Enhancement Associates
  1950.                                   21 New Street
  1951.                                 Wayne, NJ   07470
  1952.  
  1953.      For program disk orders outside the U.S., please add an additional $5,
  1954.      and enclose an international money order payable in U.S. currency.
  1955.  
  1956.      For commercial site license orders, please enclose a signed copy of
  1957.      the site license agreement.
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.      ARC                                                           Page  30
  1965.