Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!decvax!wivax!linus!philabs!seismo!hao!hplabs!sri-unix!RPK.RPS%MIT-OZ@MIT-MC
From: RPK.RPS%MIT-OZ%MIT-MC@sri-unix.UUCP
Newsgroups: net.micro.pc
Subject: Kermit Omission & Bug Fix
Message-ID: <1588@sri-arpa.UUCP>
Date: Wed, 25-May-83 17:55:00 EDT
Article-I.D.: sri-arpa.1588
Posted: Wed May 25 17:55:00 1983
Date-Received: Fri, 3-Jun-83 05:40:07 EDT
Lines: 41

From:  Rob Stanzel 

I've recently downloaded the "Field Test" Kermit from ISIB, and it's a
winning system.  Two things caught my eye: Horizontal Tabs aren't
handled at all (they appear as the PC Extended Ascii character) and a
bug in the COMND simulation.  For what it's worth, the problems occur
on a PC with DOS 2.0 and Expansion Unit.

The last user-typed character of a completed command is lost; i.e.
"rec$" -> "reEIVE" ($ is the ESCape character).  I don't have a fix
for this yet.

Tab chars are handled with this fix: in the telnoe loop, add the test
for a tab character:

telx:   ...
	cmp al,09H	;test for tabchar
	jne nottab
	call tabchr
	jmp telnoe
nottab:
	cmp al,bell	;this is the existing code
	...

The routine itself:

TABCHR	PROC	NEAR
	mov ah,3	;get current position
	mov bh,0
	int bios
	add dl,8	;next field
	cmp dl,80	;at edge of screen?
	jl  tabch1
	mov dl,0	;yes, so punt
tabch1: and dl,0F8H	;clear lower bits (stop every 8 postions)
	mov ah,2	;set cursor position
	int bios
	ret
TABCHR	ENDP

[This fix has been added to the version on  - Ed.]