[comp.sys.cbm] Kermit 2.1 TERMCAP

emjay@dasys1.UUCP (Michael J. Lavery) (09/28/88)

 As one who is new to UNIX, I have a few questions about the
 installation of a TERMCAP on the system that I am using.  This
 system, a Public Access system, is one which seems to have few, if
 any, Commodore users.  I have asked the following questions locally,
 but have not received sufficient information.
 
 I am using KERMIT V2.1.  Though this terminal emulates a VT-100 ( and
 seems to do a quite good job at it), the KERMIT documentation in an
 Appendix contains a customized TERMCAP for this version of KERMIT and
 its VT emulation.  My problem is how to install the customized
 TERMCAP on the system that I am using so that I may take advantage of
 all the features that the terminal can offer.
 
 This is the information on the TERMCAP:
      
      Appendix D: UNIX Termcap Settings
       
      Kermit emulates a DEC VT-100 terminal with a complete VT-52
      mode, graphics character set, and extra VT-102 editing
      features.  On UNIX, you can use most of Kermit's features by
      setting your terminal type to VT-100.  However, to use the
      extra features such as the VT-102 editing sequences, a
      visual bell, and a sysline (25th line used for system status
      programs), you will need to use the following as your
      termcap instead:
       
      Kc|vt100|Commodore 64/128 Kermit in VT-100 mode:\
          :ae=\E(1:AL=\E[%dL:al=\E[L:as=\E(0:bc=:\
          :bl=:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
          :cm=\E[%i%d;%dH:co#80:cr=:\
          :cs=\E[%i%d;%dr:DC=\E[%dP:dc=\E[P:\
          :DL=\E[%dM:dl=\E[M:DO=\E[%dB:do=:\
          :ds=\E7\E[25H\E[2K\E8:ei=\E[4l:es:fs=\E8:\
          :ho=\E[H:hs:im=\E[4h:is=\E<\E7\E[1;24r\E[25H\
          \E[2K\E8\E(1\E[m\E[4l\E[20l\E[?1;5;6l\E[?7;8h\E>:\
          :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:\
          :kd=\E[B:ke=\E>:kl=\E[D:kn=4:kr=\E[C:\
          :ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:\
          :l4=PF4:LE=\E[%dD:le=:li#24:ll=\E[24H:\
          :mb=\E[5m:md=\E[1m:me=\E[m:mi:mr=\E[7m:\
          :ms:nd=\E[C:pt:rc=\E8:RI=\E[%dC:sc=\E7:\
          :se=\E[m:so=\E[7m:sr=\EM:ta=:te=\E[?7h:\
          :ti=\E[?7l:ts=\E7\E[%i25;%dH\E[m\E[1K:\
          :ue=\E[m:UP=\E[%dA:up=\E[A:us=\E[4m:\
          :vb=\E[?5h\200\200\200\200\200\200\200\200\E[?5l:\
          :vt#3:xo
       
      This custom termcap also fixes several minor bugs and omis-
      sions in the standard VT-100 termcap entry found in Berkeley
      4.3BSD UNIX.
       
 I need to know, with the realization that I am grossly ignorant of
 much of UNIX, answers to the following questions:
 
 (1)  Does this TERMCAP need to be compiled in order to use it?
 (2)  Is this the correct procedure for installation of the above?:
      a. Upload the above TERMCAP to my home directory, renaming it
         "myterm".
      b. Reset Environment Variable "TERMCAP=$HOME/myterm".
      c. Include in .profile
                               TERM=myterm
                               export TERM TERMCAP
 (3)  This installation will not work with rn and vi unless compiled
      with tic?
 (4)  To compile using tic, I must establish a directory in my home
      directory named TERMINFO, with "myterm" as a file in that
      directory.  Only then can it be compiled?
 
 As you can see, I am somewhat lost.  Any help, as detailed, as
 possible would be of great help not only for the specific purpose but
 also to increase my understanding of UNIX.
 
 If it is of importance, my system is running a version of UNIX
 called, I believe, UniStride UNIX.  The shell appears to be a
 Berkeley shell, though a C shell (of which I have little knowledge)
 is available.



-- 
Michael J. Lavery
Big Electric Cat Public UNIX
..!cmcl2!phri!dasys1!emjay