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 Mon, 1 Feb 2021, Brett Lymn wrote:

That really is just a kludge, it would be much better to get to the
bottom of why the lynx/window combination is misbehaving.

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.


This, I didn't know. And it probably explains the weird behaviour
of lynx under window with its TERMCAP (~300 chars.) set. I noticed
that lynx behaves far better when that variable is unset and the
~/.term* files containing the same $TERMCAP contents are used instead.

In fact, the only issue both Brian Buhrow and I note now is that
the cursor always stays at the bottom of the screen when pop-up
items are selected.

As as aside: xterm under FreeBSD 12.2 sets a custom TERMCAP which
is ~800 chars long, and FreeBSD's curses, which is ncurses, does
fine with it being that long.

-RVP


Home | Main Index | Thread Index | Old Index