Searched refs:termbuf (Results 1 - 8 of 8) sorted by relevance
/netbsd-current/libexec/telnetd/ |
H A D | sys_term.c | 54 struct termios termbuf, termbuf2; /* pty control structure */ variable in typeref:struct:termios 71 * These three routines are used to get and set the "termbuf" structure 73 * copy_termbuf() hands in a new "termbuf" to write to the kernel, and 80 (void) tcgetattr(pty, &termbuf); 81 termbuf2 = termbuf; 88 if ((size_t)len > sizeof(termbuf)) 89 len = sizeof(termbuf); 90 memmove((char *)&termbuf, cp, len); 91 termbuf2 = termbuf; 101 if (memcmp((char *)&termbuf, (cha [all...] |
/netbsd-current/external/bsd/less/dist/lesstest/ |
H A D | term.c | 98 static char termbuf[4096]; local 102 if (tgetent(termbuf, term) <= 0) {
|
/netbsd-current/distrib/utils/more/ |
H A D | screen.c | 243 char termbuf[2048]; local 261 if (tgetent(termbuf, term) <= 0) 262 (void)strlcpy(termbuf, "dumb:co#80:hc:", sizeof(termbuf));
|
/netbsd-current/libexec/getty/ |
H A D | subr.c | 602 static char termbuf[128] = "TERM="; local 608 (void)strlcat(termbuf, TT, sizeof(termbuf)); 609 *ep++ = termbuf;
|
/netbsd-current/usr.bin/telnet/ |
H A D | telnet.c | 681 char *termbuf; 691 if ((termbuf = malloc(1024)) == NULL) 694 if (tgetent(termbuf, tname) == 1) { 701 if ((newptr = realloc(termbuf, len)) == NULL) 705 termbuf = newptr; 718 #define termbuf ttytype 738 tnamep = mklist(termbuf, tname); 679 char *termbuf; variable 716 #define termbuf macro
|
/netbsd-current/lib/libedit/ |
H A D | terminal.c | 338 char termbuf[TC_BUFSIZE]; local 343 (void) memset(termbuf, 0, sizeof(termbuf)); 379 for (ptr = *tmp; *ptr != '\0'; termbuf[tlen++] = *ptr++) 381 termbuf[tlen++] = '\0'; 383 memcpy(el->el_terminal.t_buf, termbuf, TC_BUFSIZE);
|
/netbsd-current/external/bsd/less/dist/ |
H A D | screen.c | 1225 * Some termcap libraries assume termbuf is static 1228 static char termbuf[TERMBUF_SIZE]; local 1254 /* {{ Should probably just pass NULL instead of termbuf. }} */ 1255 if (tgetent(termbuf, term) != TGETENT_OK)
|
/netbsd-current/tests/lib/libcurses/slave/ |
H A D | curses_commands.c | 1453 ARG_STRING(termbuf); 1456 report_status(fullname(termbuf, string));
|
Completed in 229 milliseconds