home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 401.lha / Lharc_1.20 / Lharc.doc < prev    next >
Text File  |  1990-07-27  |  28KB  |  674 lines

  1. ________________________________________________________________________
  2. ------------------------------------------------------------------------
  3.  
  4.  
  5.                         LHARC        vers. 1.20
  6.  
  7.                         for the Commodore AMIGA
  8.          Compatible with version 1.13 of Lharc for MSDOS systems
  9.  
  10.                   by Paolo Zibetti   (FidoNet 2:331/101.6)
  11.                   (assembler routines by  Paolo Toccaceli) 
  12.  
  13.  
  14. ------------------------------------------------------------------------
  15.  IMPORTANT NOTICE:  This program is copyrighted by Paolo Zibetti, but can
  16.  be freely distributed, providing that the following rules are respected.
  17.  - No change is made to the program nor to the accompaning documentation
  18.  - The package is always distributed in its complete form consisting of 
  19.    3 files: "Lharc", "Lharc.doc" and "Changes".
  20.  - Every form of distribution is allowed and encouraged, but no fee can 
  21.    be charged for this program exept for, possibly, the cost of magnetic 
  22.    media and/or disk duplication and shipping.
  23.  - Inclusion in PD software libraries such as Fish Disks is allowed, 
  24.    provided the fees charged for theese disks are comparable with those
  25.    charged by Fred Fish.
  26.  - The program cannot be distributed in any commercial product without the 
  27.    written consent of the author.
  28.  By copying, distributing and/or using the program you indicate your 
  29.  acceptance of the above rules.
  30.  Also remember that this program is supplied 'as is': the entire risk as
  31.  to the quality of the program is to the user. In no event will the author 
  32.  be liable for direct or indirect damage or loss resulting from the use
  33.  of this program.
  34. ------------------------------------------------------------------------
  35.  
  36. ________________________________________________________________________
  37. ------------------------------------------------------------------------
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  --- Introduction ---
  49.  
  50. Lharc is an archive program such as Arc and Zoo. It can store several
  51. files in one archive in a compressed form which is generally more
  52. efficent than that used by Arc and Zoo.  It also supplies all of the
  53. archive handling capabilities that an archive program should have.
  54. In particular it is able to store an entire directory tree 
  55. with one single command. This enables you, for example, to store an
  56. entire floppy-disk with a single command creating an archive which is
  57. usually shorter than those prodeced by Warp or even LhWarp (see the -r
  58. switch). 
  59. Another important feature of Lharc is its ability to preserve the file
  60. attributes (see the -a switch) and filenotes (i.e. the comments that
  61. AmigaODS can associate to each file).
  62. Its only weakness is compression speed: Zoo 2.0, for example, is
  63. faster, but if compression efficency is more important for you than
  64. compression time you'll surely appreciate this progam. (anyway
  65. decompression is much faster than compression)
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  --- Before starting ---
  74.  
  75. Lharc is a 'pure' program, i.e. you can make it resident via the
  76. 'resident' Amigados command just like any other command found in the
  77. c: directory. Keeping Lharc resident will greatly facilitate users
  78. who make an heavy use of Lharc (especially those who don't have an
  79. hard disk).
  80. If you have just received Lharc, beware that some copy programs and
  81. some archivers (including the zoo archiver which is used for
  82. distribution of Lharc) don't preserve file attributes, so the 'p'
  83. flag may not be set for the Lharc executable and Amigados won't
  84. understand that Lharc is a pure program. If so, just type the
  85. following line at the CLI prompt:
  86.  
  87.  protect Lharc p add
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  --- How to use ---
  96.  
  97. Lharc is run from CLI with the following command line:
  98.  
  99.   Lharc [<switches>] <Command> <Archive> [<dest path>] [<file patterns>]
  100.  
  101. items in square brackets are optional.
  102.  
  103.  
  104.  
  105.  
  106. <Command> can be any of the following (case is not significant):
  107.  
  108.  
  109.   e,x  extract files from archive
  110.        Extracts files from archives. If you specify some file names
  111.        or patterns only those files satisfying the patterns are
  112.        extracted, otherwise all the files in the archive are
  113.        extracted.
  114.        While extracting files, Lharc checks if a file by the same
  115.        name already exsists in the destination directory and prompts 
  116.        you before overwriting the old file with the extracted one 
  117.        (unless you specified the -m switch)
  118.        By default, if the files have a path name stored in the archive, they 
  119.        are extracted with their path and needed directories
  120.        are automatically created; use the -x0 switch to ignore path names.
  121.        See below under '<dest path>' for a discussion on where the
  122.        extracted files are stored.
  123.  
  124.   l    show archives contents
  125.        Displays the names of the files in an archive along with their
  126.        date, time, CRC, compression type, original lenght and
  127.        compressed lenght.
  128.        If the -x switch is specified file names are listed complete
  129.        with their path (if present in the archive), otherwise
  130.        only the name of the files is listed.
  131.        The 'l' command won't list the comments (filenotes) that may be
  132.        assiciated with a file: use the 'v' command to see them, too.
  133.  
  134.   v    Same as 'l', but default is to display full pathnames: i.e.
  135.        the 'v' command is equivalent to the 'l' command with the -x switch;
  136.        on the other hand the 'l' command is equivalent to the 'v' command
  137.        with the -x0 switch. 
  138.        Moreover 'v' will also show any filenote (i.e. comment) 
  139.        associated with the files; filenotes, if present,
  140.        are listed on a separate line preceded by a colon
  141.        (i.e. in the same format used by the AmigaDOS 'list' command).
  142.  
  143.   p    extract and print files to screen
  144.        same as 'e' and 'x', but extracted files are sent to stdout
  145.  
  146.   t    test archive integrity
  147.        Checks CRCs and checksums to ensure that the archive is not
  148.        corrupted. Lharc will test all the files on the archive, one
  149.        after each other, printing "OK" to the right of the file names
  150.        which are OK and "WARNING: CRC check failed" to the right of 
  151.        file names that are corrupted. At the end of the test the
  152.        message "Operation successful" means that all the files tested 
  153.        were OK, while the message "Operation not totally successful"
  154.        means that some files in the archive were corrupted (so you
  155.        will know of a corrupted file even if the warning message
  156.        relating to that file has scrolled away on the screen) 
  157.  
  158.   a    create archives or add to existing archives
  159.        Files are stored in alphabetical order, unless you change
  160.        this with the -S switch. Note however that sorting only
  161.        applies to the files beeing added in the current session,
  162.        i.e. if you add files to an existing archive containing
  163.        other files, the new files will be stored, in alphabetical
  164.        order, AT THE END of the archive: old and new files won't be
  165.        intermixed to preserve global alphabetical order.
  166.        If you try to archive a file and a file by the same name
  167.        already exists in the archive the file will not be added
  168.        and a message will be printed on the screen to inform you. 
  169.        By default only file names are stored in the archive, use the 
  170.        -x switch to store file names complete with their paths.
  171.        Also, by default file attributes are not stored, use the '-a'
  172.        switch to obtain this.
  173.  
  174.   m    move files into archivs
  175.        Same as add, but deletes original files after archiving them
  176.  
  177.   d    delete files from archives
  178.        You can delete from an archive a maximum of 150 files at a time,
  179.        if you find that they are too little, please let me know!  
  180.  
  181.   u    update files in archives
  182.        Same as with the 'a' command.  However, if a file already 
  183.        exists in the archive, LHarc will check its time stamp and will
  184.        keep the newer one and ignore the older one.
  185.  
  186.   f    freshen files in archives
  187.        Replaces a file in the archive with the newer one only if a file
  188.        with the same name already exists in the archive.
  189.        Otherwise, no action is taken.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197. <Archive> is the name (eventually preceded by a path) of the
  198. archive you want to work on. If no extension is specified the default
  199. extension .LZH is used. 
  200. With the 'l' (or 'v'), 'e' (or 'x'), 'p', 't' and 'a' commands you can
  201. work on multiple archives by using wildcards (see 'file patterns'
  202. below for a list of accepted wildcards). For example "lharc v *.LZH"
  203. will show the contents of all the archives in the current directory,
  204. while "lharc x *.LZH *.c" will extract all the C source files
  205. contained in all the archives in the current directory.
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212. [<dest path>] 
  213. This parameter is significant only with the 'x' (or 'e') command and is
  214. ignored otherwise. It tells where to put the extracted files; if not
  215. specified, extracted files will go to the current directory.
  216. Please note that this paramenter must always end with '/' or ':'
  217. otherwise it will not be recognized as such and will be considered
  218. as one of the file patterns. 
  219. If the path specified by <dest path> (or equivalently the path stored
  220. in the archive) does not already exist, you will be prompted if you
  221. want new directories to be automatically created (unless you specified
  222. the -m switch, in which case directories will be created without any
  223. prompt).
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230. [<file patterns>] rappresents an optional number of file names
  231. or file patterns. They indicate which files to
  232. extract/compress/list/delete, ecc. 
  233. Accepted wild cards are the standard AmigaDOS '#' and '?' plus the '*'
  234. which is a synonim of '#?'. Since however the asterisk is a valid
  235. caracter in AmigaDOS file names I provided the '**' sequence as an
  236. escape.  So if you want to refer to a file name containing an asterisk
  237. just double the asterisk in the file name.  
  238. Example:  '*.c' is equivalent to '#?.c' and refers to all the files
  239. ending with '.c', while 'my**file' refers to the file 'my*file'.
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246. [<switches>] rappresents an optional number of switches that are used
  247. to change the behaviour of the program.
  248. A switch is composed by  a leading '-' followed by one letter; unlike
  249. commands which are case insensitive, switches are case sensitive.
  250. An important point is that if you want to specify more than one switch,
  251. every switch must be preceded by its own dash, i.e. to activate the 'x'
  252. and 'm' switches you must enter "-x -m" and NOT "-xm". 
  253. You can store your favourite switch configuration in an environment
  254. variable (see below) so that you don't have to type them every time.
  255. All the switches that don't take a parameter can be followed by a '0' 
  256. which turns off the function, while the switch alone or the switch 
  257. followed by a '1' turns the function on: i.e. -x means "use extended
  258. file names",  while -x0 means "don't use them". So you can override
  259. the default settings or the settings you specified in the environment
  260. variable "LHARC". 
  261. Default value for every switch is off, exept for the -x switch which is
  262. by default on with the 'x' 'e' 'd' and 'v' commands and off with the
  263. other  commands.
  264.  
  265. Here is a summary of the available switches:
  266.  
  267.  
  268.   -p  Pause after loading        [note that this is lowercase 'p']
  269.       Causes Lharc to wait for the user to press RETURN before
  270.       executing a command. This allows floppy disk users to swap disks
  271.       after loading Lharc.
  272.  
  273.   -m  no Message for query
  274.       Suppresses all the queries Lharc normally issues before
  275.       overwriting existing files or before creating new directories
  276.       If you specify this switch Lharc will behave as if you choose
  277.       the default action (indicated by an uppercase letter) in
  278.       response to all the questions. This switch also disables
  279.       autoshowing of files (see 'Autoshow files' below)
  280.  
  281.   -x  use eXtended file names
  282.       By default, LHarc stores only the file names of
  283.       files and disregards the names of the directories in which
  284.       they reside.  This switch, used with the 'a' command, tells LHarc 
  285.       to extend all file names with directory names; with the 'x' 'e' 'd'
  286.       and 'v' commands the -x switch is automatically turned on: use 
  287.       -x0 if you want to turn it off thus ignoring pathnames with these 
  288.       commands.
  289.  
  290.   -n  No progress indicator
  291.       Suppresses the display of the number of bytes beeing processed
  292.       during compression or decompression. May be useful if you
  293.       redirect to a file the output of Lharc.
  294.       Note: this version of Lharc allows the -N switch as a synonim of -n :
  295.       but this might change in future versions, so preferibly use the
  296.       lowercase letter.
  297.  
  298.   -w  set Work directory
  299.       Use this switch to choose your own directory for temporary files.
  300.       The directory name must immediatly follow the letter 'w' without
  301.       any leading space, i.e. to set the 'temp' directory on your
  302.       hard-disk as the working directory you must write "-wdh0:temp".
  303.       See below "Temporary files" for a discussion on where temporary
  304.       files are stored in the absence of this switch. 
  305.  
  306.   -P  set Priority          [note that this is uppercase 'P']
  307.       Use this switch to set the priority with which Lharc will be
  308.       executed. Priority must be in the range -5..+5  and must
  309.       immediately follow the 'P' letter without blanks in between.
  310.       By default Lharc is excuted with the same priority of
  311.       the task that invoked it; using this switch will set the new
  312.       priority immediatley after loading and will set back the priority
  313.       to the original value immediately after terminating.
  314.       If you want to do something else with your Amiga, for example
  315.       editing a letter, while Lharc is compressing a long file, I
  316.       suggest that you set Lharc's priority to one less than that of
  317.       the other program, i.e. if you started your editor with the usual
  318.       priority of zero then invoke Lharc with the '-P-1' switch to set its
  319.       priority to -1
  320.  
  321.   -a  consider file Attributes
  322.       By default Lharc will ignore file attributes (i.e. the flags
  323.       indicating protection from deletion, and so on) for maximum
  324.       compatibility with the MSDOS version: in other words it will
  325.       store files with an attribute bit pattern which is suitable for 
  326.       MSDOS machines while during extraction it will ignore the
  327.       attributes stored in the archives, setting the attributes of the
  328.       extracted files to the usual '----rwed'.
  329.       If you use this switch, on the contrary, files will be stored
  330.       with their original attributes and during extraction the
  331.       stored attributed will be restored.
  332.       Remember that, to effectively preserve file attributes, you must
  333.       use this switch both during compression and during extraction.
  334.       Of course AmigaDOS file attributes are meaningless to MSDOS and
  335.       vice-versa; so extract files with the -a switch only if you are
  336.       sure that they contain AmigaDOS file attributes and similarly
  337.       compress files with the -a switch only if you are sure that the
  338.       archive will be unpacked only by Amigas and not by MSDOS
  339.       machines. (Anyway no harm is done if this rule is not respected:
  340.       extracted files will simply have strange attributes)
  341.  
  342.   -u  convert file names to Uppercase
  343.       By default Lharc stores file names/paths with thier original case,
  344.       if you use this switch they will be converted to uppercase.
  345.       See below 'Compatibility' for a possible use of this switch.
  346.  
  347.   -r  Recursively collect files
  348.       This switch instructs Lharc to search for files matching the
  349.       specified patterns not only in the specified directories, but also
  350.       in all the subdirectories that may be found in the specified
  351.       directories. For example: "Lharc -r a archive.lzh df1:source/*.c" 
  352.       will search for files whose name ends with ".c" in "df1:source/"
  353.       and in all the subdirectories that may be contained in the
  354.       "df1:source" directory. 
  355.       Another example: "Lharc -r a archive.lzh df1:*" will archive the
  356.       entire disk in drive df1:, including all its subdirectories.
  357.       (you may wish to add the -a switch to the above line in order to
  358.       be able to re-build exactly the disk, including file attributes)
  359.       Very powerfull, isn't it ?
  360.       When you specify the -r switch, files are always stored with their
  361.       path name, i.e. the -r switch automatically turns on the -x switch,
  362.       too.
  363.  
  364.   -S  Set sorting criteria          [note that this is an UPPLERCASE S]
  365.       This switch sets the sort criterium for files beeing added to
  366.       archives. The '-S' must be immediatly followed by one or two
  367.       characters, i.e. -Sxy 
  368.       'x' can be any of the following:
  369.          0  Don't sort files
  370.          a  Alphabetical sort
  371.          c  Chronological sort
  372.       'y', if present, can be any of the following:
  373.          a  Ascending order
  374.          d  Descending order
  375.       If 'y' is absent, ascending order is assumed by default.
  376.       Examples:
  377.          -Scd          Sort chronologically in descending order
  378.          -Sc  or -Sca  Sort chronologically in ascending order.
  379.          -S0           Don't sort at all
  380.          -Saa          Sort alphabetically in ascending order, this is
  381.                        the default action which is taken if you don't
  382.                        specify this switch. 
  383.  
  384.   -b  Set I/O buffer size
  385.       Big I/O buffers can considerably speed up some operations of Lharc
  386.       (espacially with hard disks) however if you are low on memory you
  387.       may prefer to use small I/O buffers.
  388.       This switch lets you set the amount of memory that Lharc will use
  389.       as an I/O buffer: the number of Kbytes of memory to be used must
  390.       immediately follow the 'b' without any spaces in between, e.g. 
  391.       -b20 tells Lharc to use 20 kbytes of memory for I/O buffers.
  392.       Any number between 6 and 37 is valid, default is using 11 Kbytes:
  393.       if you are low on memory you can lower this amount, but if you have
  394.       plenty of memory I suggest that you rise it. 
  395.       I suggest that you set this switch at the value you like in the 
  396.       environment variable 'LHARC' (see below) so that you don't have 
  397.       to specify this switch every time you invoke Lharc.
  398.  
  399.   -f  Ignore filenotes
  400.       By defaults Lharc archives files complete with their comment
  401.       (filenote). If you set this switch filenotes won't be stored in
  402.       archives and files beeing extracted won't have their filenote
  403.       even if it's present in the archive.
  404.       There is no compatibility problem, but if you are not interested
  405.       in filenotes you may set this switch to reduce the archive size
  406.       (filenotes are stored in uncompressed form, so if you have long
  407.       filenotes they can increase the size of the archive)
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  --- Setting switches in an environment variable ---
  416.  
  417.    You may set any of LHarc's default switches with the environment
  418.    variable 'LHARC':
  419.    So, if you, for example, want to always archive files with their
  420.    attributes, use the maximum allowed I/O buffer size and use 
  421.    'dh0:mytemp/' as a working directory you simply type:
  422.  
  423.    SenEnv LHARC  "-wdh0:mytemp -a -b37"
  424.  
  425.    (don't forget the quotes): now Lharc will behave as if you typed
  426.    the above switches every time you invoke it. You can insert the
  427.    setenv command in your startup-sequence so that it's automatically
  428.    executed every time you turn your computer on.
  429.    Of course, you can always override the default settings
  430.    estabilisced in the enviroment variable with the command line: for
  431.    example an '-a0' in the command line will override the '-a' found 
  432.    in the above enviromnet variable.
  433.    Please note that the 'setenv' command is only available in
  434.    Workbench 1.3 and higher: if you are using older versions of the
  435.    O.S. this feature is not available.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  --- Autoshow files ---
  444.  
  445. Suppose that your archive contains an important text file that you
  446. want to be sure it will be read by the guy who unpacks the archive.
  447. The file may for example contain a copyright notice or some special
  448. instructions for unpacking (if you have packed the archive with the -a
  449. switch you may wish to remind to the one who unpacks the archive the
  450. he/she has to use the -a switch too).
  451. For this purpuse this version of Lharc introduces autoshow files: while
  452. unpacking an archive, if Lharc encounters a file whose name ends with
  453. ".TXT.DISPLAYME" (case is not significant and quotes must not be
  454. included, of course), it first extracts the file (removing the .DISPLAYME
  455. extension) and then displays in a window the text found in that file
  456. waiting for the user to press RETURN before proceeding.
  457. You can add as many autoshow files as you want, for example one at the
  458. beginning and one at the end of the archive.
  459. Autoshowing of files is disabled when the -m switch is active so that
  460. a non-interactive unpacking session is allowed.
  461. Lharc uses the standard CON: device to open a window for displaing text,
  462. so you can insert ANSI codes in your autoshow files to make your
  463. messages nicer. Lharc will adjust the size of the window according to
  464. the number of lines contained in the text file, but the maximum allowed
  465. size is that of an NTSC screen (200 pixels), so if your text is longer
  466. than 20 lines it will scroll away.
  467. Finally, please note that this feature is unique to the Amiga version of
  468. Lharc (for now...) so remember that if your archive will be unpacked on
  469. another machine (or an an Amiga using Lharc version 1.0 or lower)
  470. autoshow files will simply be extracted without displaying them on the
  471. screen; anyway your important text file will still be there for later
  472. reading by the user and no compatibility problems will arise.
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  --- Temporary files ---
  482.  
  483. While compressing files Lharc creates a temporary file called
  484. 'Lharc.TMP_XXXXXX' where XXXXXX is a hex digit representing the address
  485. of its own Task structure as returned by Exec's FindTask(NULL).  
  486. The reason for the XXXXXX part of the name is that if you run multiple
  487. copies of Lharc at the same time each copy will create its own temporary
  488. file with a different name (usefull for multiline BBSes for example).
  489. Here is how Lharc decides where to store temporary files.
  490. If you specify a path with the -w switch temporary files are stored
  491. there, otherwise if the T:  logical device is assigned they will be
  492. stored in that directory, otherwise they will go to the current
  493. directory.  
  494. If you are not using the -w switch, in order to increase compression
  495. speed, I raccomand that you assign T:  to a directory in the ram-disk.
  496. Note however that T:  is usually automatically assigned to 'ram:t' in
  497. the startup-sequence of the standard Workbench, so, unless you have
  498. modified the startup-sequence, you don't have to worry about this.
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  --- Corrupted archives ---
  511.  
  512. This version al Lharc for the Amiga has the capability of automatically
  513. handle corrupted archives.
  514. A Lharc archive is made up of several compressed files each precedeed by
  515. a header containing information about file name, date, lenght,...
  516. To ensure that the archive is not corrupted the header also contains a
  517. 16 bit CRC of the file and an 8 bit checksum of the header itself.
  518. If during extraction Lharc finds a corrupted file (i.e. one whose CRC
  519. does not match with the one stored in the header) the file is extracted
  520. anyway, but a warning is printed on the screen.
  521. The worst case comes when the header of a file is corrupted: in this case
  522. the file cannot be extracted even if the file itself is not corrupted.
  523. In this case Lharc will automatically skip the corrupted entry by
  524. starting a search for the next valid entry in the archive and will
  525. print a message like "WARNING: skipping extraneous/corrupted data"
  526. The reason for which it says "extraneous/corrupted" is that an Lharc
  527. archive might happen to contain parts that Lharc cannot recognize as valid
  528. archive entries even it's not corrupted. This happens when you are
  529. extracting files from a self-extracting archive produced by the MSDOS
  530. version of Lharc, since a self-extracting archive contains 8086
  531. extraction code which the Amiga-Lharc sees as extraneous data.
  532. The only extraneous data which is passed without warnings is additional
  533. bytes at the end of an archive: since they are likely to consist of
  534. zero padding due to XMODEM transfer they are totally ignored.
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  --- Return codes ---
  545.  
  546. When Lharc finishes his work, it returns to the operating system one of
  547. 3 possible return codes:
  548.  
  549.  0  Everything was OK  (the message "Operation successful" is printed on
  550.     the screen). 
  551.  5  Lharc finished its work, but something went wrong, for example Lharc
  552.     encountred a corrupted entry in the archive, but was able to continue
  553.     extracting/testing the rest of the archive (the message "Operation not
  554.     totally succesful" is printed on the screen).
  555.  20 A fatal error occurred and Lharc was unable to continue its work (an
  556.     appropriate message exlpaining the probelm is printed on the sceen) 
  557.  
  558. Thus you can test the succes of operation in your script files by means 
  559. of the 'failat' statement and the 'if warn' test.
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  --- Bugs ---
  569.  
  570. No known known bugs remain in this version.
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  ---- Compatibility ---
  580.  
  581. This program is aimed at full compatibility with the MSDOS version
  582. 1.13 of Lharc. 
  583. A few little problems might arise from some file names that are legal
  584. under AmigaDOS, but illegal under MSDOS. As a matter of facts AmigaDOS
  585. allows a wider range of file names (almost every caracter in the ASCII
  586. set is allowed and file names can be longer than 8 characters). For
  587. the greatest convenience of Amiga users, I choose not to restrict the
  588. file name range to accomplish the MSDOS rules, but if you expect that
  589. your archives will be unpacked on an MSDOS machine you'd better
  590. rispect the MSDOS limits.
  591. Also note that, although MSODS Lharc version 1.13 CAN extract files
  592. whose names contain lowercase letters, its pattern matching functions
  593. don't work properly with lowercase file names. So if you want to
  594. extract an Amiga-created archive on an MSDOS machine by using pattern
  595. matching functions (for example to extract only some files instead of
  596. the whole archive) you have to create the archive on the Amiga with
  597. the -u switch. 
  598. Finally, to attain 100% compatibility you shuold not use the '-a' switch
  599. (see above in the switch descriptions)
  600.  
  601. Also note that the MSDOS version of Lharc has the additional
  602. capability of extracting files from archives produced by Larc (a
  603. pupular Japanise archive program): this feature will not be
  604. implemented in the Amiga version.
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  ---- Acknowledgements ---
  615.  
  616. First of all I give credit to Haruyasu Yoshizaki for devising such an
  617. efficent compression algorythm as LZHUF.
  618. Second, since the source to the MSDOS version of Lharc is scarcely
  619. portable (lots of 8086 assembler ruotines and MSDOS-dependent C
  620. functions), I had to rewrite the program from scratch. Note however
  621. that for LZHUF compression/decompression I have used as a starting
  622. point a 'C' source for an example of single file compression
  623. which I found on a BBS. Although the code has been now remanaged (and
  624. partially rewritten in assembler by Paolo Toccaceli) it nevertheless
  625. was invaluable to me.
  626. For sake of correctness I quote here the the header found on this
  627. source:  
  628.  
  629. /*
  630.  * LZHUF.C English version 1.0
  631.  * Based on Japanese version 29-NOV-1988
  632.  * LZSS coded by Haruhiko OKUMURA
  633.  * Adaptive Huffman Coding coded by Haruyasu YOSHIZAKI
  634.  * Edited and translated to English by Kenji RIKITAKE
  635.  */
  636.  
  637. I whish to thank the above people whose work has been of
  638. foundamental importance for this project.
  639. Thanks to Stefan Boberg for suggesting how to store filenotes in the
  640. archive structure that didn't provide space for them. 
  641. Many thanks also go to all the people who contributed with suggestions
  642. and bug reports and particularly to Luca Spada for his invaluable beta
  643. testing work.
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  --- How to reach me ---
  654.  
  655. Please send suggestions, comments and bug reports to:
  656.  
  657. Paolo Zibetti       Fidonet 2:331/101.6
  658.  
  659. node 2:331/101 (AmnesiA) is also the official distribution node for
  660. Amiga-Lharc: you'll always find the latest version available on this
  661. board. If you are an officially listed FidoNet node you can f'request
  662. the latest version of Lharc with the magic file name AMILHARC.
  663.  
  664. Amnesia (2:331/101)  phone +39-331-263425  (v32/HST, upto 14400 bps)
  665.  
  666.  
  667.  
  668. For those who don't have access to a FidoNet node, my Fidonet point
  669. can also be reached from Internet/UUCP at the following address:
  670.  
  671. Paolo.Zibetti@p6.f101.n331.z2.fidonet.org
  672.  
  673.  
  674.