delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/28/17:40:47

From: "bdeck" <bdeck AT lycos DOT co DOT uk>
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: <bg436h$1bk9$1@ulysses.news.tiscali.de>
References: <3F21CE28 DOT 9E5CFDF8 AT mail DOT rosecom DOT ca> <bftbs8$9hu$1 AT ulysses DOT news DOT tiscali DOT de> <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" <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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019