home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / atarist / astker.bwr < prev    next >
Text File  |  2020-01-01  |  3KB  |  82 lines

  1. ASTKER.BWR -- Beware File for Atari ST Kermit
  2.  
  3. The Atari ST Kermit binaries are distributed in UUENCODE format,
  4. which, unfortunately, may include trailing blanks that can be
  5. removed by various kinds of software (like BITNET mail, etc).
  6. Fortunately, UUENCODE format includes a length field at the head
  7. of each line, so the missing blanks can be restored.  Here's a
  8. short SNOBOL program to do it:
  9.  
  10. * Restore trimmed trailing blanks to a UUENCODEd file.
  11. * Must be run on an ASCII system because length fields are
  12. * ASCII values of leading character of each line.
  13. * F. da Cruz, CUCCA, July 1986
  14.  
  15.     &TRIM = 1
  16.  
  17.     OUTPUT = INPUT                  :F(ERR)
  18. LOOP    LINE = INPUT                    :F(DONE)
  19.     OUTPUT = IDENT(LINE,NULL)            :S(LAST)
  20.     LINE POS(0) LEN(1) . X                :F(ERR)
  21.     &ALPHABET @P X                    :F(ERR)
  22.     OUTPUT = RPAD(LINE,(((P - 32) / 3) * 4) + 1)    :S(LOOP)
  23.  
  24. LAST    LINE = INPUT                    :F(LAST2)
  25.     OUTPUT = IDENT(LINE,'end') LINE            :S(DONE)
  26. LAST2    TTY = 'No end line'
  27. ERR    TTY = 'Fatal error'                :(END)
  28. DONE    TTY = 'Done'
  29. END
  30.  
  31. ------------------------------
  32.  
  33. Date: 19 Sep 86 09:26:06 EDT (Fri)
  34. From: Michael Fischer <fischer@YALE.ARPA>
  35. Subject: Re: Problems Installing Atari ST Kermit
  36. Keywords: Atari ST Kermit
  37.  
  38. I had problems installing GEM Kermit, but I finally got it to work.
  39. Here in a nutshell are what the problems were:
  40.  
  41. 1.  The UUDECODE program distributed with Kermit (astuud.c) is written
  42. for the Lattice C compiler.  To use it with the Alcyon C compiler distributed
  43. with the Atari Developer's Kit, it is necessary to open the binary output
  44. file with "fopenb" instead of "fopen"; otherwise, the file is opened in
  45. text mode (ignoring the "b" mode flag") and every ^J in the output has a
  46. gratis ^M inserted after it.
  47.  
  48. 2.  Recompiling the sources as Chris Rose did is not sufficient, for
  49. the resource files are *only* distributed in binary form.  A correct
  50. program given a bad resource will crash, just as an incorrect program
  51. will.  Thus, one has no choice but to get UUDECODE to work.
  52.  
  53. 3.  Once I fixed UUDECODE, I successfully decoded both the Kermit
  54. program and resource files and they worked without problem.  I also
  55. rebuilt the program from the sources and it also worked with the
  56. decoded resource file.
  57.  
  58. 4.  There has been a great deal of activity lately on the INFO-ATARI16
  59. bboard discussing the various problems people have been having with
  60. UU-encoded files.  There seem to have been two or three independent sets
  61. of problems:
  62. (a)  Bugs in the UUDECODE program to run on the ST as described above.
  63. (b)  Problems with the encoded file being modified during transmission
  64. such as tab expansion, truncation of trailing blanks, or padding of
  65. all lines to a given length.
  66. (c)  For people who tried decoding on a mainframe and then transmitting
  67. the binary files to the ST (often using the old Developer's kit Kermit),
  68. forgetting to set binary mode on both the transmitting and receiving
  69. Kermit.  After numerous reports of failures and then people bringing
  70. these problems out in the open, success stories such as mine above
  71. began pouring in.  So UU-encoded files *are* usable, but it can be
  72. rather tricky to do it right.
  73.  
  74. I will contact the "New Haven ST's" user group to see if they would
  75. be willing to copy GEM Kermit onto disks for people.
  76.  
  77.   Mike Fischer
  78.   <fischer@yale.arpa>
  79.  
  80. ------------------------------
  81.  
  82.