std_input 1926 src/simh/sim_console.c static HANDLE std_input; std_input 1964 src/simh/sim_console.c std_input = GetStdHandle (STD_INPUT_HANDLE); std_input 1966 src/simh/sim_console.c if ((std_input) && /* Not Background process? */ std_input 1967 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE)) std_input 1968 src/simh/sim_console.c GetConsoleMode (std_input, &saved_mode); /* Save Mode */ std_input 1974 src/simh/sim_console.c if ((std_input) && /* If Not Background process? */ std_input 1975 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE) && std_input 1976 src/simh/sim_console.c (!GetConsoleMode(std_input, &saved_mode) || /* Set mode to RAW */ std_input 1977 src/simh/sim_console.c !SetConsoleMode(std_input, RAW_MODE))) std_input 1994 src/simh/sim_console.c if ((std_input) && /* If Not Background process? */ std_input 1995 src/simh/sim_console.c (std_input != INVALID_HANDLE_VALUE) && std_input 1996 src/simh/sim_console.c (!SetConsoleMode(std_input, saved_mode))) /* Restore Normal mode */ std_input 2010 src/simh/sim_console.c return (std_input) && (std_input != INVALID_HANDLE_VALUE) && GetConsoleMode (std_input, &Mode); std_input 2021 src/simh/sim_console.c if ((std_input == NULL) || /* No keyboard for */ std_input 2022 src/simh/sim_console.c (std_input == INVALID_HANDLE_VALUE)) /* background processes */ std_input 2024 src/simh/sim_console.c if (!GetNumberOfConsoleInputEvents(std_input, &nkbevents)) std_input 2029 src/simh/sim_console.c if (!ReadConsoleInput(std_input, &rec, 1, &nkbevent))