Lines Matching defs:ttype
64 const char *ttype;
67 ttype = userarg;
72 if ((ttype = getenv("TERM")))
82 ttype = t->ty_type;
88 ttype = "unknown";
90 map: ttype = mapped(ttype);
101 * ttype now contains a pointer to the type of the terminal.
104 if (ttype[0] == '?') {
105 if (ttype[1] != '\0')
106 ttype = askuser(ttype + 1);
108 ttype = askuser(NULL);
112 while ((rval = tgetent(tbuf, ttype)) == 0) {
113 warnx("terminal type %s is unknown", ttype);
114 ttype = askuser(NULL);
119 return (ttype);