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

/freebsd-10.2-release/contrib/telnet/telnetd/
H A Dsys_term.c83 struct termbuf { struct
89 } termbuf, termbuf2; variable in typeref:struct:termbuf
125 struct termios termbuf, termbuf2; /* pty control structure */ variable in typeref:struct:termios
140 * These three routines are used to get and set the "termbuf" structure
142 * copy_termbuf() hands in a new "termbuf" to write to the kernel, and
150 (void) ioctl(pty, TIOCGETP, (char *)&termbuf.sg);
151 (void) ioctl(pty, TIOCGETC, (char *)&termbuf.tc);
152 (void) ioctl(pty, TIOCGLTC, (char *)&termbuf.ltc);
154 (void) ioctl(pty, TIOCGSTATE, (char *)&termbuf.state);
157 (void) tcgetattr(pty, &termbuf);
[all...]
/freebsd-10.2-release/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-10.2-release/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-10.2-release/libexec/getty/
H A Dsubr.c554 static char termbuf[128] = "TERM="; local
560 strlcat(termbuf, TT, sizeof(termbuf));
561 *ep++ = termbuf;
/freebsd-10.2-release/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-10.2-release/contrib/telnet/telnet/
H A Dtelnet.c702 char termbuf[1024]; variable
708 if (tgetent(termbuf, tname) == 1) {
709 termbuf[1023] = '\0';
719 #define termbuf ttytype macro
739 tnamep = mklist(termbuf, tname);
/freebsd-10.2-release/lib/libedit/
H A Dterm.c376 char termbuf[TC_BUFSIZE]; local
416 for (ptr = *tmp; *ptr != '\0'; termbuf[tlen++] = *ptr++)
418 termbuf[tlen++] = '\0';
420 memcpy(el->el_term.t_buf, termbuf, TC_BUFSIZE);
/freebsd-10.2-release/contrib/less/
H A Dscreen.c1122 char termbuf[TERMBUF_SIZE];
1149 if (tgetent(termbuf, term) != TGETENT_OK)

Completed in 85 milliseconds