Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.trs-80 » Model III termcap and programs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Model III termcap and programs [message #79249] Sun, 02 June 2013 23:16
ronbe is currently offline  ronbe
Messages: 15
Registered: June 2013
Karma: 0
Junior Member
Message-ID: <197@tekred.UUCP>
Date: Fri, 18-Jan-85 16:21:51 EST
Article-I.D.: tekred.197
Posted: Fri Jan 18 16:21:51 1985
Date-Received: Mon, 21-Jan-85 02:21:30 EST
Organization: Tektronix, Redmond OR
Lines: 72


     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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Toxic Waste Dump help wanted
Next Topic: Model 200 !
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Mar 28 08:40:46 EDT 2024

Total time taken to generate the page: 0.03819 seconds