JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 3: Curses Library Functions     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Curses Library Functions

addch(3CURSES)

addch(3XCURSES)

addchnstr(3CURSES)

addchnstr(3XCURSES)

addchstr(3CURSES)

addchstr(3XCURSES)

addnstr(3CURSES)

addnstr(3XCURSES)

addnwstr(3CURSES)

addnwstr(3XCURSES)

addstr(3CURSES)

addstr(3XCURSES)

addwch(3CURSES)

add_wch(3XCURSES)

addwchnstr(3CURSES)

add_wchnstr(3XCURSES)

addwchstr(3CURSES)

add_wchstr(3XCURSES)

addwstr(3CURSES)

addwstr(3XCURSES)

adjcurspos(3CURSES)

arc(3PLOT)

attr_get(3XCURSES)

attroff(3CURSES)

attr_off(3XCURSES)

attroff(3XCURSES)

attron(3CURSES)

attr_on(3XCURSES)

attron(3XCURSES)

attrset(3CURSES)

attr_set(3XCURSES)

attrset(3XCURSES)

baudrate(3CURSES)

baudrate(3XCURSES)

beep(3CURSES)

beep(3XCURSES)

bkgd(3CURSES)

bkgd(3XCURSES)

bkgdset(3CURSES)

bkgdset(3XCURSES)

bkgrnd(3XCURSES)

bkgrndset(3XCURSES)

border(3CURSES)

border(3XCURSES)

border_set(3XCURSES)

bottom_panel(3CURSES)

box(3CURSES)

box(3PLOT)

box(3XCURSES)

box_set(3XCURSES)

can_change_color(3CURSES)

can_change_color(3XCURSES)

cbreak(3CURSES)

cbreak(3XCURSES)

chgat(3XCURSES)

circle(3PLOT)

clear(3CURSES)

clear(3XCURSES)

clearok(3CURSES)

clearok(3XCURSES)

closepl(3PLOT)

closevt(3PLOT)

clrtobot(3CURSES)

clrtobot(3XCURSES)

clrtoeol(3CURSES)

clrtoeol(3XCURSES)

color_content(3CURSES)

color_content(3XCURSES)

COLOR_PAIR(3XCURSES)

COLOR_PAIRS(3XCURSES)

COLORS(3XCURSES)

color_set(3XCURSES)

COLS(3XCURSES)

cont(3PLOT)

copywin(3CURSES)

copywin(3XCURSES)

current_field(3CURSES)

current_item(3CURSES)

curs_addch(3CURSES)

curs_addchstr(3CURSES)

curs_addstr(3CURSES)

curs_addwch(3CURSES)

curs_addwchstr(3CURSES)

curs_addwstr(3CURSES)

curs_alecompat(3CURSES)

curs_attr(3CURSES)

curs_beep(3CURSES)

curs_bkgd(3CURSES)

curs_border(3CURSES)

curs_clear(3CURSES)

curs_color(3CURSES)

curscr(3XCURSES)

curs_delch(3CURSES)

curs_deleteln(3CURSES)

curses(3CURSES)

curses(3XCURSES)

curs_getch(3CURSES)

curs_getstr(3CURSES)

curs_getwch(3CURSES)

curs_getwstr(3CURSES)

curs_getyx(3CURSES)

curs_inch(3CURSES)

curs_inchstr(3CURSES)

curs_initscr(3CURSES)

curs_inopts(3CURSES)

curs_insch(3CURSES)

curs_insstr(3CURSES)

curs_instr(3CURSES)

curs_inswch(3CURSES)

curs_inswstr(3CURSES)

curs_inwch(3CURSES)

curs_inwchstr(3CURSES)

curs_inwstr(3CURSES)

curs_kernel(3CURSES)

curs_move(3CURSES)

curs_outopts(3CURSES)

curs_overlay(3CURSES)

curs_pad(3CURSES)

curs_printw(3CURSES)

curs_refresh(3CURSES)

curs_scanw(3CURSES)

curs_scr_dump(3CURSES)

curs_scroll(3CURSES)

curs_set(3CURSES)

curs_set(3XCURSES)

curs_slk(3CURSES)

curs_termattrs(3CURSES)

curs_termcap(3CURSES)

curs_terminfo(3CURSES)

curs_touch(3CURSES)

curs_util(3CURSES)

curs_window(3CURSES)

cur_term(3XCURSES)

data_ahead(3CURSES)

data_behind(3CURSES)

def_prog_mode(3CURSES)

def_prog_mode(3XCURSES)

def_shell_mode(3CURSES)

def_shell_mode(3XCURSES)

delay_output(3CURSES)

delay_output(3XCURSES)

delch(3CURSES)

delch(3XCURSES)

del_curterm(3CURSES)

del_curterm(3XCURSES)

deleteln(3CURSES)

deleteln(3XCURSES)

del_panel(3CURSES)

delscreen(3CURSES)

delscreen(3XCURSES)

delwin(3CURSES)

delwin(3XCURSES)

derwin(3CURSES)

derwin(3XCURSES)

doupdate(3CURSES)

doupdate(3XCURSES)

dup_field(3CURSES)

dupwin(3CURSES)

dupwin(3XCURSES)

dynamic_field_info(3CURSES)

echo(3CURSES)

echo(3XCURSES)

echochar(3CURSES)

echochar(3XCURSES)

echowchar(3CURSES)

echo_wchar(3XCURSES)

endwin(3CURSES)

endwin(3XCURSES)

erase(3CURSES)

erase(3PLOT)

erase(3XCURSES)

erasechar(3CURSES)

erasechar(3XCURSES)

erasewchar(3XCURSES)

field_arg(3CURSES)

field_back(3CURSES)

field_buffer(3CURSES)

field_count(3CURSES)

field_fore(3CURSES)

field_index(3CURSES)

field_info(3CURSES)

field_init(3CURSES)

field_just(3CURSES)

field_opts(3CURSES)

field_opts_off(3CURSES)

field_opts_on(3CURSES)

field_pad(3CURSES)

field_status(3CURSES)

field_term(3CURSES)

field_type(3CURSES)

field_userptr(3CURSES)

filter(3CURSES)

filter(3XCURSES)

flash(3CURSES)

flash(3XCURSES)

flushinp(3CURSES)

flushinp(3XCURSES)

form_cursor(3CURSES)

form_data(3CURSES)

form_driver(3CURSES)

form_field(3CURSES)

form_field_attributes(3CURSES)

form_field_buffer(3CURSES)

form_field_info(3CURSES)

form_field_just(3CURSES)

form_field_new(3CURSES)

form_field_opts(3CURSES)

form_fields(3CURSES)

form_fieldtype(3CURSES)

form_field_userptr(3CURSES)

form_field_validation(3CURSES)

form_hook(3CURSES)

