[comp.sys.apple] ProTERM term emulation

laba-4an@web3d.berkeley.edu (Andy McFadden) (04/15/88)

I recently made an examination of ProTERM v2.0 terminal emulations, and
came up with the following results:

Terminal Type		UNIX termcap	scroll?    okay 80-cols?  insert line?
-------------		------------	-------    -------------  ------------
televideo		tvi		yes		yes		yes
hazeltine 1500		h1500		yes		yes		yes
dec vt52		vt52		-- didn't work on my system
dec vt100		vt100		yes		no		yes
lsi adm3a		adm3a		no		yes		no
Soroc 120		soroc		no		yes		no
heathkit h19		h19		no		yes		yes
IBM 3101-10		ibm3101		-- didn't work on my system
datamedia 1500		dm1500??	-- terminal descriptor unknown

Explanation:
	Terminal Type = type according to ProTERM
	UNIX termcap  = what to type (i.e., set term = tvi)
	scroll?	      = can it scroll downward as well as upwards?
	okay 80-cols? = does vi skip when lines exceed 80 columns?
	insert line?  = will vi spread the lines apart while inserting
			(rather than just blank the current one out)

Notes:	hazeltine 1500 terminal seemed rather slow during tabbing
	heathkit terminal added garbage every now and then
	IBM terminal inserted garbage every so often

The terminal of choice seems to be the tvi.  If they would fix the 80-col
vt100 bug, perhaps that would be better.

This was tested on a SUN workstation, with sun 4.2 unix.

-- 
laba-4an@widow.berkeley.edu (Andy McFadden)

"Highly clever disclaimer and signature."

scott@geowhiz.UUCP (Scott Kempf) (04/16/88)

I have a suggestion for all you writters of terminal emulators.

Why not include a UNIX style termcap for each of you emulations?

I don't know how many times I've had to go and cut apart termcaps
to make the work with emulation that was *almost* correct.

If anyone wants more info on making a termcap,
I could mail some to you, along with some sample termcaps.

Including termcaps would be a REALLY big help to us UNIX people.

					Scott

_______________________________________________________________________________
Scott Kempf                          Blue itself teaches us blue.  -Bill Ranson
MAIL:   1302 Rutledge St., Madison, WI  53703    PHONE:  (608) 255-6205  (home)
UUCP:   {seismo, topaz, harvard, ihnp4}!uwvax!geowhiz!scott
ARPA:   geowhiz!scott@spool.wisc.edu             PHONE:  (608) 262-6154  (work)
BITNET: scott%geowhiz.uucp%spool.wisc.edu@wiscvm.bitnet

brsmith@umn-cs.cs.umn.edu (Brian R. Smith) (04/25/88)

I cheated - I used TIC, set it to do Apple 80 column firmware emulation
(straight pass-thru, for all practical purposes), and made a UNIX termcap
entry to cope with it.

Everything works perfectly.  :-)

If anyone wants it, I can post it; Apple II firmware is REAL simple, so it's
only 3 or 4 lines.

Brian
brsmith@umn-cs.cs.umn.edu	[internet]
brsmith@umn-cs.UUCP		[UUCP?  NAAAHHH!]
brsmith%umn-cs@UMNACVX.BITNET

cuthbert@tramp.Colorado.EDU (CUTHBERTSON ROBERT) (04/26/88)

In article <4949@umn-cs.cs.umn.edu> brsmith@umn-cs.UUCP (Brian R. Smith) writes:
>
>I cheated - I used TIC, set it to do Apple 80 column firmware emulation
>(straight pass-thru, for all practical purposes), and made a UNIX termcap
>entry to cope with it.
>
>Everything works perfectly.  :-)
>
>If anyone wants it, I can post it; Apple II firmware is REAL simple, so it's
>only 3 or 4 lines.
>
>Brian
>brsmith@umn-cs.cs.umn.edu	[internet]
>brsmith@umn-cs.UUCP		[UUCP?  NAAAHHH!]
>brsmith%umn-cs@UMNACVX.BITNET

YES!  Please do post that!  I have been trying to work out a suitable terminal
emulation for some time now, and you seem to have exacly what I need to work
out the last problem.  (namely, the /termcap entry)

Muchious Thankious.

"Maybe when you call me, Baby you can call me Mal!"

+-----                                       -----+
! Yes, actually I *did* say hi.  Just ask Frank.  !
!              cuthbert@tramp.Colorado.EDU.Bitnet !
!(get the      cuthbert@tramp.Colorado.EDU.UUCP   !
!  idea yet?)  cuthbert@tramp.Colorado.EDU.ARPA <- Does this work?  E-mail me
+-----                                       -----+

brsmith@umn-cs.cs.umn.edu (Brian R. Smith) (04/27/88)

Well, I've gotten requests, so here it is...

Notes:
	'it#8' tells UNIX that you have tabs every 8 columns.  This is a
		function of TIC, not the firmware.
	The clear key on a IIgs will do something like clear-screen, 
		depending on what you're in.
	To use: save somewhere, minus this stuff, and do;
		% setenv TERMCAP <wherever you saved it>
		% setenv TERM IIgs <or IIe, or IIc, or ...>
	Other fun stuff: in BASIC, on a IIgs, Control-Shift-6 (^^) followed
		by any character will change the cursor to that character.
		(not strictly applicable to a termcap, but a strange thing
		 about this firmware.  You can't do cursor positioning from
		 BASIC unless you use the Pascal I/O hooks, on a IIgs at
		 least, as ^^ also used for cursor positioning.)

I've tested it thouroughly with everying I use.  If you're having problems
using it, check for your own mistakes.

Brian
brsmith@umn-cs.cs.umn.edu
brsmith@umn-cs.UUCP
brsmith%umn-cs@UMNACVX.BITNET


------- Cut here --------

IIgs|IIe|IIc|//gs|//e|//c|Apple 80 column firmware interface:\
	:am:bl=^G:bs:bw:cd=^K:ce=^]:cl=^L:cm=^^%r%+\040%+\040:co#80:cr=^M:\
	:do=^J:eo:ho=^Y:kb=^H:kC=^X:kD=\177:kd=^J:kl=^H:kr=^U:ku=^K:\
	:le=^H:li#24:nd=^\:se=^N:so=^O:sr=^V:sf=^W:up=^_:ms:\
	:it#8:ta=^I: