[net.micro.mac] vt100 terminal emulators for Mac

rick@nvzg2.UUCP (Rick Gessner) (10/24/85)

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)

myers@uwmacc.UUCP (Latitudinarian Lobster) (10/28/85)

What's the matter with MacKermit?  Works like a charm for me as a vt100
emulator, and it's free / public domain.

jeff m

guido@boring.UUCP (10/30/85)

In article <1597@uwmacc.UUCP> myers@uwmacc.UUCP (Latitudinarian Lobster) writes:
>What's the matter with MacKermit?  Works like a charm for me as a vt100
>emulator, and it's free / public domain.

Well, for one thing, it doesn't work with an European keyboard.
Yes I know, there is a keyboard configuration program, but this
doesn't seem to work right, and anyway it's very tedious to have
to reconfigure the whole bottom row of your keyboard and several
accent and other keys (for all combinations of Shift/Option/Caps
Lock/Command!!).
-- 
	Guido van Rossum (guido@mcvax.UUCP)