home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pdp11 / k11.bwr next >
Text File  |  2020-01-01  |  21KB  |  489 lines

  1. KERMIT-11 KNOWN PROBLEMS
  2.  
  3.   NOTE: For RT-11 and TSX+ (and soon RSTS/E), see the KRT*.* files
  4.   instead of the K11*.* files.
  5.  
  6. ------------------------------
  7.  
  8. From: Johnny Billquist <bqt@update.uu.se>
  9. Newsgroups: vmsnet.pdp-11
  10. Subject: Bugfix in KERMIT-11...
  11. Date: Thu, 17 Oct 1996 14:05:24 +0200 (MET DST)
  12.  
  13. I don't know how many of you have noticed, but KERMIT-11 won't talk
  14. nicely with C-Kermit. This have annoyed me for a long time, and the
  15. only solution has been to turn off attribute packets.
  16.  
  17. Well, I finally sat down and tracked the bug.
  18.  
  19. Here is a fix for it. (I've also added Billy Yodelman's bugfix, posted
  20. some time ago, concerning communication RSX -> VMS...)
  21.  
  22. Both files are provided as .SLP files, to be used by SLP.
  23. You can also find a K11IDM.HEX at ftp.update.uu.se:/pub/pdp11/rsx
  24.  
  25. --------------------<k11cmd.slp>-------------
  26. -2,2,/;BQT/
  27.     .ident    /3.61/
  28. -6,6,/;BQT/
  29.     edit    ==    61.        ; edit (independent of base_level)
  30. -11,11,/;BQT/
  31. lasted::.ascii    /  Last edit: 17-Oct-96 /
  32. -34,34,/;BQT/
  33. ;    Johnny Billquist 17-Oct-96 13:30:40
  34. ;
  35. ; 61 17-Oct-96  13:13:40  K11ATR.MAC    Bugfix when attribute packets was
  36. ;                    zero length.
  37. ;
  38. /
  39. -----------<k11atr.slp>-------------------
  40. -2,4,/;BQT/
  41.     .ident    /1.0.03/
  42.     .enabl    gbl
  43.  
  44. ;    17-Oct-96  13:29:10 Johnny Billquist
  45. ;                Corrected a bug if attribute packets
  46. ;                was zero length.
  47. ;
  48. -223,231,/;BQT/
  49. sn.typ: movb    #42     ,(r4)+          ; attribute type
  50.         movb    #41     ,(r4)+          ; /49/ Length of what follows
  51.         movb    #'A&137 ,@r4            ; assume ascii
  52.         cmpb    image   ,#binary        ; already decided that it's binary?
  53.         bne     10$                     ; no
  54.         movb    #'B&137 ,@r4            ; yes, say it's BINARY mode today
  55. 10$:    clrb    1(r4)                   ; insure .asciz
  56.         clr     r0                      ; flag success and exit
  57.         return                          ; bye
  58.  
  59. -296,296,/;BQT/
  60.     ble    90$            ; /49/ Again, nothing was there
  61. /
  62. -----------------------------------------------------------
  63.  
  64.     Johnny
  65.  
  66. Johnny Billquist                  || "I'm on a bus
  67.                                   ||  on a psychedelic trip
  68. email: bqt@update.uu.se           ||  Reading murder books
  69. pdp is alive!                     ||  tryin' to stay hip" - B. Idol
  70.  
  71. ------------------------------
  72.  
  73. Date: Thu, 24 Nov 1994 11:28:05 -0500 (EST)
  74. From: billy@mix.com
  75. Subject: Re: Problem with Kermit filenames
  76. Sender: YOUDELMAN@Eisner.DECUS.Org
  77.  
  78. > > I am a new user of Kermit and have a problem with the exchange of filenames
  79. > > between two systems.
  80. > > 
  81. > > I am running MS-Kermit (V3.13 patch 17) on a PC connected via RS232 to a DEC
  82. > > PDP/RSX-11M system running Kermit-11 (Ver T3.60 21-Mar-89).
  83. > > 
  84. > > I login to the DEC from the PC and initiate a Kermit server. I can GET
  85. > > binary and ASCII files from the DEC without any problem, apart from certain
  86. > > filenames which contain four identical contiguous characters - eg :
  87. > > 
  88. > > If I GET AAAA.LOG the DEC systems replies with a file not found error and
  89. > > returns the filename as AAAAA.LOG.
  90. > > 
  91. > > It appears that the PC adds an extra character to the filename when it sees
  92. > > four repeated characters.
  93. > > 
  94. > > I created a file on the DEC called AAAAA.LOG and retrived this successfully
  95. > > by GETting AAAA.LOG !
  96. > > 
  97. > > Is there something obvious that I missing here, or is this a bug?
  98. This problem is caused by a non-initialized repeat count buffer, and is
  99. very easy to fix for anyone that has an RSX system on which to recompile
  100. Kermit-11.  First in the source module KRTPAK.MAC locate the BUFUNP
  101. (unpack a buffer) sub-routine.  Then add the one line slugged /BBS/ in
  102. its comment as is shown in the example BUFUNP appended to this letter
  103. (following your original letter, below).  Then simply assemble Kermit's
  104. source modules and relink.  All K11's sources are available by anonymous
  105. ftp from kermit.columbia.edu in the kermit/b directory.
  106.  
  107. Here's the repaired BUFUNP code -
  108.  
  109.         .sbttl  Like bufemp, but return data to a buffer
  110.  
  111. ;       input:    (r5)  = source buffer, .asciz
  112. ;       output:  2(r5)  = destination buffer
  113. ;                  r0   = zero (no errors are possible)
  114. ;                  r1   = string length
  115. ;
  116. ;       No 8-bit prefixing will be done.  This routine
  117. ;       used for decoding strings received for generic
  118. ;       commands to the server.
  119.  
  120. bufunp::save    <r2,r3,r4,r5>
  121.         mov     @r5     ,r2             ; input record address
  122.         clr     r3                      ; length := 0
  123.         mov     2(r5)   ,r4             ; resultant string
  124.  
  125. 10$:    clr     r0                      ; get the next character
  126.         bisb    (r2)+   ,r0             ; into a convenient place
  127.         beq     100$                    ; all done
  128.         bic     #^c177  ,r0             ; /53/ always seven bit data
  129.         mov     #1      ,r5             ; /53/ assume character not repeated
  130.         tst     dorpt                   ; /53/ repeat processing off?
  131.         beq     20$                     ; /53/ yes, ignore
  132.         cmpb    r0      ,rptquo         ; /53/ is this a repeated char?
  133.         bne     20$                     ; /53/ no, normal processing
  134.         clr     r5                      ; /BBS/ init to copy repeat count!
  135.         bisb    (r2)+   ,r5             ; /53/ yes, get the repeat count
  136.         bic     #^c177  ,r5             ; /53/ always seven bit data
  137.         unchar  r5      ,r5             ; /53/ get the value
  138.         tst     r5                      ; /53/ good data
  139.         bgt     15$                     ; /53/ yes
  140.         mov     #1      ,r5             ; /53/ no, fix it
  141. 15$:    clr     r0                      ; /53/ avoid sign extension
  142.         bisb    (r2)+   ,r0             ; /53/ now get the real data
  143.         bic     #^c177  ,r0             ; /53/ always seven bit data
  144. 20$:    cmpb    r0      ,senpar+p.qctl  ; is this a quoted character?
  145.         bne     30$                     ; no
  146.         clr     r0                      ; yes, get the next character
  147.         bisb    (r2)+   ,r0             ; must be one you know
  148.         clr     r1                      ; must avoid sign extension here
  149.         bisb    r0      ,r1             ; check low 7 bits against quote
  150.         bic     #^c177  ,r1             ; drop 7..15
  151.         cmpb    r1      ,senpar+p.qctl  ; if ch <> myquote
  152.         beq     30$                     ;  then
  153.         ctl     r0      ,r0             ;   ch := ctl(ch)
  154.  
  155. 30$:    movb    r0      ,(r4)+          ; copy the byte over now
  156.         inc     r3                      ; length := succ(length)
  157.         sob     r5      ,30$            ; /53/ perhaps data was repeated
  158.         br      10$                     ; next character please
  159.  
  160. 100$:   clrb    @r4                     ; make the string .asciz
  161.         mov     r3      ,r1             ; return the length
  162.         clr     r0                      ; fake no errors please
  163.         unsave  <r5,r4,r3,r2>
  164.         return
  165.  
  166. Regards,
  167.  
  168. Billy Youdelman
  169. billy@mix.com
  170. Maintainer of the RT-11 Kermit
  171.  
  172. ------------------------------
  173.  
  174. 28-Oct-1993
  175.  
  176. Kermit-11 for RSX, IAS, and RSTS/E are no longer being developed.  The last
  177. release was 3.60 in June 1989.
  178.  
  179. Kermit-11 for RT and TSX+, on the other hand, had a major new release in
  180. September 1993 which fixed many of the problems noted below.  The new RT and
  181. TSX+ versions are in files with the KRT prefix, rather than K11.  PDP-11
  182. programmers who have access to RSX, IAS, and/or RSTS/E systems are encouraged
  183. to come forward and help merge the divergent K11 and KRT versions.
  184.  
  185. Notably, among the bugs fixed in the KRT version is a problem with Attribute
  186. Packets in the K11 version which can prevent successful file transfer when K11
  187. is used in conjunction with another Kermit program, such as C-Kermit 5A,
  188. MS-DOS Kermit, or IBM Mainframe Kermit-370, that also uses Attribute Packets.
  189. If you are using the K11 and experience such problems, tell one or both Kermit
  190. programs to SET ATTRIBUTES OFF.
  191.  
  192. Minimum set of files for the KRT version:
  193.  
  194.     KRT.DOC     -  Installation and Release Notes
  195.     KRT.SAV     -  Unmapped (FB,SB,SJ) executable image
  196.     KRTTSX.SAV  -  Mapped (XM or TSX) executable image
  197.     KRTHLP.HLP  -  Help text
  198.     KRT.INI     -  Sample initialization file
  199.  
  200. 07-Apr-1986 09:37 (Pending)
  201.  
  202.  On  RT11 FB systems with a large number of devices, Kermit can displace
  203. the USR (force it to swap) and crash when accessing  the  USR  from  the
  204. higher  addressed  overlays  in  Kermit. The fix for something like this
  205. may not be practical; it can be worked around by UNLOADING and  REMOVING
  206. unneeded  device  drivers  from  lowest  address to higher addresses (to
  207. prevent fragmentation of background memory). If you run K11RT4.SAV on  a
  208. FB  system  and find either (1) The program crashes on file transfers or
  209. (2) KMON says the save image is too  large,  then  remove  the  unneeded
  210. drivers and set the USR to swap. 
  211.  
  212. 24-MAR-1986 14:23 (Fixed in version 3.49)
  213.  
  214.  Attribute processing is incorrect for some attribute types. This  dates
  215. back  to  April 1984 when support was first added, but no other versions
  216. were available to test against.  The  correction,  made  to  K11ATR.MAC,
  217. will  cause  V3.49  or later of Kermit-11 to have compatability problems
  218. with previous versions  of  Kermit-11.  The  main  problem  will  be  in
  219. informing  each  other of binary file arrival; the only workaround is to
  220. explicitly force two communicating Kermit-11's  into  binary  mode  with
  221. the SET FILE command. See K11INS.DOC for further information. 
  222.  
  223.  The  specific  problem is that the protocol requires the attribute TYPE
  224. field to be  followed  by  a  LENGTH  byte  to  specify  the  number  of
  225. characters  following.  Kermit-11  was  not  always inserting the LENGTH
  226. field. The new  version,  3.49,  will  be  able  to  tell  if  an  older
  227. Kermit-11  is sending in the incorrect format by virtue of the fact that
  228. the first attribute packet that is  sent  is  the  system  id  code  and
  229. operating  system. Since this attribute will always be a short one (2 or
  230. 3 characters at most) it is a simple matter to detect the presence of  a
  231. 'D'  (for  DEC)  in  the  position  of  the  LENGTH field and set a flag
  232. accordingly. However, in the case of the corrected Kermit-11 sending  to
  233. a  pre  3.49 version, this will not be the case and all attempts to rely
  234. on the transfer of attribute packets will fail. 
  235.  
  236. brian@uoft02.bitnet
  237.  
  238. ------------------------------
  239.  
  240.         .sbttl  getcm1  check for additional input needed
  241.  
  242. ;       G E T C M 1
  243. ;
  244. ;       input:  @r5     current command buffer
  245. ;               2(r5)   command table address
  246. ;               4(r5)   index of the current command
  247. ;
  248. ;       output: r0      index of current command or < 0 for error
  249. ;               argbuf  any additional input or rest of the command line
  250.  
  251.         .enabl  lsb                     ; /55/
  252.  
  253. getcm1: save    <r1,r2,r3>              ; Save registers that we destroy
  254.         sub     #100    ,sp             ; /55/ Allocate a small buffer for
  255.         mov     sp      ,r2             ; /55/ saving the command prompt.
  256.         tst     wasnul                  ; /45/ Was the command for ?
  257.         beq     10$                     ; /45/ No
  258.         clr     wasnul                  ; /45/ Not null anymore
  259.         clr     r0                      ; /45/ Yes, return index 0
  260.         br      110$                    ; /45/ Exit
  261. 10$:    mov     @r5     ,r1             ; Get command line address
  262.         scan    #40     ,r1             ; Look for a space that might delimit
  263.         tst     r0                      ; the command name from an argument
  264.         beq     30$                     ; Nothing there
  265.         add     r1      ,r0             ; Point to the string after the space
  266.         COPYZ   r0,argbuf,#200          ; Copy the command arg over please
  267.         br      100$                    ; And exit
  268.  
  269. 30$:    mov     4(r5)   ,r3             ; Get the command index
  270.         mul     #$listl*2,r3            ; If no arg given, see if one is needed
  271.         add     2(r5)   ,r3             ; Add in base address of command table
  272.         mov     .cmdar(r3),r3           ; Get the argument prompt now
  273.         tstb    @r3                     ; Anything there that is required ?
  274.         beq     100$                    ; No, so take a normal exit then.
  275.         STRCPY  r2      ,r3             ; /55/ Copy the prompt over now
  276. 40$:    CALLS   kbredi  ,<r2,argbuf>    ; /55/ Read a command from the keyboard
  277.         tst     r0                      ; And exit if it failed for whatever
  278.         bne     90$                     ; The read failed (control Z typed).
  279.         tst     cccnt                   ; No, but is there a Control C?
  280.         bne     90$                     ; Yes, treat as end of file
  281.         CALLS   cvt$$,<argbuf,r1,#cvtarg>;Remove junk, convert to upcase
  282.         tst     r0                      ; Is there anything left ?
  283.         beq     40$                     ; No, reprompt and try again
  284.         mov     r0      ,r1             ; Something is left, point to the
  285.         add     argbuf  ,r1             ; end of the line and null terminate
  286.         clrb    @r1                     ; ...
  287.         br      100$                    ; Take normal exit
  288.  
  289.  
  290. 90$:    MESSAGE                         ; /55/ Insure a carriage return
  291.         mov     #cmd$ab ,r0             ; Control Z on keyboard read.
  292.         br      110$                    ; And exit
  293. 100$:   mov     4(r5)   ,r0             ; Return command index
  294. 110$:   add     #100    ,sp             ; /55/ Pop the temporary buffer
  295.         unsave  <r3,r2,r1>              ; Restore registers we used
  296.         return                          ; And exit
  297.  
  298.         .dsabl  lsb                     ; /55/
  299.  
  300.         global  <argbuf ,cmdadr ,cmdbuf ,cmdnum>
  301.  
  302. ------------------------------
  303.  
  304. Date: Mon, 23 Mar 87  13:00 EST
  305. From: Lewis M. Dreblow - PSYCH at UFFSC
  306. Subject: Kermit-11 Problem Discovered and Solved
  307. Keywords: Kermit-11
  308.  
  309.   I wish to inform the user community of a problem which occurred with the
  310. K11 release of Kermit. I was trying to use kermit on a 11/23 running RTV5
  311. and TSXV5. I had no trouble using the release as a server, but kept getting
  312. hung whenever I tried to do a get or send to another remote server. It
  313. didn't matter what machine was on the server end. After about a month of
  314. tearing my hair out I discovered that I had TSGENed IOABT = 0 which caused
  315. TSX to wait for IO completion on jobs. This seemed fine at TSGEN time, but
  316. due to the .ABTIO MCALL in K11PRT caused kermit to hang for two minutes at
  317. every get or send command.
  318.  
  319.   Thus, users should be aware that they have to either (1) TSGEN IOABT = 1
  320. or (2) at the command line (or in a command file) prior to running kermit
  321. issue the SET IO ABORT command. You may want to remember to SET IO NOABORT
  322. after running kermit as well.
  323.  
  324. ------------------------------
  325.  
  326. Date: Fri 17 Jul 87 12:46:56-EDT
  327. From: Christine M Gianone <SY.CHRISTINE@CU20B.COLUMBIA.EDU>
  328. Subject: K11 Kermit and MS-DOS Kermit at 9600 Baud
  329. Keywords: K11 Kermit, MS-DOS Kermit
  330.  
  331. Randy Rushton (215) 628-4530 is trying to transfer a text file from the
  332. PDP11 to the IBM PC (Using the latest versions of Kermit I believe).  It
  333. works fine at 2400 baud but not at 9600.  Is this because of the PDP11's
  334. front end buffer size?  Is there a work-around?
  335.  
  336. Date:     Tue, 28 Jul 87 10:23 EDT
  337. From:     <BRIAN@UOFT02.BITNET> (Brian Nelson)
  338. Subject:  k11
  339.  
  340. This is really dependant on about 10,000 things. I run 9600 all the time
  341. and have no problems. Maybe its RT11 and multi-terminal support? If so
  342. then the max speed for that runs around 4800, but real thruput is down
  343. around 100 cps due to extremely high overhead. If thats what they are
  344. using they should switch to a dl11 or clone interface and use the xl
  345. handler from rt 5.1 or later.
  346.  
  347. Anyway, thats the only case where I know there is a restriction. As far
  348. as the other exec's go, xon/xoff works pretty good. M+ has buffering
  349. to 255 chars, rsts 9.x has buffering settable up to 7K or so.
  350.  
  351. Brian
  352.  
  353. ------------------------------
  354.  
  355. Date:     Sun, 7 Dec 86 18:41 GMT
  356. From:     <KERMIT@CZHETH5A.BITNET> (H.Wipf)
  357. Subject:  News, and ask for files
  358.  
  359.  
  360. Regards,
  361. Wipf Hansruedi
  362.  
  363. Odesstech
  364. Consulting Office
  365. Mainroad 26
  366. CH-2542 Pieterlen / Swiss
  367.  
  368. Telephon       : +41(32)87 33 42  (office/privat: 8.00AM-8.00PM/GMT)
  369. Electronic Mail: kermit@czheth5a.bitnet
  370. MailBox        : +41(32)87 33 43 (24 Hour, 7 Day per week)
  371.                  300_1200/75_1200_2400Baud/8_Bit/NoParity/1_Stopbit
  372.  
  373. Just for a info: We (by means "I") in Switzerland have improved
  374. a  bit  Kermit-11 for RT-11 (as I'm specialist for that system),
  375. according with Brian Nelson.
  376.  
  377.       Now because of a miss-understand with Brian  we  have  two  dif-
  378.       ferent  kermit-11  of version 3.54, one in the USA distribued by
  379.       Brian and one (a field-test version) in  european  (specialy  in
  380.       Switzerland and in German) which are not completely command com-
  381.       patible, I have added some what such as:
  382.  
  383.         -- CAPTURE filnam, a command which do the same as the  command
  384.            sequence "SET LOG FILE filnam\SET DEBUG CONSOL";
  385.         -- SET TRANSMIT [NO]LF, used to control Xmit of <LF> when pre-
  386.            ceded by a <CR>;
  387.         -- SET TRANSMIT [NO]EOF, used to control Xmit of <ctrl-Z> when
  388.            EOF whas detected;
  389.         -- SET TRANSMIT [NO]ECHOPLEX, used to control echoplex  (which
  390.            mean  of  a  transfer protocol which wait for the echo of a
  391.            character transmitted, trying 8 time to correct any differ-
  392.            ences of Xmit-Char's and Rcvd-Char's).  This whas very use-
  393.            full for message down-loading to to mailbox systems in ter-
  394.            minal emulation mode of kermit.
  395.  
  396.       Howere, most other modifications are transparent to user,  exept
  397.       that  "my"  version can be assembled with either RT11 V4's MACRO
  398.       assembler or with the new feature of MACRO-11 from RT11  V5  and
  399.       later.
  400.  
  401.       I have also adaped some command's like the server log-off  "BYE"
  402.       command  to  be  recognized  and  exected  under  SHARE-Plus and
  403.       SHARE-11.
  404.  
  405.  
  406.       Please can you edit a bit this P.S. for your digest infos!
  407.  
  408. ------------------------------
  409.  
  410. Date: Fri 18 Sep 87 15:12:42-EDT
  411. From: Frank da Cruz <SY.FDC@CU20B.COLUMBIA.EDU>
  412. Subject: K11 install procedure
  413.  
  414. Somebody sent me about 50 pages of DCL procedures, etc, for installing
  415. K11 on RSX (printed).  I'll forward them to you.  You might want to contact
  416. the guy (who says he is "enthralled" with the latest release), and get
  417. the stuff in machine-readable form, check it out, and we'll include it with
  418. the distribution.  In case it gets lost in the mail, he's Dean Fejes of
  419. Lin-Dea Inc, phone 813-597-2291.  - Frank
  420.  
  421. ------------------------------
  422.  
  423. Date:     Tue, 14 Feb 89 12:09 EST
  424. From: <TLEWIS%UTKVX1.BITNET@cuvmb.cc.columbia.edu>
  425. Subject:  Kermit on RSTS 7.2
  426.  
  427. Just got Kermit working this morning (Feb. 14), seems to work fine.  We are
  428. running 2 PDP 11/70's, one under RSTS 8.0 and the other under 7.2 due to the
  429. way in which some of our programs are written.  They won't run under 8.0.
  430. We've had kermit running under 8.0 for a few years but I've always been told
  431. by others on our staff that it wouldn't run under 7.2.  Well, we are looking
  432. at shutting down the 11/70 with the 8.0 version of RSTS and I had to start
  433. digging on finding a version of kermit for 7.2 or something like it.  I then
  434. found in the documentation that it would run under 7.2.
  435.  
  436. Looks like kermit is running fine, the only difference I can find so far, and
  437. I haven't looked at it much, is that I have to set attributes off before I can
  438. send anything from the micro to the 11/70.  I can receive files without doing
  439. this but cannot send them to the host.  Anyway as long as I know what to do,
  440. I'm in good shape.
  441.  
  442. Thanks for your reply!
  443.  
  444. Terry Lewis
  445. University of Tennessee at Martin
  446.  
  447. ------------------------------
  448.  
  449. Date: Tue, 14 Feb 89 14:37 EDT
  450. From: Brian Nelson <BRIAN%UOFT02.BITNET@cuvmb.cc.columbia.edu>
  451. Subject: RE: [<TLEWIS%UTKVX1.BITNET@cuvmb.cc.columbia.edu>: Kermit on RSTS 7.2]
  452.  
  453. Thanks. Re attributes on/off, there was something I sent to you a while
  454. back with msdos kermit and retry limits, xfer would fail on attribute
  455. packets unless I set the retry cound up on the pc past the default to
  456. account for the # of atribute packets I send.
  457.  
  458. There are other problems with k11 on 7.2 that can show up, perhaps
  459. it would be a good idea for me to document them.
  460.  
  461. brian
  462.  
  463. ------------------------------
  464.  
  465. Date: Wed, 27 Nov 91 20:59:33 -0500
  466. From: billy@mix.com
  467. Subject: Kermit-11 floppy swapping problem solved
  468. To: brian@uoft02.utoledo.edu
  469.  
  470. Problem: RT Kermit does not notice when you remove a diskette and then
  471. insert another one.  Here's the fix, in the opndev routine in K11RTD:
  472.  
  473. ;       force USR to re-read dir segment, allowing one to swap floppies..
  474.  
  475.         BLKEY   =       256             ; /BBS/ RMON dir seg number in memory
  476.  
  477.         .lock                           ; /BBS/ lock the USR in memory, then
  478.         .pval   #rtwork ,#BLKEY ,#0     ; /BBS/ force it to re-read the dir
  479.         .lookup #rtwork ,#lun.sr,r1     ; open the DEVICE for input
  480.         .unlock                         ; /BBS/ now release the USR..
  481.         bcs     100$                    ; can not find it
  482.         clr     r0                      ; no errors
  483.  
  484. Billy Y..
  485.  
  486. ------------------------------
  487. (End)
  488.