Lines Matching refs:ttybuf
75 static struct termio ttybuf;
326 ttybuf = savtty;
328 ttybuf.c_cflag &= ~PARENB; /* disable parity */
329 ttybuf.c_cflag |= CS8; /* character size = 8 */
331 ttybuf.c_cc[VTIME] = 0;
332 ttybuf.c_cc[VMIN] = 1;
333 ttybuf.c_iflag &= ~(BRKINT);
334 ttybuf.c_lflag &= ~(ICANON|ISIG|ECHO);
343 if (ioctl(Out, TCSETAW, &ttybuf) < 0) {
468 struct sgttyb ttybuf;
483 if (gtty(fileno(stdin), &ttybuf) < 0) {
487 c_erase = ttybuf.sg_erase;
488 c_kill = ttybuf.sg_kill;
490 ttybuf.sg_erase = 0;
491 ttybuf.sg_kill = 0;
499 ttyset++, stty(fileno(stdin), &ttybuf);
508 ttyset++, stty(fileno(stdin), &ttybuf);
517 ttyset++, stty(fileno(stdin), &ttybuf);
526 ttyset++, stty(fileno(stdin), &ttybuf);
535 ttyset++, stty(fileno(stdin), &ttybuf);
545 ttybuf.sg_erase = c_erase;
546 ttybuf.sg_kill = c_kill;
548 stty(fileno(stdin), &ttybuf);