Lines Matching refs:ttype
573 const char *ttype;
582 ttype = userarg;
587 if ((ttype = getenv("TERM")) != 0)
599 ttype = t->ty_type;
618 ttype = strdup(t);
629 ttype = "unknown";
631 map:ttype = mapped(ttype);
655 * ttype now contains a pointer to the type of the terminal.
658 if (ttype[0] == '?') {
659 if (ttype[1] != '\0')
660 ttype = askuser(ttype + 1);
662 ttype = askuser(0);
665 while (setupterm((NCURSES_CONST char *) ttype, STDOUT_FILENO, &errret)
669 _nc_progname, ttype);
670 ttype = 0;
674 _nc_progname, ttype, errret);
675 ttype = 0;
677 ttype = askuser(ttype);
682 return (ttype);
1207 const char *ttype;
1329 ttype = _nc_first_name(cur_term->type.term_names);
1332 (void) printf("%s\n", ttype);
1335 (void) fprintf(stderr, "Terminal type is %s.\n", ttype);
1366 (void) printf(p, ttype);