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@winehq.org ReportedBy: wine@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