tgetent, tgetflag, tgetnum, tgetstr, tgoto, tputs - direct curses interface to the terminfo capability database. It returns 1 on success, 0 if there is no such entry, and -1 if the terminfo database could not be found. The variables PC, UP and BC are set by tgetent to the terminfo. #include int tgetent(char *bp, const char *name); int tgetflag(char id); int tgetnum(char id); char *tgetstr(char id, char **area); char *tgoto(char. I've been using that guy's PPA to keep Vim up-to-date on Ubuntu The latest version is which, I believe, works with.
The return value of tgetent is -1 if there is some difficulty accessing the data base of terminal types, 0 if the data base is accessible but the specified type is not. Thus, they can only be used to query the capabilities of entries for which a terminfo entry has been compiled. INITIALIZATION The tgetent routine loads the entry. int tgetent(const char *bp, char *name);. int tgetflag(const char *id);. int tgetnum( const char *id);. char *tgetstr(const char *id, char **area);. char *tgoto(const char.
curs_termcap, tgetent, tgetflag, tgetnum, tgetstr, tgoto - curses interfaces ( emulated) to the termcap library. With the tgetent() function, we stock in the first parameter (a buffer pointer), the capabilities of the second parameter (the environment variable. This is a regression in zesty: When starting gradle, I always get java: symbol lookup error: /usr/lib/jni/tpm-express.com: undefined. no terminal library found checking for tgetent() configure: error: NOT FOUND! You need to install a terminal library; for example ncurses.