form_init(3CURSES)

form_new(3CURSES)

form_new_page(3CURSES)

form_opts(3CURSES)

form_opts_off(3CURSES)

form_opts_on(3CURSES)

form_page(3CURSES)

form_post(3CURSES)

forms(3CURSES)

form_sub(3CURSES)

form_term(3CURSES)

form_userptr(3CURSES)

form_win(3CURSES)

free_field(3CURSES)

free_fieldtype(3CURSES)

free_form(3CURSES)

free_item(3CURSES)

free_menu(3CURSES)

getbegyx(3CURSES)

getbegyx(3XCURSES)

getbkgd(3XCURSES)

getbkgrnd(3XCURSES)

getcchar(3XCURSES)

getch(3CURSES)

getch(3XCURSES)

getmaxyx(3CURSES)

getmaxyx(3XCURSES)

getnstr(3XCURSES)

getnwstr(3CURSES)

getn_wstr(3XCURSES)

getparyx(3CURSES)

getparyx(3XCURSES)

getstr(3CURSES)

getstr(3XCURSES)

getsyx(3CURSES)

getwch(3CURSES)

get_wch(3XCURSES)

getwin(3CURSES)

getwin(3XCURSES)

getwstr(3CURSES)

get_wstr(3XCURSES)

getyx(3CURSES)

getyx(3XCURSES)

halfdelay(3CURSES)

halfdelay(3XCURSES)

has_colors(3CURSES)

has_colors(3XCURSES)

has_ic(3CURSES)

has_ic(3XCURSES)

has_il(3CURSES)

has_il(3XCURSES)

hide_panel(3CURSES)

hline(3XCURSES)

hline_set(3XCURSES)

idcok(3CURSES)

idcok(3XCURSES)

idlok(3CURSES)

idlok(3XCURSES)

immedok(3CURSES)

immedok(3XCURSES)

inch(3CURSES)

inch(3XCURSES)

inchnstr(3CURSES)

inchnstr(3XCURSES)

inchstr(3CURSES)

inchstr(3XCURSES)

init_color(3CURSES)

init_color(3XCURSES)

init_pair(3CURSES)

init_pair(3XCURSES)

initscr(3CURSES)

initscr(3XCURSES)

innstr(3CURSES)

innstr(3XCURSES)

innwstr(3CURSES)

innwstr(3XCURSES)

insch(3CURSES)

insch(3XCURSES)

insdelln(3CURSES)

insdelln(3XCURSES)

insertln(3CURSES)

insertln(3XCURSES)

insnstr(3CURSES)

insnstr(3XCURSES)

insnwstr(3CURSES)

ins_nwstr(3XCURSES)

insstr(3CURSES)

insstr(3XCURSES)

instr(3CURSES)

instr(3XCURSES)

inswch(3CURSES)

ins_wch(3XCURSES)

inswstr(3CURSES)

ins_wstr(3XCURSES)

intrflush(3CURSES)

intrflush(3XCURSES)

inwch(3CURSES)

in_wch(3XCURSES)

inwchnstr(3CURSES)

in_wchnstr(3XCURSES)

inwchstr(3CURSES)

in_wchstr(3XCURSES)

inwstr(3CURSES)

inwstr(3XCURSES)

isendwin(3CURSES)

isendwin(3XCURSES)

is_linetouched(3CURSES)

is_linetouched(3XCURSES)

is_wintouched(3CURSES)

is_wintouched(3XCURSES)

item_count(3CURSES)

item_description(3CURSES)

item_index(3CURSES)

item_init(3CURSES)

item_name(3CURSES)

item_opts(3CURSES)

item_opts_off(3CURSES)

item_opts_on(3CURSES)

item_term(3CURSES)

item_userptr(3CURSES)

item_value(3CURSES)

item_visible(3CURSES)

keyname(3CURSES)

key_name(3XCURSES)

keyname(3XCURSES)

keypad(3CURSES)

keypad(3XCURSES)

killchar(3CURSES)

killchar(3XCURSES)

killwchar(3XCURSES)

label(3PLOT)

leaveok(3CURSES)

leaveok(3XCURSES)

libcurses(3XCURSES)

line(3PLOT)

linemod(3PLOT)

LINES(3XCURSES)

link_field(3CURSES)

link_fieldtype(3CURSES)

longname(3CURSES)

longname(3XCURSES)

menu_attributes(3CURSES)

menu_back(3CURSES)

menu_cursor(3CURSES)

menu_driver(3CURSES)

menu_fore(3CURSES)

menu_format(3CURSES)

menu_grey(3CURSES)

menu_hook(3CURSES)

menu_init(3CURSES)

menu_item_current(3CURSES)

menu_item_name(3CURSES)

menu_item_new(3CURSES)

menu_item_opts(3CURSES)

menu_items(3CURSES)

menu_item_userptr(3CURSES)

menu_item_value(3CURSES)

menu_item_visible(3CURSES)

menu_mark(3CURSES)

menu_new(3CURSES)

menu_opts(3CURSES)

menu_opts_off(3CURSES)

menu_opts_on(3CURSES)

menu_pad(3CURSES)

menu_pattern(3CURSES)

menu_post(3CURSES)

menus(3CURSES)

menu_sub(3CURSES)

menu_term(3CURSES)

menu_userptr(3CURSES)

menu_win(3CURSES)

meta(3CURSES)

meta(3XCURSES)

move(3CURSES)

move(3PLOT)

move(3XCURSES)

move_field(3CURSES)

movenextch(3CURSES)

move_panel(3CURSES)

moveprevch(3CURSES)

mvaddch(3CURSES)

mvaddch(3XCURSES)

mvaddchnstr(3CURSES)

mvaddchnstr(3XCURSES)

mvaddchstr(3CURSES)

mvaddchstr(3XCURSES)

mvaddnstr(3CURSES)

mvaddnstr(3XCURSES)

mvaddnwstr(3CURSES)

mvaddnwstr(3XCURSES)

mvaddstr(3CURSES)

mvaddstr(3XCURSES)

mvaddwch(3CURSES)

mvadd_wch(3XCURSES)

mvaddwchnstr(3CURSES)

mvadd_wchnstr(3XCURSES)

mvaddwchstr(3CURSES)

mvadd_wchstr(3XCURSES)

mvaddwstr(3CURSES)

mvaddwstr(3XCURSES)

mvchgat(3XCURSES)

mvcur(3CURSES)

mvcur(3XCURSES)

mvdelch(3CURSES)

mvdelch(3XCURSES)

mvderwin(3CURSES)

mvderwin(3XCURSES)

mvgetch(3CURSES)

mvgetch(3XCURSES)

mvgetnstr(3XCURSES)

mvgetnwstr(3CURSES)

mvgetn_wstr(3XCURSES)

mvgetstr(3CURSES)

mvgetstr(3XCURSES)

mvgetwch(3CURSES)

mvget_wch(3XCURSES)

mvgetwstr(3CURSES)

mvget_wstr(3XCURSES)

mvhline(3XCURSES)

mvhline_set(3XCURSES)

mvinch(3CURSES)

mvinch(3XCURSES)

mvinchnstr(3CURSES)

mvinchnstr(3XCURSES)

mvinchstr(3CURSES)

mvinchstr(3XCURSES)

mvinnstr(3CURSES)

mvinnstr(3XCURSES)

mvinnwstr(3CURSES)

mvinnwstr(3XCURSES)

mvinsch(3CURSES)

mvinsch(3XCURSES)

mvinsnstr(3CURSES)

mvinsnstr(3XCURSES)

mvinsnwstr(3CURSES)

mvins_nwstr(3XCURSES)

mvinsstr(3CURSES)

mvinsstr(3XCURSES)

mvinstr(3CURSES)

mvinstr(3XCURSES)

mvinswch(3CURSES)

mvins_wch(3XCURSES)

mvinswstr(3CURSES)

mvins_wstr(3XCURSES)

mvinwch(3CURSES)

mvin_wch(3XCURSES)

mvinwchnstr(3CURSES)

mvin_wchnstr(3XCURSES)

mvinwchstr(3CURSES)

mvin_wchstr(3XCURSES)

mvinwstr(3CURSES)

mvinwstr(3XCURSES)

mvprintw(3CURSES)

mvprintw(3XCURSES)

mvscanw(3CURSES)

mvscanw(3XCURSES)

mvvline(3XCURSES)

mvvline_set(3XCURSES)

mvwaddch(3CURSES)

mvwaddch(3XCURSES)

mvwaddchnstr(3CURSES)

mvwaddchnstr(3XCURSES)

mvwaddchstr(3CURSES)

mvwaddchstr(3XCURSES)

mvwaddnstr(3CURSES)

mvwaddnstr(3XCURSES)

mvwaddnwstr(3CURSES)

mvwaddnwstr(3XCURSES)

mvwaddstr(3CURSES)

mvwaddstr(3XCURSES)

mvwaddwch(3CURSES)

mvwadd_wch(3XCURSES)

mvwaddwchnstr(3CURSES)

mvwadd_wchnstr(3XCURSES)

mvwaddwchstr(3CURSES)

mvwadd_wchstr(3XCURSES)

mvwaddwstr(3CURSES)

mvwaddwstr(3XCURSES)

mvwchgat(3XCURSES)

mvwdelch(3CURSES)

mvwdelch(3XCURSES)

mvwgetch(3CURSES)

mvwgetch(3XCURSES)

mvwgetnstr(3XCURSES)

mvwgetnwstr(3CURSES)

mvwgetn_wstr(3XCURSES)

mvwgetstr(3CURSES)

mvwgetstr(3XCURSES)

mvwgetwch(3CURSES)

mvwget_wch(3XCURSES)

mvwgetwstr(3CURSES)

mvwget_wstr(3XCURSES)

mvwhline(3XCURSES)

mvwhline_set(3XCURSES)

mvwin(3CURSES)

mvwin(3XCURSES)

mvwinch(3CURSES)

mvwinch(3XCURSES)

mvwinchnstr(3CURSES)

mvwinchnstr(3XCURSES)

mvwinchstr(3CURSES)

mvwinchstr(3XCURSES)

mvwinnstr(3CURSES)

mvwinnstr(3XCURSES)

mvwinnwstr(3CURSES)

mvwinnwstr(3XCURSES)

mvwinsch(3CURSES)

mvwinsch(3XCURSES)

mvwinsnstr(3CURSES)

mvwinsnstr(3XCURSES)

mvwinsnwstr(3CURSES)

mvwins_nwstr(3XCURSES)

mvwinsstr(3CURSES)

mvwinsstr(3XCURSES)

mvwinstr(3CURSES)

mvwinstr(3XCURSES)

mvwinswch(3CURSES)

mvwins_wch(3XCURSES)

mvwinswstr(3CURSES)

mvwins_wstr(3XCURSES)

mvwinwch(3CURSES)

mvwin_wch(3XCURSES)

mvwinwchnstr(3CURSES)

mvwin_wchnstr(3XCURSES)

mvwinwchstr(3CURSES)

mvwin_wchstr(3XCURSES)

mvwinwstr(3CURSES)

mvwinwstr(3XCURSES)

mvwprintw(3CURSES)

mvwprintw(3XCURSES)

mvwscanw(3CURSES)

mvwscanw(3XCURSES)

mvwvline(3XCURSES)

mvwvline_set(3XCURSES)

napms(3CURSES)

napms(3XCURSES)

new_field(3CURSES)

new_fieldtype(3CURSES)

new_form(3CURSES)

new_item(3CURSES)

new_menu(3CURSES)

newpad(3CURSES)

newpad(3XCURSES)

new_page(3CURSES)

new_panel(3CURSES)

newterm(3CURSES)

newterm(3XCURSES)

newwin(3CURSES)

newwin(3XCURSES)

nl(3CURSES)

nl(3XCURSES)

nocbreak(3CURSES)

nocbreak(3XCURSES)

nodelay(3CURSES)

nodelay(3XCURSES)

noecho(3CURSES)

noecho(3XCURSES)

nonl(3CURSES)

nonl(3XCURSES)

noqiflush(3CURSES)

noqiflush(3XCURSES)

noraw(3CURSES)

noraw(3XCURSES)

notimeout(3CURSES)

notimeout(3XCURSES)

openpl(3PLOT)

openvt(3PLOT)

overlay(3CURSES)

overlay(3XCURSES)

overwrite(3CURSES)

overwrite(3XCURSES)

pair_content(3CURSES)

pair_content(3XCURSES)

PAIR_NUMBER(3XCURSES)

panel_above(3CURSES)

panel_below(3CURSES)

panel_hidden(3CURSES)

panel_move(3CURSES)

panel_new(3CURSES)

panels(3CURSES)

panel_show(3CURSES)

panel_top(3CURSES)

panel_update(3CURSES)

panel_userptr(3CURSES)

panel_window(3CURSES)

pechochar(3CURSES)

pechochar(3XCURSES)

pechowchar(3CURSES)

pecho_wchar(3XCURSES)

plot(3PLOT)

pnoutrefresh(3CURSES)

pnoutrefresh(3XCURSES)

point(3PLOT)

pos_form_cursor(3CURSES)

pos_menu_cursor(3CURSES)

post_form(3CURSES)

post_menu(3CURSES)

prefresh(3CURSES)

prefresh(3XCURSES)

printw(3CURSES)

printw(3XCURSES)

putp(3CURSES)

putp(3XCURSES)

