lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] lynx-2.8.8rel2 bugfix for ncursesw on NetBSD


From: Thomas Klausner
Subject: Re: [Lynx-dev] lynx-2.8.8rel2 bugfix for ncursesw on NetBSD
Date: Tue, 16 Sep 2014 11:54:23 +0200

On Sun, Sep 14, 2014 at 01:39:07PM -0400, Thomas E. Dickey wrote:
> I think that the problem (and ultimate solution) lies in the ncursesw
> port, in which I see two problems:
> 
> a) ncursesw5-config is not installed
> 
> b) the header files are incomplete, with /usr/pkg/include/ncursesw
>    containing only ncurses.h
> 
>    A portable application will not assume this directory layout.
>    Instead, it will make one of these assumptions:
> 
>    1) All of the curses header files can be included like this:
>       #include <curses.h>
>       #include <term.h>
>       #include <unctrl.h>
> 
>    2) All of the ncurses header files can be included like this:
>       #include <ncurses/curses.h>
>       #include <ncurses/term.h>
>       #include <ncurses/unctrl.h>
> 
>    3) All of the ncurses header files can be included like this:
>       #include <ncursesw/curses.h>
>       #include <ncursesw/term.h>
>       #include <ncursesw/unctrl.h>

Thank you for your comments. The pkgsrc package has been fixed to
install ncursesw5-config and all header files, and the lynx patch has
been removed.
 Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]