Re: More on terminfo/vim/infocmp problem with vt100 on sgi
- Charles Campbell wrote:
> In <term.c>'s tgetent_error() function, the TGETENT() returnsFrom my tgetent() manpage:
> a -1, not a 0, on error (at least on my SGI Irix 5.3).
The tgetent() function returns -1 if none of the termcap data base
files could be opened, 0 if the terminal name given does not have an
entry, and 1 if all goes well.
What does your manpage say?
> Consequently the error message was wrong. I fixed that with the patch belowThis patch can't be right, "i == -1" is checked twice.
> and now I get a message about terminal capability cm required
Is zero returned in your situation?
> Here's my vt100 entry from infocmp. Note that the cup=...Something strange is happening. Why can't the right entry be found?
> capability *is* present...
One hint: Check TBUFSZ in vim.h, it must be 2048 for AIX, but perhaps _AIX
hundred-and-one symptoms of being an internet addict:
34. You laugh at people with 14400 baud modems.
/-/-- Bram Moolenaar --- Bram@... --- http://www.moolenaar.net --\-\
\ \ Vim: http://www.vim.org ICCF Holland: http://www.vim.org/iccf / /