putwin(3CURSES)

putwin(3XCURSES)

qiflush(3CURSES)

qiflush(3XCURSES)

raw(3CURSES)

raw(3XCURSES)

redrawwin(3CURSES)

redrawwin(3XCURSES)

refresh(3CURSES)

refresh(3XCURSES)

replace_panel(3CURSES)

reset_prog_mode(3CURSES)

reset_prog_mode(3XCURSES)

reset_shell_mode(3CURSES)

reset_shell_mode(3XCURSES)

resetty(3CURSES)

resetty(3XCURSES)

restartterm(3CURSES)

restartterm(3XCURSES)

ripoffline(3CURSES)

ripoffline(3XCURSES)

savetty(3CURSES)

savetty(3XCURSES)

scale_form(3CURSES)

scale_menu(3CURSES)

scanw(3CURSES)

scanw(3XCURSES)

scr_dump(3CURSES)

scr_dump(3XCURSES)

scr_init(3CURSES)

scr_init(3XCURSES)

scrl(3CURSES)

scrl(3XCURSES)

scroll(3CURSES)

scroll(3XCURSES)

scrollok(3CURSES)

scrollok(3XCURSES)

scr_restore(3CURSES)

scr_restore(3XCURSES)

scr_set(3CURSES)

scr_set(3XCURSES)

setcchar(3XCURSES)

set_current_field(3CURSES)

set_current_item(3CURSES)

set_curterm(3CURSES)

set_curterm(3XCURSES)

set_field_back(3CURSES)

set_field_buffer(3CURSES)

set_field_fore(3CURSES)

set_field_init(3CURSES)

set_field_just(3CURSES)

set_field_opts(3CURSES)

set_field_pad(3CURSES)

set_field_status(3CURSES)

set_field_term(3CURSES)

set_field_type(3CURSES)

set_fieldtype_arg(3CURSES)

set_fieldtype_choice(3CURSES)

set_field_userptr(3CURSES)

set_form_fields(3CURSES)

set_form_init(3CURSES)

set_form_opts(3CURSES)

set_form_page(3CURSES)

set_form_sub(3CURSES)

set_form_term(3CURSES)

set_form_userptr(3CURSES)

set_form_win(3CURSES)

set_item_init(3CURSES)

set_item_opts(3CURSES)

set_item_term(3CURSES)

set_item_userptr(3CURSES)

set_item_value(3CURSES)

set_max_field(3CURSES)

set_menu_back(3CURSES)

set_menu_fore(3CURSES)

set_menu_format(3CURSES)

set_menu_grey(3CURSES)

set_menu_init(3CURSES)

set_menu_items(3CURSES)

set_menu_mark(3CURSES)

set_menu_opts(3CURSES)

set_menu_pad(3CURSES)

set_menu_pattern(3CURSES)

set_menu_sub(3CURSES)

set_menu_term(3CURSES)

set_menu_userptr(3CURSES)

set_menu_win(3CURSES)

set_new_page(3CURSES)

set_panel_userptr(3CURSES)

setscrreg(3CURSES)

setscrreg(3XCURSES)

setsyx(3CURSES)

set_term(3CURSES)

setterm(3CURSES)

set_term(3XCURSES)

set_top_row(3CURSES)

setupterm(3CURSES)

setupterm(3XCURSES)

show_panel(3CURSES)

slk_attroff(3CURSES)

slk_attr_off(3XCURSES)

slk_attroff(3XCURSES)

slk_attron(3CURSES)

slk_attr_on(3XCURSES)

slk_attron(3XCURSES)

slk_attrset(3CURSES)

slk_attr_set(3XCURSES)

slk_attrset(3XCURSES)

slk_clear(3CURSES)

slk_clear(3XCURSES)

slk_color(3XCURSES)

slk_init(3CURSES)

slk_init(3XCURSES)

slk_label(3CURSES)

slk_label(3XCURSES)

slk_noutrefresh(3CURSES)

slk_noutrefresh(3XCURSES)

slk_refresh(3CURSES)

slk_refresh(3XCURSES)

slk_restore(3CURSES)

slk_restore(3XCURSES)

slk_set(3CURSES)

slk_set(3XCURSES)

slk_touch(3CURSES)

slk_touch(3XCURSES)

slk_wset(3XCURSES)

space(3PLOT)

standend(3CURSES)

standend(3XCURSES)

standout(3CURSES)

standout(3XCURSES)

start_color(3CURSES)

start_color(3XCURSES)

stdscr(3XCURSES)

subpad(3CURSES)

subpad(3XCURSES)

subwin(3CURSES)

subwin(3XCURSES)

syncok(3CURSES)

syncok(3XCURSES)

termattrs(3CURSES)

term_attrs(3XCURSES)

termattrs(3XCURSES)

termname(3CURSES)

termname(3XCURSES)

tgetent(3CURSES)

tgetent(3XCURSES)

tgetflag(3CURSES)

tgetflag(3XCURSES)

tgetnum(3CURSES)

tgetnum(3XCURSES)

tgetstr(3CURSES)

tgetstr(3XCURSES)

tgoto(3CURSES)

tgoto(3XCURSES)

tigetflag(3CURSES)

tigetflag(3XCURSES)

tigetnum(3CURSES)

tigetnum(3XCURSES)

tigetstr(3CURSES)

tigetstr(3XCURSES)

timeout(3CURSES)

timeout(3XCURSES)

top_panel(3CURSES)

top_row(3CURSES)

touchline(3CURSES)

touchline(3XCURSES)

touchwin(3CURSES)

touchwin(3XCURSES)

tparm(3CURSES)

tparm(3XCURSES)

tputs(3CURSES)

tputs(3XCURSES)

typeahead(3CURSES)

typeahead(3XCURSES)

unctrl(3CURSES)

unctrl(3XCURSES)

ungetch(3CURSES)

ungetch(3XCURSES)

ungetwch(3CURSES)

unget_wch(3XCURSES)

unpost_form(3CURSES)

unpost_menu(3CURSES)

untouchwin(3CURSES)

untouchwin(3XCURSES)

update_panels(3CURSES)

use_env(3CURSES)

use_env(3XCURSES)

vidattr(3CURSES)

vid_attr(3XCURSES)

vidattr(3XCURSES)

vidputs(3CURSES)

vid_puts(3XCURSES)

vidputs(3XCURSES)

vline(3XCURSES)

vline_set(3XCURSES)

vwprintw(3CURSES)

vw_printw(3XCURSES)

vwprintw(3XCURSES)

vwscanw(3CURSES)

vw_scanw(3XCURSES)

vwscanw(3XCURSES)

waddch(3CURSES)

waddch(3XCURSES)

waddchnstr(3CURSES)

waddchnstr(3XCURSES)

waddchstr(3CURSES)

waddchstr(3XCURSES)

