home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 181_01 / lzw.doc < prev    next >
Text File  |  1985-03-10  |  2KB  |  48 lines

  1. This is the latest version of the file compressor/decompressor pair,lzwcom 
  2. and lzwunc.
  3.  
  4. They have been developed using the AZTEC C86 compiler, and are portable to 
  5. any other standard C environment.  I have tested this code with AZTEC CII 
  6. for the 8080, and with the C compiler on XENIX 286, and they work fine.
  7.  
  8.  
  9. FILES:
  10.  
  11. lzwcom.c    - compressor main program
  12. lzwunc.c    - uncompressor program
  13. commlzw.c    - common routines
  14. debug.h        - my homebrew debug header.  Defines the macro DEBUGGER, which
  15.               is sprinkled liberally throughout the other three files
  16. lzwcom.exe    - the compressor program. runs on any MS-DOS machine.
  17. lzwunc.exe  - the uncompressor program.
  18.  
  19. Questions or comments - leave on the Computer Language BBS 1 415 957 9370
  20. or call Kent Williams direct (voice) at (319) 369-3131.
  21.  
  22. NOTE:  
  23.  
  24. This version fixes two potentially serious bugs -
  25. 1. The unknown codes were being decoded incorrectly, resulting usually 
  26. in occasional swapped byte pairs.  This could play havoc with object files.
  27.  
  28. 2. The output code buffer was not getting properly flushed - the last byte or
  29. bytes ended up dropped from the uncompressed file.
  30.  
  31. If anyone is interested I can upload the latest code for CPM/80.
  32.  
  33. COPYRIGHT NOTICE:
  34.  
  35. The programs LZWCOM and LZWUNC, both in binary executable and source forms, 
  36. are in the public domain.  No warranty is given or implied, and no liability 
  37. will be assumed by the author.
  38.  
  39. Everyone on earth is hereby given permission to use, copy, distribute, change,
  40. mangle, destroy or otherwise employ these programs, provided they hurt no one
  41. but themselves in the process.
  42.  
  43. Kent Williams
  44. Norand Inc.
  45. 550 2nd St S.E.
  46. Cedar Rapids, Iowa 52401
  47. (319) 369-3131
  48.