[Bug 9178] "hello world" dos program hangs

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 14 19:03:14 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9178





--- Comment #8 from Mikolaj Zalewski <mikolaj.zalewski at gmail.com>  2007-08-14 19:03:14 ---
Created an attachment (id=7591)
 --> (http://bugs.winehq.org/attachment.cgi?id=7591)
patch

This is a preliminary patch that allows to run DOS programs from a Linux
terminal or run them with redirected input. We can't use overlapped I/O as we
don't control if the file is opened with FILE_FLAG_OVERLAPPED so I had to use a
worker thread to read the input.

There are a few things that I'm not sure if they are correct - the scan codes,
DOSVM_Wait may require similar changes, how it works with a VGA window. There
is also a problem that an application might require things that are impossible
to achieve on a terminal - e.g. move the cursor. Maybe we should allocate a
console in such a situation.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list