| CURSES(3) | Library Functions Manual | CURSES(3) |
curses — screen
functions with “optimal” cursor motion
Curses Library (libcurses, -lcurses)
cc |
[flags] files
-lcurses [libraries] |
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.
COLUMNSCURSES_TRACE_MASKCURSES_TRACE_FILEESCDELAYLINESTABSIZETERMioctl(2), getenv(3), tty(4), terminfo(5)
Ken Arnold, Screen Updating and Cursor Movement Optimization: A Library Package.
The NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.
The Curses package appeared in 4.0BSD.
Ken Arnold
Julian Coleman
Brett Lymn
Roy Marples
| August 29, 2019 | NetBSD 11.0 |