[comp.sys.ibm.pc] Telix VT102 emulation bug

wales@valeria.cs.ucla.edu (Rich Wales) (10/19/89)

In article <20103@unix.cis.pitt.edu>, pdcst@unix.cis.pitt.edu (Patrick
Champion) describes several problems running VI under Telix's VT102
emulation.

There is at least one bug in Telix 3.11's VT102 emulation.  The "insert
character" function (ESC [ @) doesn't work unless you supply an explicit
count of "1" (i.e., ESC [ 1 @).  I reported this to the author several
months ago, so hopefully it will be fixed in the 3.12 release (whenever
that comes out!).

I am enclosing below the "termcap" entry I use for Telix.  Note that I
changed the number of lines on the screen from 24 to 25; I turned off
the "status" line (the online time in the status line was defeating my
screen blanker TSR).

-- Rich Wales // UCLA Computer Science Department // +1 (213) 825-5683
   3531 Boelter Hall // Los Angeles, California 90024-1596 // USA
   wales@CS.UCLA.EDU      ...!(uunet,ucbvax,rutgers)!cs.ucla.edu!wales
"Logic and practical information do not seem to apply here."

========================================================================

# VT102 termcap entry, modified for Telix:
#	Added:		:dc=\E[P:
#			:ic=\E[1@:
#	Removed:	All null-padding
#	Changed:	:li=#25:	(was :li=#24:)
#	Changed:	:so=\E[1m:	(was :so=2\E[7m:)
#	Changed:	:us=\E[1m:	(was :us=2\E[4m:)
#
# NOTE:	"\E[@" should work as "insert character" -- but Telix 3.11
#	treats this as a no-op and will do the operation only if a
#	count of "1" is explicitly inserted.
#
dy|telix|telix-vt102|dec vt102:\
	:bs:\
	:cd=\E[J:\
	:ce=\E[K:\
	:cl=\E[;H\E[2J:\
	:cm=\E[%i%d;%dH:\
	:co#80:\
	:cs=\E[%i%d;%dr:\
	:dc=\E[P:\
	:do=^J:\
	:ho=\E[H:\
	:ic=\E[1@:\
	:is=\E[1;24r\E[24;1H:\
	:k1=\EOP:\
	:k2=\EOQ:\
	:k3=\EOR:\
	:k4=\EOS:\
	:kb=^H:\
	:kd=\EOB:\
	:ke=\E[?1l\E>:\
	:kl=\EOD:\
	:kr=\EOC:\
	:ks=\E[?1h\E=:\
	:ku=\EOA:\
	:le=^H:\
	:li#25:\
	:mb=\E[5m:\
	:md=\E[1m:\
	:me=\E[m:\
	:mr=\E[7m:\
	:nd=\E[C:\
	:pt:\
	:rc=\E8:\
	:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:\
	:sc=\E7:\
	:se=\E[m:\
	:so=\E[1m:\
	:sr=\EM:\
	:ue=\E[m:\
	:up=\E[A:\
	:us=\E[1m:\
	:ve=\E[?7h:\
	:vs=\E[?7l:\
	:vt#3:

========================================================================

-- Rich Wales // UCLA Computer Science Department // +1 (213) 825-5683
   3531 Boelter Hall // Los Angeles, California 90024-1596 // USA
   wales@CS.UCLA.EDU      ...!(uunet,ucbvax,rutgers)!cs.ucla.edu!wales
"Logic and practical information do not seem to apply here."