Lines Matching refs:term
48 struct termios term, oterm;
96 memcpy(&term, &oterm, sizeof(term));
98 term.c_lflag &= ~(ECHO | ECHONL);
100 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
101 term.c_cc[VSTATUS] = _POSIX_VDISABLE;
103 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term);
105 memset(&term, 0, sizeof(term));
106 term.c_lflag |= ECHO;
132 if (!(term.c_lflag & ECHO))
137 if (memcmp(&term, &oterm, sizeof(term)) != 0) {