home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / msvrb1.bwr < prev    next >
Internet Message Format  |  2020-01-01  |  10KB

  1. Date: 28 Feb 1989 1513-EST
  2. From: EIBEN@tops20.dec.com
  3. To: Frank da Cruz <fdc@cunixc.cc.columbia.edu>
  4. Subject: Rainbow Kermit
  5.  
  6. Here a 'solicited' response from a Rainbow Kermit user.
  7.  
  8. Rgds,
  9. bernie.
  10.  
  11.            <<< HUMAN::DISK$HUMAN_WRKD:[NOTES$LIBRARY]KERMIT.NOTE;1 >>>
  12.                         -< KERMIT reopen for business >-
  13. ================================================================================
  14. Note 602.1          Modified MS-Kermit for Rainbow available              1 of 1
  15. IOENG::METZ "Better Latent than not at all"         310 lines  27-FEB-1989 18:16
  16.                            -< Comm Bug and Feedback >-
  17. --------------------------------------------------------------------------------
  18.  
  19.     First of all Thanks!!!
  20.  
  21.     It's great to have the latest and greatest Kermit for
  22.     the Rainbow. I use Kermit all the time and just found out about
  23.     the Script feature (which could save me about an hour a day).
  24.  
  25.     You asked for some feedback on using 2.32/A so here it is.
  26.  
  27.  
  28.     Used Kermit in the following Environment:
  29.     
  30.     a) Printer printing while Kermit was running a 'dial' script -
  31.        works.
  32.  
  33.     b) Changing SPEED interactively in a 'dial' script file - works.
  34.  
  35.     c) Kermit 'push' and SEDT cycles - works.
  36.  
  37.     d) Logging sessions - works.
  38.  
  39.     e) SET key VT220 definitions - works.
  40.     
  41.     f) Interactive sessions on VMS (used remote server commands,
  42.        connect and file transfers) - works.
  43.  
  44.  
  45. -------------------------------------------------------------------------
  46. The following identifies some comments/problems with Kermit-MS Version
  47. 2.32/A dated 21-Jan-1989 when running on a Rainbow 100+ under MSDOS V2.11
  48. -------------------------------------------------------------------------
  49.  
  50. SHOW MODEM
  51. SHOW COMMUNICATIONS
  52.  
  53.     Regardless of the modem status or the communications set-up
  54.     the following status is always displayed:
  55.     
  56.         DSR is off
  57.         CD  is on
  58.         CTS is off
  59.         
  60.     Modem cable is a BCC22-B (14 wire) connected to a Scholar modem.
  61.     
  62. Because of the false status above the following commands will also
  63. not function:
  64.  
  65. WAIT [{number, hh:mm:ss}] [\CD] [\CTS] [\DSR] - always times out.
  66.         
  67. HANGUP - does not drop DTR/RTS.
  68.  
  69.  
  70. [ NOTE: I Debugged all above modem status problems - See end of note for
  71.     comments].
  72.  
  73.  
  74. * Standard Operating Procedure, Bug or feature?
  75.  
  76.     1) 'SHOW?' will only display 'SHOW' as an option where as 'SHOW ?'
  77.         will display all 'SHOW Options'. (Does the same for all, eg SET
  78.         etc.)
  79.         
  80.  
  81.     2) Using a macro embedded in text failed sometimes (dependent
  82.        on text/definition?) by flaging the text after the macro as
  83.        '?text'. I had to split the ECHO line in order for it to work.
  84.        [I don't remember what the actual line was which failed but
  85.        I do remember it was long. If I find it I'll include it here].
  86.  
  87.        Example only (This does work):
  88.        
  89.        ECHO \07\13 \%m test\07    - This or
  90.        ?test
  91.  
  92.        ECHO \07\13\%mtest\07    - that Failed but...
  93.        ?test
  94.  
  95.        
  96.        ECHO \07\13\%m        - this worked
  97.        ECHO test\07            - when I split the line.
  98.  
  99.  
  100.  
  101.     3) When using a Script to log into a VMS system and 'ECHO INPUT
  102.        OFF' is set. The terminal identifier sequence from the VAX
  103.        identifies the terminal as UNKNOWN. [This could be an XOFF
  104.        problem as I noticed that there is a backlog of output (to
  105.        the rainbow) starting with the UNKNOWN terminal id once the
  106.        script enters CONNECT and I hit return].
  107.  
  108.  
  109.  
  110. * Known Kermit-MS 2.32/A problems noted elsewhere (sorry I didn't give
  111.   credit to those who documented but I did run into the problem).
  112.     
  113.  1) Labels require a appended space and comment in order to be
  114.    'found'.
  115.  
  116.     Instead of        :LABEL
  117.  
  118.     Use            :LABEL ;232/A fix for using labels
  119.  
  120.  
  121.  
  122. * Operational Notes/Wishes:
  123.  
  124.     1) Use double ^C to exit Script file execution. (Would be
  125.        nice to have a 'ON CONTROL_C GOTO LABEL' to abort modem).
  126.  
  127.  
  128.     2) When using a script file to specify a .com file on a VMS host
  129.        be careful how you specify the '@file'.
  130.        
  131.     Instead of    OUTPUT @file.com\13  ;which uses local @file for output
  132.     
  133.     Use        OUTPUT \13@file.com\13    ;this will run the VMS @file
  134.  
  135. ; KERMIT.EXE Version: 2.32/A 21 Jan 1989 - Modem Control Patches
  136. ;
  137. ; To fix the modem handshaking problems (I needed to have it work quickly) I
  138. ; got a copy of MSXRB1.ASM on CSCMAS which I used to help debug and patch
  139. ; (just to many files to downline load slowly... and reassemble). All modem
  140. ; handshaking now works (DTR/RTS/SRTS/DSR/CTS/RLSD). Here's how and what I
  141. ; changed (not in order of 'found' as you can tell by the comments):
  142. ;
  143. ; These addresses reflect DEBUGs address which is (+100) of the PATCH
  144. ; program address I used.
  145.  
  146. >ren kermit.exe kermit.tmp
  147. >debug kermit.tmp
  148.  
  149.         ; This fixes the problem where all modem status bits were
  150.         ; sampled inverted (RB does this) and therefore was shown
  151.         ; incorrectly under SHOW MODEM or SHOW COMM.
  152.         ;
  153.         ; Was            Now
  154.         ; -----------------    ------------------
  155.         ; MOV AL,0        MOV DX,mnctrl
  156.         ; MOV DX,mnctrl        IN  AL,DX
  157.         ; IN  AL,DX        NOT AL        ;invert RB modem bits
  158.         ;
  159.         ; Note: I left out the MOV AL,0 instruction as I assumed
  160.         ;       that the IN AL,DX over-wrote the AL anyhow.
  161.         ;
  162.         ; WAS: B0 00 BA 02 00 EC
  163.         ; NOW: BA 02 00 EC F6 D0
  164.         ;
  165. E 87BF
  166. BA 02 00 EC F6 D0
  167.  
  168.  
  169.         ; This fixes the problem where RSLD (Carrier Detect) never
  170.         ; turned on under SHOW MODEM or SHOW COMM and WAIT n \CD
  171.         ; never worked (it was only syntax).
  172.         ;
  173.         ; Was            Now
  174.         ; -------------------    --------------------
  175.         ; getmod2: test al,10    getmod2: test al,10h
  176.         ;
  177.         ;    was: 0A            now: 10
  178. E 87DD
  179. 10
  180.  
  181.         ; This fixes the problem where if carrier detect was 'On'
  182.         ; that the DSR and CTS status was sometimes corrupted
  183.         ; under SHOW MODEM or SHOW COMM.
  184.         ;
  185.         ; Was            Now
  186.         ; -----------------    ------------------
  187.         ; MOV mdmhand,80h    OR mdmhand,80h
  188.         ;
  189.         ; was: C6 06        now: 80 0E
  190. E 87E0
  191. 80 0E
  192.         ; Page 2 of 2
  193.  
  194.         ; This corrects the CONNECT so that only DTR/RTS/SRTS turns
  195.         ; on instead of all bits and some LEDs on the back of the
  196.         ; Rainbow. (The LEDS would be a nice feature for standard
  197.         ; programming to display modem status). Functionally the
  198.         ; original code worked ok.
  199.         ;
  200.         ; Was            Now
  201.         ; -----------        ----------
  202.         ; MOV AL,030h        MOV AL,F1h
  203.         ;
  204.         ;
  205. E 8B43
  206. F1        ; from 30 to F1
  207.  
  208.  
  209.         ; This fixes the command 'HANGUP; problem where DTR/RTS did not
  210.         ; drop and the modem stayed connected.
  211.         ;
  212.         ; Was        Now
  213.         ; -----------    ----------
  214.         ; MOV AL,00h    MOV AL,FFh
  215.         ;
  216. E 8CBF        ;
  217. FF        ; from 00 to FF
  218.  
  219.  
  220.         ; The following changes update a copy of the kermit
  221.         ; version to reflect the above changes however I'm not
  222.         ; sure where this is used or displayed.
  223.         ;
  224. E 9EAF        ; Change 2'1' to 2'5' (date)
  225. 35
  226. E 9EB1        ; Change 'Jan' to 'Feb'
  227. 46 65 62
  228. E 9EAC        ; change '/A ' to '/AB'
  229. 42
  230.  
  231.         ; The following changes update the kermit welcome and VERSION
  232.         ; command output display to reflect the above patches.
  233.         ;
  234. E AC85        ; Change 2'1' to 2'5' (date)
  235. 35
  236. E AC87        ; Change 'Jan' to 'Feb'
  237. 46 65 62
  238. E AC82        ; change '/A ' to '/AB'
  239. 42
  240.  
  241. W        ; writes patched file
  242. Q        ; Quit debug
  243.  
  244. >ren kermit.tmp kermit.exe
  245.  
  246. ;
  247. ; End of patching
  248. ;
  249.  
  250. And for reference:
  251.  
  252. RBCOMM.HLP    Updated: 25-Feb-1989
  253. ------------------------------------
  254.  
  255. The Rainbow CP/M technical documentation appears to be incorrect with respect
  256. to port 02h active/asserted conditions. This is an attempt to clarify the
  257. 'tested' Comm bit functionality and levels.
  258.  
  259.  
  260. Rainbow COMM port 02H functions:
  261. --------------------------------
  262.  
  263. * Port 02H - Read definitions (Inputs)
  264.  
  265.      7     6     5     4     3     2     1     0
  266.     ---    ---    ---    ---    ---    ---    ---    ---
  267.     Int    Int    MHFU    RLSD    CTS    DSR    SI/    RI
  268.     Z80 L    88 L    Ebl L    (CD)            SRLSD
  269.     
  270.     80h    40h    20h    10h    08h    04h    02h    01h
  271.     ?=On    ?=On    ?=On    0=On    0=On    0=On    0=On    0=On
  272.     ?=Off    ?=Off    ?=Off    1=Off    1=Off    1=Off    1=Off    1=Off
  273.  
  274. Typical: 1       1       0     x     x     x     x     x
  275.  
  276. Cable:                  |    pin 8    pin 5    pin 6    pin 12  pin 22 |
  277. RB output:              | <---    On = +6V,    Off = -6V    ---->|
  278.  
  279.  
  280.  
  281.  
  282. * Port 02H - Write definitions (outputs)
  283.  
  284.      7     6     5     4     3     2     1     0
  285.     ---    ---    ---    ---    ---    ---    ---    ---
  286.     LED5    LED6    LED4    LED7    RTS    DTR    SRTS    Speed
  287.                                 Select
  288.  
  289. Cable:                    pin 4    pin 20    pin 19  pin 23
  290.  
  291.     80h    40h    20h    10h    08h    04h    02h    01h
  292.     0=On    0=On    0=On    0=On    0=On    0=On    0=On    0=On (Low?)
  293.     1=Off    1=Off    1=Off    1=Off    1=Off    1=Off    1=Off    1=Off(High?)
  294.     
  295.  
  296.    *Note: the above LED bits do not match the Status led positions.
  297.  
  298. View: Back of Rainbow
  299. ---------------------                    Status Leds
  300.  
  301.     -------        ------        ------        1 2 3 4 5 6 7
  302.     \     /     \    /      \    /      o o o o o o o
  303.      -----         ----         ----        
  304.      
  305.  
  306. Rainbow Comm port EIA levels
  307. ----------------------------
  308. Power up or writing a 1 (off) shows all output pins at -6V (marked/off).
  309. Writing a 0 (on) sets output levels to +6V (Spaced/On). All bits function
  310. correctly. (for reference, Xmit Data pin 2 is a -6V or marked when idle).
  311. [Scholar modem runs -12V to +12V].
  312.  
  313.  
  314.     Output level specifications:
  315.  
  316.      EIA    Data    Control      Typical
  317.      ===    ====    =======      =======
  318.      
  319.     +15V    ----------------- (+12V)
  320.          Space      On
  321.     + 3V    ----------------- (+5V)
  322.                        ^
  323.       0V    - Invalid Area  -
  324.                v
  325.     - 3V    ----------------- (-5V)
  326.          Mark      Off
  327.     -15V    ----------------- (-12V)
  328.     
  329.    --------
  330.  
  331. Date: Tue, 28 Feb 89 15:33 MDT
  332. From: Joe Doupnik <JRD@cc.usu.edu>
  333. Subject: Rainbow updates
  334. To: eiben@tops20.dec.com, fdc@cunixc.cc.columbia.edu
  335. X-Vms-To: IN%"eiben@tops20.dec.com", IN%"fdc@cunixc.cc.columbia.edu",JRD
  336.  
  337. Bernie and Frank,
  338.  
  339. What a thorough test of Rainbow Kermit. Thanks!
  340.  
  341. SHOW?  is a feature since it implies help on the single keyword 
  342. to-date, SHOW, whereas SHOW ? asks about an empty keyword (whatever can
  343. follow the SHOW keyword). Abbreviations are shown by the word? form.
  344.  
  345. Modem bits. Much thanks for this stuff. My DEC Rainbow book is
  346. clearly full of errors and I could not figure out the proper polarity of
  347. signals at the programmer's end of things (not to mention a blunder or two).
  348.  
  349. Script ECHO. I rather suspect the \%m macro contained an explicit
  350. (bare) carriage return vs one of the \13 things. That would terminate the
  351. Echo command, leaving the rest for the parser to clean up as noted.
  352.  
  353. The :LABEL<optional space> thing should not have needed the trailing
  354. space (an old problem since cured, unless the MSVRB1.BOO file was not the
  355. most recent version).
  356.  
  357. Terminal ident response. That ought to work but have not tested it
  358. here during the one brief chance to use a Rainbow. I'll check the code
  359. again anyway.
  360.  
  361.     Things that worked. Will wonders never cease?
  362.     Thanks again Bernie,
  363.     Joe D.
  364.  
  365. ------------------------------
  366.  
  367.