--- gforth/engine/io.c 2006/04/09 08:04:22 1.22 +++ gforth/engine/io.c 2006/04/09 08:24:47 1.23 @@ -645,6 +645,7 @@ Cell getkey(FILE * stream) Cell result; unsigned char c; + setvbuf(stream, NULL, _IONBF, 0); if(!terminal_prepped && stream == stdin) prep_terminal();