Home » Archimedes archive » Acorn User » AU 1997-04 B.adf » PD » PDScheme/Newshound/NewsHound/NewsHound/params

PDScheme/Newshound/NewsHound/NewsHound/params

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-04 B.adf » PD
Filename: PDScheme/Newshound/NewsHound/NewsHound/params
Read OK:
File size: 0572 bytes
Load address: 0000
Exec address: 0000
File contents
# NewsHound Transport, v1.01
#
# v1.01 - added nice !AddGroup program
#
# 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 for NewsHound, by 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 -copy <NewsHound$NewsDir>.badmarker
#
#
# postfetch tag
#   processes newgroups file, and returns bad news to postmaster
postnews 0 postnews
#
#
# tags to update group files
# addgroup 0 group -add -n %g
addgroup 0 !altgroup -add -n %g
addhead 0 !altgroup -add -head -n %g
delgroup 0 group -del -n %g
#
#
# ask NewsHound to fetch this id
getarticle 0 getarticle -file %f
#
#
# Update 'active' file
mkgroups 0 group -make
#
#
#
status 0 status
startup 0 startup
detect 0 detect
help 0 starthelp NewsHtrans
#
# timer news 0 0
# showqueue 0 showqueue
#
# unneeded tags
# sendmail
# gethost 0 sethost
# mailgw 0 getgw -mail
# getmail 0 newsbase:no-op
# getnews 0 newsbase:no-op
# timer mail 0 0
# adduser 0 adduser -u %u -g %n
# deluser 0 deluser -u %u
# moduser 0 moduser -u %u -g %n
# prenews / premail
00000000  23 20 4e 65 77 73 48 6f  75 6e 64 20 54 72 61 6e  |# NewsHound Tran|
00000010  73 70 6f 72 74 2c 20 76  31 2e 30 31 0a 23 0a 23  |sport, v1.01.#.#|
00000020  20 76 31 2e 30 31 20 2d  20 61 64 64 65 64 20 6e  | v1.01 - added n|
00000030  69 63 65 20 21 41 64 64  47 72 6f 75 70 20 70 72  |ice !AddGroup pr|
00000040  6f 67 72 61 6d 0a 23 0a  23 20 77 68 65 72 65 20  |ogram.#.# where |
00000050  74 6f 20 6c 6f 6f 6b 20  66 6f 72 20 6e 65 77 20  |to look for new |
00000060  61 72 72 69 76 61 6c 73  0a 69 6e 20 3c 4e 65 77  |arrivals.in <New|
00000070  73 48 6f 75 6e 64 24 4e  65 77 73 44 69 72 3e 2e  |sHound$NewsDir>.|
00000080  66 6f 6c 64 65 72 2e 2a  4e 65 77 73 20 6e 65 77  |folder.*News new|
00000090  73 0a 23 0a 23 20 77 68  65 72 65 20 74 6f 20 6c  |s.#.# where to l|
000000a0  6f 6f 6b 20 66 6f 72 20  71 75 65 75 65 64 20 6f  |ook for queued o|
000000b0  75 74 67 6f 69 6e 67 20  66 69 6c 65 73 0a 6f 75  |utgoing files.ou|
000000c0  74 20 3c 4e 65 77 73 48  6f 75 6e 64 24 4e 65 77  |t <NewsHound$New|
000000d0  73 44 69 72 3e 2e 61 72  74 69 63 6c 65 73 2e 2a  |sDir>.articles.*|
000000e0  0a 23 0a 23 20 64 69 72  65 63 74 6f 72 79 20 74  |.#.# directory t|
000000f0  6f 20 62 65 20 63 72 65  61 74 65 64 20 66 6f 72  |o be created for|
00000100  20 74 72 61 6e 73 70 6f  72 74 20 6f 6e 20 73 74  | transport on st|
00000110  61 72 74 75 70 0a 64 69  72 20 3c 4e 65 77 73 62  |artup.dir <Newsb|
00000120  61 73 65 24 43 6f 6e 66  69 67 3e 2e 4e 65 77 73  |ase$Config>.News|
00000130  48 6f 75 6e 64 0a 23 0a  23 20 69 6e 66 6f 72 6d  |Hound.#.# inform|
00000140  61 74 69 6f 6e 20 6c 69  6e 65 2c 20 64 69 73 70  |ation line, disp|
00000150  6c 61 79 65 64 20 69 6e  20 54 72 61 6e 73 70 6f  |layed in Transpo|
00000160  72 74 20 63 6f 6e 74 72  6f 6c 20 70 61 6e 65 6c  |rt control panel|
00000170  0a 69 6e 66 6f 20 66 6f  72 20 4e 65 77 73 48 6f  |.info for NewsHo|
00000180  75 6e 64 2c 20 62 79 20  4a 6f 73 65 70 68 20 48  |und, by Joseph H|
00000190  65 65 6e 61 6e 0a 23 0a  23 20 6c 69 6e 65 20 74  |eenan.#.# line t|
000001a0  6f 20 72 65 61 64 20 64  65 66 61 75 6c 74 20 6e  |o read default n|
000001b0  65 77 73 73 65 72 76 65  72 0a 6e 65 77 73 67 77  |ewsserver.newsgw|
000001c0  20 30 20 6e 65 77 73 67  77 0a 23 0a 73 65 74 75  | 0 newsgw.#.setu|
000001d0  70 20 30 20 2a 66 69 6c  65 72 5f 6f 70 65 6e 64  |p 0 *filer_opend|
000001e0  69 72 20 3c 4e 65 77 73  48 6f 75 6e 64 24 43 6f  |ir <NewsHound$Co|
000001f0  6e 66 69 67 44 69 72 3e  0a 23 0a 23 20 73 65 6e  |nfigDir>.#.# sen|
00000200  64 6e 65 77 73 20 66 75  6e 63 74 69 6f 6e 0a 73  |dnews function.s|
00000210  65 6e 64 6e 65 77 73 20  30 20 6e 65 77 73 62 61  |endnews 0 newsba|
00000220  73 65 3a 71 6e 65 77 73  20 2d 66 20 25 66 20 2d  |se:qnews -f %f -|
00000230  64 69 72 20 3c 4e 65 77  73 48 6f 75 6e 64 24 4e  |dir <NewsHound$N|
00000240  65 77 73 44 69 72 3e 2e  61 72 74 69 63 6c 65 73  |ewsDir>.articles|
00000250  20 2d 63 6f 70 79 20 3c  4e 65 77 73 48 6f 75 6e  | -copy <NewsHoun|
00000260  64 24 4e 65 77 73 44 69  72 3e 2e 62 61 64 6d 61  |d$NewsDir>.badma|
00000270  72 6b 65 72 0a 23 0a 23  0a 23 20 70 6f 73 74 66  |rker.#.#.# postf|
00000280  65 74 63 68 20 74 61 67  0a 23 20 20 20 70 72 6f  |etch tag.#   pro|
00000290  63 65 73 73 65 73 20 6e  65 77 67 72 6f 75 70 73  |cesses newgroups|
000002a0  20 66 69 6c 65 2c 20 61  6e 64 20 72 65 74 75 72  | file, and retur|
000002b0  6e 73 20 62 61 64 20 6e  65 77 73 20 74 6f 20 70  |ns bad news to p|
000002c0  6f 73 74 6d 61 73 74 65  72 0a 70 6f 73 74 6e 65  |ostmaster.postne|
000002d0  77 73 20 30 20 70 6f 73  74 6e 65 77 73 0a 23 0a  |ws 0 postnews.#.|
000002e0  23 0a 23 20 74 61 67 73  20 74 6f 20 75 70 64 61  |#.# tags to upda|
000002f0  74 65 20 67 72 6f 75 70  20 66 69 6c 65 73 0a 23  |te group files.#|
00000300  20 61 64 64 67 72 6f 75  70 20 30 20 67 72 6f 75  | addgroup 0 grou|
00000310  70 20 2d 61 64 64 20 2d  6e 20 25 67 0a 61 64 64  |p -add -n %g.add|
00000320  67 72 6f 75 70 20 30 20  21 61 6c 74 67 72 6f 75  |group 0 !altgrou|
00000330  70 20 2d 61 64 64 20 2d  6e 20 25 67 0a 61 64 64  |p -add -n %g.add|
00000340  68 65 61 64 20 30 20 21  61 6c 74 67 72 6f 75 70  |head 0 !altgroup|
00000350  20 2d 61 64 64 20 2d 68  65 61 64 20 2d 6e 20 25  | -add -head -n %|
00000360  67 0a 64 65 6c 67 72 6f  75 70 20 30 20 67 72 6f  |g.delgroup 0 gro|
00000370  75 70 20 2d 64 65 6c 20  2d 6e 20 25 67 0a 23 0a  |up -del -n %g.#.|
00000380  23 0a 23 20 61 73 6b 20  4e 65 77 73 48 6f 75 6e  |#.# ask NewsHoun|
00000390  64 20 74 6f 20 66 65 74  63 68 20 74 68 69 73 20  |d to fetch this |
000003a0  69 64 0a 67 65 74 61 72  74 69 63 6c 65 20 30 20  |id.getarticle 0 |
000003b0  67 65 74 61 72 74 69 63  6c 65 20 2d 66 69 6c 65  |getarticle -file|
000003c0  20 25 66 0a 23 0a 23 0a  23 20 55 70 64 61 74 65  | %f.#.#.# Update|
000003d0  20 27 61 63 74 69 76 65  27 20 66 69 6c 65 0a 6d  | 'active' file.m|
000003e0  6b 67 72 6f 75 70 73 20  30 20 67 72 6f 75 70 20  |kgroups 0 group |
000003f0  2d 6d 61 6b 65 0a 23 0a  23 0a 23 0a 73 74 61 74  |-make.#.#.#.stat|
00000400  75 73 20 30 20 73 74 61  74 75 73 0a 73 74 61 72  |us 0 status.star|
00000410  74 75 70 20 30 20 73 74  61 72 74 75 70 0a 64 65  |tup 0 startup.de|
00000420  74 65 63 74 20 30 20 64  65 74 65 63 74 0a 68 65  |tect 0 detect.he|
00000430  6c 70 20 30 20 73 74 61  72 74 68 65 6c 70 20 4e  |lp 0 starthelp N|
00000440  65 77 73 48 74 72 61 6e  73 0a 23 0a 23 20 74 69  |ewsHtrans.#.# ti|
00000450  6d 65 72 20 6e 65 77 73  20 30 20 30 0a 23 20 73  |mer news 0 0.# s|
00000460  68 6f 77 71 75 65 75 65  20 30 20 73 68 6f 77 71  |howqueue 0 showq|
00000470  75 65 75 65 0a 23 0a 23  20 75 6e 6e 65 65 64 65  |ueue.#.# unneede|
00000480  64 20 74 61 67 73 0a 23  20 73 65 6e 64 6d 61 69  |d tags.# sendmai|
00000490  6c 0a 23 20 67 65 74 68  6f 73 74 20 30 20 73 65  |l.# gethost 0 se|
000004a0  74 68 6f 73 74 0a 23 20  6d 61 69 6c 67 77 20 30  |thost.# mailgw 0|
000004b0  20 67 65 74 67 77 20 2d  6d 61 69 6c 0a 23 20 67  | getgw -mail.# g|
000004c0  65 74 6d 61 69 6c 20 30  20 6e 65 77 73 62 61 73  |etmail 0 newsbas|
000004d0  65 3a 6e 6f 2d 6f 70 0a  23 20 67 65 74 6e 65 77  |e:no-op.# getnew|
000004e0  73 20 30 20 6e 65 77 73  62 61 73 65 3a 6e 6f 2d  |s 0 newsbase:no-|
000004f0  6f 70 0a 23 20 74 69 6d  65 72 20 6d 61 69 6c 20  |op.# timer mail |
00000500  30 20 30 0a 23 20 61 64  64 75 73 65 72 20 30 20  |0 0.# adduser 0 |
00000510  61 64 64 75 73 65 72 20  2d 75 20 25 75 20 2d 67  |adduser -u %u -g|
00000520  20 25 6e 0a 23 20 64 65  6c 75 73 65 72 20 30 20  | %n.# deluser 0 |
00000530  64 65 6c 75 73 65 72 20  2d 75 20 25 75 0a 23 20  |deluser -u %u.# |
00000540  6d 6f 64 75 73 65 72 20  30 20 6d 6f 64 75 73 65  |moduser 0 moduse|
00000550  72 20 2d 75 20 25 75 20  2d 67 20 25 6e 0a 23 20  |r -u %u -g %n.# |
00000560  70 72 65 6e 65 77 73 20  2f 20 70 72 65 6d 61 69  |prenews / premai|
00000570  6c 0a                                             |l.|
00000572