Hello all!

I have here a program I wrote (mainly my code, but a small part was ripped
from the source of uudecode), to help all of us downloading from Usenet
News. All you need to do is to save the articles into a file. You can
create a save-file containing both split-up uuencoded files, and whole
files. I mean that it doesn't matter if you save articles each containing
a whole uuencoded file, or a set of articles each being a fragment of a 
file that's been uuencoded then split into several articles, then posted.
All you need to remember is this - as long as the split-up files are
stored into the save file in order - you'll get them right.

Usage - you may call uuparts with a filename or redirect its input via '<'
or through a pipe. So I guess the next step would be to write a program that
reads the NNTP server, prompts you to select which articles to download and
at which order to get them. Then run this program and pipe it to uuparts
which means you would be downloading ascii and saving it in binary form
without even once having it uuencoded on your disk (25% disk space saving).

IMPORTANT THINGS TO REMEMBER:
1. Split files must be save in correct order.
2. File creation mode is ANDed with 0666 to strip the "executable" bit.
3. Copying terms - GNU GPL (I used code from GNU uudecode).
4. This is VERY PRELIMINARY - I think it works right. Don't hold me
   responsible for *ANYTHING* that happens.
5. I happen to work for Digital, but this has ABSOLUTELY NOTHING to do with
   DEC. This piece of software is my own free-time work.

Using:
I provide the source code - included at the end of this file. Just save this
article into a file, and remove the top part (this text). I ask you to
remember that this file is copyrighted and subject to the GNU Public License.
Please do not modify or change without proper credit.

Compiling:
I have compiled it on a i486-Linux (kernel 1.2.4, Libc 4.6.27), and under
Ultrix v4.4 - it compiles out of the box. I used "gcc -Wall -pedantic" to
compile and got no warnings or errors. I will release a DOS version soon.
In the meantime:

Linux:
gcc -O2 -o uuparts uuparts.c

Ultrix:
cc -O -o uuparts uuparts.c

Then "strip uuparts" and put it in your path somewhere, or just alias to it.

I would gladly accept bug reports, comments, flames, whatever. Also, porting
success reports will be gladly accepted.

Amit Margalit

Internet: amitm@doronx.iso.dec.com
 or       amargali@sunshine.cs.biu.ac.il
EASYnet:  TAV02::AMIT	(if you happen to have VMS access to Digital's net).

Enjoy!
