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
http://bugs.winehq.org/show_bug.cgi?id=16702
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, source
http://bugs.winehq.org/show_bug.cgi?id=16702
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |1.1.11
http://bugs.winehq.org/show_bug.cgi?id=16702
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Macintosh |PC
http://bugs.winehq.org/show_bug.cgi?id=16702
--- Comment #1 from Austin English austinenglish@gmail.com 2009-07-13 11:44:57 --- Probably still present.
http://bugs.winehq.org/show_bug.cgi?id=16702
Charles Davis cdavis@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cdavis@mines.edu
--- Comment #2 from Charles Davis cdavis@mines.edu 2009-11-20 20:02:45 --- (In reply to comment #1)
Probably still present.
Not on 10.6, it isn't. I tried it, and it worked like a charm. I could type and everything.
Looks like they fixed the issue with kevent() (and by extension, poll()) not being able to handle device files. They fixed many little bugs like that in Snow Leopard.
So, long story short: if you want to use the curses backend, and you don't want to patch Wine, upgrade to Snow Leopard.
http://bugs.winehq.org/show_bug.cgi?id=16702
--- Comment #3 from Austin English austinenglish@gmail.com 2010-12-20 22:15:27 CST --- This is your friendly reminder that there has been no bug activity for a year. Is this still an issue in current (1.3.9 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=16702
Martin Storsjö wine@martin.st changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #4 from Martin Storsjö wine@martin.st 2010-12-21 02:33:23 CST --- This (In reply to comment #3)
This is your friendly reminder that there has been no bug activity for a year. Is this still an issue in current (1.3.9 or newer) wine?
As pointed out by Charles Davis above, it isn't an issue in Snow Leopard - therefore abandoning this bug.
http://bugs.winehq.org/show_bug.cgi?id=16702
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com 2010-12-21 14:18:41 CST --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=16702
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X