waddnstr(3CURSES)

waddnstr(3XCURSES)

waddnwstr(3CURSES)

waddnwstr(3XCURSES)

waddstr(3CURSES)

waddstr(3XCURSES)

waddwch(3CURSES)

wadd_wch(3XCURSES)

waddwchnstr(3CURSES)

wadd_wchnstr(3XCURSES)

waddwchstr(3CURSES)

wadd_wchstr(3XCURSES)

waddwstr(3CURSES)

waddwstr(3XCURSES)

wadjcurspos(3CURSES)

wattr_get(3XCURSES)

wattroff(3CURSES)

wattr_off(3XCURSES)

wattroff(3XCURSES)

wattron(3CURSES)

wattr_on(3XCURSES)

wattron(3XCURSES)

wattrset(3CURSES)

wattr_set(3XCURSES)

wattrset(3XCURSES)

wbkgd(3CURSES)

wbkgd(3XCURSES)

wbkgdset(3CURSES)

wbkgdset(3XCURSES)

wbkgrnd(3XCURSES)

wbkgrndset(3XCURSES)

wborder(3CURSES)

wborder(3XCURSES)

wborder_set(3XCURSES)

wchgat(3XCURSES)

wclear(3CURSES)

wclear(3XCURSES)

wclrtobot(3CURSES)

wclrtobot(3XCURSES)

wclrtoeol(3CURSES)

wclrtoeol(3XCURSES)

wcolor_set(3XCURSES)

wcursyncup(3CURSES)

wcursyncup(3XCURSES)

wdelch(3CURSES)

wdelch(3XCURSES)

wdeleteln(3CURSES)

wdeleteln(3XCURSES)

wechochar(3CURSES)

wechochar(3XCURSES)

wechowchar(3CURSES)

wecho_wchar(3XCURSES)

werase(3CURSES)

werase(3XCURSES)

wgetbkgrnd(3XCURSES)

wgetch(3CURSES)

wgetch(3XCURSES)

wgetnstr(3CURSES)

wgetnstr(3XCURSES)

wgetnwstr(3CURSES)

wgetn_wstr(3XCURSES)

wgetstr(3CURSES)

wgetstr(3XCURSES)

wgetwch(3CURSES)

wget_wch(3XCURSES)

wgetwstr(3CURSES)

wget_wstr(3XCURSES)

whline(3CURSES)

whline(3XCURSES)

whline_set(3XCURSES)

winch(3CURSES)

winch(3XCURSES)

winchnstr(3CURSES)

winchnstr(3XCURSES)

winchstr(3CURSES)

winchstr(3XCURSES)

winnstr(3CURSES)

winnstr(3XCURSES)

winnwstr(3CURSES)

winnwstr(3XCURSES)

winsch(3CURSES)

winsch(3XCURSES)

winsdelln(3CURSES)

winsdelln(3XCURSES)

winsertln(3CURSES)

winsertln(3XCURSES)

winsnstr(3CURSES)

winsnstr(3XCURSES)

winsnwstr(3CURSES)

wins_nwstr(3XCURSES)

winsstr(3CURSES)

winsstr(3XCURSES)

winstr(3CURSES)

winstr(3XCURSES)

winswch(3CURSES)

wins_wch(3XCURSES)

winswstr(3CURSES)

wins_wstr(3XCURSES)

winwch(3CURSES)

win_wch(3XCURSES)

winwchnstr(3CURSES)

win_wchnstr(3XCURSES)

winwchstr(3CURSES)

win_wchstr(3XCURSES)

winwstr(3CURSES)

winwstr(3XCURSES)

wmove(3CURSES)

wmove(3XCURSES)

wmovenextch(3CURSES)

wmoveprevch(3CURSES)

wnoutrefresh(3CURSES)

wnoutrefresh(3XCURSES)

wprintw(3CURSES)

wprintw(3XCURSES)

wredrawln(3CURSES)

wredrawln(3XCURSES)

wrefresh(3CURSES)

wrefresh(3XCURSES)

wscanw(3CURSES)

wscanw(3XCURSES)

wscrl(3CURSES)

wscrl(3XCURSES)

wsetscrreg(3CURSES)

wsetscrreg(3XCURSES)

wstandend(3CURSES)

wstandend(3XCURSES)

wstandout(3CURSES)

wstandout(3XCURSES)

wsyncdown(3CURSES)

wsyncdown(3XCURSES)

wsyncup(3CURSES)

wsyncup(3XCURSES)

wtimeout(3CURSES)

wtimeout(3XCURSES)

wtouchln(3CURSES)

wtouchln(3XCURSES)

wunctrl(3XCURSES)

wvline(3CURSES)

wvline(3XCURSES)

wvline_set(3XCURSES)

curses

- CRT screen handling and optimization package

Synopsis

cc [ flag... ] file.. .–lcurses [ library... ]
#include <curses.h>

Description

The curses library routines give the user a terminal-independent method of updating character screens with reasonable optimization.

The curses package allows: 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.

To initialize the routines, the routine initscr() or newterm() must be called before any of the other routines that deal with windows and screens are used. The routine endwin() must be called before exiting. To get character-at-a-time input without echoing (most interactive, screen oriented programs want this), the following sequence should be used:

initscr,cbreak,noecho;

Most programs would additionally use the sequence:

nonl,intrflush(stdscr,FALSE),keypad(stdscr,TRUE);

Before a curses program is run, the tab stops of the terminal should be set and its initialization strings, if defined, must be output. This can be done by executing the tput init command after the shell environment variable TERM has been exported. (See terminfo(4) for further details.)

The curses library permits manipulation of data structures, called windows, which can be thought of as two-dimensional arrays of characters representing all or part of a CRT screen. A default window called stdscr, which is the size of the terminal screen, is supplied. Others may be created with newwin(3CURSES).

Windows are referred to by variables declared as WINDOW *. These data structures are manipulated with routines described on 3CURSES pages (whose names begin "curs_"). Among which the most basic routines are move(3CURSES) and addch(3CURSES). More general versions of these routines are included with names beginning with w, allowing the user to specify a window. The routines not beginning with w affect stdscr.

After using routines to manipulate a window, refresh(3CURSES) is called, telling curses to make the user's CRT screen look like stdscr. The characters in a window are actually of type chtype, (character and attribute data) so that other information about the character may also be stored with each character.

Special windows called pads may also be manipulated. These are windows which are not constrained to the size of the screen and whose contents need not be completely displayed. See curs_pad(3CURSES) for more information.

In addition to drawing characters on the screen, video attributes and colors may be included, causing the characters to show up in such modes as underlined, in reverse video, or in color on terminals that support such display enhancements. Line drawing characters may be specified to be output. On input, curses is also able to translate arrow and function keys that transmit escape sequences into single values. The video attributes, line drawing characters, and input values use names, defined in <curses.h>, such as A_REVERSE, ACS_HLINE, and KEY_LEFT.

