Lines Matching refs:term
24 # include <term.h>
64 int tc_init (FILE *fp, const char *term)
76 if ( term == NULL || *term == '\0' ||
77 strcmp (term, "none") == 0 || strcmp (term, "dumb") == 0 )
80 if ( strcmp (term, "html") == 0 || strcmp (term, "HTML") == 0 )
103 switch ( tgetent (buf, term) )
107 case 0: fprintf (stderr, "unknown terminal %s\n", term);
173 int tc_init (FILE *fp, const char *term)
195 int tc_end (FILE *fp, const char *term)
198 if ( term )
208 int tc_end (FILE *fp, const char *term)
299 char *term = getenv ("TERM");
305 tc_init (stdout, term);