home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 10
/
AU_CD10.iso
/
Archived
/
Internet
/
News-Email
/
newsh139
/
!InstTrans
/
NewsHound
/
params
< prev
next >
Wrap
Text File
|
1999-04-18
|
3KB
|
84 lines
# NewsHound Transport, v1.06
#
# v1.01 - added nice !AddGroup program
# v1.02 - added active list stuff, old style getarticle line
# v1.03 - Added group description lines
# fixed getarticle to not return success if one server failed
# rewrote group -make in C as mkgroups, now works properly
# remove group as it functions are now performed by mkgroups or !altgroup
# Added grphead/grpfull tags, and changed altgroup to support them.
# Added grpoff tags, changed newshound/altgroup to support them.
# v1.04 - Removed filing of posted articles in badmarker and articles directories,
# as newshound will now move failed postings to badmarker itself.
# v1.05 - Fixed bug where 'startup' would return wrong error if mkgroups failed
# v1.06 - Added queue editting commands, listnewsq & deqnews
#
# where to look for new arrivals
in <NewsHound$NewsDir>.folder.*News news
#
# where to look for queued outgoing files
out <NewsHound$NewsDir>.articles.*
#
# directory to be created for transport on startup
dir <Newsbase$Config>.NewsHound
#
# information line, displayed in Transport control panel
info V1.06, for NewsHound 1.36 and above. © Joseph Heenan
#
# line to read default newsserver
newsgw 0 newsgw
#
setup 0 *filer_opendir <NewsHound$ConfigDir>
#
# sendnews function
sendnews 0 newsbase:qnews -f %f -dir <NewsHound$NewsDir>.articles
#
#
# postfetch tag
# processes newgroups file, and returns bad news to postmaster
postnews 0 postnews
#
#
# tags to update group files
addgroup 0,w !altgroup -add -n %g
addhead 0,w !altgroup -add -head -n %g
delgroup 0 !altgroup -del -n %g
# changing group fetch type
grphead 0 !altgroup -alter -head -n %g
grpfull 0 !altgroup -alter -full -n %g
grpoff 0 !altgroup -alter -off -n %g
#
#
# ask NewsHound to fetch this id
getarticle 0 getarticle -file %f
#
# Uncomment this line, and comment the above on to stop newsbase
# queueing fetch body requests
# getarticle 0 getarticle -id %n
#
# for dealing with complete server active files
grplist <NewsHound$NewsDir>.folder.ActiveList
grpdesc <NewsHound$NewsDir>.folder.ActiveDesc
getgroups 0 getgroups
#
# Update 'active' file
mkgroups 0 mkgroups
#
#
#
status 0 status
startup 0 startup
detect 0 detect
help 0 starthelp NewsHtrans
#
# fetch news every 5 mins
# timer news 300
#
# uncomment to make newsbase invoke newshound automatically to do
# a newsfetch, and quit when it's finished
# getnews 0 startfetch
#
# queue editting functions
listnewsq 0 newsbase:listqueue -news -file %f -dir <NewsHound$NewsDir>.articles -name NewsHound
deqnews 0 newsbase:deqnews -ref %n -file %f -dir <NewsHound$NewsDir>.articles -name NewsHound