home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / nbase054n / !Newsbase / Support / taylor / Doc / lrnews < prev   
Text File  |  1994-09-19  |  892b  |  25 lines

  1. Using lrnews
  2. ------------
  3.  
  4. This is lrnews, a simple unbatcher for incoming news. All it does is
  5. take a newsbatch as polled with taylor uucp on stdin, and act upon it
  6. depending on what is on the first line.
  7. If it finds "#! rnews ..." on the first line, it just copies the
  8. article to Uucp$NewsDir.
  9. If the first line starts with "#! ", then it copies the article to the
  10. Scrap directory and starts the program given in the first line with
  11. <Wimp$ScrapDir>.name as input file and <Uucp$NewsDir>.name as output
  12. file. Take a look at support.zunbatch and support.cunbatch for examples.
  13.  
  14. Adding other unbatching types
  15. -----------------------------
  16.  
  17. If you want to receive your news packed with, for example, freeze, the
  18. quasi-standard header for that would be "#! funbatch". So all you have
  19. to do if to write an obey script called funbatch, which contains the
  20. line
  21.  
  22. freeze -d < %0 > %1
  23.  
  24. and that's it.
  25.