NAME
curses
- screen functions with
``optimal''
cursor motion
LIBRARY
Curses Library (libcurses, -lcurses)
SYNOPSIS
cc
[flags]
files
-lcurses
[libraries]
DESCRIPTION
These routines give the user a method of updating screens with reasonable
optimization.
They keep an image of the current screen,
and the user sets up an image of a new one.
Then the
refresh(
)
tells the routines to make the current screen look like the new one.
In order to initialize the routines, the routine
initscr(
)
must be called before any of the other routines that deal with windows and
screens are used.
The routine
endwin(
)
should be called before exiting.
The routine
start_color(
)
must be called before any of the other routines that deal with color are used.
SEE ALSO
ioctl(2),
getenv(3),
tty(4),
termcap(5)
AUTHORS
Ken Arnold
FUNCTIONS
STANDARDS
The
NetBSD
Curses library complies with the X/Open Curses specification, part of the
Single Unix Specification.
HISTORY
The Curses package appeared in
4.0BSD.