Searched refs:termbuf (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/telnet/telnetd/
H A Dsys_term.c79 struct termbuf { struct
85 } termbuf, termbuf2; variable in typeref:struct:termbuf
121 struct termios termbuf, termbuf2; /* pty control structure */ variable in typeref:struct:termios
136 * These three routines are used to get and set the "termbuf" structure
138 * copy_termbuf() hands in a new "termbuf" to write to the kernel, and
146 (void) ioctl(pty, TIOCGETP, (char *)&termbuf.sg);
147 (void) ioctl(pty, TIOCGETC, (char *)&termbuf.tc);
148 (void) ioctl(pty, TIOCGLTC, (char *)&termbuf.ltc);
150 (void) ioctl(pty, TIOCGSTATE, (char *)&termbuf.state);
153 (void) tcgetattr(pty, &termbuf);
[all...]
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c163 struct termios termbuf, termbuf2; /* pty control structure */ variable in typeref:struct:termios
178 * These three routines are used to get and set the "termbuf" structure
180 * copy_termbuf() hands in a new "termbuf" to write to the kernel, and
189 tcgetattr(ttyfd, &termbuf);
192 tcgetattr(ourpty, &termbuf);
193 termbuf2 = termbuf;
202 if (memcmp(&termbuf, &termbuf2, sizeof(termbuf))) {
205 tcsetattr(ttyfd, TCSANOW, &termbuf);
208 tcsetattr(ourpty, TCSANOW, &termbuf);
[all...]
/freebsd-11-stable/contrib/opie/
H A Dopiesu.c106 static char termbuf[32] = "TERM="; variable
473 if ((p = getenv("TERM")) && (strlen(termbuf) + strlen(p) - 1 < sizeof(termbuf))) {
474 strcat(termbuf, p);
475 cleanenv[4] = termbuf;
/freebsd-11-stable/libexec/getty/
H A Dsubr.c561 static char termbuf[128] = "TERM="; local
567 strlcat(termbuf, TT, sizeof(termbuf));
568 *ep++ = termbuf;
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet.c636 static char termbuf[1024]; variable
642 if (tgetent(termbuf, tname) == 1) {
643 termbuf[1023] = '\0';
652 strlcpy(termbuf, tname, sizeof(termbuf));
674 tnamep = mklist(termbuf, tname);
/freebsd-11-stable/contrib/telnet/telnet/
H A Dtelnet.c698 char termbuf[1024]; variable
704 if (tgetent(termbuf, tname) == 1) {
705 termbuf[1023] = '\0';
715 #define termbuf ttytype macro
735 tnamep = mklist(termbuf, tname);
/freebsd-11-stable/lib/libedit/
H A Dterminal.c345 char termbuf[TC_BUFSIZE]; local
350 (void) memset(termbuf, 0, sizeof(termbuf));
386 for (ptr = *tmp; *ptr != '\0'; termbuf[tlen++] = *ptr++)
388 termbuf[tlen++] = '\0';
390 memcpy(el->el_terminal.t_buf, termbuf, TC_BUFSIZE);
/freebsd-11-stable/contrib/less/
H A Dscreen.c1157 * Some termcap libraries assume termbuf is static
1160 static char termbuf[TERMBUF_SIZE]; local
1186 /* {{ Should probably just pass NULL instead of termbuf. }} */
1187 if (tgetent(termbuf, term) != TGETENT_OK)

Completed in 117 milliseconds