home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / internet / uucode_68020 / uucoders / more_uucode_ideas next >
Text File  |  1997-08-31  |  3KB  |  106 lines

  1. To: bbanerje%sjuvax.sju.edu@relay.cs.net
  2. From: bryce
  3. Subject: Re: Question about uu*code
  4. Return-Receipt-To: bryce
  5.  
  6. >I propose  to  add  these  to your  version.  Do  you  have  any
  7. >suggestions on how to implement the split files, in order that my
  8. >additions   remain   compatible   with   the   spirit   of   your
  9. >implementation.
  10.  
  11. Don't consider it gospel, but here's what I just typed out:
  12.  
  13. part 1 of 2
  14. table
  15. ................................
  16. ................................
  17. begin 644 echo
  18. M```#\P`````````!``````````````!+```#Z0```$LB2"1(?`!3@&<``,(29
  19. M2H!G'DZN_\0B`&<,)`I.KO_0MH!F`GX`(DXL>``$3J[^8B`'3G5D;W,N;&EB!
  20. 5<F%R>0!B860@87)G<PH"``````/RS
  21. ``
  22. continue with file02
  23.  
  24. part 2 of echo
  25. M```#\P`````````!``````````````!+```#Z0```$LB2"1(?`!3@&<``,(29
  26. M2H!G'DZN_\0B`&<,)`I.KO_0MH!F`GX`(DXL>``$3J[^8B`'3G5D;W,N;&EB!
  27. 5<F%R>0!B860@87)G<PH"``````/RS
  28. ``
  29. end
  30. size 336
  31.  
  32.  
  33. Checksums are an extra character at the end of each line.  Don't mess
  34. with that.  everything should be clearly labeled so a human can 
  35. figure out what is going on without prior knowlege of this format.
  36.  
  37. part 1 of 2    ;just a note to the human, ignored by readers
  38.         ;indicates this is the first of 2 parts
  39.  
  40. table        ;optional munch-proof table.
  41.  
  42. begin        ;always at the real start
  43. 644        ;The unix mode. 644 default (666 was technical first choice :-)
  44. echo        ;name of the file
  45.  
  46. ``        ;As you know, a line with just a space indicates the end.
  47.         ;single quote is used instead of space because spaces always
  48.         ;get truncated and `` evaluates the same on old uudeocdes.
  49.         ;Two ``s are used in my version because it survives better.
  50.  
  51. continue    ;in place of the "end".  Old decoders will say "no end found"
  52.         ;which is just what happended if it is continued...
  53. with        ;No need to terse... this makes the sentence clearer.
  54. file02        ;the name of the next file to pick up
  55.  
  56. part        ;indicates this is a part (pseudo-"begin")
  57. 02        ;which part?
  58. of        ;No need to terse... this makes the sentence clearer.
  59. echo        ;What are we part of?
  60.  
  61. end        ;Finally the real end.  Old decoders won't uudecode this
  62.         ;module alone becuase it had no "begin".
  63. size 336    ;final check.
  64.  
  65.  
  66. In some cases the chaining to the next file is not going to work.
  67. But it *will* be an indication for the human of where and how to
  68. join it manually.
  69.  
  70.  
  71. ----------------
  72.  
  73. I'm told that all the fopens in both encode and decode need to be changed
  74. from "r" and "w" to "rb" and "wb".  It does not affect my Amiga Lattice
  75. or Aztec compilers, but it is rummored to help the IBM-PC.
  76.  
  77. Checksum error messages should be of the form:
  78.  
  79. Checksum error on lines 1-99
  80. Checksum error on lines 103-106
  81.  
  82. You might want to check if the proposed character is not on the table.
  83. If this is the case, strip and shift as usual... but give a warning
  84. with line and character number.
  85. Remember that on any file " " (space) and "`" single start quote
  86. must be treated as the same.  "~" (circumflex) must be accepted for
  87. "^" (caret).
  88.  
  89.  
  90. *** SEND ME A COPY OF WHATEVER YOU DO ***
  91. *** Be sure to use the version from COMP.SOURCES.MISC and not
  92. COMP.SOURCES.AMIGA.  The date in the first line or two should read
  93. 9/1/87 ***
  94.   
  95. >    Binayak Banerjee
  96. >{allegra | astrovax | bpa | burdvax}!sjuvax!bbanerje
  97. >    bbanerje%sjuvax.sju.edu@relay.cs.net
  98.  
  99.  
  100.  
  101. |\ /|  . Ack! (NAK, ENQ, SYN)
  102. {o O} . 
  103.  (")     bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce
  104.   U    replace "hoser" with "cogsci" if you have trouble.
  105.     well!cogsci!bryce might also help.    
  106.