home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / old / misc / prime / primek.bwr < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Date: Sun 24 Mar 85 23:14:41-PST
  2. From: Bob Larson <BLARSON%ECLD@ECLA>
  3. Subject: Prime kermit bug
  4. To: info-kermit@CU20B.ARPA
  5.  
  6. Prime kermit is quoting the 8-bit character even when 8-bit quoting is
  7. not being done.  Using defaults, this causes ampersands ('&') to be
  8. received as lower case f's by some versions of kermit.  (I.e.
  9. the old unix kermit that is the base of the current os9 kermit
  10. effort.
  11.  
  12. Bob Larson <Blarson@Usc-Ecl.Arpa>
  13.  
  14. ------------------------------
  15.  
  16. Date:        14-OCT-1985 10:32:48
  17. From:        SYSKERMIT%vax1.central.lancaster.ac.uk@ucl-cs.arpa
  18. To:        INFO-KERMIT <INFO-KERMIT%cu20b.columbia.edu@ucl-cs.arpa>
  19. Subject : PRIME KERMIT bug query
  20.  
  21.   Seems to be a bug in PRIME Kermit so that in server mode it responds to an
  22. Init-info (I) packet with a NAK instead of (presumably) an Error packet. Has
  23. anyone got a fix for this?
  24.                  Alan
  25.  
  26.  
  27. ------------------------------
  28.  
  29. Date : 10 January 1986
  30. From : Rick Burne, Ealing College of Higher Education, London UK
  31. Subject : Bug in Prime KERMIT in server mode
  32.  
  33. In server mode PRIME KERMIT responds to an I packet with a NAK rather than
  34. anything sensible such as a qualified ACK or an error packet. This should be 
  35. fixed in the next release from The Source, but in the meantime here is a quick
  36. edit to make it respond with an error packet.
  37.  
  38. File MSG_TYPES.PLP
  39.  
  40. Around line 24, insert a line
  41.            MSG_INIT by 'I'         /* Init-info packet */
  42. after the line
  43.            MSG_EOF by 'Z'          /* End of file (EOF) */
  44.  
  45. File SERVER.PLP
  46.  
  47. Around line 225, insert a new clause in the main do while loop:
  48.           when (MSG-INIT) do;
  49.             snd_msg = 'Unimplemented server command';
  50.             call send_packet('E',length(snd_msg),msg_number);
  51.           end;
  52. before the line
  53.           end;    /* select */
  54.  
  55. File REC_MESSAGE.PLP
  56.  
  57. Around line 72, insert a line
  58.          msg_init,
  59. before the line
  60.          msg_rcv_init) return ('1'b);
  61.  
  62. ------------------------------
  63.  
  64. 24-Oct-86 04:06:03-EDT,3512;000000000001
  65. Return-Path: <@MIT-MULTICS.ARPA,@BRL-AOS.ARPA:SYSKERMIT%vax1.central.lancaster.ac.uk@cs.ucl.ac.uk>
  66. Received: from MIT-MULTICS.ARPA by CU20B.COLUMBIA.EDU with TCP; Fri 24 Oct 86 04:05:45-EDT
  67. Received: from BRL-AOS.ARPA by MIT-MULTICS.ARPA TCP; 24-Oct-1986 03:37:45-edt
  68. Received: from ucl-cs.arpa by AOS.BRL.ARPA id aa22123; 23 Oct 86 20:02 EDT
  69. Received: from vax1.cs.ucl.ac.uk by mv1.Cs.Ucl.AC.UK   via Ethernet with SMTP
  70.            id ad03590; 22 Oct 86 9:56 WET
  71. Received: from 44d.cs.ucl.ac.uk by vax1.Cs.Ucl.AC.UK   with SMTP  id a001317;
  72.           22 Oct 86 9:53 BST
  73. Received: from vax1.central.lancaster.ac.uk by 44d.Cs.Ucl.AC.UK
  74.            via Janet with NIFTP  id a003664; 22 Oct 86 9:51 BST
  75. Date:               22-OCT-1986 09:12:56
  76. From:               SYSKERMIT%vax1.central.lancaster.ac.uk@cs.ucl.ac.uk
  77. To:                 INFO-KERMIT <@cs.ucl.ac.uk,@MIT-MULTICS.ARPA:INFO-KERMIT@cu20b.ARPA>
  78. Subject:  Bug in Prime Kermit 7.57
  79.  
  80. From:      21-OCT-1986 18:39
  81. To:       SYSKERMIT
  82. Subj:
  83.  
  84.  
  85. Date:       Tue, 21 Oct 86 18:35:15 GMT
  86. To:         syskermit@UK.AC.LANCASTER.CENTRAL.VAX1
  87. From:       BROOKS@UK.AC.EXETER.PC
  88. Subject:    Prime Kermit 7.57
  89. Message-ID: <BROOKS.TAYG@UK.AC.EXETER.PC>
  90.  
  91.  
  92.    There is a bug in PR1ME Kermit version 7.57.
  93.  
  94.    If, when in SERVER mode, the user  logs  off  with  a  BYE  command  on  the
  95. micro-Kermit,  the  NEXT  user  to get that PRIMOS usernumber can have problems
  96. related to the PRIMOS KILL and ERASE characters.  It showed up in the Sheffield
  97. Editor for us.
  98.  
  99.    The problem arises if other software expects  that the PRIMOS routine  ERKL$$
  100. returns leading  zeros  in  the  words  that  give  the  user's  KILL and ERASE
  101. characters as documented in DOC3621-190 Subroutines Reference Guide page 10-23.
  102. What is not documented is that when writing the KILL and ERASE the leading byte
  103. of the words should be ZERO.  This is the  only  reason  that  reading  returns
  104. leading zeros!
  105.  
  106.    Unfortunately, PRIMOS Kermit uses leading spaces when writing these  values.
  107. This  in  itself causes no problem as when Kermit exits SERVER mode in all ways
  108. EXCEPT when it receives a BYE command, it restores the user's  KILL  and  ERASE
  109. characters  with  words it had read previously.  Again this seems no problem as
  110. LOGO$$ restores the System default KILL  and  ERASE  characters  so  everything
  111. appears  OK  to  the  next user.  But logo$$ does not seem to alter the leading
  112. byte of the words holding KILL and ERASE, hence the problem.
  113.  
  114.    The simplest fix in PRIMOS Kermit is as follows:-
  115.  
  116.    In GENERIC_CMD.PLP, before
  117.          call logo$$(0,0,' ',0,0,code);
  118.    insert the line
  119.          call xfer_mode(0,code); /* restore terminal characteristics */
  120.  
  121.    Ideally, the first call to erkl$$ in XFER_MODE.PLP should be fixed  so  that
  122. it  has  leading  zeros in the character strings it passes, but this needs more
  123. changes to be made in the source.  The fix given is short and it works!   There
  124. may  be a problem with forced logouts which this fix obviously won't cope with.
  125. The QUIT handler calls xfer_mode so there is no trouble there.
  126.  
  127.    This caused us no end of trouble to track down  to  Kermit!   It  seemed  an
  128. epidemic  had  struck  as  more  and  more users hit this problem.  (The PRIMOS
  129. command TERM -kill and TERM -erase fixes a user in trouble).   It  didn't  help
  130. that  we  changed  from  Rev  19.3  to Rev 19.4 at the same time as we released
  131. Kermit 7.57.
  132.  
  133.   Neil Brooks
  134.   University of Exeter Computer Unit
  135.