Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ncurses

0 views
Skip to first unread message

Tellerbop

unread,
Jun 8, 2009, 3:47:27 PM6/8/09
to
Hi all,

I've have nzbget ported.
But now i want also use ncurses for the colors.
the colors are fine but i can't get the keys working?

Did i forgot something important here or ???
Any help in the darknish :P

--
With the best regards from the Netherlands,

Franz Bakan

unread,
Jun 8, 2009, 4:46:39 PM6/8/09
to
On 2009-06-08, Tellerbop <Tell...@wint.nl> wrote:

> I've have nzbget ported.
> But now i want also use ncurses for the colors.
> the colors are fine but i can't get the keys working?

I once had the same problem when porting TestDisk and
PhotoRec ( http://www.fbakan.de/photorec-os2.htm ).
Solution was to use a special build of ncurses.lib and
a helper lib (os2term.a) and a patched version of
terminfo/a/ansi that Froloff (http://froloff.homeip.net/)
created for me to solve the problem.
I don't know if (and don't think) he made these patched versions
available for the public. I think you should first
try to contact him. In case you don't get an answer from
him send me a mail to the adress available on my website.
I think he wouldn't mind when I forward this stuff to you.

Good luck
Franz

Tellerbop

unread,
Jun 18, 2009, 4:35:16 PM6/18/09
to
On Mon, 8 Jun 2009 20:46:39 UTC, Franz Bakan <fba...@nikocity.de>
wrote:

Hi all,

Yes this is the solution.
After i mailed Froloff he send me the files, and indeed the colors,
and the keys are working now fine.

Thankz again Franz for pointing me into the right direction :)

Thomas Dickey

unread,
Jun 20, 2009, 7:33:23 PM6/20/09
to
On Jun 8, 3:47 pm, "Tellerbop" <Teller...@wint.nl> wrote:
> Hi all,
>
> I've have nzbget ported.
> But now i want also use ncurses for the colors.
> the colors are fine but i can't get the keys working?
>
> Did i forgot something important here or ???
> Any help in the darknish :P

In ncurses' sources, the misc/emx.src file contains terminfo
entries which are useful on OS/2 (including "ansi", which
happens to be incompatible with everyone else's "ansi").
Use that.

--
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

0 new messages