std_input 1956 src/simh/sim_console.c static HANDLE std_input; std_input 1994 src/simh/sim_console.c std_input = GetStdHandle (STD_INPUT_HANDLE); std_input 1996 src/simh/sim_console.c if ((std_input) && /* Not Background process? */ std_input 1997 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE)) std_input 1998 src/simh/sim_console.c GetConsoleMode (std_input, &saved_mode); /* Save Mode */ std_input 2004 src/simh/sim_console.c if ((std_input) && /* If Not Background process? */ std_input 2005 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE) && std_input 2006 src/simh/sim_console.c (!GetConsoleMode(std_input, &saved_mode) || /* Set mode to RAW */ std_input 2007 src/simh/sim_console.c !SetConsoleMode(std_input, RAW_MODE))) std_input 2024 src/simh/sim_console.c if ((std_input) && /* If Not Background process? */ std_input 2025 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE) && std_input 2026 src/simh/sim_console.c (!SetConsoleMode(std_input, saved_mode))) /* Restore Normal mode */ std_input 2040 src/simh/sim_console.c return (std_input) && (std_input != INVALID_HANDLE_VALUE) && GetConsoleMode (std_input, &Mode); std_input 2051 src/simh/sim_console.c if ((std_input == NULL) || /* No keyboard for */ std_input 2052 src/simh/sim_console.c (std_input == INVALID_HANDLE_VALUE)) /* background processes */ std_input 2054 src/simh/sim_console.c if (!GetNumberOfConsoleInputEvents(std_input, &nkbevents)) std_input 2059 src/simh/sim_console.c if (!ReadConsoleInput(std_input, &rec, 1, &nkbevent))