Searched refs:terminaltype (Results 1 - 7 of 7) sorted by relevance
/freebsd-13-stable/crypto/heimdal/appl/telnet/telnetd/ |
H A D | global.c | 57 char terminaltype[41]; variable
|
H A D | telnetd.c | 505 * Output is the variable terminaltype filled in. 627 if (his_state_is_will(TELOPT_TTYPE) && !terminaltypeok(terminaltype)) { 628 strlcpy(first, terminaltype, sizeof(first)); 633 strlcpy(last, terminaltype, sizeof(last)); 635 if (terminaltypeok(terminaltype)) 637 if ((strncmp(last, terminaltype, sizeof(last)) == 0) || 643 if (strncmp(first, terminaltype, sizeof(first)) == 0) 651 if (strncmp(first, terminaltype, sizeof(first)) != 0) 652 strlcpy(terminaltype, first, sizeof(terminaltype)); [all...] |
H A D | ext.h | 60 extern char terminaltype[41];
|
H A D | state.c | 952 p = terminaltype; 954 while ((p < (terminaltype + sizeof terminaltype-1)) &&
|
/freebsd-13-stable/contrib/telnet/telnetd/ |
H A D | telnetd.c | 455 * Output is the variable terminaltype filled in. 576 if (his_state_is_will(TELOPT_TTYPE) && !terminaltypeok(terminaltype)) { 577 (void) strncpy(first, terminaltype, sizeof(first)-1); 583 (void) strncpy(last, terminaltype, sizeof(last)-1); 586 if (terminaltypeok(terminaltype)) 588 if ((strncmp(last, terminaltype, sizeof(last)) == 0) || 594 if (strncmp(first, terminaltype, sizeof(first)) == 0) 602 if (strncmp(first, terminaltype, sizeof(first)) != 0) { 603 (void) strncpy(terminaltype, first, sizeof(terminaltype) [all...] |
H A D | ext.h | 65 EXTERN char *terminaltype; variable
|
H A D | state.c | 1107 terminaltype = terminalname; 1109 while ((terminaltype < (terminalname + sizeof terminalname-1)) && 1117 *terminaltype++ = c; /* accumulate name */ 1119 *terminaltype = 0; 1120 terminaltype = terminalname;
|
Completed in 101 milliseconds