home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / programm / 20116 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.2 KB  |  44 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!rpi!batcomputer!munnari.oz.au!uniwa!cujo!ncrpda.curtin.edu.au!rocky.curtin.edu.au!user
  3. From: peter@ncrpda.curtin.edu.au (Peter N Lewis)
  4. Subject: Re: RFC: MacBinary extension to support folders
  5. Message-ID: <peter-201292201929@rocky.curtin.edu.au>
  6. Followup-To: comp.sys.mac.programmer
  7. Lines: 30
  8. Sender: news@ncrpda.curtin.edu.au
  9. Nntp-Posting-Host: ncrpda.curtin.edu.au
  10. Organization: NCRPDA, Curtin University
  11. References: <1992Dec7.214717.17850@gallant.apple.com> <1992Dec8.142529.6079@dartvax.dartmouth.edu> <1992Dec8.193851.8070@netcom.com>
  12. Date: Sun, 20 Dec 1992 12:25:22 GMT
  13.  
  14. In article <1992Dec8.193851.8070@netcom.com>, leonardr@netcom.com (Leonard
  15. Rosenthol) wrote:
  16.  
  17. >     True, they are broken - but what do you tell the end user when he
  18. > just downloaded a huge file (at 1200/2400 baud) and it's toast becuase he
  19. > used a "broken" program (say, White Knight), that never expected to see
  20. > comments since no one actually used them until recently (to my knowledge
  21. > NONE of the standard Mac telecom software sends or receives comments).
  22.  
  23. The point here is that they don't have to support the feature, just decode
  24. the file as specified in the MacBinary II spec.  All that means is reading
  25. two ints from the header (the comment length and extended header length),
  26. rounding them both up to 128 byte multiples and reading and ignoring that
  27. many bytes after the header.  Not exactly stressful coding (ok, ok, so
  28. early versions of FTPd didn't handle extended headers, it does now though
  29. :-).
  30.  
  31. Of course, I'm more than happy to have the commercial programs not support
  32. MacBinary comments... it makes Fetch & FTPd look better :-)
  33.  
  34. Have fun all,
  35.    Peter.
  36. PS: I got almost zero comments (except for some useful comments by Leonard)
  37. back on extending MacBinary to handle folders, so I guess I'll just figure
  38. out what will do what I want and go with that.  I'm still tossing up going
  39. all the way and extending the spec to include crc's on both forks as well
  40. as folders...
  41.  
  42. _______________________________________________________________________
  43. Peter N Lewis <peter@ncrpda.curtin.edu.au>           Ph: +61 9 368 2055
  44.