Technical article 104897

"Termcap entry too long" displayed when logging in from some terminals.

OpenServer 5.0.0

Written · Last revised

Problem

When logging in using particular types of terminals, this error message is displayed:

Termcap too long

Some applications will display the message and refuse to run or dump core.

Cause

There is an error in the termcap(F) descriptions for certain
TeleVideo terminals that causes the termcap(F) search routines
to fail.  The failure is caused by the continuation marks '\' on
the last line of the terminal descriptions.  The continuation
marks cause the set of terminal descriptions to appear as one
very long line, which overflows a buffer in the routines used
by applications to use terminfo(F) data (see curses(S)).

Solution

To resolve this problem, remove the continuation marks at the end
of each description.  A list of the applicable termcap(F) entries
and the lines to change is given below:
v5|tvi9065|9065|televideo 9065:\
      From:      :PN=\E`:PS=\Ea:hs:ts=\Eg\Ef:fs=^M:\
      To  :      :PN=\E`:PS=\Ea:hs:ts=\Eg\Ef:fs=^M:
va|tvi9065-ap|tvi 9065 w/alt pages:\
      From:      :ix=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi9065:\
      To  :      :ix=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi9065:
vf|tvi9065-4p|tvi 9065 w/4pages:\
      From:      :ti=\E\\1:te\E\\3:tc=tvi9065:\
      To  :      :ti=\E\\1:te\E\\3:tc=tvi9065:
vl|tvi9065b|bare tvi9065 no is:\
      From:      :is@:ks=\El:ke=\Ek:tc=tvi9065:\
      To  :      :is@:ks=\El:ke=\Ek:tc=tvi9065:
vs|tvi9065ns|tvi9065 w/no standout:\
      From:      :so@:se@:us@:ue@:tc=tvi9065:\
      To  :      :so@:se@:us@:ue@:tc=tvi9065:
v5|tvi9065w|9065w|televideo 9065 132 cols with 24 lines:\
      From:      :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\Ed:xn:\
      To  :      :vb=\Eb\200\200\200\200\200\200\200\200\200\200\200\Ed:xn:
va|tvi9065-ap|tvi 9065 w/alt pages:\
      From:      :ix=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi9065:\
      To  :      :ix=\E\\1:ti=\E-06 :te=\E-16 :tc=tvi9065:
vf|tvi9065-4p|tvi 9065 w/4pages:\
      From:      :ti=\E\\1:te\E\\3:tc=tvi9065:\
      To  :      :ti=\E\\1:te\E\\3:tc=tvi9065:
vl|tvi9065b|bare tvi9065 no is:\
      From:      :is@:ks=\El:ke=\Ek:tc=tvi9065:\
      To  :      :is@:ks=\El:ke=\Ek:tc=tvi9065:
vs|tvi9065ns|tvi9065 w/no standout:\
      From:      :so@:se@:us@:ue@:tc=tvi9065:\
      To  :      :so@:se@:us@:ue@:tc=tvi9065:

From the Xinuos technical article database, record 104897. Reproduced with permission. The original is at www.sco.com/ta/104897, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.