home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / applicat / 8536 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  3.8 KB

  1. Xref: sparky comp.sys.amiga.applications:8536 alt.sys.amiga.uucp:2663
  2. Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!stanford.edu!rutgers!bobsbox.rent.com!bobl
  3. From: bobl@bobsbox.rent.com (Bob Lindabury - SysAdmin)
  4. Newsgroups: comp.sys.amiga.applications,alt.sys.amiga.uucp
  5. Subject: Re: XPK 2.4 & XFH 1.12 (AmigaUUCP)
  6. Message-ID: <bobl.99dq@bobsbox.rent.com>
  7. Date: 11 Nov 92 15:12:40 GMT
  8. References: <1992Nov9.150411.8348@mlb.semi.harris.com> <Randy_Schnedler.0jc5@fcircus.sat.tx.us> <mwills.721426425@su102b>
  9. Distribution: usa
  10. Organization: Raven Enterprises -- Piscataway, NJ USA
  11. Lines: 61
  12. X-NewsSoftware: GRn 1.16f (10.17.92) by Mike Schwartz & Michael B. Smith
  13.  
  14. In article <mwills.721426425@su102b> mwills@su102b.ess.harris.com (Scott Wills) writes:
  15. > Randy_Schnedler@fcircus.sat.tx.us (Randy Schnedler) writes:
  16. >
  17. > >In <1992Nov9.150411.8348@mlb.semi.harris.com>, mwills@su102c.ess.harris.com (Scott Wills) writes:
  18. > >> I decided to try XPK/XFH (external compressor
  19. > >> protocol/auto-compressing file system handler) to compress my usenet
  20. > >> news articles subdirectory (UUNews:) for AmigaUUCP 1.16D and ran into
  21. > >> a problem that others may be interested in:
  22. >
  23. > >     I _just_ did this today so I'm very interested!  ;-)
  24. >
  25. > >>
  26. > >> The articles auto-compress/uncompress fine, but the ".next" file which
  27. > >> keeps track of the "next" article number (and file name) was not
  28. > >> updated properly.  So every new article was written to the same file,
  29. > >> overwriting the previous one.  I remembered reading that not all 2.04
  30. > >> file system requests (packets) are implemented by XFH 1.12, including
  31. > >> "open for appending".  So I tried manually uncompressing all the
  32. > >> ".next" files (one per newsgroup) with hopes that XFH would leave it
  33. > >> alone.  It worked!  Now things appear to be working fine.
  34. >
  35. > >     Why does XFH leave it alone?  The next time it's written, it
  36. > >will be compressed, won't it?
  37. >
  38. > Rnews must first read the file to determine the next article number to
  39. > use, then increment the value, rewind the file and and write the new
  40. > value back to the file.  It could accomplish this via an open(r/w),
  41. > read, rewind, write; or via open(r), read, close, open(w), write (I
  42. > don't have the source handy).  In either case, XFH has to decide how
  43. > to deal with the write to an existing file.  I suspect that the former
  44. > case would make it difficult for XFH to compress the (formerly
  45. > uncompressed) existing file.  If the latter case were implemented as
  46. > "delete" then "create" in the file handler, it might behave as you
  47. > suggest.
  48. >
  49. > The current behavior is A Good Thing in this case, but if my
  50. > interpretation is correct, this behaivor may be overly dependent on
  51. > the current implementation of XFH and AmigaUUCP's RNews.  The real
  52. > problem is that XFH did not allow RNews to update the .next file when
  53. > it WAS compressed (NUKED).
  54. >
  55. > Scott
  56. > --
  57. > ------------------------------------------------------------------------------
  58. > M. Scott Wills,  Mail Stop: 102-4844     INTERNET: mwills@su102c.ess.harris.com
  59. > Harris Corporation                       UUCP:     uunet!x102a!mwills
  60. > Government Aerospace Systems Division    CCMail:   harris.mwills01
  61. > P.O. Box 94000                           FAX:    407-729-3211
  62. > Melbourne, Florida 32902                 Voice:    407-729-3283
  63. > ------------------------------------------------------------------------------
  64.  
  65. I would suggest using CNews as it doesn't require the reading updating
  66. or writing of .next files.  I don't know w
  67.  
  68. --
  69.  Bob Lindabury
  70.  
  71. InterNet: bobl@bobsbox.rent.com                | Raven Enterprises
  72.     UUCP: ...rutgers!bobsbox!bobl              | 25 Raven Avenue
  73.   BitNet: bobl%bobsbox.rent.com@pucc           | Piscataway, NJ 08854
  74.   Home #: +1 908/560-7353                      | +1 908/271-8878
  75.