Lines Matching refs:ttyold
116 static struct termio ttyold; /* tty table */
154 if (ioctl(1, TCGETA, &ttyold) == 0) {
155 ttyisave = ttyold.c_iflag;
156 ttyosave = ttyold.c_oflag;
531 ttyold.c_iflag &= ~ICRNL;
532 ttyold.c_oflag &= ~(ONLCR|OCRNL|ONOCR|ONLRET);
533 (void) ioctl(1, TCSETAW, &ttyold); /* turn off cr-lf map */
688 ttyold.c_iflag = ttyisave;
689 ttyold.c_oflag = ttyosave;
691 (void) ioctl(1, TCSETAW, &ttyold);