Lines Matching refs:term
62 struct termios term, oterm;
108 memcpy(&term, &oterm, sizeof(term));
110 term.c_lflag &= ~(ECHO | ECHONL);
112 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
113 term.c_cc[VSTATUS] = _POSIX_VDISABLE;
115 (void)tcsetattr(input, _T_FLUSH, &term);
117 memset(&term, 0, sizeof(term));
118 term.c_lflag |= ECHO;
141 if (!(term.c_lflag & ECHO))
145 if (memcmp(&term, &oterm, sizeof(term)) != 0)