From: "bdeck" Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp & ncurses Date: Mon, 28 Jul 2003 23:12:37 +0200 Organization: Tiscali Germany Lines: 35 Message-ID: References: <3F21CE28 DOT 9E5CFDF8 AT mail DOT rosecom DOT ca> <3F257E91 DOT 2883F831 AT phekda DOT freeserve DOT co DOT uk> NNTP-Posting-Host: p62.246.20.145.tisdip.tiscali.de X-Trace: ulysses.news.tiscali.de 1059426322 44681 62.246.20.145 (28 Jul 2003 21:05:22 GMT) X-Complaints-To: abuse AT tiscali DOT de NNTP-Posting-Date: Mon, 28 Jul 2003 21:05:22 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Richard Dawe" wrote in message news:3F257E91 DOT 2883F831 AT phekda DOT freeserve DOT co DOT uk... > Hello. > > bdeck wrote: > [snip] > > The problem that we are working on is support for multibyte keys (like arrow > > keys), as DJGPP does not provide a poll() function, which NCurses currently > > uses. We are working on a possible select() solution ?? > [snip] > > I have wondered if poll could be implement as a wrapper for select. Have you > thought about or tried that? > > I'd like to implement poll for the DJGPP 2.04 release, because it's part of > the POSIX standard. I am not very familiar with the difference. I only know what DJGPP has and what it doesn't. However, Thomas Dickey seemed to indicate that the difference is quite significant, and that he has seen "many more successful poll implementations (in reading multibyte keys w/ ncurses) than select implementations". To be honest, I haven't had the time. If poll does go in DJGPP, though, someone should tell Gisle about it, because Wattcp-32 currently defines its own poll function. Hey, you might look at that part of code to get any inspiration ;-) Ben