cc [flag . . .] file -locurses [library . . .] cc [flag . . .] file -lform -locurses [library . . .] cc [flag . . .] file -lmenu -locurses [library . . .] cc [flag . . .] file -lpanel -locurses [library . . .]#include <ocurses.h> #include <oterm.h> #include <form.h> #include <menu.h> #include <panel.h>
A program using these routines must be compiled with the -locurses option of cc(1).
The curses package provides: overall screen, window and pad manipulation; output to windows and pads; reading terminal input; control over terminal and curses input and output options; environment query routines; color manipulation; use of soft label keys; terminfo access; and, access to low-level curses routines. See curses(3ocurses) for a list of routines and other information.
For descriptions of the form, menu, and panel libraries, see forms(3ocurses), menus(3ocurses), and panels(3ocurses). These libraries will work only with the SVR4 libocurses library; they do not function correctly with the POSIX libcurses libraries.