home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / sm186.zip / LICENCE.TXT < prev    next >
Text File  |  1996-05-09  |  15KB  |  296 lines

  1. This readme file contains:
  2.  
  3.  
  4.   1) HA Readme (Harry Hirvola came up with the compression algorithm)  
  5.   2) GNU Licence
  6.  
  7.  
  8.  
  9. |               
  10. |  HA README   
  11. |              
  12. ===================================
  13.  
  14. HA is an archiver which I released in january 1993 as version 0.98.
  15. After that I had plans to improve speed, archive handling etc. which
  16. would have required total rewrite of the code. For that I unfortunately
  17. could not find time. Because there has been quite considerably interest
  18. for internals of HA (especially for the HSC compression method) I
  19. decided to make a source level release from my current test version
  20. (0.999 beta) and place it under GNU General Public License. The sources
  21. for this version are not very consistent or clean, but everything should
  22. work.
  23.  
  24. There are several improvements which should be made before this could be
  25. called version 1.0. Some of the most obvious of these are: 
  26. - Compression methods should be coded in assembler for PC and using more
  27.   efficient data structures for 32 bit platforms. Current version does
  28.   some things only to overcome 64kB segments of 8086. 
  29. - UNIX port has still some problems and is missing some things (for example 
  30.   a grouping operator in wildcard matches). 
  31. - File handling is far from optimum.  
  32. - Archive handling is not too clever either. 
  33. - Testing should be done more thoroughly as there are many special cases 
  34.   in compression routines which get used very rarely. 
  35. - Documentation of code and algorithms is totally missing.
  36.  
  37. This archive (ha0999.zip) contains this readme, MSDOS executable ha.exe
  38. and source files for HA 0.999beta. Ha.exe is NOT compiled directly from
  39. included sources. Some critical parts of it were compiled from hand
  40. optimized versions of compiler output. It is somewhat faster than "pure
  41. C" version. 
  42.  
  43. MSDOS sources are for Borland C 4.0 but older versions of bcc should
  44. work. Makefile needs some editing as some paths are hardcoded in it.
  45. UNIX sources are not very generic. I have only tested this using Linux
  46. on PC and AIX on IBM6000. Only compiler and make utility that I have
  47. tested are GCC and GNU MAKE.
  48.  
  49. Porting HA should be fairly easy as all machine specific code is in
  50. machine.h and machine.c under machine specific directories. Md_funcs.txt
  51. documents these functions. Examples can be found from pc and nix
  52. directories.
  53.  
  54. Email address where I can be reached is "harri.hirvola@vaisala.infonet.com".
  55. My email addresses have not been very stable and I would not be very 
  56. surprised if this one too is only valid for some months...
  57.     Harri Hirvola
  58.  
  59.  
  60.  
  61.  
  62. ==================================
  63.  
  64.             GNU GENERAL PUBLIC LICENSE
  65.                Version 2, June 1991
  66.  
  67.  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  68.                           675 Mass Ave, Cambridge, MA 02139, USA
  69.  Everyone is permitted to copy and distribute verbatim copies
  70.  of this license document, but changing it is not allowed.
  71.  
  72.                 Preamble
  73.  
  74.   The licenses for most software are designed to take away your
  75. freedom to share and change it.  By contrast, the GNU General Public
  76. License is intended to guarantee your freedom to share and change free
  77. software--to make sure the software is free for all its users.  This
  78. General Public License applies to most of the Free Software
  79. Foundation's software and to any other program whose authors commit to
  80. using it.  (Some other Free Software Foundation software is covered by
  81. the GNU Library General Public License instead.)  You can apply it to
  82. your programs, too.
  83.  
  84.   When we speak of free software, we are referring to freedom, not
  85. price.  Our General Public Licenses are designed to make sure that you
  86. have the freedom to distribute copies of free software (and charge for
  87. this service if you wish), that you receive source code or can get it
  88. if you want it, that you can change the software or use pieces of it
  89. in new free programs; and that you know you can do these things.
  90.  
  91.   To protect your rights, we need to make restrictions that forbid
  92. anyone to deny you these rights or to ask you to surrender the rights.
  93. These restrictions translate to certain responsibilities for you if you
  94. distribute copies of the software, or if you modify it.
  95.  
  96.   For example, if you distribute copies of such a program, whether
  97. gratis or for a fee, you must give the recipients all the rights that
  98. you have.  You must make sure that they, too, receive or can get the
  99. source code.  And you must show them these terms so they know their
  100. rights.
  101.  
  102.   We protect your rights with two steps: (1) copyright the software, and
  103. (2) offer you this license which gives you legal permission to copy,
  104. distribute and/or modify the software.
  105.  
  106.   Also, for each author's protection and ours, we want to make certain
  107. that everyone understands that there is no warranty for this free
  108. software.  If the software is modified by someone else and passed on, we
  109. want its recipients to know that what they have is not the original, so
  110. that any problems introduced by others will not reflect on the original
  111. authors' reputations.
  112.  
  113.   Finally, any free program is threatened constantly by software
  114. patents.  We wish to avoid the danger that redistributors of a free
  115. program will individually obtain patent licenses, in effect making the
  116. program proprietary.  To prevent this, we have made it clear that any
  117. patent must be licensed for everyone's free use or not licensed at all.
  118.  
  119.   The precise terms and conditions for copying, distribution and
  120. modification follow.
  121.  
  122.             GNU GENERAL PUBLIC LICENSE
  123.    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  124.  
  125.   0. This License applies to any program or other work which contains
  126. a notice placed by the copyright holder saying it may be distributed
  127. under the terms of this General Public License.  The "Program", below,
  128. refers to any such program or work, and a "work based on the Program"
  129. means either the Program or any derivative work under copyright law:
  130. that is to say, a work containing the Program or a portion of it,
  131. either verbatim or with modifications and/or translated into another
  132. language.  (Hereinafter, translation is included without limitation in
  133. the term "modification".)  Each licensee is addressed as "you".
  134.  
  135. Activities other than copying, distribution and modification are not
  136. covered by this License; they are outside its scope.  The act of
  137. running the Program is not restricted, and the output from the Program
  138. is covered only if its contents constitute a work based on the
  139. Program (independent of having been made by running the Program).
  140. Whether that is true depends on what the Program does.
  141.  
  142.   1. You may copy and distribute verbatim copies of the Program's
  143. source code as you receive it, in any medium, provided that you
  144. conspicuously and appropriately publish on each copy an appropriate
  145. copyright notice and disclaimer of warranty; keep intact all the
  146. notices that refer to this License and to the absence of any warranty;
  147. and give any other recipients of the Program a copy of this License
  148. along with the Program.
  149.  
  150. You may charge a fee for the physical act of transferring a copy, and
  151. you may at your option offer warranty protection in exchange for a fee.
  152.  
  153.   2. You may modify your copy or copies of the Program or any portion
  154. of it, thus forming a work based on the Program, and copy and
  155. distribute such modifications or work under the terms of Section 1
  156. above, provided that you also meet all of these conditions:
  157.  
  158.     a) You must cause the modified files to carry prominent notices
  159.     stating that you changed the files and the date of any change.
  160.  
  161.     b) You must cause any work that you distribute or publish, that in
  162.     whole or in part contains or is derived from the Program or any
  163.     part thereof, to be licensed as a whole at no charge to all third
  164.     parties under the terms of this License.
  165.  
  166.     c) If the modified program normally reads commands interactively
  167.     when run, you must cause it, when started running for such
  168.     interactive use in the most ordinary way, to print or display an
  169.     announcement including an appropriate copyright notice and a
  170.     notice that there is no warranty (or else, saying that you provide
  171.     a warranty) and that users may redistribute the program under
  172.     these conditions, and telling the user how to view a copy of this
  173.     License.  (Exception: if the Program itself is interactive but
  174.     does not normally print such an announcement, your work based on
  175.     the Program is not required to print an announcement.)
  176.  
  177. These requirements apply to the modified work as a whole.  If
  178. identifiable sections of that work are not derived from the Program,
  179. and can be reasonably considered independent and separate works in
  180. themselves, then this License, and its terms, do not apply to those
  181. sections when you distribute them as separate works.  But when you
  182. distribute the same sections as part of a whole which is a work based
  183. on the Program, the distribution of the whole must be on the terms of
  184. this License, whose permissions for other licensees extend to the
  185. entire whole, and thus to each and every part regardless of who wrote it.
  186.  
  187. Thus, it is not the intent of this section to claim rights or contest
  188. your rights to work written entirely by you; rather, the intent is to
  189. exercise the right to control the distribution of derivative or
  190. collective works based on the Program.
  191.  
  192. In addition, mere aggregation of another work not based on the Program
  193. with the Program (or with a work based on the Program) on a volume of
  194. a storage or distribution medium does not bring the other work under
  195. the scope of this License.
  196.  
  197.   3. You may copy and distribute the Program (or a work based on it,
  198. under Section 2) in object code or executable form under the terms of
  199. Sections 1 and 2 above provided that you also do one of the following:
  200.  
  201.     a) Accompany it with the complete corresponding machine-readable
  202.     source code, which must be distributed under the terms of Sections
  203.     1 and 2 above on a medium customarily used for software interchange; or,
  204.  
  205.     b) Accompany it with a written offer, valid for at least three
  206.     years, to give any third party, for a charge no more than your
  207.     cost of physically performing source distribution, a complete
  208.     machine-readable copy of the corresponding source code, to be
  209.     distributed under the terms of Sections 1 and 2 above on a medium
  210.     customarily used for software interchange; or,
  211.  
  212.     c) Accompany it with the information you received as to the offer
  213.     to distribute corresponding source code.  (This alternative is
  214.     allowed only for noncommercial distribution and only if you
  215.     received the program in object code or executable form with such
  216.     an offer, in accord with Subsection b above.)
  217.  
  218. The source code for a work means the preferred form of the work for
  219. making modifications to it.  For an executable work, complete source
  220. code means all the source code for all modules it contains, plus any
  221. associated interface definition files, plus the scripts used to
  222. control compilation and installation of the executable.  However, as a
  223. special exception, the source code distributed need not include
  224. anything that is normally distributed (in either source or binary
  225. form) with the major components (compiler, kernel, and so on) of the
  226. operating system on which the executable runs, unless that component
  227. itself accompanies the executable.
  228.  
  229. If distribution of executable or object code is made by offering
  230. access to copy from a designated place, then offering equivalent
  231. access to copy the source code from the same place counts as
  232. distribution of the source code, even though third parties are not
  233. compelled to copy the source along with the object code.
  234.  
  235.   4. You may not copy, modify, sublicense, or distribute the Program
  236. except as expressly provided under this License.  Any attempt
  237. otherwise to copy, modify, sublicense or distribute the Program is
  238. void, and will automatically terminate your rights under this License.
  239. However, parties who have received copies, or rights, from you under
  240. this License will not have their licenses terminated so long as such
  241. parties remain in full compliance.
  242.  
  243.   5. You are not required to accept this License, since you have not
  244. signed it.  However, nothing else grants you permission to modify or
  245. distribute the Program or its derivative works.  These actions are
  246. prohibited by law if you do not accept this License.  Therefore, by
  247. modifying or distributing the Program (or any work based on the
  248. Program), you indicate your acceptance of this License to do so, and
  249. all its terms and conditions for copying, distributing or modifying
  250. the Program or works based on it.
  251.  
  252.   6. Each time you redistribute the Program (or any work based on the
  253. Program), the recipient automatically receives a license from the
  254. original licensor to copy, distribute or modify the Program subject to
  255. these terms and conditions.  You may not impose any further
  256. restrictions on the recipients' exercise of the rights granted herein.
  257. You are not responsible for enforcing compliance by third parties to
  258. this License.
  259.  
  260.   7. If, as a consequence of a court judgment or allegation of patent
  261. infringement or for any other reason (not limited to patent issues),
  262. conditions are imposed on you (whether by court order, agreement or
  263. otherwise) that contradict the conditions of this License, they do not
  264. excuse you from the conditions of this License.  If you cannot
  265. distribute so as to satisfy simultaneously your obligations under this
  266. License and any other pertinent obligations, then as a consequence you
  267. may not distribute the Program at all.  For example, if a patent
  268. license would not permit royalty-free redistribution of the Program by
  269. all those who receive copies directly or indirectly through you, then
  270. the only way you could satisfy both it and this License would be to
  271. refrain entirely from distribution of the Program.
  272.  
  273. If any portion of this section is held invalid or unenforceable under
  274. any particular circumstance, the balance of the section is intended to
  275. apply and the section as a whole is intended to apply in other
  276. circumstances.
  277.  
  278. It is not the purpose of this section to induce you to infringe any
  279. patents or other property right claims or to contest validity of any
  280. such claims; this section has the sole purpose of protecting the
  281. integrity of the free software distribution system, which is
  282. implemented by public license practices.  Many people have made
  283. generous contributions to the wide range of software distributed
  284. through that system in reliance on consistent application of that
  285. system; it is up to the author/donor to decide if he or she is willing
  286. to distribute software through any other system and a licensee cannot
  287. impose that choice.
  288.  
  289. This section is intended to make thoroughly clear what is believed to
  290. be a consequence of the rest of this License.
  291.  
  292.   8. If the distribution and/or use of the Program is restricted in
  293. certain countries either by pate.
  294.  
  295.  
  296.