[comp.unix.questions] vt200-w termcap entry problem

gumkowsk@nadc.arpa (D. Gumkowski) (04/07/89)

A (hopefully) quick question about the "vt200-w" termcap entry.  When users
try:           set term=vt200-w
               tset
the users get "Termcap entry too long" and then a segmentation fault.  We
run a pretty vanilla Berkeley UNIX 4.3.  Our termcap.c (Berkeley version
5.1 06/05/85) shows a buffer limit of 1024 so I am assuming the "vt200-w"
(vt200 works by the way) has passed the limit.  Our termcap.src (Berkeley
version 5.28 06/07/86) shows the vt200-? stuff was "From: Bracy H. Elton
<elton@lll-crg>".

Questions:  1)Do we have the most recent version of the termcap stuff?
            2)Should I remove capability from the "vt200-w" to make it
               fit into 1024 limit?
            3)Should I increase the buffer limit or is that too superficial
               a change?

Thank-you for any help.
   Dave Gumkowski <gumkowsk@nadc.arpa>

gwyn@smoke.BRL.MIL (Doug Gwyn ) (04/08/89)

In article <19028@adm.BRL.MIL> gumkowsk@nadc.arpa (D. Gumkowski) writes:
>Questions:  1)Do we have the most recent version of the termcap stuff?

The 4.3BSD libtermlib is about par for this issue.
It really doesn't do a lot..

>            2)Should I remove capability from the "vt200-w" to make it
>               fit into 1024 limit?

Yes.  Note that the 1024-character limit includes all the entries
reference via "tc=", and if you manually consolidate the references
into a separate "vt200-w" entry it might be under 1024 characters.

>            3)Should I increase the buffer limit or is that too superficial
>               a change?

I'm afraid the 1024-character limit is wired into too many applications.
This should be considered a "hard limit" on termcap.