[comp.sys.tandy] termcap for trs80 model 4

douglas@ms.uky.edu (John Douglas Turner) (11/19/90)

i am using deskmate to dial into a system running unix and
need/want to be able to vi in something other than open
mode.

-- 
John Douglas Turner, Univ. of Kentucky, POT902, Lexington, Ky 40501
douglas@ms.uky.edu, {rutgers,uunet}!ukma!douglas, PR01390@ukpr.uky.edu

singh@cassius.cs.uiuc.edu (Rajendra Singh) (11/20/90)

I use "comm *cl" to dialup and wrote the following termcap.  Give it a try
and let me know if anyone has any improvements.  It doesn't work when I try
to use "talk" but otherwise seems to work fine (including with vi and emacs).
If it doesn't work with deskmate then deskmate probably does some kind of
terminal emulation itself (eg vt100).

Hope this helps,
 -raj

t1|trs80|mytrs80:\
 :co#80:li#24:it#8:\
 :cd=\037:ce=\036:ho=\034:\
 :up=\033:cl=\034\037:\
 :kl=^H:kd=^J:kr=^I:.kb=^H:\
 :ku=^K:cr=\035:\
 :le=^X:do=^Z:nd=^Y:\
 :vi=^O:vs=^N:\
 :.bw:.bs:am:xr:nl=^Z:.pt:ta=^I:nw=^J:

rick@scicom.AlphaCDC.COM (Richard E. Oakes) (11/24/90)

In response to several recent messages, I have included below the termcap
entries for several Tandy-specific terminals and communications programs.
These were extracted from the termcap supplied with XENIX 3.2 for the
Tandy 16B/6000 computers, and are supplied as is, without any warranty,
explicit or implied.

The entry for the Model 100 should also serve the Model 102.

Some of the entries contain extra fields not always listed in termcap 
manuals.  These are specific to particular programs, such as Profile/filePro
or the Ryan-McFarland COBOL compiler, or to special functions not supported
on all versions of UNIX/XENIX, such as local printing.  They may be deleted/
ignored as you see fit; they should not have any effect on versions that do
not support them.

#
# XENIX terminal capabilities version 02.03.00, 11 Mar 87
#
r1|td200|Tandy 200:\
	:al=\EL:am:bs:cd=^L:ce=\EK:cl=\EE:cm=\EY%+ %+ :co#40:dl=\EM:dn=^_:\
	:kd=^_:kl=^]:kr=^\:ku=^^:li#16:nd=^\:se=\Eq:so=\Ep:up=\EA:xt:
dm|dmterm|deskmate terminal:\
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