UUENCODE/DECODE format (it needs checksums me thinks)

Smith petera at utcsri.UUCP
Wed Mar 5 00:28:38 AEST 1986


    How many times have we seen uuencoded stuff get screwed up somewhere
on the net. It has happened with every binary I have seen on the net so far.
I think it is time that we overhaul uuencode/decode to do two things. 

    First it should split large files into chunks small enough to allow
transmission by all the mailers on the net. Second it should provide some
checksum information to avoid the kind of things that have happend with
PC-LISP. After writing PC-LISP I don't have time to work on this but 
I think the entire net would benefit from such a program. As a side 
thought perhaps the program could run a compression algorithm first before
encoding. We would cut down the net traffic for binaries significantly
this way.

    One checksum per block would be sufficient. Then when you tried to 
assemble the blocks and one was bad you could request that someone 
resend you that block. Eg.


block: 1 of: 15 of: pc-lisp.exe
Mxxxxxxxxxxdddddddddddddxxxxxxxxxxxxxxx.....
Mxxxxxxxxxxdddddddddddddxxxxxxxxxxxxxxx.....
Mxxxxxxxxxxdddddddddddddxxxxxxxxxxxxxxx.....
M......
........
M......
Mxxxxxxxxxxdddddddddddddxxxxxxxxxxxxxxx.....
Mxxxxxxxxxxdddddd
sum:10234

   The encoding function sould split the entire binary into blocks and
place them in files called say 'pc-lisp.000,pc-lisp.001 ....'. It would
be pretty simple to call uuencode as a subroutine to do this. Computing
a checksum should be very carefully done to aviod machine dependencies.

   Of course this is just what I would like to see, perhaps we could 
thrash out the general specs and then let someone go on it.

   What do you lot think?

		Peter Ashwood-Smith
		University of Toronto.



More information about the Comp.sources.unix mailing list