P.S. You'll also want to specify the include directory, so that it picks up PDCurses' curses.h rather than the system's:
gcc -I/usr/local/include/xcurses -oappname appname.c -lXCurses Either that, or modify the source of appname.c to specify xcurses.h instead of curses.h; but I don't recommend that. -- William McBrine <[EMAIL PROTECTED]>