Lines Matching refs:tty_new
168 static long tty_orig[3], tty_new[3]; /* XXX Is there any guarantee that this variable
174 static DWORD tty_orig, tty_new; variable
177 static TTY_STRUCT tty_orig, tty_new; variable
497 memcpy(&(tty_new), &(tty_orig), sizeof(tty_orig)); in noecho_console()
498 tty_new.TTY_FLAGS &= ~ECHO; in noecho_console()
502 if (is_a_tty && (TTY_set(fileno(tty_in), &tty_new) == -1)) in noecho_console()
507 tty_new[0] = tty_orig[0]; in noecho_console()
508 tty_new[1] = tty_orig[1] | TT$M_NOECHO; in noecho_console()
509 tty_new[2] = tty_orig[2]; in noecho_console()
510 status = sys$qiow(0, channel, IO$_SETMODE, &iosb, 0, 0, tty_new, 12, in noecho_console()
528 tty_new = tty_orig; in noecho_console()
529 tty_new &= ~ENABLE_ECHO_INPUT; in noecho_console()
530 SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), tty_new); in noecho_console()
539 memcpy(&(tty_new), &(tty_orig), sizeof(tty_orig)); in echo_console()
540 if (is_a_tty && (TTY_set(fileno(tty_in), &tty_new) == -1)) in echo_console()
545 tty_new[0] = tty_orig[0]; in echo_console()
546 tty_new[1] = tty_orig[1]; in echo_console()
547 tty_new[2] = tty_orig[2]; in echo_console()
548 status = sys$qiow(0, channel, IO$_SETMODE, &iosb, 0, 0, tty_new, 12, in echo_console()
566 tty_new = tty_orig; in echo_console()
567 SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), tty_new); in echo_console()