Home | History | Annotate | Download | only in tset

Lines Matching defs:ttype

63 	const char *ttype;
66 ttype = userarg;
71 if ((ttype = getenv("TERM")) != NULL)
81 ttype = t->ty_type;
87 ttype = "unknown";
89 map: ttype = mapped(ttype);
94 * ttype now contains a pointer to the type of the terminal.
97 if (ttype[0] == '?') {
98 if (ttype[1] != '\0')
99 ttype = askuser(ttype + 1);
101 ttype = askuser(NULL);
104 while (setupterm(ttype, 0, &rval) == ERR) {
107 warnx("terminal type %s is hardcopy", ttype);
110 warnx("terminal type %s is unknown", ttype);
117 ttype = askuser(NULL);
120 return (ttype);