_setmode 1981 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_BINARY); _setmode 1991 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_TEXT);