2141smh@aluxe.UUCP (henning) (10/31/84)
The following is an orphaned response to: mhuxi!mhuxm!sftig!sftri!sfmag!eagle!ulysses!burl!clyde!bonnie!akgua!sdcsvax!sdcrdcf!trwrb!scgvaxd Termcap response #1: The COMM program on TRSDOS 6 (Model 4/4P) does not know any of the vidtex codes and the functions it has are the same as the os. But the following termcap seems to work: t4|model4|Tandy TRS-80 Model 4/4P:\ :am:co#80:li#24:\ :cr=^]:bc=^X:ho=^\^P^Q:nl=^Z:\ :cl=^\^_:cd=^_:ce=^^:\ :up=^[:do=^Z:nd=^Y:\ :so=^P:se=^Q:xt: This entry makes vi and the shell work pretty well. Model 4/4P os does not have a scroll down function so vi will redraw the screen when you go up. You may also notice all of the reverse video text jitters briefly when the cursor goes to home. This is because the os turns the reverse video character set off when it does a home and replaces it with the game character set. The home sequence above will home and then cause the os to turn the reverse set back on. At low baud rates or heavily loaded systems this may be a bit annoying, but its the only way if you want to use COMM. If you want the bell to work, you must have TRSDOS 6.2. Before entering COMM, type these commands: SET *XX CLICK (CHAR=7) FILTER *DO *XX This will cause the beeper to sound whenever a ASCII 7 is sent to the video. If you have an older version of TRSDOS 6, then you will have to write a filter to do this job. These commands can be put in a JCL file along with the setting of the baud rates and such. You may also notice that the "login:" message comes out two lines lower with this setup. This is because the Model 4 takes a CR to mean CR/LF and takes a LF to mean CR/LF, which produces double spacing. You can cure this by starting COMM with this command: COMM *CL (XLATER=X'0D1D') This translates a received CR into a code that just positions to column 0. (The contents of the line are not erased as the documentation implies.) The termcap has the same translation in it, so when it starts being used the XLATER is not needed. Frank Durda IV @ <trsvax|uhclem> ********************************************************* Response #2: In response to your request for a termcap for the 4(p), I offer the following two entries. The first is for use with the supplied 'comm' terminal program. The second is for use with the term software sold by Logical Systems (this package is about $200 and includes several term programs, host programs, as well as 'xmodem' for file transfer.) NOTE: 'comm' will be quite slow for some vi operations, as it does not support direct cursor positioning (cm). Have fun. Clay Schneider, aluxp!ces, AT&T Bell Laboratories, Allentown, PA R4|rs4n|trs804n|rs4n|native Model 4 for use with comm:\ :am:bw:bc=\030:cd=10\037:ce=10\036:cl=20\034\037:\ :co#80:do=\032:li#24:nd=\031:up=\033:\ :ho=10\034:nl=\032:cr=\035: R4L|rs4l|trs804l|use with LSI adds25 term program:\ :am:bs:cl=\E*:cm=15\EY%+ %+ :co#80:li#24:ho=6^K ^P :\ :nd=^F:bc=^U:do=^J:up=^Z:cd=\Ek:ce=\EK:\ :ku=\032:kr=^I:kl=^H:kd=^J:bt=\EI: By the bye, I forgot to mention -- it has been my experience that 'comm' has a tendency to blow up after 40K or so characters have been sent by the host. I have seen this happen on several different machines (both 4 and 4p). In the normal blow-up mode, the computer decides that it is tired of hearing all that stuff from the host, and sends it all back (all 40K it has received). Repeated calls to RS have not brought relief (nor did Trsdos 6.1.2). The LSI software does not seem to have this problem. I am waiting to see if 6.2 (when it comes out) is any better. ************************************************ **** **** From the keys of Steve Henning, AT&T Bell Labs, Reading, PA aluxe!2141smh The following is the termcap I am using on my Model4. I use the Lindberg terminal program Omniterm and have had no problems. I am especially excited about the printer spooler. It saves a lot of time since my printer is only about 900 baud on a 1200 baud line. trs4|model4|Tandy TRS-80 Model 4/4P:\ :am:co#80:li#24:\ :cr=^]:bc=^X:ho=^\^P^Q:nl=^Z:\ :cl=^\^_:cd=^_:ce=^^:\ :up=^[:do=^Z:nd=^Y:\ :so=^P:se=^Q:xt:\ :ku=^K:kd=^Z:kl=^H:kr=^I:kb=^H:kh=/163:nc: