Searched refs:termtype (Results 1 – 6 of 6) sorted by relevance
111 const char *termtype; in main() local117 termtype = getenv("TERM"); in main()118 if (termtype == NULL || (argv[0][0] == 'c' && !isatty(1))) in main()119 termtype = "lpr"; in main()124 termtype = optarg; in main()133 switch (tgetent(termcap, termtype)) { in main()
25 enum termtype { enum104 enum termtype type; /* Terminal, PS, or PDF. */
114 static struct termp *pspdf_alloc(const struct manoutput *, enum termtype);527 pspdf_alloc(const struct manoutput *outopts, enum termtype type) in pspdf_alloc()
71 struct termtype;
175 print "typedef struct termtype { /* in-core form of terminfo data */"
2092 char *termtype; local2100 termtype = (v[1] == NULL ? getenv("TERM") : short2str(v[1]));2101 if (termtype == NULL) {2116 if (tgetent(termcap_buffer, termtype) == 1) {2117 xprintf("%s\n", termtype);