Lines Matching refs:ttybuf
64 struct termios ttybuf;
85 if (tcgetattr(fileno(stdin), &ttybuf) < 0) {
89 c_erase = ttybuf.c_cc[VERASE];
90 c_kill = ttybuf.c_cc[VKILL];
92 ttybuf.c_cc[VERASE] = _POSIX_VDISABLE;
93 ttybuf.c_cc[VKILL] = _POSIX_VDISABLE;
100 extproc = ((ttybuf.c_lflag & EXTPROC) ? 1 : 0);
114 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
122 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
129 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
137 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
147 ttybuf.c_cc[VERASE] = c_erase;
148 ttybuf.c_cc[VKILL] = c_kill;
150 tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);