home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / compre.zip / readme < prev   
Text File  |  1991-03-01  |  2KB  |  41 lines

  1. Here is a version of compress 4.0 hacked for MSDOS. A makefile is provided
  2. which will compile it using Microsoft C, Turbo C, or Zortech C. The makefile
  3. will need editing if other than the Microsoft compiler is used.
  4. The program requires about 400K to run. It takes the same command line
  5. args as does the UNIX program of the same name, and should be compatible
  6. in all ways with that program. It will decode a 16 bit compressed file,
  7. and can generate the same. On my machine, it decodes about twice as quickly
  8. as the "u16" decompress program posted earlier to c.s.m.
  9.  
  10. Doug Graham.
  11. uunet!mitel!sce!tsmith!graham
  12.  
  13.  
  14. Ported to OS/2. Only the memory allocation and some usage().. stuff
  15. was changed, -k (keep) option added.
  16. Under OS/2 and if a family mode application is to build, the huge segment
  17. allocation functions of the DOS layer have to be used carefully instead
  18. of the MS C library routines for big segments.
  19. The system calls DosAllocHuge() and DosGetHugeShift() are used.
  20.  
  21. Compile with:
  22.   CL -AS -G2s -Oltn -Zep -W3 -Lp -Fb -F 2000 -DOS2 -DMSC -DPROTO -Di8088
  23.      compress.c compress.def setargv.obj -link /noe
  24. or:
  25.   SET CL=-AS -G2s -Oltn -Zep -W3 -Lp -Fb -F 2000
  26.   SET LINK=/NOIG /NOE
  27.   CL  -DOS2 -DMSC -DPROTO -Di8088 compress.c compress.def setargv.obj
  28.  
  29. You have to use Microsoft C 5.1 or above.
  30.  
  31.  
  32. Kai Uwe Rommel
  33. rommel@lan.informatik.tu-muenchen.dbp.de
  34.  
  35.  
  36. Compress now supports the HPFS file names. On a HPFS, it now appends .Z
  37. like under Unix instead of replacing the extension with .Z like it
  38. does on a FAT file system.
  39.  
  40. Kai Uwe Rommel
  41.