home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
internet
/
nbase054n
/
!Newsbase
/
Support
/
taylor
/
Doc
/
lrnews
< prev
Wrap
Text File
|
1994-09-19
|
892b
|
25 lines
Using lrnews
------------
This is lrnews, a simple unbatcher for incoming news. All it does is
take a newsbatch as polled with taylor uucp on stdin, and act upon it
depending on what is on the first line.
If it finds "#! rnews ..." on the first line, it just copies the
article to Uucp$NewsDir.
If the first line starts with "#! ", then it copies the article to the
Scrap directory and starts the program given in the first line with
<Wimp$ScrapDir>.name as input file and <Uucp$NewsDir>.name as output
file. Take a look at support.zunbatch and support.cunbatch for examples.
Adding other unbatching types
-----------------------------
If you want to receive your news packed with, for example, freeze, the
quasi-standard header for that would be "#! funbatch". So all you have
to do if to write an obey script called funbatch, which contains the
line
freeze -d < %0 > %1
and that's it.