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

Lines Matching defs:term

67 	struct termios term, oterm;
103 memcpy(&term, &oterm, sizeof(term));
105 term.c_lflag &= ~(ECHO | ECHONL);
107 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
108 term.c_cc[VSTATUS] = _POSIX_VDISABLE;
110 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term);
112 memset(&term, 0, sizeof(term));
113 term.c_lflag |= ECHO;
155 if (!(term.c_lflag & ECHO))
159 if (memcmp(&term, &oterm, sizeof(term)) != 0) {