jbayer@ispi.UUCP (Jonathan Bayer) (04/14/89)
In article <38635@bbn.COM> jr@bbn.com (John Robinson) writes: [large amount of commentary deleted (including my own)] >Jonathan, could you post your termcap here? Along with easy >instructions on how to set up $TERMCAP... If it isn't "ansi", maybe >also a cookbook on how to modify it toward ansi-ness if you're able. Done. This is the termcap entry that I use. Put the following lines in your .profile (set up for the bourne shell) and your local TERMCAP will be set. This is the entry I copied from the standard termcap file. I simply took the last three lines as Dan Lawrence listed it in the file tcap.c and put them to the end of the standard system file. If you have a line in your .profile which looks like "eval `tset...." then you will want to remove that line since it sets the TERMCAP according to the files "/etc/ttytype" and "/etc/termcap". You can remove the backslashes and concatenate the lines if you wish. TERMCAP='li|ansi|Ansi standard crt:\ :al=\E[L:am:bs:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\ :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ei=:ho=\E[H:ic=\E[@:im=:li#25:\ :nd=\E[C:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\ :kb=^h:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:sf=\E[S:sr=\E[T:\ :mb=\E[5m:me=\E[m:\ :GS=\E[12m:GE=\E[10m:GV=\63:GH=D:\ :GC=E:GL=\64:GR=C:RT=^J:G1=?:G2=Z:G3=@:G4=Y:GU=A:GD=B:\ :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\ :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\ :HM=\E[H:EN=\E[F:PU=\E[I:PD=\E[G:\ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\ :k6=\E[R:k7=\E[S:k8=\E[T:k9=\E[U:k0=\E[V:\ :kh=\E[H:kH=\E[F:kA=\E[L:kN=\E[G:kP=\E[I:' TERM=ansi export TERMCAP; export TERM JB -- Jonathan Bayer Beware: The light at the end of the Intelligent Software Products, Inc. tunnel may be an oncoming dragon 19 Virginia Ave. ...uunet!ispi!jbayer Rockville Centre, NY 11570 (516) 766-2867 jbayer@ispi.UUCP