uufill is a program that restores uuencoded files which were corrupted by mailer/news-servers due to the old mail/uuencode conflict. It is a very basic program, written for my personal use. UUFILL.ZIP coutains 3 files: readme.txt - this file: introduction to the problem , explanation of the solution, and usage instructions. uufill.src - a source code of the program (C-language) uufill.exe - the program compiled for DOS The program and source code is and must remain in the public domain, If you make changes, you must do them under your name. See also comments within the source code. THE PROBLEM: uuencoded files are ascii files so it seems that there is no problem in uploading them to a letter and sending them via e-mail/Usenet. The problem is that some mail-systems truncate marginal blank characters, (right-margin). This is fine for letters but catastrofical for the uuencoded file. THE CORRECTION: If blank characters are substituted by the character "`" in the uuencoded file. The uudecoded binary file does not change. This comes because only the 6 most-right bits are used in each ASCII character, so that blank (=32 decimal) and "`" (=96 decimal) are equivalent. SOLUTION AT THE SENDER'S END: the command uufill receives in the standard input the original uuencoded file, with optionally blank characters. It checks the body of the file and replace the last character to '`' if it was ' '. The result will be put to the standard output, and can be sent safely via e-mail. Usage in unix machines: uuencode binary_file binary_file | uufill > binary_file.uue SOLUTION AT THE RECEIVER'S END: the command uufill receives a uuencoded file with marginal blanks truncated, and produces another uuencoded file with these places filled with '`'s. It takes the files from the standard input and put the resulting file in the standard output. Usage in unix machines: uufill < truncated_file | uudecode *** *** Usage on DOS and on Unix: *** If the original uuencoded program is called file.uu then you may produce the corrected file (say, file.uu1) by typing: uufill < file.uu > file.uu1 A REQUEST: if you modify the program to make it better, I would appreciate, if you would let me know, and share the improvement with me. See also comments within the source file. A Comment, although the program is used also for sending uuencoded messages, the better solution in this case, is to replace old version of uuencode with a newer one which does not produce the conflict. Uzi Paz. (uzipaz@bgumail.bgu.ac.il , or uzipaz@poboxes.com) ============================================================================