Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site nvzg2.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!akguc!codas!nvzg2!rick
From: rick@nvzg2.UUCP (Rick Gessner)
Newsgroups: net.micro.mac
Subject: vt100 terminal emulators for Mac
Message-ID: <167@nvzg2.UUCP>
Date: Thu, 24-Oct-85 08:30:17 EDT
Article-I.D.: nvzg2.167
Posted: Thu Oct 24 08:30:17 1985
Date-Received: Sat, 26-Oct-85 04:24:57 EDT
Distribution: net
Organization: AT&T-IS (New Ventures), Orlando Fl.
Lines: 60


Regarding previous messages "IS there a terminal emulator that
really works on the MAC with vi???????"

I THINK I have finally found the stuff to make Red Ryder E.06
talk to vi on a 3B2 running System 5 V2 Rel 2, and not go
insane in the process. (use RR vt100 emulation)

The following 2 sections are a modified terminfo entry
called 'macintosh' and a .exrc file that seem to work.
(at least I can edit a file without RR going into the ozone)

The changes made to the terminfo entry are as follows:
    o Change the htab char from ^I to lots of ^A's so vi doesn't use it.
    o Remove the csr (change scroll region) entry.  This is what
      seems to make RR glitch and go into an infinite scroll on 
	  a 'dd' command.

--------------------slice here then feed into tic----------------
macintosh,
	xon,
	cols#80, it#8, lines#24, vt#3,
	bel=^G$<50>, cr=^M, tbc=\E[3g, clear=\E[H\E[2J$<50>, el=\E[K$<3>,
	ed=\E[J$<50>, cup=\E[%i%p1%d;%p2%dH$<5>, cud1=^J, home=\E[H,
	cub1=^H, cuf1=\E[C$<2>, cuu1=\E[A$<2>, blink=\E[5m$<2>,
	bold=\E[1m$<2>, rev=\E[7m$<2>, smso=\E[7m$<2>, smul=\E[4m$<2>,
	sgr0=\E[m$<2>, rmso=\E[m$<2>, rmul=\E[m$<2>, kbs=^H, kcud1=\EOB,
	kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kcub1=\EOD, kcuf1=\EOC,
	kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, cud=\E[%p1%dB,
	cub=\E[%p1%dD, cuf=\E[%p1%dC, cuu=\E[%p1%dA,
	rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, rc=\E8, sc=\E7, ind=^J,
	ri=\EM$<5>,
	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
	hts=\EH, ht=^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A,

------------------slice off-------------------------------------

The only entry to be added to the .exrc file is ":set redraw".
For some reason the 3B2 sees a 1200 baud line and sets the option
to "noredraw" which leaves an @ for any deleted lines.  The
.exrc file these hacks have been used with is:

------------------slice here------------------------------------
:set nu
:set tabstop=4
:set report=1
:set redraw
------------------slice off-------------------------------------

Like I said, this "SEEMS" to work.......flame at me if it doesn't.


  __________ 
 |  ______  |     (Rick Gessner)
 | |      | |     (AT&T Information Systems)
 | |      | |     (SDSS-Tech Support)
 |  ------  |     (Altamonte Springs, FL)
 | *   +--- |
 |----------|     (My opinions are just that....,etc.)  
 |__________|     (ihnp4!codas!nvzg2!rick)