home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / vrac / dannws11.zip / README < prev   
Text File  |  1995-07-02  |  8KB  |  184 lines

  1. DanNews - another throbbing Blender Software (BS) production
  2. ------------------------------------------------------------
  3.  
  4. This is DanNews, a UUCP news unbatcher. Unlike RNews it's fast and it only
  5. takes as much memory as you let it.
  6.  
  7. The bad points are that it can't send articles on to other sites and it can't
  8. handle compressed batch files. That doesn't matter if you get your news feed
  9. through NNTP but it's not so good if you get your news through UUCP.
  10.  
  11.  
  12. What you need
  13. -------------
  14.  
  15. Kickstart 2 or above, a news set up that uses the UUNEWS: way of storing news
  16. articles, and a batch file (natch).
  17.  
  18.  
  19. Installing
  20. ----------
  21.  
  22. - Copy DanNews to UUC:. Don't delete RNews because some programs may still
  23.   want to use it. Also don't edit the RNews entry in UULIB:Config to point
  24.   to DanNews because DanNews can't post news, it's just an unbatcher.
  25. - Create the file UULIB:sitename or UUCP:sitename to hold your full site name
  26.   (eg. mine's 'blender.demon.co.uk') needed for the PATH and XREF options. It
  27.   doesn't matter which one you use, but I included both because the Tin
  28.   newsreader also uses this way to work out the site name (earlier versions
  29.   of Tin used UUCP:sitename, later versions use UULIB:sitename).
  30. - Depending on your set up, you may need to alter other scripts which call
  31.   RNews to call to DanNews.
  32.  
  33.  
  34. Extra stuff for the AmigaDIS package
  35. ------------------------------------
  36.  
  37. - Edit DIS:Read_News and replace RNews with DanNews. If you want you can also
  38.   put in some of the options (explained further on).
  39. - It's a good idea to wipe the command that deletes the batch file in the
  40.   line afterwards and use the DELETE option (further down) instead.
  41. - It's done. Have a Fruit Corner with dark and milk chocolate covered puffed
  42.   rice (yum).
  43.  
  44.  
  45. Extra stuff for the AmiTCP-DIS package
  46. --------------------------------------
  47.  
  48. - Same as above, but edit AmiTCP:bin/nntptransfer instead. Type 'protect
  49.   nntptransfer srwd' afterwards if your editor messed around with the
  50.   protection bits.
  51. - If you use plink to dial up Demon instead of the normal link than you'll
  52.   have to edit that instead. And protect it afterwards, mind.
  53.  
  54.  
  55. Options
  56. -------
  57.  
  58. - DanNews FILE,CACHE/K/N,DELETE/S,DELETEOVERVIEW/S,PATH/S,STATS/S,XREF/S,
  59.   -1/S,-H/S,-N/S,-T/K
  60.   The single character options are compatible with RNews.
  61.  
  62. - FILE
  63.   The file to unbatch. If you don't give a file then stdin is used instead.
  64.   This means that other programs can pipe stuff to it. But it's slower.
  65. - CACHE/K/N
  66.   The maximum amount that it can allocate to the cache. If it's positive then
  67.   the cache will not go above that size - it could very well be less. If it's
  68.   negative then the cache will be at most that much less than the largest
  69.   block of memory you have (check with avail). The default is -100000.
  70. - DELETE/S
  71.   Delete the batch file after a successful unbatch but keep it there if there
  72.   was an error. If you run a script from a Workbench icon to unbatch any new
  73.   news and delete the batch file afterwards then it's probably a good idea to
  74.   remove the delete command and set this switch instead. That way you have a
  75.   chance to see what's wrong instead of watching in horror as IconX carefully
  76.   deletes your last news download.
  77. - DELETEOVERVIEW/S
  78.   Found out by accident that Tin 1.3 beta seems a lot faster if you delete
  79.   the .overview files and let it recreate them from scratch after each news
  80.   unbatch. So, I added a new option to do this.
  81. - PATH/S
  82.   Alters the 'Path' header so that your site is put on last in the list. You
  83.   have to have your sitename set up properly for this to work.
  84. - STATS/S
  85.   Display some funky statistics for each group when the unbatch has finished.
  86. - XREF/S
  87.   Switch on cross referencing stuff. This means it makes Xref headers that
  88.   let your newsreader automatically skip reading crossposted articles for the
  89.   second or third or so on groups. You have to have your sitename set up
  90.   properly for this to work.
  91. - -1/S
  92.   For crossposted articles, only unbatch the article to the first group in
  93.   the 'Newsgroups' header (or if that one isn't in UULIB:newsgroups then go
  94.   through the header and find the first one which is and unbatch to that
  95.   group instead).
  96. - -H/S
  97.   For crossposted articles, disable hardlinks. They're useful because the
  98.   second, third, etc... copies of articles in the 'Newsgroups' header are
  99.   really only pointers to the original, not complete copies. That means that
  100.   only a few of bytes of disk space are used instead of a few K. But if you
  101.   don't use a file system that supports hardlinks (ie. not FFS) then you get
  102.   problems instead. But it serves you right for not using FFS...
  103. - -N/S
  104.   Don't bother unbatching the file, but run through the program anyway. Maybe
  105.   useful if you want to test if the batch file's corrupt or to see how big
  106.   the unbatch will be with the STATS option or something.
  107. - -T/K
  108.   If you unbatch from stdin then a tempory work file is made in T:. You can
  109.   change the directory of it by using this though.
  110.  
  111.  
  112. Examples
  113. --------
  114.  
  115. - DanNews TCPIP:Spool/News/batch delete -h
  116. - DanNews TCPIP:Spool/News/batch cache 100000 path xref
  117. - DanNews TCPIP:Spool/News/batch cache -500000 stats -n
  118. - DanNews <PIPE: -t Work:TempDir
  119.  
  120.  
  121. Hints 'n' stuff
  122. ---------------
  123.  
  124. The cache must be at least the size of the largest article, otherwise DanNews
  125. stop with an error.
  126.  
  127. It's picky about download errors. If your news download stops early because
  128. of an error, it's a good idea to rename the corrupt batch file to something
  129. else before restarting the download. That way the corrupt article will be at
  130. the end of the file and you can easily delete it by loading it into an editor
  131. that doesn't expand or compress spaces or tabs. If you forget to do this then
  132. you'll still have an idea of where the corrupt article is because you'll be
  133. told the offset into the file.
  134.  
  135. The program can unbatch control messages. If a message has a 'Control' header
  136. then it's unbatched to the group control.<name>, for example control.newgroup
  137. or control.rmgroup. But you've also got to put the group names of the control
  138. messages you're bothered about into UULIB:newsgroups (or UULIB:DanNewsGroups)
  139. otherwise they'll get thrown into junk. The full list of control messages are
  140. cancel, ihave, sendme, newgroup, rmgroup, sendsys, version, and checkgroups.
  141.  
  142. If you want, you can list some more groups in UULIB:DanNewsGroups. It's in
  143. the same format as UULIB:newsgroups. It lets you define groups that you don't
  144. want your newsreader to show (eg. control groups). But remember that TrimNews
  145. doesn't trim the groups listed in UULIB:DanNewsGroups, so you've got to sort
  146. that one out yourself.
  147.  
  148. The junk group is where articles go when the they're in none of the other
  149. groups listed in UULIB:newsgroups (or UULIB:DanNewsGroups).
  150.  
  151.  
  152. Bugs
  153. ----
  154.  
  155. If you hit CTRL-C then you'll interrupt the unbatching before the .next files
  156. have been updated, so if you unbatch again you overwrite all of the articles
  157. that were created during the interrupted unbatch. But then again this isn't
  158. so bad 'cos you don't get duplicate articles if you unbatch the same batch
  159. file again (which you probably will do).
  160.  
  161. Sometimes (very rarely) it locks up. I think the file system can't cope with
  162. lots of reads and writes in a short time - I did a debug version which was
  163. just the same as the normal version except it printed lots of messages to
  164. show what was happening (so it was slower). Nothing ever went wrong.
  165.  
  166.  
  167. And finally...
  168. --------------
  169.  
  170. This is copyrighted by me but freely distributible. It shouldn't be altered
  171. in any way and you should only charge for disks, postage, or packing if you
  172. charge anything.
  173.  
  174. If it trashes your news or blows up your computer or destroys the fabric of
  175. the universe or something then consider yourself warned. Use at your own risk
  176. and all that. But I trust it enough to use it.
  177.  
  178. And it can't be used as part of anything that's sold for profit without my
  179. say so. So there.
  180.  
  181. My Email address is dan@blender.demon.co.uk, if you spot a bug or something.
  182.  
  183. Dan.
  184.