simon@ms.uky.edu (Simon Gales) (02/23/89)
Commodore Kermit's vt100/102 emulator works well with *nix, I am using it now with vi. Here is a termcap entry for kermit which you can use to make your system understand your terminal. dy|cbmkerm|cbm102|Kermit vt100/102:\ :co#80:li#24:kb=\177:cl=\E[1;1H\E[2J:ho=5\E[1;1H:cm=5\E[%i%d;%dH:\ :le=\b:nd=\E[1C:up=\E[A:do=^J:\ :LE=2\E[%dD:RI=2\E[%dC:UP=2\E[%dA:DO=2\E[%dB:\ :ce=2\E[0K:cd=2\E[0J:is=\E[1;24r\E[24;1H:bs:pt:\ :so=\E[1m:se=\E[0m:us=\E[4m:ue=\E[0m:\ :md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[0m:\ :rs=\E[?4l\E[?5l\E[?7h\E[?8h:\ :ks=\E[?1h\E=:ke=\E[?1l:ps=\E[0i:po=\E[?5i:pf=\E[?4i:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :sr=2\EM:sf=2\ED:sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:\ :AL=2*\E[%dL:al=2\E[1L:DL=2*\E[%dM:dl=2\E[1M:\ :im=\E[4h:ei=\E[4l:dc=2\E[1P:DC=2\E[%dP:mi:\ :ct=2\E[3g:st=\EH:hs:es:ts=^S\E7\E[%i25;%dH\E[m\E[1K^Q:ws#80:\ :fs=\E8:bl=:cr=\015: Here is how I use it, I know this works on BSD, Dynix, and Ultrix systems, ask your local guru if it doesn't work... In your .login file, place the following line: setenv TERMCAP ~/mytermcap assuming you placed the above termcap entry in a file named mytermcap in your home directory. This tells the system where to find your termcap entries. After that, still in .login put these: set noglob eval `tset -s -Q -m '?cbmkerm'` unset noglob This actually prompt you for your terminal type, just press return if you are using commodore kermit. Of course the easiest way to do this is to give this to your local head-guru person and have it put in the main /etc/kermit file. If you use my method, you'll need to copy any other termcap entries for other terminals you use from /etc/termcap into your mytermcap file. If none of this works, just try using vt102 for a terminal type. -- /------------------------------------------------------------------------\ Simon Gales@University of Ky {rutgers, uunet}!ukma!simon - simon@ms.uky.edu - simon@UKMA.BITNET