Lines Matching refs:term
48 struct termios term, oterm;
92 memcpy(&term, &oterm, sizeof(term));
94 term.c_lflag &= ~(ECHO | ECHONL);
95 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
96 term.c_cc[VSTATUS] = _POSIX_VDISABLE;
97 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term);
99 memset(&term, 0, sizeof(term));
100 term.c_lflag |= ECHO;
142 if (!(term.c_lflag & ECHO))
146 if (memcmp(&term, &oterm, sizeof(term)) != 0) {