Home | History | Annotate | Download | only in openbsd-compat

Lines Matching defs:term

60 	struct termios term, oterm;
110 memcpy(&term, &oterm, sizeof(term));
112 term.c_lflag &= ~(ECHO | ECHONL);
114 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
115 term.c_cc[VSTATUS] = _POSIX_VDISABLE;
117 (void)tcsetattr(input, _T_FLUSH, &term);
119 memset(&term, 0, sizeof(term));
120 term.c_lflag |= ECHO;
146 if (!(term.c_lflag & ECHO))
151 if (memcmp(&term, &oterm, sizeof(term)) != 0) {