If the environment variables LINES and COLUMNS are set, or if the program is executing in a window environment, line and column information in the environment will override information read by terminfo. This would effect a program running in an AT&T 630 layer, for example, where the size of a screen is changeable.

If the environment variable TERMINFO is defined, any program using curses checks for a local terminal definition before checking in the standard place. For example, if TERM is set to att4424, then the compiled terminal definition is found in

/usr/share/lib/terminfo/a/att4424.

(The `a' is copied from the first letter of att4424 to avoid creation of huge directories.) However, if TERMINFO is set to $HOME/myterms, curses first checks

$HOME/myterms/a/att4424,

and if that fails, it then checks

/usr/share/lib/terminfo/a/att4424.

This is useful for developing experimental definitions or when write permission in /usr/share/lib/terminfo is not available.

The integer variables LINES and COLS are defined in <curses.h> and will be filled in by initscr with the size of the screen. The constants TRUE and FALSE have the values 1 and 0, respectively.

The curses routines also define the WINDOW * variable curscr which is used for certain low-level operations like clearing and redrawing a screen containing garbage. The curscr can be used in only a few routines.

International Functions

The number of bytes and the number of columns to hold a character from the supplementary character set is locale-specific (locale category LC_CTYPE) and can be specified in the character class table.

For editing, operating at the character level is entirely appropriate. For screen formatting, arbitrary movement of characters on screen is not desirable.

Overwriting characters (addch, for example) operates on a screen level. Overwriting a character by a character that requires a different number of columns may produce orphaned columns. These orphaned columns are filled with background characters.

Inserting characters (insch, for example) operates on a character level (that is, at the character boundaries). The specified character is inserted right before the character, regardless of which column of a character the cursor points to. Before insertion, the cursor position is adjusted to the first column of the character.

As with inserting characters, deleting characters (delch, for example) operates on a character level (that is, at the character boundaries). The character at the cursor is deleted whichever column of the character the cursor points to. Before deletion, the cursor position is adjusted to the first column of the character.

A multi-column character cannot be put on the last column of a line. When such attempts are made, the last column is set to the background character. In addition, when such an operation creates orphaned columns, the orphaned columns are filled with background characters.

Overlapping and overwriting a window follows the operation of overwriting characters around its edge. The orphaned columns, if any, are handled as in the character operations.

The cursor is allowed to be placed anywhere in a window. If the insertion or deletion is made when the cursor points to the second or later column position of a character that holds multiple columns, the cursor is adjusted to the first column of the character before the insertion or deletion.

Routine and Argument Names

Many curses routines have two or more versions. The routines prefixed with w require a window argument. The routines prefixed with p require a pad argument. Those without a prefix generally use stdscr.

The routines prefixed with mv require an x and y coordinate to move to before performing the appropriate action. The mv routines imply a call to move(3CURSES) before the call to the other routine. The coordinate y always refers to the row (of the window), and x always refers to the column. The upper left-hand corner is always (0,0), not (1,1).

The routines prefixed with mvw take both a window argument and x and y coordinates. The window argument is always specified before the coordinates.

In each case, win is the window affected, and pad is the pad affected; win and pad are always pointers to type WINDOW

Option setting routines require a Boolean flag bf with the value TRUE or FALSE; bf is always of type bool. The variables ch and attrs below are always of type chtype. The types WINDOW, SCREEN, bool, and chtype are defined in <curses.h>. The type TERMINAL is defined in <term.h>. All other arguments are integers.

Routine Name Index

The following table lists each curses routine and the name of the manual page on which it is described.

curses Routine Name

Manual Page Name

addch

curs_addch(3CURSES)

addchnstr

curs_addchstr(3CURSES)

addchstr

curs_addchstr(3CURSES)

addnstr

curs_addstr(3CURSES)

addnwstr

curs_addwstr(3CURSES)

addstr

curs_addstr(3CURSES)

addwch

curs_addwch(3CURSES)

addwchnstr

curs_addwchstr(3CURSES)

addwchstr

curs_addwchstr(3CURSES)

addwstr

curs_addwstr(3CURSES)

adjcurspos

curs_alecompat(3CURSES)

attroff

curs_attr(3CURSES)

attron

curs_attr(3CURSES)

attrset

curs_attr(3CURSES)

baudrate

curs_termattrs(3CURSES)

beep

curs_beep(3CURSES)

bkgd

curs_bkgd(3CURSES)

bkgdset

curs_bkgd(3CURSES)

border

curs_border(3CURSES)

box

curs_border(3CURSES)

can_change_color

curs_color(3CURSES)

cbreak

curs_inopts(3CURSES)

clear

curs_clear(3CURSES)

clearok

curs_outopts(3CURSES)

clrtobot

curs_clear(3CURSES)

clrtoeol

curs_clear(3CURSES)

color_content

curs_color(3CURSES)

copywin

curs_overlay(3CURSES)

curs_set

curs_kernel(3CURSES)

def_prog_mode

curs_kernel(3CURSES)

def_shell_mode

curs_kernel(3CURSES)

del_curterm

curs_terminfo(3CURSES)

delay_output

curs_util(3CURSES)

delch

curs_delch(3CURSES)

deleteln

curs_deleteln(3CURSES)

delscreen

curs_initscr(3CURSES)

delwin

curs_window(3CURSES)

derwin

curs_window(3CURSES)

doupdate

curs_refresh(3CURSES)

dupwin

curs_window(3CURSES)

echo

curs_inopts(3CURSES)

echochar

curs_addch(3CURSES)

echowchar

curs_addwch(3CURSES)

endwin

curs_initscr(3CURSES)

erase

curs_clear(3CURSES)

erasechar

curs_termattrs(3CURSES)

filter

curs_util(3CURSES)

flash

curs_beep(3CURSES)

flushinp

curs_util(3CURSES)

getbegyx

curs_getyx(3CURSES)

getch

curs_getch(3CURSES)

getmaxyx

curs_getyx(3CURSES)

getnwstr

curs_getwstr(3CURSES)

getparyx

curs_getyx(3CURSES)

getstr

curs_getstr(3CURSES)

getsyx

curs_kernel(3CURSES)

getwch

curs_getwch(3CURSES)

getwin

curs_util(3CURSES)

getwstr

curs_getwstr(3CURSES)

getyx

curs_getyx(3CURSES)

halfdelay

curs_inopts(3CURSES)

has_colors

curs_color(3CURSES)

has_ic

curs_termattrs(3CURSES)

has_il

curs_termattrs(3CURSES)

idcok

curs_outopts(3CURSES)

idlok

curs_outopts(3CURSES)

immedok

curs_outopts(3CURSES)

inch

curs_inch(3CURSES)

inchnstr

curs_inchstr(3CURSES)

inchstr

curs_inchstr(3CURSES)

init_color

curs_color(3CURSES)

init_pair

curs_color(3CURSES)

initscr

curs_initscr(3CURSES)

innstr

curs_instr(3CURSES)

innwstr

curs_inwstr(3CURSES)

insch

curs_insch(3CURSES)

insdelln

curs_deleteln(3CURSES)

insertln

curs_deleteln(3CURSES)

insnstr

curs_insstr(3CURSES)

insnwstr

curs_inswstr(3CURSES)

insstr

curs_insstr(3CURSES)

instr

curs_instr(3CURSES)

inswch

curs_inswch(3CURSES)

inswstr

curs_inswstr(3CURSES)

intrflush

curs_inopts(3CURSES)

inwch

curs_inwch(3CURSES)

inwchnstr

curs_inwchstr(3CURSES)

inwchstr

curs_inwchstr(3CURSES)

inwstr

curs_inwstr(3CURSES)

is_linetouched

curs_touch(3CURSES)

is_wintouched

curs_touch(3CURSES)

isendwin

curs_initscr(3CURSES)

keyname

curs_util(3CURSES)

keypad

curs_inopts(3CURSES)

killchar

curs_termattrs(3CURSES)

leaveok

curs_outopts(3CURSES)

longname

curs_termattrs(3CURSES)

meta

curs_inopts(3CURSES)

move

curs_move(3CURSES)

movenextch

curs_alecompat(3CURSES)

moveprevch

curs_alecompat(3CURSES)

mvaddch

curs_addch(3CURSES)

mvaddchnstr

curs_addchstr(3CURSES)

mvaddchstr

curs_addchstr(3CURSES)

mvaddnstr

curs_addstr(3CURSES)

mvaddnwstr

curs_addwstr(3CURSES)

mvaddstr

curs_addstr(3CURSES)

mvaddwch

curs_addwch(3CURSES)

mvaddwchnstr

curs_addwchstr(3CURSES)

mvaddwchstr

curs_addwchstr(3CURSES)

mvaddwstr

curs_addwstr(3CURSES)

mvcur

curs_terminfo(3CURSES)

mvdelch

curs_delch(3CURSES)

mvderwin

curs_window(3CURSES)

mvgetch

curs_getch(3CURSES)

mvgetnwstr

curs_getwstr(3CURSES)

mvgetstr

curs_getstr(3CURSES)

mvgetwch

curs_getwch(3CURSES)

mvgetwstr

curs_getwstr(3CURSES)

mvinch

curs_inch(3CURSES)

mvinchnstr

curs_inchstr(3CURSES)

mvinchstr

curs_inchstr(3CURSES)

mvinnstr

curs_instr(3CURSES)

mvinnwstr

curs_inwstr(3CURSES)

mvinsch

curs_insch(3CURSES)

mvinsnstr

curs_insstr(3CURSES)

mvinsnwstr

curs_inswstr(3CURSES)

mvinsstr

curs_insstr(3CURSES)

mvinstr

curs_instr(3CURSES)

mvinswch

curs_inswch(3CURSES)

mvinswstr

curs_inswstr(3CURSES)

mvinwch

curs_inwch(3CURSES)

mvinwchnstr

curs_inwchstr(3CURSES)

mvinwchstr

curs_inwchstr(3CURSES)

mvinwstr

curs_inwstr(3CURSES)

mvprintw

curs_printw(3CURSES)

mvscanw

curs_scanw(3CURSES)

mvwaddch

curs_addch(3CURSES)

mvwaddchnstr

curs_addchstr(3CURSES)

mvwaddchstr

curs_addchstr(3CURSES)

mvwaddnstr

curs_addstr(3CURSES)

mvwaddnwstr

curs_addwstr(3CURSES)

mvwaddstr

curs_addstr(3CURSES)

mvwaddwch

curs_addwch(3CURSES)

mvwaddwchnstr

curs_addwchstr(3CURSES)

mvwaddwchstr

curs_addwchstr(3CURSES)

mvwaddwstr

curs_addwstr(3CURSES)

mvwdelch

curs_delch(3CURSES)

mvwgetch

curs_getch(3CURSES)

mvwgetnwstr

curs_getwstr(3CURSES)

mvwgetstr

curs_getstr(3CURSES)

mvwgetwch

curs_getwch(3CURSES)

mvwgetwstr

curs_getwstr(3CURSES)

mvwin

curs_window(3CURSES)

mvwinch

curs_inch(3CURSES)

mvwinchnstr

curs_inchstr(3CURSES)

mvwinchstr

curs_inchstr(3CURSES)

mvwinnstr

curs_instr(3CURSES)

mvwinnwstr

curs_inwstr(3CURSES)

mvwinsch

curs_insch(3CURSES)

mvwinsnstr

curs_insstr(3CURSES)

mvwinsstr

curs_insstr(3CURSES)

mvwinstr

curs_instr(3CURSES)

mvwinswch

curs_inswch(3CURSES)

mvwinswstr

curs_inswstr(3CURSES)

mvwinwch

curs_inwch(3CURSES)

mvwinwchnstr

curs_inwchstr(3CURSES)

mvwinwchstr

curs_inwchstr(3CURSES)

mvwinwstr

curs_inwstr(3CURSES)

mvwprintw

curs_printw(3CURSES)

mvwscanw

curs_scanw(3CURSES)

napms

curs_kernel(3CURSES)

newpad

curs_pad(3CURSES)

newterm

curs_initscr(3CURSES)

newwin

curs_window(3CURSES)

nl

curs_outopts(3CURSES)

nocbreak

curs_inopts(3CURSES)

nodelay

curs_inopts(3CURSES)

noecho

curs_inopts(3CURSES)

nonl

curs_outopts(3CURSES)

noqiflush

curs_inopts(3CURSES)

noraw

curs_inopts(3CURSES)

notimeout

curs_inopts(3CURSES)

overlay

curs_overlay(3CURSES)

overwrite

curs_overlay(3CURSES)

pair_content

curs_color(3CURSES)

pechochar

curs_pad(3CURSES)

pechowchar

curs_pad(3CURSES)

pnoutrefresh

curs_pad(3CURSES)

prefresh

curs_pad(3CURSES)

printw

curs_printw(3CURSES)

putp

curs_terminfo(3CURSES)

putwin

curs_util(3CURSES)

qiflush

curs_inopts(3CURSES)

raw

curs_inopts(3CURSES)

redrawwin

curs_refresh(3CURSES)

refresh

curs_refresh(3CURSES)

reset_prog_mode

curs_kernel(3CURSES)

reset_shell_mode

curs_kernel(3CURSES)

resetty

curs_kernel(3CURSES)

restartterm

curs_terminfo(3CURSES)

ripoffline

curs_kernel(3CURSES)

savetty

curs_kernel(3CURSES)

scanw

curs_scanw(3CURSES)

scr_dump

curs_scr_dump(3CURSES)

scr_init

curs_scr_dump(3CURSES)

scr_restore

curs_scr_dump(3CURSES)

scr_set

curs_scr_dump(3CURSES)

scroll

curs_scroll(3CURSES)

scrollok

curs_outopts(3CURSES)

set_curterm

curs_terminfo(3CURSES)

set_term

curs_initscr(3CURSES)

setscrreg

curs_outopts(3CURSES)

setsyx

curs_kernel(3CURSES)

setterm

curs_terminfo(3CURSES)

setupterm

curs_terminfo(3CURSES)

slk_attroff

curs_slk(3CURSES)

slk_attron

curs_slk(3CURSES)

slk_attrset

curs_slk(3CURSES)

slk_clear

curs_slk(3CURSES)

slk_init

curs_slk(3CURSES)

slk_label

curs_slk(3CURSES)

slk_noutrefresh

curs_slk(3CURSES)

slk_refresh

curs_slk(3CURSES)

slk_restore

curs_slk(3CURSES)

slk_set

curs_slk(3CURSES)

slk_touch

curs_slk(3CURSES)

srcl

curs_scroll(3CURSES)

standend

curs_attr(3CURSES)

standout

curs_attr(3CURSES)

start_color

curs_color(3CURSES)

subpad

curs_pad(3CURSES)

subwin

curs_window(3CURSES)

syncok

curs_window(3CURSES)

termattrs

curs_termattrs(3CURSES)

termname

curs_termattrs(3CURSES)

tgetent

curs_termcap(3CURSES)

tgetflag

curs_termcap(3CURSES)

tgetnum

curs_termcap(3CURSES)

tgetstr

curs_termcap(3CURSES)

tgoto

curs_termcap(3CURSES)

tigetflag

curs_terminfo(3CURSES)

tigetnum

curs_terminfo(3CURSES)

tigetstr

curs_terminfo(3CURSES)

timeout

curs_inopts(3CURSES)

touchline

curs_touch(3CURSES)

touchwin

curs_touch(3CURSES)

tparm

curs_terminfo(3CURSES)

tputs

curs_terminfo(3CURSES)

typeahead

curs_inopts(3CURSES)

unctrl

curs_util(3CURSES)

ungetch

curs_getch(3CURSES)

ungetwch

curs_getwch(3CURSES)

untouchwin

curs_touch(3CURSES)

use_env

curs_util(3CURSES)

vidattr

curs_terminfo(3CURSES)

vidputs

curs_terminfo(3CURSES)

vwprintw

curs_printw(3CURSES)

vwscanw

curs_scanw(3CURSES)

waddch

curs_addch(3CURSES)

waddchnstr

curs_addchstr(3CURSES)

waddchstr

curs_addchstr(3CURSES)

waddnstr

curs_addstr(3CURSES)

waddnwstr

curs_addwstr(3CURSES)

waddstr

curs_addstr(3CURSES)

waddwch

curs_addwch(3CURSES)

waddwchnstr

curs_addwchstr(3CURSES)

waddwchstr

curs_addwchstr(3CURSES)

waddwstr

curs_addwstr(3CURSES)

wadjcurspos

curs_alecompat(3CURSES)

wattroff

curs_attr(3CURSES)

wattron

curs_attr(3CURSES)

wattrset

curs_attr(3CURSES)

wbkgd

curs_bkgd(3CURSES)

wbkgdset

curs_bkgd(3CURSES)

wborder

curs_border(3CURSES)

wclear

curs_clear(3CURSES)

wclrtobot

curs_clear(3CURSES)

wclrtoeol

curs_clear(3CURSES)

wcursyncup

curs_window(3CURSES)

wdelch

curs_delch(3CURSES)

wdeleteln

curs_deleteln(3CURSES)

wechochar

curs_addch(3CURSES)

wechowchar

curs_addwch(3CURSES)

werase

curs_clear(3CURSES)

wgetch

curs_getch(3CURSES)

wgetnstr

curs_getstr(3CURSES)

wgetnwstr

curs_getwstr(3CURSES)

wgetstr

curs_getstr(3CURSES)

wgetwch

curs_getwch(3CURSES)

wgetwstr

curs_getwstr(3CURSES)

whline

curs_border(3CURSES)

winch

curs_inch(3CURSES)

winchnstr

curs_inchstr(3CURSES)

winchstr

curs_inchstr(3CURSES)

winnstr

curs_instr(3CURSES)

winnwstr

curs_inwstr(3CURSES)

winsch

curs_insch(3CURSES)

winsdelln

curs_deleteln(3CURSES)

winsertln

curs_deleteln(3CURSES)

winsnstr

curs_insstr(3CURSES)

winsnwstr

curs_inswstr(3CURSES)

winsstr

curs_insstr(3CURSES)

winstr

curs_instr(3CURSES)

winswch

curs_inswch(3CURSES)

winswstr

curs_inswstr(3CURSES)

winwch

curs_inwch(3CURSES)

winwchnstr

curs_inwchstr(3CURSES)

winwchstr

curs_inwchstr(3CURSES)

winwstr

curs_inwstr(3CURSES)

wmove

curs_move(3CURSES)

wmovenextch

curs_alecompat(3CURSES)

wmoveprevch

curs_alecompat(3CURSES)

wnoutrefresh

curs_refresh(3CURSES)

wprintw

curs_printw(3CURSES)

wredrawln

curs_refresh(3CURSES)

wrefresh

curs_refresh(3CURSES)

wscanw

curs_scanw(3CURSES)

wscrl

curs_scroll(3CURSES)

wsetscrreg

curs_outopts(3CURSES)

wstandend

curs_attr(3CURSES)

wstandout

curs_attr(3CURSES)

wsyncdown

curs_window(3CURSES)

wsyncup

curs_window(3CURSES)

wtimeout

curs_inopts(3CURSES)

wtouchln

curs_touch(3CURSES)

wvline

curs_border(3CURSES)

Return Values

Routines that return an integer return ERR upon failure and an integer value other than ERR upon successful completion, unless otherwise noted in the routine descriptions.

All macros return the value of the w version, except setscrreg(), wsetscrreg(), getyx(), getbegyx(), and getmaxyx(). The return values of setscrreg(), wsetscrreg(), getyx(), getbegyx(), and getmaxyx() are undefined (that is, these should not be used as the right-hand side of assignment statements).

Routines that return pointers return NULL on error.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
MT-Level
Unsafe

See Also

curses(3XCURSES), libcurses(3LIB), libcurses(3XCURSES), terminfo(4), attributes(5)

Notes

The header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h>.