home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / MISC / TCREADER / COMPRESS.TXT next >
Encoding:
Text File  |  1995-06-19  |  1.7 KB  |  43 lines

  1. Introducing Reader 2.2 with Compressed data files.
  2.  
  3. The compression idea originally came from Ian Young who worked up a version
  4. for VR.  I adapted and enhanced his code so texts can be compressed in about
  5. 5-10 minutes rather then hours on a single file.
  6.  
  7. TCReader (Text Compression for Reader) is a DOS program that converts plain
  8. text files into a compressed format that Reader understands.  It's currently
  9. compiled for a 386 or better.  if your machine is less capable let me know and
  10. I will send you a revised program.
  11.  
  12. To use type:
  13.  TCReader filename
  14.  
  15. And the original file well be converted to a compressed file (same name.) If
  16. you wish to preserve the original file use TCReader like:
  17.  TCReader infile outfile
  18.  
  19. And the compressed file will be the name you selected as the outfile. You
  20. can always restore the original with:
  21.  UnTCR infile [outfile]
  22.  
  23. With the out file name being optional (like TCReader) if you do not want the
  24. original over written.
  25.  
  26. Note: TCReader uses temporary files with numbers for names (corresponding to
  27. the number of passes.) So make sure your current directory is clear of files
  28. with names like "1", "2", "3" ...
  29.  
  30. Reader will automatically detect a compressed file so there is no need to
  31. distinguish compressed files from normal files.
  32.  
  33. DOS Wild cards - You can use DOS wild cards for both TCReader and UnTCR. If
  34. the optional outfile is used with wild cards just the outfile extension is
  35. used for the output file. Examples:
  36.  TCReader *.txt
  37. or
  38.  TCReader *.txt *.tcr
  39.  
  40. Note: Do to the way I'm handling wild cards the same file may come be come 
  41. up more then once. This has no ill effects other then displaying a message 
  42. that it has already been processed.
  43.