Searched refs:ttyold (Results 1 – 1 of 1) sorted by relevance
116 static struct termio ttyold; /* tty table */ variable154 if (ioctl(1, TCGETA, &ttyold) == 0) { in main()155 ttyisave = ttyold.c_iflag; in main()156 ttyosave = ttyold.c_oflag; in main()531 ttyold.c_iflag &= ~ICRNL; in settabs()532 ttyold.c_oflag &= ~(ONLCR|OCRNL|ONOCR|ONLRET); in settabs()533 (void) ioctl(1, TCSETAW, &ttyold); /* turn off cr-lf map */ in settabs()688 ttyold.c_iflag = ttyisave; in endup()689 ttyold.c_oflag = ttyosave; in endup()691 (void) ioctl(1, TCSETAW, &ttyold); in endup()