Peck@RADC-MULTICS.ARPA (Rodney) (07/31/87)
Wow, I'm aparently a uu*code expert! Anyway, the last line bit is _not_ a bug, its supposed to do that. Without getting into the gory uuencoding details, the first character of each line is the number of output bytes to make from that line. Normally, this is 45. If you add 32 to 45 to make it a printable character, you get 77 or 'M'. Usually, only the last line has less than 45 chars in it. In that case, you will get a line that looks shorter and has a letter other than M at the front. That's perfectly correct. You'll also note that the second to last line of the file is always a space (sometimes followed by a file char). If you subtract 32 from this, you'll get zero. This indicates the end of the encoded stuff and that zero bytes are to but written from this line. So take heart, uuencode is working correctly. PS: I have a working UU(EN DE)CODE for VMS as well as XMODEM if anyone is interested (I know I was). I'm still looking for a .ARC file extractor for VMS. Send any info to: Peck@radc-multics.arpa