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 Wed, 27 Jan 2021, Brian Buhrow wrote:

	hello.  Just to clarify.  Right now, the cursor is tracking properly when displaying
regular screens, but when select popup menus are in use, the cursor goes to the bottom of the
screen.  I think this is, again, probably due to a translation error between the termcap spec
for the terminal and the terminfo spec for the same terminal.  I'm working on checking  each
field between the termcap spec and the terminfo spec.  Hopefully, that will fix this remaining
issue.


No need to do this by hand. The ncurses library comes with a captoinfo
program (a symlink to tic(1)) which can be used instead:

$ window
$ echo "$TERMCAP" > $HOME/.termcap
$ /opt/ncurses/bin/captoinfo $HOME/.termcap > $HOME/.terminfo
$ /usr/bin/tic -x $HOME/.terminfo
$ ls -l $HOME/.term*
-rw-------  1 rvp  rvp  321 Jan 27 23:05 /home/rvp/.termcap
-rw-------  1 rvp  rvp  532 Jan 27 23:08 /home/rvp/.terminfo
-rw-rw-rw-  1 rvp  rvp  502 Jan 27 23:11 /home/rvp/.terminfo.cdb
$



-RVP


Home | Main Index | Thread Index | Old Index