home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Archived / Internet / News-Email / newsh139 / !InstTrans / NewsHound / params < prev    next >
Text File  |  1999-04-18  |  3KB  |  84 lines

  1. # NewsHound Transport, v1.06
  2. #
  3. # v1.01 - added nice !AddGroup program
  4. # v1.02 - added active list stuff, old style getarticle line
  5. # v1.03 - Added group description lines
  6. #         fixed getarticle to not return success if one server failed
  7. #         rewrote group -make in C as mkgroups, now works properly
  8. #         remove group as it functions are now performed by mkgroups or !altgroup
  9. #         Added grphead/grpfull tags, and changed altgroup to support them.
  10. #      Added grpoff tags, changed newshound/altgroup to support them.
  11. # v1.04 - Removed filing of posted articles in badmarker and articles directories,
  12. #         as newshound will now move failed postings to badmarker itself.
  13. # v1.05 - Fixed bug where 'startup' would return wrong error if mkgroups failed
  14. # v1.06 - Added queue editting commands, listnewsq & deqnews
  15. #
  16. # where to look for new arrivals
  17. in <NewsHound$NewsDir>.folder.*News news
  18. #
  19. # where to look for queued outgoing files
  20. out <NewsHound$NewsDir>.articles.*
  21. #
  22. # directory to be created for transport on startup
  23. dir <Newsbase$Config>.NewsHound
  24. #
  25. # information line, displayed in Transport control panel
  26. info V1.06, for NewsHound 1.36 and above. © Joseph Heenan
  27. #
  28. # line to read default newsserver
  29. newsgw 0 newsgw
  30. #
  31. setup 0 *filer_opendir <NewsHound$ConfigDir>
  32. #
  33. # sendnews function
  34. sendnews 0 newsbase:qnews -f %f -dir <NewsHound$NewsDir>.articles
  35. #
  36. #
  37. # postfetch tag
  38. #   processes newgroups file, and returns bad news to postmaster
  39. postnews 0 postnews
  40. #
  41. #
  42. # tags to update group files
  43. addgroup 0,w !altgroup -add -n %g
  44. addhead 0,w !altgroup -add -head -n %g
  45. delgroup 0 !altgroup -del -n %g
  46. # changing group fetch type
  47. grphead 0 !altgroup -alter -head -n %g
  48. grpfull 0 !altgroup -alter -full -n %g
  49. grpoff 0 !altgroup -alter -off -n %g
  50. #
  51. #
  52. # ask NewsHound to fetch this id
  53. getarticle 0 getarticle -file %f
  54. #
  55. # Uncomment this line, and comment the above on to stop newsbase
  56. # queueing fetch body requests
  57. # getarticle 0 getarticle -id %n
  58. #
  59. # for dealing with complete server active files
  60. grplist <NewsHound$NewsDir>.folder.ActiveList
  61. grpdesc <NewsHound$NewsDir>.folder.ActiveDesc
  62. getgroups 0 getgroups
  63. #
  64. # Update 'active' file
  65. mkgroups 0 mkgroups
  66. #
  67. #
  68. #
  69. status 0 status
  70. startup 0 startup
  71. detect 0 detect
  72. help 0 starthelp NewsHtrans
  73. #
  74. # fetch news every 5 mins
  75. # timer news 300
  76. #
  77. # uncomment to make newsbase invoke newshound automatically to do
  78. # a newsfetch, and quit when it's finished
  79. # getnews 0 startfetch
  80. #
  81. # queue editting functions
  82. listnewsq 0 newsbase:listqueue -news -file %f -dir <NewsHound$NewsDir>.articles -name NewsHound
  83. deqnews 0 newsbase:deqnews -ref %n -file %f -dir <NewsHound$NewsDir>.articles -name NewsHound
  84.