home *** CD-ROM | disk | FTP | other *** search
- MSVIBM.DBG MS-DOS KERMIT 3.00 January 1990
-
- This file contains patches that can be applied using DEBUG to MS-DOS Kermit
- 3.00, IBM PC and PS/2 version, AND NO OTHER VERSION. These patches are
- applied directly to the distributed 3.00 .EXE file using the DOS DEBUG utility.
-
- ------------------------------
-
- PATCH TO SIMULATE THE VT100 TERMINAL TYPE IN MS-DOS KERMIT 3.0
-
- This procedure modifies MS-DOS Kermit v3.00 for IBM PCs to change the terminal
- identification response for the VT102 kind from a VT102 (ESC [ ? 6 c) to a
- plain VT100 (ESC [ ? 1 c). This change requires the DOS DEBUG program. The
- effect will be to inform hosts to not use character insert and deletion and
- thus avoiding a part of Kermit which does operations directly on screen memory
- rather than operating through the Bios, which may interfere with voice
- synthesizers, screen readers, and similar utilities:
-
- Assuming that your MS-DOS Kermit v3.00 is named MSVIBM.EXE on drive C:, do the
- following:
-
- C>copy msvibm.exe msvibm.tmp change the name so DEBUG will not be confused
- C>debug msvibm.tmp Below, the minus sign is DEBUG's prompt.
- You type the material shown after that prompt.
- -r Show registers (just type "r")
- Find the CS=value and add 1000h to that value;
- i.e, add 1 to the leftmost digit, in hex.
- Example if CS=31C6, the result is 41C6.
- -rds Prepare to change DS register.
-
- See old value yyyy and then the colon on the next line. After the colon,
- type the new computed value xxxx.
-
- yyyy:xxxx <- Type number computed above, after the colon.
- -d ds:fb30 Display a block of hex values.
- Half way across the first line see "[?6c".
- -e ds:fb38 Edit byte at address DS:FB38.
- xxxx:fb38 36: <- type 31, after the last colon (or dot).
- -d ds:fb30 display the block again. [?6c should now
- be [?1c. If not, skip the w commmand below
- and enter q to quit, then start over.
- -w Write the changed file.
- Writing 20140 bytes A status message from Debug.
- -q quit Debug
-
- C>ren msvibm.tmp kerv100.exe Make the new file have an executable name.
- C>kerv100 Try it (note: msvibm.exe is still original).
- MS-Kermit>set term vt102 Should respond to queries as a vanilla VT100.
-
- This patch from Joe Doupnik
- jrd@usu.Bitnet, jrd@watsun.cc.columbia.edu
-
- This patch does not change Kermit's behavior in any way, except the later the
- terminal ID sequence it sends when you have set Kermit's terminal type to
- VT102. The effect should be to trick host software into thinking you really
- do have a VT100, and therefore not to send any character insert/delete escape
- sequences that would cause Kermit to do direct screen writes. Tested with
- VAX/VMS SET TERM/INQUIRE, and VMS EDT was verified to not send insert/delete
- character sequences when it believes the terminal is a VT100.
-
- A future release of MS-DOS Kermit may add VT100 as a formal terminal type, and
- may (repeat, may) have a SET option to let the user decide whether Kermit
- should use direct screen writes or Bios operations for character insertion
- and deletion in VT102 and VT320 modes.
-
- ------------------------------
-
- PATCH TO MAKE VERSION 3.00 OPERATE CORRECTLY ON THE AT&T 6300 WITH DOS 3.10
-
- Users of MS-DOS Version 3.10 on AT&T 6300 machines will find that MS-DOS
- Kermit v 3.00 for IBM PCs will cause the machine to hang when Kermit starts
- (the problem apparently does not happen when PC-DOS rather than MS-DOS is used
- on the same machine). The cause has been traced to a Bios-plus-DOS related
- problem when Kermit checks for the presence of an optional DEC LK250 keyboard
- driver and can be circumvented by either of three methods:
-
- 1) Apply DEBUG to MS-DOS Kermit 3.00 in the manner described below.
-
- or 2) Wait for the maintainence release which contains code to avoid
- the problem altogether.
-
- or 3) Change to another version of DOS (say PC DOS 3.30).
-
- The DEBUG procedure below is short and need be done only once. The effect of
- the procedure is to omit one instruction which tests for the presence of a DEC
- LK250 keyboard driver. The procedure is safe for all machines, but it
- eliminates possible use of the LK250 driver. It has no other side effects.
-
- Assuming the distribution copy of MS-DOS Kermit v3.00 is file MSVIBM.EXE
- located on drive C:, perform the steps below.
-
- C>COPY msvibm.exe msvibm.bin make a copy for DEBUG
-
- C>DEBUG msvibm.bin Work on the copy (preserve original).
- Below, the minus sign is the DEBUG
- command prompt. You type the material
- shown after the minus sign.
- -e cs:a111 Edit byte at address cs:a111.
- You type e cs:a111 and press Enter.
- xxxx:a111 CD: Shows current value of CD then a colon
- or dot separator. Ignore the xxxx value
- <-- type 90 and a space and another
- 90 and only last press the Enter key.
-
- xxxx:a111 CD:90 15:90 <Enter> Example of the line with our 90, space,
- --- -- ------- and 90 and then the Enter key. Our
- typing is underlined for emphasis.
- Note: if this command shows values
- different than CD and 15 then skip the
- w command below, type letter q at the
- minus sign prompt and start over.
-
- -w Write the changed file back to disk.
- Writing 20140 bytes A status message from Debug.
- -q Quit, exit Debug.
-
- C>
-
- C>REN kermit.bin kernew.exe Rename file to a temporary executable
- file name.
- C>kernew Try the new file. If it works then use
- the new file and discard the original.
-
- Procedure written by Joe Doupnik
- jrd@usu.Bitnet, jrd@cc.usu.edu, jrd@watsun.cc.columbia.edu
-
- ------------------------------
-