Lines Matching refs:terminfo
49 #define _ULIBTI "/usr/share/lib/terminfo"
51 #define _ULIBTI "/usr/lib/terminfo"
141 char tail[4]; /* Used for terminfo pathname suffix */
142 char *terminfo; /* The value of $TERMINFO */
148 terminfo = getenv("TERMINFO");
161 * If we have it - use it, otherwise use /usr/share/lib/terminfo
164 if (terminfo != NULL)
165 (void) sprintf(buffer, "%s%s%s", terminfo, tail, term);
174 * Open failed. If we were looking in /usr/share/lib/terminfo
179 * We are done. Not in /usr/share/lib/terminfo,
186 * Check /usr/share/lib/terminfo last. If this fails,