Lines Matching refs:term
65 struct termios term, oterm;
99 memcpy(&term, &oterm, sizeof(term));
101 term.c_lflag &= ~(ECHO | ECHONL);
103 if (term.c_cc[VSTATUS] != _POSIX_VDISABLE)
104 term.c_cc[VSTATUS] = _POSIX_VDISABLE;
106 (void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term);
108 memset(&term, 0, sizeof(term));
109 term.c_lflag |= ECHO;
151 if (!(term.c_lflag & ECHO))
155 if (memcmp(&term, &oterm, sizeof(term)) != 0) {