Lines Matching defs:ttype
551 const char *ttype;
560 ttype = userarg;
565 if ((ttype = getenv("TERM")) != 0)
577 ttype = t->ty_type;
596 ttype = strdup(t);
607 ttype = "unknown";
609 map:ttype = mapped(ttype);
632 * ttype now contains a pointer to the type of the terminal.
635 if (ttype[0] == '?') {
636 if (ttype[1] != '\0')
637 ttype = askuser(ttype + 1);
639 ttype = askuser(0);
642 while (setupterm((NCURSES_CONST char *) ttype, STDOUT_FILENO, &errret)
646 _nc_progname, ttype);
647 ttype = 0;
651 _nc_progname, ttype, errret);
652 ttype = 0;
654 ttype = askuser(ttype);
659 return (ttype);
1168 const char *ttype;
1255 ttype = get_termcap_entry(*argv);
1290 ttype = _nc_first_name(cur_term->type.term_names);
1293 (void) printf("%s\n", ttype);
1296 (void) fprintf(stderr, "Terminal type is %s.\n", ttype);
1327 (void) printf(p, ttype);