Mail Archives: djgpp/1998/05/25/02:30:19
>>>>> "Nate" == Nate Eldredge <nate AT cartsys DOT com> writes:
>> If you try to boot Caldera OpenDOS under dosemu you will unable to
>> type anything on the standard input in programs compiled by djgpp
>> port. This bug still presents in all versions of dosemu (or in
>> OpenDOS?) till 0.99.3. i have not tried use dosemu >0.99.3 but
>> think that problem still remains. The only workaround is to place
>> all input data into the file and redirect the stdin. *Sigh*
Nate> I seem to recall a problem similar to that, but it was with
Nate> MS-DOS. I gave up for a while, but after upgrading to 0.66.7 and
Nate> adding "rawkeyboard" to dosemu.conf, it works. I may have
Nate> changed something else as well, I don't recall. Try it.
No-no. The problem is somewhere in OpenDOS or in DJGPP run-time
libraries, "rawkeyboard" can not help. For example, here is the small
example (and even classic) program:
#include <stdio.h>
int
main (void)
{
char ch;
while ((ch = getchar ()) != EOF)
putchar (ch);
}
Compile it and run under dosemu. If your host DOS is Caldera OpenDOS,
dosemu will hang (only ctrl-alt-pgdn works) when you start this program.
If you use stdin redirection, everything is fine. *Very* seldom it is
possible to type anything on the standard input but in next run dosemu
will hang again.
Nate> Btw: Is dosemu 0.99.x out? Last I checked, they were still at
Nate> 0.66. Where did you get it?
It is available from ftp://ftp.suse.com, but do not forget to
set "threshold" parameter in /etc/dosemu.conf to zero or Emacs will
draw on screen with incredible low speed.
/Oleg
- Raw text -