Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Help with libcurses and lynx under NetBSD-9 and -current?
On 01/02/2021 09:53, Brett Lymn wrote:
The TERMCAP variable has some severe liitations, the worst being it can
only be 256bytes in size which was more than adequate for a vt100
definition but a modern colour xterm definition simply won't fit in that
space, terminfo does not have these limitations.
Are you sure about that?
I don't think libterminfo imposes any length on $TERMCAP other than those
translating to terminfo.
Not ruling out any errors with the conversion though.
You can verify $TERMCAP using infocmp.
$ echo $TERMCAP
dw|vt52|DEC vt52: :cr=^M:do=^J:nl=^J:bl=^G: :le=^H:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:
:cm=\EY%+ %+ :co#80:li#24: :nd=\EC:ta=^I:pt:sr=\EI:up=\EA:
:ku=\EA:kd=\EB:kr=\EC:kl=\ED:kb=^H:
$ infocmp dw
# Reconstructed from $TERMCAP
dw|vt52|DEC vt52,
cols#80, lines#24,
bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC,
cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, el=\EK, ht=^I,
ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, nel=^M^J,
ri=\EI,
$
Why don't you post your $TERMCAP and infocmp output here?
Roy
Home |
Main Index |
Thread Index |
Old Index