[net.micro.trs-80] Model III termcap and programs

ronbe@tekred.UUCP (Ron Bemis ) (01/19/85)

     I put the following into my .login  (or  .profile)  program.
The  question mark may be left off the tset statement if you only
use a vt100 (or whatever - change the  tset  statement)  at  your
work  site.  On our system, $term is set immediately (before .lo-
gin is executed) to 'dswitch' or 'dialup'.   I  use  my  trash-80
(Model  III) only from a dialup modem at home, so this works just
fine for me.  If you have some other setup, at least you  may  be
able to benefit from the trs80 termcap provided.

if ($term == 'dswitch') then
        tset -s -Q -m':?vt100' > ~/.termset
        source ~/.termset
else
# ($term is 'dialup')
        echo 'trs80' > ~/.termset
        setenv TERM trs80
        setenv TERMCAP 'M6|trs80|trs-80:\
        ae=^V:am:as=^V:bc=\030:bs:bw:cd=\037:\
        ce=\036:cl=\034\037:co#64:do=^Z:ho=\034:\
        is=\034\037^N:kr=\t:ku=[:li#16:ll=\034\033:\
        nd=^Y:up=\E'
#       if they ever fix /etc/termcap trs80 TERMCAP:
#       tset -s -Q -m':?trs80' > ~/.termset
#       source ~/.termset
endif

     A warning:

This termcap assumes that your terminal displays  tabs,  carriage
returns, and line feeds correctly.

THIS IS NOT SO!

     I found no way to kludge up the termcap to allow my terminal
to be this way.  (The ultimate goal was using 'vi' at home.)

     As a result, I had to go into my terminal program and modify
it to handle these three characters correctly.

     My program also allows printing (spooled) and uploading  and
downloading.  I also set up a control sequence to allow all stan-
dard UNIX characters to be sent from  the  (limited)  trs80  key-
board.

     If anyone out there is interested in  this  program  or  any
others  I  have  (i.e.  my  own  debugger and disassembler - much
better than Rat Shack's), drop me a line by electronic or US mail
and I'll send you whatever you want for the price of the disk and
postage.  (Or send me a blank disk with a SASMailer) and I'll get
a copy off to you.

     P.S.  My disk format is the old boring TRSDOS 1.3.

Ron Bemis
659 SW 29th St
Redmond, OR  97756
(503) 923-0580 (home)
(503) 923-4460 (work)








-- 
               _____
Ron Bemis     / o o \   Support Bacteria -
Tektronix    | \___/ |  It's the only culture
Redmond, OR   \_____/   Some people have!