The HP proprietary curses library (-lcurses,
-ltermcap, and
-ltermlib) continue
to be supported as the default on HP-UX 10.01. Future releases of
HP-UX will feature a new X/OPEN compliant curses library and the
HP proprietary curses library will eventually be deprecated and
then replaced. HP-UX 10.01 does have a color curses library (-lcur_colr)
which has some of the features of the future X/OPEN compliant library.
HP recommends that only applications that need functionality provided
by the color curses library, but not the HP proprietary library
(for example, displaying colors to the screen), should port to the
color curses library at this time.
Example: Linking to the HP proprietary
library
Example: Linking to the color curses
library
cc foo.c -I/usr/include/curses_colr -lcur_colr |