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

Function Name Manual Page Name
addchcurses_addch(3)
addchnstrcurses_addchstr(3)
addchstrcurses_addchstr(3)
addnstrcurses_addstr(3)
addstrcurses_addstr(3)
assume_default_colorscurses_default_colors(3)
attr_getcurses_attributes(3)
attr_offcurses_attributes(3)
attr_oncurses_attributes(3)
attr_setcurses_attributes(3)
attroffcurses_attributes(3)
attroncurses_attributes(3)
attrsetcurses_attributes(3)
beepcurses_tty(3)
bkgdcurses_background(3)
bkgdsetcurses_background(3)
bordercurses_border(3)
boxcurses_border(3)
can_change_colorcurses_color(3)
cbreakcurses_tty(3)
clearcurses_clear(3)
clearokcurses_clear(3)
clrtobotcurses_clear(3)
clrtoeolcurses_clear(3)
color_contentcurses_color(3)
color_setcurses_attributes(3)
copywincurses_window(3)
curs_setcurses_tty(3)
def_prog_modecurses_tty(3)
def_shell_modecurses_tty(3)
define_keycurses_input(3)
delay_outputcurses_tty(3)
delchcurses_delch(3)
deletelncurses_deleteln(3)
delscreencurses_screen(3)
delwincurses_window(3)
derwincurses_window(3)
doupdatecurses_refresh(3)
dupwincurses_window(3)
echocurses_tty(3)
endwincurses_screen(3)
erasecurses_clear(3)
erasecharcurses_tty(3)
flashcurses_tty(3)
flushinpcurses_tty(3)
flushokcurses_refresh(3)
fullnamecurses_termcap(3)
getattrscurses_attributes(3)
getbegxcurses_cursor(3)
getbegycurses_cursor(3)
getbkgdcurses_background(3)
getcapcurses_termcap(3)
getchcurses_input(3)
getcurxcurses_cursor(3)
getcurycurses_cursor(3)
getmaxxcurses_cursor(3)
getmaxycurses_cursor(3)
getnstrcurses_input(3)
getparxcurses_cursor(3)
getparycurses_cursor(3)
getparyxcurses_cursor(3)
getstrcurses_input(3)
gettmodecurses_tty(3)
getwincurses_fileo(3)
getyxcurses_cursor(3)
has_colorscurses_color(3)
has_iccurses_tty(3)
has_ilcurses_tty(3)
hlinecurses_line(3)
idcokcurses_tty(3)
idlokcurses_tty(3)
inchcurses_inch(3)
inchnstrcurses_inch(3)
inchstrcurses_inch(3)
init_colorcurses_color(3)
init_paircurses_color(3)
initscrcurses_screen(3)
innstrcurses_inch(3)
inschcurses_insertch(3)
insdellncurses_insdelln(3)
insertlncurses_insertln(3)
instrcurses_inch(3)
intrflushcurses_tty(3)
is_linetouchedcurses_touch(3)
is_wintouchedcurses_touch(3)
isendwincurses_screen(3)
keynamecurses_keyname(3)
keyokcurses_input(3)
keypadcurses_input(3)
killcharcurses_tty(3)
leaveokcurses_tty(3)
longnamecurses_termcap(3)
metacurses_tty(3)
movecurses_cursor(3)
mvaddchcurses_addch(3)
mvaddchnstrcurses_addchstr(3)
mvaddchstrcurses_addchstr(3)
mvaddnstrcurses_addstr(3)
mvaddstrcurses_addstr(3)
mvcurcurses_cursor(3)
mvderwincurses_window(3)
mvgetnstrcurses_input(3)
mvgetstrcurses_input(3)
mvhlinecurses_line(3)
mvinchstrcurses_inch(3)
mvinchnstrcurses_inch(3)
mvprintwcurses_print(3)
mvscanwcurses_scanw(3)
mvvlinecurses_line(3)
mvwaddchcurses_addch(3)
mvwaddchnstrcurses_addchstr(3)
mvwaddchstrcurses_addchstr(3)
mvwaddnstrcurses_addstr(3)
mvwaddstrcurses_addstr(3)
mvwgetnstrcurses_input(3)
mvwgetstrcurses_input(3)
mvwhlinecurses_line(3)
mvwinchstrcurses_inch(3)
mvwinchnstrcurses_inch(3)
mvwprintwcurses_print(3)
mvwscanwcurses_scanw(3)
mvwvlinecurses_line(3)
napmscurses_tty(3)
newpadcurses_pad(3)
newtermcurses_screen(3)
newwincurses_window(3)
nlcurses_tty(3)
nocbreakcurses_tty(3)
nodelaycurses_input(3)
noechocurses_tty(3)
nonlcurses_tty(3)
noqiflushcurses_tty(3)
norawcurses_tty(3)
notimeoutcurses_input(3)
overlaycurses_window(3)
overwritecurses_window(3)
pair_contentcurses_color(3)
pnoutrefreshcurses_pad(3)
prefreshcurses_pad(3)
printwcurses_print(3)
putwincurses_fileo(3)
qiflushcurses_tty(3)
rawcurses_tty(3)
redrawwincurses_touch(3)
refreshcurses_refresh(3)
reset_prog_modecurses_tty(3)
reset_shell_modecurses_tty(3)
resettycurses_tty(3)
resizetermcurses_screen(3)
savettycurses_tty(3)
scanwcurses_scanw(3)
scrlcurses_scroll(3)
scrollcurses_scroll(3)
scrollokcurses_scroll(3)
set_termcurses_screen(3)
setscrregcurses_scroll(3)
settermcurses_screen(3)
standendcurses_standout(3)
standoutcurses_standout(3)
start_colorcurses_color(3)
subpadcurses_pad(3)
subwincurses_window(3)
termattrscurses_attributes(3)
timeoutcurses_input(3)
touchlinecurses_touch(3)
touchoverlapcurses_touch(3)
touchwincurses_touch(3)
unctrlcurses_print(3)
underendcurses_underscore(3)
underscorecurses_underscore(3)
ungetchcurses_input(3)
untouchwincurses_touch(3)
use_default_colorscurses_default_colors(3)
vlinecurses_line(3)
waddchcurses_addch(3)
waddchnstrcurses_addchstr(3)
waddchstrcurses_addchstr(3)
waddnstrcurses_addstr(3)
waddstrcurses_addstr(3)
wattr_getcurses_attributes(3)
wattr_offcurses_attributes(3)
wattr_oncurses_attributes(3)
wattr_setcurses_attributes(3)
wattroffcurses_attributes(3)
wattroncurses_attributes(3)
wattrsetcurses_attributes(3)
wbkgdcurses_background(3)
wbkgdsetcurses_background(3)
wbordercurses_border(3)
wclearcurses_clear(3)
wclrtobotcurses_clear(3)
wclrtoeolcurses_clear(3)
wcolor_setcurses_attributes(3)
wdelchcurses_delch(3)
wdeletelncurses_deleteln(3)
werasecurses_clear(3)
wgetchcurses_input(3)
wgetnstrcurses_input(3)
wgetstrcurses_input(3)
whlinecurses_line(3)
winchcurses_inch(3)
winchnstrcurses_inch(3)
winchstrcurses_inch(3)
winnstrcurses_inch(3)
winschcurses_insertch(3)
winsdellncurses_insdelln(3)
winsertlncurses_insertln(3)
winstrcurses_inch(3)
wmovecurses_cursor(3)
wnoutrefreshcurses_refresh(3)
wprintwcurses_print(3)
wredrawlncurses_touch(3)
wrefreshcurses_refresh(3)
wresizecurses_window(3)
wscanwcurses_scanw(3)
wscrlcurses_scroll(3)
wsetscrregcurses_scroll(3)
wstandendcurses_standout(3)
wstandoutcurses_standout(3)
wtimeoutcurses_input(3)
wtouchlncurses_touch(3)
wunderendcurses_underscore(3)
wunderscorecurses_underscore(3)
wvlinecurses_line(3)

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.