hi,
i got NCurses.h (which includes curses.h, term.h and many others) through command
$ sudo apt-get install libncurses5-dev libncursesw5-dev
it downloaded and is appearing in netbeans 6.9 ide's intellisense when including it. But the ide is putting a red line under it saying no such library exists although it predicts it. And when functions of this library are called, ide says undefined reference to XYZfunction.
for example i tried using it in this way
#include <curses.h>
A program using these routines must be linked with the -lncurses option, or (if it has been generated) with the debugging library -lncurses_g.
I don't really know about IDE's so bare with me. First you should try to compile your work in console as follows: g++ <all necessary c++ files> -lncurses
if that works you should check that your IDE passes argument "-lncurses" during compilation.
EDIT: g++ -o dist/Debug/GNU-Linux-x86/net_test build/Debug/GNU-Linux-x86/main.o
that is compilation and there is no "-lncurses" ;)