Mail Archives: djgpp/2003/07/28/17:40:47
"Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> 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
- Raw text -