home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / mskerm30.zip / MSKERMIT.DBG < prev    next >
Text File  |  1990-01-25  |  7KB  |  128 lines

  1. MSVIBM.DBG              MS-DOS KERMIT 3.00                       January 1990
  2.  
  3. This file contains patches that can be applied using DEBUG to MS-DOS Kermit
  4. 3.00, IBM PC and PS/2 version, AND NO OTHER VERSION.  These patches are
  5. applied directly to the distributed 3.00 .EXE file using the DOS DEBUG utility.
  6.  
  7. ------------------------------
  8.  
  9. PATCH TO SIMULATE THE VT100 TERMINAL TYPE IN MS-DOS KERMIT 3.0
  10.  
  11. This procedure modifies MS-DOS Kermit v3.00 for IBM PCs to change the terminal
  12. identification response for the VT102 kind from a VT102 (ESC [ ? 6 c) to a
  13. plain VT100 (ESC [ ? 1 c). This change requires the DOS DEBUG program. The
  14. effect will be to inform hosts to not use character insert and deletion and
  15. thus avoiding a part of Kermit which does operations directly on screen memory
  16. rather than operating through the Bios, which may interfere with voice
  17. synthesizers, screen readers, and similar utilities:
  18.  
  19. Assuming that your MS-DOS Kermit v3.00 is named MSVIBM.EXE on drive C:, do the
  20. following:
  21.  
  22. C>copy msvibm.exe msvibm.tmp    change the name so DEBUG will not be confused
  23. C>debug msvibm.tmp              Below, the minus sign is DEBUG's prompt.
  24.                                 You type the material shown after that prompt.
  25. -r                              Show registers (just type "r")
  26.                                 Find the CS=value and add 1000h to that value;
  27.                                 i.e, add 1 to the leftmost digit, in hex.
  28.                                 Example if CS=31C6, the result is 41C6.
  29. -rds                            Prepare to change DS register.
  30.  
  31. See old value yyyy and then the colon on the next line.  After the colon,
  32. type the new computed value xxxx.
  33.  
  34. yyyy:xxxx                       <- Type number computed above, after the colon.
  35. -d ds:fb30                      Display a block of hex values.
  36.                                 Half way across the first line see "[?6c".
  37. -e ds:fb38                      Edit byte at address DS:FB38.
  38. xxxx:fb38 36:                   <- type 31, after the last colon (or dot).
  39. -d ds:fb30                      display the block again. [?6c should now
  40.                                 be [?1c. If not, skip the w commmand below
  41.                                 and enter q to quit, then start over.
  42. -w                              Write the changed file.
  43. Writing 20140 bytes             A status message from Debug.
  44. -q                              quit Debug
  45.  
  46. C>ren msvibm.tmp kerv100.exe    Make the new file have an executable name.
  47. C>kerv100                       Try it (note: msvibm.exe is still original).
  48. MS-Kermit>set term vt102        Should respond to queries as a vanilla VT100.
  49.  
  50. This patch from Joe Doupnik
  51. jrd@usu.Bitnet, jrd@watsun.cc.columbia.edu
  52.  
  53. This patch does not change Kermit's behavior in any way, except the later the
  54. terminal ID sequence it sends when you have set Kermit's terminal type to
  55. VT102.  The effect should be to trick host software into thinking you really
  56. do have a VT100, and therefore not to send any character insert/delete escape
  57. sequences that would cause Kermit to do direct screen writes.  Tested with
  58. VAX/VMS SET TERM/INQUIRE, and VMS EDT was verified to not send insert/delete
  59. character sequences when it believes the terminal is a VT100.
  60.  
  61. A future release of MS-DOS Kermit may add VT100 as a formal terminal type, and
  62. may (repeat, may) have a SET option to let the user decide whether Kermit
  63. should use direct screen writes or Bios operations for character insertion
  64. and deletion in VT102 and VT320 modes.
  65.  
  66. ------------------------------
  67.  
  68. PATCH TO MAKE VERSION 3.00 OPERATE CORRECTLY ON THE AT&T 6300 WITH DOS 3.10
  69.  
  70. Users of MS-DOS Version 3.10 on AT&T 6300 machines will find that MS-DOS
  71. Kermit v 3.00 for IBM PCs will cause the machine to hang when Kermit starts
  72. (the problem apparently does not happen when PC-DOS rather than MS-DOS is used
  73. on the same machine).  The cause has been traced to a Bios-plus-DOS related
  74. problem when Kermit checks for the presence of an optional DEC LK250 keyboard
  75. driver and can be circumvented by either of three methods:
  76.  
  77.         1) Apply DEBUG to MS-DOS Kermit 3.00 in the manner described below.
  78.  
  79.   or    2) Wait for the maintainence release which contains code to avoid
  80.            the problem altogether.
  81.  
  82.   or    3) Change to another version of DOS (say PC DOS 3.30).
  83.  
  84. The DEBUG procedure below is short and need be done only once.  The effect of
  85. the procedure is to omit one instruction which tests for the presence of a DEC
  86. LK250 keyboard driver.  The procedure is safe for all machines, but it
  87. eliminates possible use of the LK250 driver.  It has no other side effects.
  88.  
  89. Assuming the distribution copy of MS-DOS Kermit v3.00 is file MSVIBM.EXE
  90. located on drive C:, perform the steps below.
  91.  
  92. C>COPY msvibm.exe msvibm.bin            make a copy for DEBUG
  93.  
  94. C>DEBUG msvibm.bin                      Work on the copy (preserve original).
  95.                                         Below, the minus sign is the DEBUG
  96.                                         command prompt. You type the material
  97.                                         shown after the minus sign.
  98. -e cs:a111                              Edit byte at address cs:a111.
  99.                                         You type  e cs:a111  and press Enter.
  100. xxxx:a111 CD:                           Shows current value of CD then a colon
  101.                                         or dot separator. Ignore the xxxx value
  102.                                         <-- type 90 and a space and another
  103.                                         90 and only last press the Enter key.
  104.  
  105. xxxx:a111 CD:90  15:90  <Enter>         Example of the line with our 90, space,
  106.              ---    --  -------         and 90 and then the Enter key. Our 
  107.                                         typing is underlined for emphasis.
  108.                                         Note: if this command shows values
  109.                                         different than CD and 15 then skip the
  110.                                         w command below, type letter q at the
  111.                                         minus sign prompt and start over.
  112.  
  113. -w                                      Write the changed file back to disk.
  114. Writing 20140 bytes                     A status message from Debug.
  115. -q                                      Quit, exit Debug.
  116.  
  117. C>
  118.  
  119. C>REN kermit.bin kernew.exe             Rename file to a temporary executable
  120.                                         file name.
  121. C>kernew                                Try the new file. If it works then use
  122.                                         the new file and discard the original.
  123.  
  124. Procedure written by Joe Doupnik
  125. jrd@usu.Bitnet, jrd@cc.usu.edu, jrd@watsun.cc.columbia.edu
  126.  
  127. ------------------------------
  128.