Lines Matching refs:termcap
15 * Uses termcap to be as terminal-independent as possible.
74 #include <ncursesw/termcap.h>
77 #include <ncurses/termcap.h>
80 #include <termcap.h>
271 * and needed by, the termcap library.
724 * Some glue to prevent calling termcap functions if tgetent() failed.
1154 * Get terminal capabilities via termcap.
1225 * Some termcap libraries assume termbuf is static
1233 * Make sure the termcap database is available.
1238 char *termcap;
1239 if ((sp = homefile("termcap.dat")) != NULL)
1241 termcap = (char *) ecalloc(strlen(sp)+9, sizeof(char));
1242 sprintf(termcap, "TERMCAP=%s", sp);
1244 putenv(termcap);
1274 * Assumes termcap variable "sg" is the printing width of:
1326 * This loses for terminals with termcap entries with ti/te strings
1467 * Return the cost of displaying a termcap string.
1490 * Return the "best" of the two given termcap strings.