home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / apl / 1003 < prev    next >
Encoding:
Text File  |  1992-09-14  |  2.2 KB  |  61 lines

  1. Newsgroups: comp.lang.apl
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!AGRTQB@IRMFAO01.BITNET
  3. From: agrtqb%irmfao01.bitnet@utcs.utoronto.ca
  4. Subject:      XXencode/decode
  5. Message-ID: <920914.122517.ITA.AGRTQB@IRMFAO01>
  6. X-Acknowledge-To: <AGRTQB@IRMFAO01>
  7. Sender: root@watserv1.uwaterloo.ca
  8. Organization: Food and Agriculture Organization of the UN
  9. Date: Mon, 14 Sep 1992 12:25:17 GMT
  10. Lines: 49
  11.  
  12.  
  13. Note on the XXencode/decode process.
  14.  
  15. When I did send the directory of APLers I did ZIP the ASCII file and
  16. then XXencoded it.
  17.  
  18. Many people told me that they did not know about the xxencoding system so
  19. I thought I should post a brief explanation.
  20.  
  21. The traditional process for transfer of non ASCII files is the
  22. UUENCODE/UUDECODE system. I will not describe the system but the
  23. important point here is that the coding is done using the 64 characters
  24. ASCII 32 to 95.
  25.  
  26. As some of the characters (mainly the square brackets, caret and stile)
  27. do no always pass properly (in general when the file passes through an
  28. ... machine :-) ) a new system has been proposed, the XXENCODE/DECODE.
  29.  
  30. At present the lower case characters pass without problem so the new
  31. encoding uses:
  32.  
  33. +-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
  34.  
  35. The rest of the process (breaking the bytes, grouping, ...) is the same
  36. as for uuencode/decode. So a global replace (on the coded part of the
  37. XXencoded file) of the above codes by the ASCII 32 to 95 should give a
  38. UUencoded file. This global replace is of course very simple to program
  39. in APL as well as the whole XXencoding/decoding process.
  40.  
  41. A good introduction can be found in:
  42.  
  43. A SHORT INTRODUCTION TO NETWORKING AND FILE TRANSMISSION
  44. by Erich Neuwirth
  45.  
  46. (file TRANSGID.TXT in <MSDOS.STARTER> directory available by anonymous
  47. ftp from SIMTEL20 or TRICKLE).
  48.  
  49. Yours,
  50.  
  51. Alain Delmotte     Agrometeorology / FAO         or   Avenue du Marathon, 6
  52.                    Via delle Terme di Caracalla       B1348 Louvain-la-Neuve
  53.                    I00100 Rome ITALY                  BELGIUM
  54.                    tel.: Italy-6-5797 5504            Belgium-10-45 11 92
  55.  
  56. PS. The directory is available for anonymous ftp as:
  57.  
  58. ADDRESS.ZOO      directory languages/apl     at watserv1.uwaterloo.ca
  59. or
  60. ADDRESS.Z        directory pub/apl/apl-email at astrpi.difi.unipi.
  61.