On Sat, 20 Sep 2003, John Charlton wrote:

> void chkkbd(void)
> {
>   int ch;
>   char str[80];
>
>   fprintf(stderr, "Hit enter to continue, s to stop, q to quit
> immediately...");
>   fgets(str, 80, stdin);
>   fputs(str, stderr);
>   ch = str[0];
>   if (ch == 's' || ch == 'S') {
>     bStop = TRUE;
>   }
>   if (ch == 'q' || ch == 'Q') {
>     bQuit = TRUE;
>   }
> }
>
> It is a pretty basic function.  I did use getchar() at first, with the same
> result.  This function works as intended with kernel 1.1.26a (2026a) or in
> linux.  With kernel 2031 it behaves as described above and if you rerun the
> same program it crashes the dosemu session.
>
> Is there an earlier kernel I can use to solve the share/lock issue and not
> introduce this stdin problem?

your problem looks like it might have been fixed in the upcoming kernel
2032. Please try and test http://freedos.sourceforge.net/kernel/kernel.zip

Bart

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to