[fa.info-mac] MacTerminal Termcap

info-mac@uw-beaver (info-mac) (12/04/84)

From: Christopher A Kent <cak@Purdue.ARPA>
Jim Budler at AMD recently posted a new termcap entry for MacTerminal;
it was nice because it didn't perpetuate the delays that a vt100
termcap has. Unfortunately, it didn't include specs for the
insert/delete capabilities. 

I've added them, and it all seems to work. It's MUCH faster than what I
was using before, a modified vt132 from jkf@berkeley. The only problem
I've seen with this is in vi -- when inserting characters as fast as
the Mac can send them, the somebody loses track of what the screen
should look like, and it gets confused. This happens when the repeat
speed is set to 3 or 4; I use 2 and don't have any problems. The
characters all seem to get there, cause a refresh shows the correct
information. Emacs works fine under the same circumstances.

I was really sad to have to add a delay to the insert line
characteristic (al), but had problems with emacs losing the first
characters on lines when scrolling. It may be possible to squeeze out
delays elsewhere; I didn't play with it very long. If you do squeeze
more out, please let everyone know. 

Cheers,
chris
----------

info-mac@uw-beaver (info-mac) (12/05/84)

From: Neil J. O'Neill <oneill@lll-crg.ARPA>
   Could some kind soul out there please post the COMPLETE (vt100 +
Macterminal extensions) Macterminal termcap listing.  The only listings
I have seen so far are either woefully incomplete, or are of the "Gee,
you just take the vt102 termcap and change the farndsnapp and fimbleblatz
controls to ..."  variety.  Some of us UNIX quasi-illiterates need it
spelled out in black-and-white.

info-mac@uw-beaver (info-mac) (12/05/84)

From: Christopher A Kent <cak@Purdue.ARPA>
Oh, sigh. I just realized that I forgot to include my termcap in the
letter!

It's appended at the end of this one. I've noticed some other problems
in vi when I have automatic margin wrapping on -- sometimes the first
character on the automatically wrapped line is not displayed. It's
tempting to put a newline delay in (dN#1) but I'd rather not, since
that slows the general painting speed down. Maybe someone with more
experience can tweak it and get it perfectly tuned...

Cheers,
chris

Am|macintosh|mac|Apple Macintosh with MacTerminal:\
	:al=1*\E[L:am:bl=^G:bs:cd=\E[J:ce=\E[K:cl=\E[;H\E[2J:cm=\E[%i%d;%dH:\
	:co#80:cr=^M:dc=5\E[P:dl=\E[M:dN#0:do=\E[B:ho=\E[H:\
	:ic=6\E[@:ip=5:kb=^H:kd=\E[B:kh=\E[H:\
	:kl=\E[D:kn#4:kr=\E[C:ku=\E[A:k1=\EOP:k2=\EOQ:k2=\EOR:k4=\EOS:\
	:le=\E[D:li#24:nd=\E[C:nl=^J:pt:se=\E[m:sf=\ED:so=\E[7m:sr=\EM:\
	:ue=\E[m:up=\E[A:us=\E[1;4m:xn:


----------

info-mac@uw-beaver (12/07/84)

From: Christopher A Kent <cak@Purdue.ARPA>

Robert Weissler has pointed out a typo in the termcap I submitted; the
encoding for function key 3 is missing... sort of. It's listed as
":k2=\EOR:" but should be ":k3=\EOR:".

Best,
chris
----------

jimb@amd.UUCP (Jim Budler) (12/07/84)

I got the revision to my termcap, and must say it works just fine
with vi.  But I still encountered the problems with Emacs 4.7 that
resulted in my leaving the insert/delete line and character out of
my termcap.  With this input I now know that the problem must be in
our version of Emacs rather than in MacTerminal.  Same result though,
I have to leave them out.
-- 
 Jim Budler
 Advanced Micro Devices, Inc.
 (408) 982-6547
 UUCPnet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amd!jimb
 Compuserve:	72415,1200
 The Source:	STW265