home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / misc / 18714 < prev    next >
Encoding:
Text File  |  1992-08-16  |  2.9 KB  |  69 lines

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!madler
  3. From: madler@cco.caltech.edu (Mark Adler)
  4. Subject: Re: Squash
  5. Message-ID: <1992Aug16.143643.19533@cco.caltech.edu>
  6. Sender: news@cco.caltech.edu
  7. Nntp-Posting-Host: bartman
  8. Organization: California Institute of Technology, Pasadena
  9. References: <1992Aug16.072426.25866@csus.edu> <840@rtbrain.rightbrain.com>
  10. Date: Sun, 16 Aug 1992 14:36:43 GMT
  11. Lines: 56
  12.  
  13.  
  14. Glenn Reid replies to Eric Scott:
  15.  
  16. >> >  Using it for software distribution is
  17. >> > questionable at best.
  18. >>
  19. >> How come?  If you also ship the uncompressor, what makes it "questionable"?
  20.  
  21. This is a non-issue.  It's obvious when you would use Squash and when you
  22. wouldn't.  Squash is only good for distributing software or what-have-you
  23. between 680x0 machines running NeXTstep.  You can distribute with it the
  24. UnSquashOnly application.  If you are unsure of the integrity of the Squash
  25. program, you would simply check that UnSquashOnly works on the files
  26. before you ship it.
  27.  
  28. If you are distributing beyond the NeXT-universe, then you obviously
  29. can't use Squash (unless you're Greg and can recompile it for another
  30. machine).
  31.  
  32. Another concern might be that you want your user to use the NeXT
  33. Installer utility for consistency with other manufacturers.  I do not
  34. know of a way to get Installer to invoke UnSquashOnly--as it stands
  35. Installer uses tar and compress.
  36.  
  37. Even between NeXT's, there is a usage where Squash falls flat.  That
  38. is dialing into a NeXT over a modem from a NeXT at home, and using
  39. compression to reduce the time to transfer stuff in either direction.
  40. There is no purely command-line utility to Squash or UnSquash.  I end
  41. up using zip and unzip for that purpose.
  42.  
  43. Squash is a really nice GUI compression utility that is reliable and
  44. compresses very well.  However, there are compressors out there that
  45. are better.  One is comp-2 and expand-2 which come in source and work
  46. from the command line.  Like Squash, comp-2 is memory and cpu intensive.
  47.  
  48. Eric Scott felt:
  49.  
  50. >> Trusting one's data to a proprietary (and unique) scheme strikes
  51. >> me as incredibly foolish.
  52.  
  53. Only if it doesn't work.  Squash works.
  54.  
  55. I endeavoured and succeeded in getting Greg to put a crc check into
  56. Squash during beta testing.  This provides similar confidence in the
  57. data that you get when you read it off of a hard disk.  In all my
  58. usage of Squash, it has not failed to decompress.  That's more than
  59. I can say for other commercial programs whose format is neither
  60. proprietary or unique--in particular, PKZIP.  Having a disclosed
  61. format offers limited protection against bugs in the software.  If
  62. it is an error in the uncompression software, then maybe you can find
  63. a way to fix it.  However, if it was an error in the compression
  64. software, then it is likely that you cannot recover, no matter how
  65. much you know about the format.
  66.  
  67. Mark Adler
  68. madler@tybalt.caltech.edu
  69.