Searched refs:term_name (Results 1 – 4 of 4) sorted by relevance
| /mirbsd/src/usr.bin/top/ |
| D | screen.c | 70 char *bufptr, *PCptr, *term_name; in init_termcap() local 86 term_name = getenv("TERM"); in init_termcap() 90 if (term_name == NULL) { in init_termcap() 96 if ((status = tgetent(NULL, term_name)) != 1) { in init_termcap() 100 warnx("no termcap entry for a `%s' terminal", term_name); in init_termcap()
|
| /mirbsd/src/gnu/usr.bin/texinfo/info/ |
| D | terminal.c | 83 static char *term_name; variable 148 if (STREQ (term_name, "sun-cmd")) in terminal_begin_using_terminal() 179 if (STREQ (term_name, "sun-cmd")) in terminal_end_using_terminal() 526 term_name = terminal_name ? terminal_name : getenv ("TERM"); in terminal_initialize_terminal() 527 if (!term_name) in terminal_initialize_terminal() 528 term_name = "dumb"; in terminal_initialize_terminal() 541 if (tgetent (term_buffer, term_name) < 0) in terminal_initialize_terminal()
|
| D | session.c | 261 char *term_name = getenv ("TERM"); in initialize_info_session() local 262 terminal_initialize_terminal (term_name); in initialize_info_session() 266 if (!term_name) in initialize_info_session() 267 term_name = "dumb"; in initialize_info_session() 269 info_error ((char *) msg_term_too_dumb, term_name, NULL); in initialize_info_session()
|
| /mirbsd/src/gnu/usr.bin/lynx/src/ |
| D | LYUtils.c | 1644 const char *term_name = NULL; in LYReopenInput() local 1649 (term_name = ttyname(fileno(stdout))) != NULL) in LYReopenInput() 1650 new_fd = open(term_name, O_RDONLY); in LYReopenInput() 1654 (term_name = ttyname(fileno(stderr))) != NULL) in LYReopenInput() 1655 new_fd = open(term_name, O_RDONLY); in LYReopenInput() 1660 (term_name = ctermid(NULL)) != NULL) in LYReopenInput() 1661 new_fd = open(term_name, O_RDONLY); in LYReopenInput() 1666 new_fd = open(term_name = TTY_DEVICE, O_RDONLY); in LYReopenInput() 1669 CTRACE((tfp, "LYReopenInput open(%s) returned %d.\n", term_name, new_fd)); in LYReopenInput() 1674 frp = freopen(term_name, "r", stdin); in LYReopenInput() [all …]
|