[comp.sys.amiga] DNET 2.0 Termcap Entry

andrews@cos.com (Andrew R. Scholnick) (05/26/89)

Even as I write this request I am having some VERY annoying problems with
'vi' becaust the Sun's Termcap (terminfo?) definition for vt100 is not
100% compatable with what DNET 2.0 handles...

Can someone help me out so I can edit 'coherently'?

Some of my symptoms are:
	1) the J key (cursor up) does not work
	2) all text insertions occur fine but nothing is ever
	   pushed down as I type so I am constantly looking at
	   garbled lines.
	3) the arrow keys do not work
	4) Sometimes (seems random) new line information which IS
	   in the file is lost on the display and the cursor position
	   gets screwed up.
	5) multi line deletes do not properly refresh the screen.

Any help (like a working sample termcap entry 8-) would be appreciated!

ARS.
-- 
- Andrew R. Scholnick @ Corp. for Open Systems, McLean, VA -- andrews@cos.com
- {uunet, sundc, decuac}!cos!andrews -- Everything I write blame on me, NOT
-- my employer. - "Adventure is when you toss your life on the scales of
-- chance and wait for the pointer to stop." - M. Leinster (First Contact)

deven@rpi.edu (Deven Corzine) (05/26/89)

In article <18538@cos.com> andrews@cos.com (Andrew R. Scholnick) writes:

   Even as I write this request I am having some VERY annoying problems with
   'vi' becaust the Sun's Termcap (terminfo?) definition for vt100 is not
   100% compatable with what DNET 2.0 handles...

That's because DNet simply uses the Amiga console device, which is NOT
vt100-compatible.  It IS reasonably similar, so it may work on some
systems, but it's really an extended ANSI termtype.  If you're running
SunOS 4.0, odds are you have an "amiga" termcap there, and that's what
you should use.  In case you *don't* have it:

# rough draft of Amiga termcap by Mike Meyer
AA|amiga|Amiga ANSI:\
	:co#80:li#25:am:do=\E[B:ce=\E[K:cd=\E[J:\
	:cl=\E[H\E[J:ku=\E[A:kd=\E[B:kl=\E[C:kr=\E[D:kb=^H:\
	:al=\E[L:dl=\E[M:le=^H:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
	:ce=\E[K:ho=\E[H:dc=\E[P:ic=\E[@:\
	:so=\E[2m:se=\E[m:us=\E[4m:ue=\E[m:mr=\E[7m:mb=\E[7;2m:me=\E[m:

Deven
--
shadow@[128.113.10.2]   <shadow@pawl.rpi.edu> Deven T. Corzine (518) 272-5847
shadow@[128.113.10.201] <shadow@acm.rpi.edu>  2346 15th St.    Pi-Rho America
deven@rpitsmts.bitnet   <userfxb6@rpitsmts>   Troy, NY 12180-2306  <<tionen>>
"Simple things should be simple and complex things should be possible." - A.K.