From: luke AT jet DOT msk DOT su (Oleg Yu. Polyanski) Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp/dosemu success story Date: 25 May 1998 10:25:07 +0400 Organization: Jet Infosystems Lines: 43 Message-ID: References: <19980523034225 DOT AAA10307 AT ppp110 DOT cartsys DOT com> NNTP-Posting-Host: goliath.service.jet.msk.su Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >>>>> "Nate" == Nate Eldredge 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 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