std_input 1952 src/simh/sim_console.c static HANDLE std_input; std_input 1990 src/simh/sim_console.c std_input = GetStdHandle (STD_INPUT_HANDLE); std_input 1992 src/simh/sim_console.c if ((std_input) && /* Not Background process? */ std_input 1993 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE)) std_input 1994 src/simh/sim_console.c GetConsoleMode (std_input, &saved_mode); /* Save Mode */ std_input 2000 src/simh/sim_console.c if ((std_input) && /* If Not Background process? */ std_input 2001 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE) && std_input 2002 src/simh/sim_console.c (!GetConsoleMode(std_input, &saved_mode) || /* Set mode to RAW */ std_input 2003 src/simh/sim_console.c !SetConsoleMode(std_input, RAW_MODE))) std_input 2020 src/simh/sim_console.c if ((std_input) && /* If Not Background process? */ std_input 2021 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE) && std_input 2022 src/simh/sim_console.c (!SetConsoleMode(std_input, saved_mode))) /* Restore Normal mode */ std_input 2036 src/simh/sim_console.c return (std_input) && (std_input != INVALID_HANDLE_VALUE) && GetConsoleMode (std_input, &Mode); std_input 2047 src/simh/sim_console.c if ((std_input == NULL) || /* No keyboard for */ std_input 2048 src/simh/sim_console.c (std_input == INVALID_HANDLE_VALUE)) /* background processes */ std_input 2050 src/simh/sim_console.c if (!GetNumberOfConsoleInputEvents(std_input, &nkbevents)) std_input 2055 src/simh/sim_console.c if (!ReadConsoleInput(std_input, &rec, 1, &nkbevent))