[Bug 16702] New: wineconsole: the curses backend doesn't work on Darwin

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 1 07:10:53 CST 2009


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

           Summary: wineconsole: the curses backend doesn't work on Darwin
           Product: Wine
           Version: CVS/GIT
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: programs
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: wine at martin.st


Created an attachment (id=18361)
 --> (http://bugs.winehq.org/attachment.cgi?id=18361)
Sample patch for using select instead of poll

The poll system call in Darwin doesn't handle terminal devices, according to
this discussion:
http://lists.apple.com/archives/Darwin-dev/2006/Apr/msg00066.html
This issue still stands in OS X Leopard.

Since the wineconsole curses backend currently uses poll for waiting for
events, the curses backend doesn't work at all on Darwin.

One solution would be to switch the curses backend to use select instead of
poll, either completely or only on Darwin. A patch that switches the backend to
use select in all cases is attached.

This was discussed on the wine-devel list in November/December 2008, in the
e.g. following threads:

http://www.winehq.org/pipermail/wine-devel/2008-December/070845.html
http://www.winehq.org/pipermail/wine-devel/2008-December/070906.html
http://www.winehq.org/pipermail/wine-devel/2008-December/070919.html


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list