Lines Matching refs:terminal
34 * set tabs (and margin, if +mn), for terminal type
113 static char *terminal = "";
193 terminal = *++argv;
197 terminal = scan+2;
252 if (*terminal == '\0') {
253 if ((terminal = getenv("TERM")) == (char *)NULL ||
254 *terminal == '\0') {
259 terminal = "ansi+tabs";
262 if (setupterm(terminal, 1, &err) == ERR) {
264 "tabs: %s: terminfo file not found\n"), terminal);
268 "tabs: cannot set tabs on terminal type %s\n"), terminal);
273 if (strcmp(terminal, "ibm") == 0)
501 if (strncmp(terminal, "40-2", 4) == 0 || strncmp(terminal,
502 "40/2", 4) == 0 || strncmp(terminal, "4420", 4) == 0)
503 (void) strcpy(terminal, "4424");
504 else if (strncmp(terminal, "ibm", 3) == 0 || strcmp(terminal,
505 "3101") == 0 || strcmp(terminal, "system1") == 0)
506 (void) strcpy(terminal, "ibm");
509 if (EQ(terminal, t->ttype))
518 * settabs: set actual tabs at terminal
540 tmarg = getmarg(terminal);
613 if (EQ(terminal, "4424"))
644 if (EQ(terminal, "4424")) { /* TTY40 extra delays needed */