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

  1. 28-Sep-84 12:48:57-EDT,1177;000000000001
  2. Mail-From: SY.FDC created at 28-Sep-84 12:48:34
  3. Date: Fri 28 Sep 84 12:48:34-EDT
  4. From: Frank da Cruz <SY.FDC@CU20B.ARPA>
  5. Subject: Bugs in MS-DOS Kermit Bootstrapping Programs
  6. To: Info-Kermit@CU20B.ARPA, Info-IBMPC@USC-ISIB.ARPA
  7.  
  8. The Fortran-Basic program pair that is used for bootstrapping MS-DOS Kermit
  9. initially from a mainframe to a PC does not work in certain cases.  There
  10. were two small problems -- one caused the Fortran program to hang waiting for
  11. input (in Fortrans that do not supply default values for missing variables on
  12. a READ statement), the other an erroneous GOTO that had the unfortunate
  13. quirk of not breaking the program on systems whose Fortran happened to
  14. initialize arrays with blanks...  Anyway, the fixed versions are available
  15. in KER:MSBOOT.FOR and KER:MSPCBOOT.BAS on CU20B and COLUMBIA-20.  If you'd
  16. rather not get the new files, the changes are simple:
  17.  
  18. In MSBOOT.FOR, after the statement 200 FORMAT(4A1), change
  19.  
  20.     GO TO 30
  21. to
  22.     GO TO 20
  23.  
  24. In MSPCBOOT.BAS, change line 100 to:
  25.  
  26. 100  print#1,"O ,2"            ' Char constants Oh,Space,Comma,Two.
  27.  
  28. Thanks to Jeff Ramsey of DGM&S, Delran NJ, for pointing out these problems.
  29.  
  30. ------------------------------
  31.  
  32. Date: 13 Dec 1985 1427-EST (Friday)
  33. From: Tom Putnam <ac4@purdue-asc.ARPA>
  34. Subject: MSBOOT.FOR
  35.  
  36. The subject FORTRAN program is supposed to be run on a host machine in 
  37. conjunction with MSPCBOOT.BAS on a target MS-DOS machine to download
  38. MSKERMIT.BOO and similar binary files.  The program requires several
  39. modifications to operate under UNIX.  (We are running UNIX 4.2 BSD).  
  40. In particular:
  41.  
  42.  * The variable ACK is declared as a 4-element array, but only the
  43.    first element is ever used.  The initial READ statement:
  44.           READ (5,200) OK, SPACE, COMMA, ACK
  45.     200   FORMAT(4A1)
  46.    implies that the whole array ACK will be read.  Since the format does
  47.    not allow enough elements, a second "line" or "record" of input is
  48.    requested, so file transfer never gets off the ground.
  49.  
  50.  * The write statements include a blank for carriage control.  Although
  51.    some systems strip this character on output to the terminal, UNIX terminal
  52.    output includes the blank and thus fouls up the character count check.
  53.  
  54. I corrected these problems, converted the program to FORTRAN-77, and
  55. cleaned-up the logic a little so that we could use it on our systems.
  56. The modified version of the program is available via anonymous ftp from
  57. ASC.PURDUE.EDU in the "kermit" subdirectory, file name "msboot.f".
  58.  
  59. [Ed. - It's also on CU20B as KER:MSBOOT.F.]
  60.  
  61. Tom Putnam, Manager of User Services
  62. Purdue University Computing Center
  63.  
  64. ARPANET: ac4@asc.Purdue.EDU
  65.      or  ac4@purdue-asc.ARPA
  66. BITNET:  PUTNAMT@PURCCVM
  67. CSNET:   ac4@purdue-asc-tn
  68. USENET:  ac4@pucc-j.UUCP
  69. USMAIL:  Mathematical Sciences Bldg.
  70.      West Lafayette, IN 47907
  71. PHONE:     317/494-1787
  72.  
  73. ------------------------------
  74.  
  75.