Lines Matching refs:tty_orig
164 static long tty_orig[3], tty_new[3]; /* XXX Is there any guarantee that this variable
170 static DWORD tty_orig, tty_new; variable
173 static TTY_STRUCT tty_orig, tty_new; variable
386 if (GetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), &tty_orig)) { in open_console()
406 if (TTY_get(fileno(tty_in), &tty_orig) == -1) { in open_console()
475 status = sys$qiow(0, channel, IO$_SENSEMODE, &iosb, 0, 0, tty_orig, 12, in open_console()
488 memcpy(&(tty_new), &(tty_orig), sizeof(tty_orig)); in noecho_console()
498 tty_new[0] = tty_orig[0]; in noecho_console()
499 tty_new[1] = tty_orig[1] | TT$M_NOECHO; in noecho_console()
500 tty_new[2] = tty_orig[2]; in noecho_console()
513 tty_new = tty_orig; in noecho_console()
524 memcpy(&(tty_new), &(tty_orig), sizeof(tty_orig)); in echo_console()
530 tty_new[0] = tty_orig[0]; in echo_console()
531 tty_new[1] = tty_orig[1]; in echo_console()
532 tty_new[2] = tty_orig[2]; in echo_console()
545 tty_new = tty_orig; in echo_console()