home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / uucod101.zip / uucode.doc next >
Text File  |  1993-12-17  |  3KB  |  78 lines

  1.  
  2. This archive contains UUENCODE and UUDECODE for OS/2 v2.x
  3. with long filename and wildcard support. You probably need
  4. HPFS to run UUENCODE because target name is source name plus
  5. string ".UUE" which is most probably invalid filename on
  6. FAT system (also on removable media which does not support
  7. HPFS).
  8.  
  9. These programs are free in the sense that you can use and
  10. re-distribute them if done without any commercial fee. You
  11. can charge the media cost, however. I don't take any 
  12. responsibility on any damage caused by usage of these programs.
  13.  
  14. Bug reports and suggestions may be sent to tke@utu.fi
  15.  
  16. See below for information of specific behaviour of this 
  17. implementation.
  18.  
  19.  
  20.  
  21. Common notes:
  22.  
  23.     1)  To see the command line syntax enter the program's
  24.         name without parameters.
  25.  
  26.     2)  Neiher program support file mode information. UUENCODE
  27.         saves mode as 0644 and UUDECODE discards the mode
  28.         information.
  29.  
  30.     3)  Currently neither program support XX encode method.
  31.  
  32.  
  33.  
  34. UUDECODE:
  35.  
  36.     1)  Normally UUDECODEr interprets everything between "begin"
  37.         and "end" line as "the UUENCODEd stuff". This UUDECODE.EXE
  38.         includes a "semi intelligent line search" algorithm to find
  39.         out which source lines are garbage and which are UUENCODEd
  40.         stuff. Therefore it is not necessary to pre-process files 
  41.         extracted from, for example, news to make them suitable for 
  42.         UUDECODE. The garbage in source file is sent to stdout so 
  43.         it can be redirected to a file to be examined whether it
  44.         contains some intresting information.
  45.         The UUENCODEd blocks (for example news articles) must be
  46.         stored in one file and the blocks must be in correct
  47.         sequence.
  48.  
  49.     2)  Some UUENCODE programs add checksum in the end of each
  50.         UUENCODEd line. This UUDECODE does not use such checksums
  51.         to validate each source line.
  52.  
  53.     3)  Sometimes the "semi intelligent line search" algorithm fails,
  54.         for example, to think that a certain news header line is 
  55.         part of the UUENCODEd stuff. In such a case you need to 
  56.         manually remove the garbage (i.e. news headers between
  57.         "begin" and "end" lines) and to disable the "semi intelligent 
  58.         line search" algorithm by giving switch -d.
  59.         Another method is to replace the first character of the line
  60.         which is interpreted as UUENCODEd stuff with blank.
  61.  
  62.  
  63.  
  64. UUENCODE:
  65.  
  66.     1)  Target filename is created by adding string .UUE in the end
  67.         of the source filename which means that this UUENCODE.EXE is
  68.         not generally usable for FAT systems.
  69.         Thus, FILENAME.EXT becomes FILENAME.EXT.UUE
  70.  
  71.     2)  Be careful when using wildcards. If you enter UUENCODE *
  72.         the UUENCODE.EXE will enter into an endless loop because
  73.         the new files produced by UUENCODE will be UUENCODEd and
  74.         the loop continues until disk is full.
  75.  
  76.  
  77. /Timo Eronen, tke@utu.fi
  78.