Small buglet in tset/termcap

Matt Holgate <[email protected]>
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
Hi,

Gordon (and Tommy too for that matter!), found a small problem with
tset/termcap stuff which causes the user-setup stuff to whine when using
CDE's dtterm. (Gordon, I hope you don't mind me quoting your mail
below...)

Any ideas what the correct fix is? Should we modify the termcap, or
post-process tset's output to quote the TERM variable...

Any suggestions welcome..

Matt




Seems OK.. I had a bit of a problem with dtterm's because /etc/termcap
and/or the tset command have a bug. I now use xterm's again exclusively,
dtterms are not worth the hassle of incompatibilities across various
machines, so I don't care if its fixed or not, but others may see it also.

FYI, the symptoms were:

  gordon@sli4524 : tset -s -Q
  set noglob;
  setenv TERM CDE terminal emulator ;   <<<<<<<<<<<<<<<<<<<<<<<
  setenv TERMCAP   'dtterm:li#24:co#80:am:mi:ms:xn:xo:bs:pt:kn#2:AL=\E
  [%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:LE=\E[%dD:RI=\E[%dC:UP=
  \E[%dA:ae=^O:al=\E[L:as=^N:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%d
  H:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ei=\E[4  l:ho=\E[H:im=\E[4
  h:is=\E\040F\E>\E[?1l\E[?7h\E[?45l:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=
  \E[14~:k5=\E[15~:k6=\E[17~:k7=\E[  18~:k8=\E[19~:k9=\E[20~:kb=\b:kd=
  \E[B:kl=\E[D:kr=\E[C:ku=\E[A:nd=\E[C:rc=\E8:sc=\E7:se=\E[22;27m:so=\
  E[2;7m:sr=\EM:st=  \EH:ue=\E[24m:up=\E[A:us=\E[4m:vb=200\E[?5h\E[?5l
  :ve=\E[?25h:vi=\E[?25l:ko=nd\054up:';
  unset noglob;

  gordon@sli4524 : eval `tset -s -Q`
  setenv: Too many arguments.           <<<<<<<<<<<<<<<<<<<<<<<

  [because of the string 'CDE terminal emulator' from /etc/printcap
   being returned by tset -s as the TERM value]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.