home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / ref / termcap.100 < prev    next >
Text File  |  2006-10-19  |  19KB  |  419 lines

  1. This file is a thread for discussions from several members of Club 100.
  2.  
  3. 10-15-96 22:16:26
  4. From: M100@DILLERNET.COM
  5.   To: RICHARD HANSON (Rcvd)
  6. Subj: M100 TERMCAPS
  7.  
  8. Here is the "official" M100 termcap, plus a termcap for the M100 or 200 with a DVI attached (and some extra comments added by me): 
  9.  
  10. # termcap for the radio shack model 100 computer running its
  11. # built-in terminal emulator.  The termcap entry was prepared at Microsoft
  12. # as was the model 100's standard software.
  13. # escape A cursor up
  14. # escape B cursor down
  15. # escape C cursor right
  16. # escape D cursor left
  17. # escape E clear screen and home cursor
  18. # e         H home cursor
  19. # e         J erase to end of screen
  20. # e         K erase to end of line
  21. # e         L insert line
  22. # e         M delete line
  23. # e         P turn off cursor
  24. # e         Q turn on cursor
  25. # e         T set system line?
  26. # e         U reset system line?
  27. # e         V turn off LCD ?
  28. # e         W turn on LCD ?
  29. # e         Y row/col cursor motion
  30. # e         j clear screen don't move cursor
  31. # e         l erase line   don't move cursor
  32. # e         p begin rev video
  33. # e         q end rev video
  34. # e         del change char under cursor to space
  35. MZ|m100|trs100|TRS100|radio shack model 100:\
  36.         :am:bs:le=^H:li#8:co#40:\
  37.         :ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:nd=\EC:ho=\EH:ce=\EK:\
  38.         :cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
  39.         :so=\Ep:se=\Eq:al=\EL:dl=\EM:
  40. MZ|m100v|radio shack model 100 with video:\
  41.         :co#80:do=^_:is=\ED:le=^]:li#24:nd:^\:sr=\EI:up=^^:tc=m100:
  42.  
  43. -- 
  44. Leonard Erickson (aka Shadow)
  45.  shadow@krypton.rain.com        <--preferred
  46. leonard@qiclab.scn.rain.com     <--last resort
  47.  
  48. Msg#:46369 *INTERNET*
  49. 02-17-97 21:31:32
  50. From: HODGES@WEIRDNESS.COM
  51.   To: RICHARD HANSON (Rcvd)
  52. Subj: RE: EMAIL
  53.  
  54. On Sat, 25 Jan 1997, Brent Knowles wrote:
  55.  
  56. > Correct me if I'm wrong. The only way to connect to the Internet, through dial-up access, using the M100 is to use an external modem, right?  The 300 baud internal modem is simply too slow.  I'm assuming this, because I haven't had any success with my M100 connecting to my internet server.  I get to the name and password screen and after that there is just a load of junk. 
  57.  
  58. Actually, my huess is that your ISP is automatically sending you into vt100.  Again, hopefully the trs100 termcap is supported.  In that case, it should be simple enough to log on through vt100 and change your .profile to set the terminal to trs100 instead of vt100.  I access my ISP from both vt100 and trs100.  I have the following lines in my .profile: 
  59.  
  60. # Put your default terminal on the line below:
  61. TERM=vt100
  62. /bin/echo "Press RETURN to accept the default terminal type or enter an
  63. alternat
  64. e"
  65. /bin/echo -n "TERM=($TERM) "
  66. while :
  67.     do
  68.         read term
  69.         if [ -z "$term" ]
  70.             then
  71.                 term=$TERM
  72.                 break
  73.         elif grep -q "${term}[:|]" /etc/termcap
  74.             then
  75.                 break
  76.         else
  77.                 echo "Sorry, ${term} is not supported" 1>&2
  78.                 echo "Common terminal types include but are not limited
  79. to: " 1>&2
  80.                 echo " vt100 at386 ibm3101 tvi925"  1>&2
  81.                 /bin/echo -n "TERM=($TERM) "
  82.         fi
  83. done
  84. TERM=$term
  85. echo TERM=$TERM
  86.  
  87. Personally, I wrote an auto login sequence which logs me on and types trs100 automatically at the Terminal type: prompt.  You don't have to do that, just type in trs100 whenever you go online manually.  If this is going over your head, just show a copy of this message to your system administarator and he will know what to do.  If he needs a copy of the trs100 termcap entry, I can get it for him. -Tom Hodges
  88.  
  89. Msg#:48328 *INTERNET*
  90. 10-15-96 22:16:34
  91. From: M100@DILLERNET.COM
  92.   To: RICHARD HANSON (Rcvd)
  93. Subj: CTRL CHARS AND ESCAPE SEQ
  94.  
  95. "Printable" Ctrl Chars
  96. ----------------------
  97. ^G        bel       bell
  98. ^H        bs        backspace (w/o erasing)
  99. ^I        tab       tab
  100. ^J        lf        linefeed (w/o carriage return)
  101. ^K        vt        home cursor (does not clear screen)
  102. ^L        ff        clear screen & home cursor
  103. ^M        cr        carriage return (w/o linefeed)
  104. ^[        esc       escape (see escape sequence list below)
  105. ^\        fs        cursor right (CRT only) (right-arrow key)
  106. ^]        gs        cursor left  (CRT only) (left-arrow key)
  107. ^^        rs        cursor up    (CRT only) (up-arrow key)
  108. ^_        us        cursor down  (CRT only) (down-arrow key)
  109. DEL       del       basckspace & erase
  110.  
  111. Escape Sequences ($=esc)
  112. ----------------
  113. $A        cursor up (stops at edge of screen)
  114. $B        cursor down (stops at edge of screen)
  115. $C        cursor right (stops at edge of screen)
  116. $D        cursor left (stops at edge of screen)
  117. $E        clear screen/home cursor
  118. $H        home cursor (does not clear screen)
  119. $J        erase from cursor to end of screen
  120. $K        erase from cursor to end of line
  121. $L        inserts blank line at cursor (text scrolls down)
  122. $M        deletes line at cursor (text scrolls up to fill)
  123. $N        bs & erase (will wrap around at start of line)(CRT only)
  124. $P        cursor on
  125. $Q        cursor off
  126. $R        changes cursor from block to underline (CRT only)
  127. $T        protects bottom line of screen
  128. $U        unprotects bottom line of screen
  129. $V        lock mode (screen will not scroll)
  130. $W        unlock (screen will scroll normally)
  131. $X        clear keyboard buffer?
  132. $Ylc      positions cursor to line ASC(l)-32, column ASC(c)-32. If line or col greater than screen limits then uses maximum possible value.
  133. $b        clear from cursor to beginning of screen (CRT only)
  134. $c        executes WIDTH 40 (clears screen)(CRT only)
  135. $d        executes WIDTH 80 (clears screen)(CRT only)
  136. $e        starts flash mode (CRT only)
  137. $f        ends flash mode (CRT only)
  138. $i        stores current cursor position (CRT only)
  139. $j        same as $E
  140. $k        moves cursor to stored position (0,0 default) (CRT only)
  141. $l        clears line at cursor position
  142. $n        prints "ESCY" & lc code for current cursor position (CRT only)
  143. $p        start reverse mode
  144. $q        end reverse mode
  145. $z        DO NOT USE! Most of the time it does WIDTH 40 & clears the stored cursor position. However sometimes it can cause a two-character delay between when a character is sent to the screen & when it is actually displayed. (ie type 123 & the 1 will show up as you type 3...) (CRT only) 
  146.  
  147. -- 
  148. Leonard Erickson (aka Shadow)
  149.  shadow@krypton.rain.com        <--preferred
  150. leonard@qiclab.scn.rain.com     <--last resort
  151.  
  152. Msg#:44103 *INTERNET*
  153. 12-26-96 09:45:01
  154. From: HODGES@WWA.COM
  155.   To: RICHARD HANSON (Rcvd)
  156. Subj: RE: QUESTION:
  157.  
  158. In mail you write:
  159.  
  160. > First, keep in mind that this is a temporary setup.  There is no way I would use this as a regular thing.  But when I lie, I tell the Tunix shell that I have tvi925.  This is the only thing I can access pine with right now and not get to many bad charachters.  Before, I told it that I have ASCII which works perfectly, however, nothing on my IISP accepts pine except Telnet.  I belive IBM310 works, however, all this provider accepts is ibm3101 which doesn't work well at all.  As I type this into my m100, all I see on the screen are garbled charachters so I am not really sure what I have typed yet.  ANyway, when the terminal preferance question shows up, I type in tvi925  I am almost running blind. I can read messages, but I can't read anything I am typing out to you now, I am basically tyuping blind, al I see are garbled charachters.  I can't WAIT to order the vt100 emulator from club 100 club 100.  Bye! -Tom Hodges 
  161.  
  162. Have you tried entering "m100" as the terminal type? Believe it or not, this *is* a widely supported type! Also, if your provider will allow adding types, you can add a M100 termcap. 
  163.  
  164. # termcap for the radio shack model 100 computer running its
  165. # built-in terminal emulator.  The termcap entry was prepared at Microsoft
  166. # as was the model 100's standard software.
  167. # escape A cursor up
  168. # escape B cursor down
  169. # escape C cursor right
  170. # escape D cursor left
  171. # escape E clear screen and home cursor
  172. # e         H home cursor
  173. # e         J erase to end of screen
  174. # e         K erase to end of line
  175. # e         L insert line
  176. # e         M delete line
  177. # e         P turn off cursor
  178. # e         Q turn on cursor
  179. # e         T set system line?
  180. # e         U reset system line?
  181. # e         V turn off LCD ?
  182. # e         W turn on LCD ?
  183. # e         Y row/col cursor motion
  184. # e         j clear screen don't move cursor
  185. # e         l erase line   don't move cursor
  186. # e         p begin rev video
  187. # e         q end rev video
  188. # e         del change char under cursor to space
  189. MZ|m100|trs100|TRS100|radio shack model 100:\
  190.         :am:bs:le=^H:li#8:co#40:\
  191.         :ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:nd=\EC:ho=\EH:ce=\EK:\
  192.         :cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
  193.         :so=\Ep:se=\Eq:al=\EL:dl=\EM:
  194. MZ|m100v|radio shack model 100 with video:\
  195.         :co#80:do=^_:is=\ED:le=^]:li#24:nd:^\:sr=\EI:up=^^:tc=m100:
  196.  
  197. -- 
  198. Leonard Erickson (aka Shadow)
  199.  shadow@krypton.rain.com        <--preferred
  200. leonard@qiclab.scn.rain.com     <--last resort
  201.  
  202. Msg#:44108 *INTERNET*
  203. 12-26-96 09:45:09
  204. From: AFN@WEEVIL.MILLBURN.ORG
  205.   To: RICHARD HANSON (Rcvd)
  206. Subj: RE: QUESTION:
  207.  
  208. I am not sure if the Model 100/102 has it in the manual, but the model 200 has a full termcap entry in the Telcom section, under something like "How to connect to a Zenix system"... it works fine with Linux too, and I think I've tried it with Solaris.... 
  209.  
  210. The easiest thing to do instead of actually adding a termcap entry would be to set your terminal as vt52 if the shell server has an entry for it in the termcap... Model 200 (and probably the 100/102 as well...) uses vt52 terminal codes; then you'd just set your rows and columns to the appropriate number (stty rows 8 cols 40). 
  211.  
  212. > # termcap for the radio shack model 100 computer running its
  213. > # built-in terminal emulator.  The termcap entry was prepared at Microsoft
  214. > # as was the model 100's standard software.
  215. > # escape A cursor up
  216. > # escape B cursor down
  217. > # escape C cursor right
  218. > # escape D cursor left
  219. > # escape E clear screen and home cursor
  220. > # e         H home cursor
  221. > # e         J erase to end of screen
  222. > # e         K erase to end of line
  223. > # e         L insert line
  224. > # e         M delete line
  225. > # e         P turn off cursor
  226. > # e         Q turn on cursor
  227. > # e         T set system line?
  228. > # e         U reset system line?
  229. > # e         V turn off LCD ?
  230. > # e         W turn on LCD ?
  231. > # e         Y row/col cursor motion
  232. > # e         j clear screen don't move cursor
  233. > # e         l erase line   don't move cursor
  234. > # e         p begin rev video
  235. > # e         q end rev video
  236. > # e         del change char under cursor to space
  237. > MZ|m100|trs100|TRS100|radio shack model 100:\
  238. >         :am:bs:le=^H:li#8:co#40:\
  239. >         :ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:nd=\EC:ho=\EH:ce=\EK:\
  240. >         :cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\
  241. >         :so=\Ep:se=\Eq:al=\EL:dl=\EM:
  242. > MZ|m100v|radio shack model 100 with video:\
  243. >         :co#80:do=^_:is=\ED:le=^]:li#24:nd:^\:sr=\EI:up=^^:tc=m100:
  244. > -- 
  245. > Leonard Erickson (aka Shadow)
  246. >  shadow@krypton.rain.com        <--preferred
  247. > leonard@qiclab.scn.rain.com     <--last resort
  248.  
  249. Msg#:43994 *INTERNET*
  250. 03-12-97 00:38:54
  251. From: M100@ETHICS.DILLERNET.COM
  252.   To: RICHARD HANSON (Rcvd)
  253. Subj: MODEL 100 TERMCAP/
  254.  
  255. I left out "dn=^\:nw=^J:ri=\EC:xo" since it wasn't in my man pages. 
  256.  
  257. TERMCAP 
  258. M1|m100|PC-8201A|TRS-80 Model 100:\ 
  259.         :al=1*\EL:am:bl=^G:bs:bw:\ 
  260.         :cd=\EJ:ce=\EK:cl=\Ej:cm=\EY%+ %+ :co#40:cr=^M:\ 
  261.         :dl=1*\EM:do=\EB:ho=\EH:is=\EU\EW\Eq:\ 
  262.         :kb=^H:kd=^_:kl=^]:kr=^\:ku=^^:le=\ED:li#8:\ 
  263.         :mi:ms:nd=\EC:nl=^J:pt:se=\Eq:so=\Ep:sr=\EI:\ 
  264.         :ta=^I:up=\EA:vs=\EU:xt: 
  265.  
  266. TERMINFO 
  267. m100|PC-8201A|Radio Shack Model 100, 
  268.         am,bel=^G,civis=\EQ,clear=\EE,cnorm=\EP,cols#40,cr=^M, 
  269.         cub1=\ED,cud1=\EB,cuf1=\EC,cup=\EY%p1%' '%+%c%p2%' '%+%c,cuu1=\EA, 
  270.         dl1=\EM,ed=\EJ,el=\EK,home=\EH,il1=\EL,ind=^J,kbs=^H, 
  271.         kcub1=^],kcud1=^_,kcuf1=^\,kcuu1=^^, 
  272.         lines#8,msgr,nel=^J,ri=\EI,rmso=\Eq,smso=\Ep,xon,xt, 
  273.  
  274. ---- Included Messages ---- 
  275.  
  276. # termcap for the radio shack model 100 computer running its 
  277. # built-in terminal emulator.  The termcap entry was prepared at Microsoft 
  278. # as was the model 100's standard software. 
  279. # escape A cursor up 
  280. # escape B cursor down 
  281. # escape C cursor right 
  282. # escape D cursor left 
  283. # escape E clear screen and home cursor 
  284. # e      H home cursor 
  285. # e      J erase to end of screen 
  286. # e      K erase to end of line 
  287. # e      L insert line 
  288. # e      M delete line 
  289. # e      P turn off cursor 
  290. # e      Q turn on cursor 
  291. # e      T set system line? 
  292. # e      U reset system line? 
  293. # e      V turn off LCD ? 
  294. # e      W turn on LCD ? 
  295. # e      Y row/col cursor motion 
  296. # e      j clear screen don't move cursor 
  297. # e      l erase line   don't move cursor 
  298. # e      p begin rev video 
  299. # e      q end rev video 
  300. # e      del change char under cursor to space 
  301. MZ|m100|trs100|TRS100|radio shack model 100:\ 
  302.         :am:bs:le=^H:li#8:co#40:\ 
  303.   :ku=^^:kd=^_:kl=^]:kr=^\:up=\EA:nd=\EC:ho=\EH:ce=\EK:\ 
  304.         :cd=\EJ:cl=\EE:xt:cm=\EY%+ %+ :\ 
  305.         :so=\Ep:se=\Eq:al=\EL:dl=\EM: 
  306. MZ|m100v|radio shack model 100 with video:\ 
  307.         :co#80:do=^_:is=\ED:le=^]:li#24:nd:^\:sr=\EI:up=^^:tc=m100: 
  308.  
  309. m100|trs 80 model 100, 
  310.         am, xon, msgr, xt, 
  311.         cols#40, lines#8, 
  312.         bel=^G, cr=^M, nel=^J, 
  313.         ind=^J, ri=\EI, 
  314.         cuu1=\EA, cud1=\EB, cuf1=\EC, cub1=\ED, 
  315.         kcuu1=^^, kcud1=^_, kcuf1=^\, kcub1=^], kbs=^H, 
  316.         smso=\Ep, rmso=\Eq, 
  317.         civis=\EQ, cnorm=\EP, 
  318.         ed=\EJ, el=\EK, 
  319.         il1=\EL, dl1=\EM, 
  320.         home=\EH, clear=\EE, cup=\EY%p1%' '%+%c%p2%' '%+%c, 
  321.         kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, 
  322.    kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
  323.  
  324. EF|m100|trs80-100|Radio Shack TRS-80 Model 100:al=\EL:\ 
  325.         :am:bl=^G:bs:bw:cd=\EJ:ce=\EK:\ 
  326.         :cl=\Ej:cm=\EY%+ %+ ::co#40:\ 
  327.         :dl=\EM:do=\EB:ho=\EH:\ 
  328.         :kd=^_:kl=^]:kr=^\:ku=^^:\ 
  329.         :le=\ED:li#8:ms:mi:nd=\EC\ 
  330.         :nw=^J:pt:sr=\EI::so=\Ep:\ 
  331.         :se=\Eq::up=\EA:vs=\EU:xt:xo:\ 
  332.         :k1=\Ef1:k2=\Ef2:k3=\Ef3:\ 
  333.         :k4=\Ef4:k5=\Ef5:k6=\Ef6:\ 
  334.         :k7=\Ef7:k8=\Ef8:\ 
  335.  
  336. m1|mod100|TRS Model 100 
  337. :co#40:li#8:bs:bw:am:cm=\EY%.%..:al=\EL: 
  338. cd=\EJ:ce=\EK:cl=\EE:dl=\EM:do=\EB:ho=\EH: 
  339. nd=\EC:se=\Eq:so=\Ep:up=\EA: 
  340.  
  341. From: Hansruedi<heeb@pizol.watson.ibm.com> 
  342.  
  343. The model 100 is the same as the PC8201 from NEC. 
  344. # The NEC PC-8201A laptop (by H. Heeb, heeb@iis.ethz.ch) similar to 'h19' 
  345. # Switch the function key display off (gain a line). 
  346. p8|8201|PC-8201A|NEC PC-8201A laptop:\ 
  347.         :cr=^M:nl=^J:bl=^G:is=\EU\EW\Eq:\ 
  348.         :al=1*\EL:am:bs:le=^H:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\ 
  349.         :dl=1*\EM:do=\EB:li#8:co#40:nd=\EC:ho=\EH:\ 
  350.         :ms:ta=^I:se=\Eq:so=\Ep:up=\EA:\ 
  351.          kb=^h:ku=\036:kd=\037:kl=\35:kr=\34:kn#4:\ 
  352.         :l1=F6:l2=F7:l3=F8:l4=F9: 
  353.  
  354. From: jsr@dexter.mi.org (Jay S. Rouman) 
  355. r1|trs100|TRS-80 Model 100:\ 
  356.         :am:bs:xt:co#40:li#8:al=\EL:dl=\EM:cd=\EJ:ce=\EK:cl=\EE:cm=\EY%+ %+ :\ 
  357.         :nd=^\:dn=^_:up=\EA:se=\Eq:so=\Ep:kl=^]:kr=^\:ku=^^:kd=^_: 
  358.  
  359. From: zakarian@cs.wisc.edu (Armand Zakarian) 
  360.  
  361. There is ananonymous ftp archive on ux1.cso.uiuc.edu in  the directory ../tandy.  There is a list of the ESC sequences in the ../tandy/tech directory. 
  362.  
  363. From: rph@sq.com (Pontus Hedman) 
  364. trs100:\ 
  365.         :am:bs:so=\Ep:se=\Eq:\ 
  366.         :li#8:co#40:up=\EA:nd=\EB:\ 
  367.         :ri=\EC:ho=^K:cl=^L:\ 
  368.         :cr=^M:do=^J:nl=^J:bl=^G:\ 
  369.         :le=^H:cm=\EY%+ %+ :\ 
  370.         :ce=\EK:kb=^H:al=\EL:dl=\EM\ 
  371.         :ku=^^:kd=^_:kr=^\:kl=^]: 
  372.  
  373. Be sure to "stty -tabs" as well. 
  374.  
  375. To: comet 
  376. Subject: Model 100 LCD functions and escape codes 
  377. From: max (Max Pandaemonium) 
  378. Comments: HELP FIGHT CONTINENTAL DRIFT 
  379. Date: Tue, 19 Nov 91 13:51:42 PST 
  380.  
  381. Recently I've been fooling around with my Model 100 (just pulled it off  the shelf and started playing with it . . . forgot how much fun it is).   Calling Dark Side from it is somewhat of a pain, what with the spacebar  only half-functional and all. 
  382.  
  383. Like I said in a previous message, I have lots of programs for it, but  basic and machine-language.  I'd be glad to trade with you if you like.   I have the Booster Pak (an enormously useful tool, I might say -- allows  you to store much more data), and I think I'll get a whole bunch more 32K  
  384.  
  385. RAM chips for it, since they're only a few bucks each.  (I can add up to  10 more, for a total on the order of around 350-400K.) 
  386.  
  387. I have a Portable Disk Drive 2, so I can store things to disk as well Booster Pak, incidentally makes this rather easy. 
  388.  
  389. But like I said, I'd be willing to trade with you if you like. 
  390.  
  391. But on to the main point of this message . . . a _long_ time ago, you  asked me for a list of Model 100 escape codes.For some unknown reason,  I couldn't find them, even though they're right here in my  assembler/debugger manual (I have one, incidentally).  So, here they are.  
  392.  
  393. First, what each term means.  The ROUTINE name is just an alphanumeri code to help you keep straight which routine it is; it's useful for  labelling if you're using an assembler/debugger.  The function is what it  does, the entry address is where it's located in memory (you can get it  with CALL from BASIC), and the equivalent ESC code is what you'd hit  after the ESC key. 
  394.  
  395. ROUTINE FUNCTION                                            ENTRY ESC 
  396. CRLF    Generates a carriage return and line feed           4222  -- 
  397. HOME    Moves cursor to home position                       422D  -- 
  398. CLS     Clears display                                      4231  -- 
  399. SETSYS  Set system line (lock line 8)                       4235  T 
  400. RSTSYS  Reset system line (unlock line 8)                   423A  U 
  401. LOCK    Locks display (no scrolling)                        423F  V 
  402. UNLOCK  Unlocks display (scrolling)                         4244  W 
  403. CURSON  Turns on cursor                                     4249  P 
  404. CUROFF  Turns offcursor                                     424E  Q 
  405. DELLIN  Deletes line at current cursor position             4253  M 
  406. INSLIN  Inserts a blank line at cursor position             4258  L 
  407. ERAEOL  Erases from cursor to end of line                   425D  K 
  408. ENTREV  Sets reverse character mode                         4269  p 
  409. EXTREV  Turns off reverse character mode                    426E  q 
  410.  
  411. I believe the last two functions were the only two you knew about, if I  recall correctly. 
  412.  
  413. There are a multitude of other functions of all kinds in the reference  manual, each requiring inputs from the accumulator and the high-low  register-pair (A and H-L).  Since these are the only two inputs (even  though there are a number of other registers), you can make all the calls  
  414.  
  415. from BASIC using CALL.
  416.  
  417.  
  418.