Lines Matching refs:ttybuf
56 struct termios ttybuf;
77 if (tcgetattr(fileno(stdin), &ttybuf) < 0) {
81 c_erase = ttybuf.c_cc[VERASE];
82 c_kill = ttybuf.c_cc[VKILL];
84 ttybuf.c_cc[VERASE] = _POSIX_VDISABLE;
85 ttybuf.c_cc[VKILL] = _POSIX_VDISABLE;
92 extproc = ((ttybuf.c_lflag & EXTPROC) ? 1 : 0);
106 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
114 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
121 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
129 ttyset++, tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);
141 ttybuf.c_cc[VERASE] = c_erase;
142 ttybuf.c_cc[VKILL] = c_kill;
144 tcsetattr(fileno(stdin), TCSADRAIN, &ttybuf);