1. kaznak

    No comment

    kaznak
Changes in body
Source | HTML | Preview
@@ -1,222 +1,222 @@
# この記事では
-ncurses 関連の関数を適当に分類して列挙します。詳しい情報は man で見る。 man に載ってない事は書く。
+ncurses 関連の関数を適当に分類して列挙する。簡単な注意点つける。詳しい情報は man で見る。
あと、 menu と form は入ってない。後で追加したい。
# 文字/文字列/ビープ書き出し、フラッシュ
refresh, wrefresh は、後に行なわれたものが上書きされて行く。
下のものは透過せず上書きされて見えなくなってしまうので注意。
window に文字を書き込む時には、一行に window 幅より一文字少ない文字数しか書き込めないっぽい。カーソルのせい?
## curs_add_wch
add_wch, wadd_wch, mvadd_wch, mvwadd_wch, echo_wchar, wecho_wchar
add a complex character and rendition to a curses window, then advance the cursor
## curs_add_wchstr
add_wchstr, add_wchnstr, wadd_wchstr, wadd_wchnstr, mvadd_wchstr, mvadd_wchnstr, mvwadd_wchstr, mvwadd_wchnstr
add an array of complex characters (and attributes) to a curses window
## curs_addch
addch, waddch, mvaddch, mvwaddch, echochar, wechochar
add a character (with attributes) to a curses window, then advance the cursor
## curs_addchstr
addchstr, addchnstr, waddchstr, waddchnstr, mvaddchstr, mvaddchnstr, mvwaddchstr, mvwaddchnstr
add a string of characters (and attributes) to a curses window
## curs_addstr
addstr, addnstr, waddstr, waddnstr, mvaddstr, mvaddnstr, mvwaddstr, mvwaddnstr
add a string of characters to a curses window and advance cursor
## curs_addwstr
addwstr, addnwstr, waddwstr, waddnwstr, mvaddwstr, mvaddnwstr, mvwaddwstr, mvwaddnwstr
add a string of wide characters to a curses window and advance cursor
## curs_delch
delch, wdelch, mvdelch, mvwdelch
delete character under the cursor in a curses window
## curs_deleteln
deleteln, wdeleteln, insdelln, winsdelln, insertln, winsertln
delete and insert lines in a curses window
## curs_beep
beep, flash
curses bell and screen flash routines
## curs_outopts
clearok, idlok, idcok, immedok, leaveok, setscrreg, wsetscrreg, scrollok, nl, nonl
curses output options
## curs_printw
printw, wprintw, mvprintw, mvwprintw, vwprintw, vw_printw
print formatted output in curses windows
## curs_refresh
doupdate, redrawwin, refresh, wnoutrefresh, wredrawln, wrefresh
refresh curses windows and lines
# 文字/文字列読み出し
## curs_get_wch
get_wch, wget_wch, mvget_wch, mvwget_wch, unget_wch
get (or push back) a wide character from curses terminal keyboard
## curs_get_wstr
get_wstr, getn_wstr, wget_wstr, wgetn_wstr, mvget_wstr, mvgetn_wstr, mvwget_wstr, mvwgetn_wstr
get an array of wide characters from a curses terminal keyboard
## curs_getcchar
getcchar, setcchar
Get a wide character string and rendition from a cchar_t or set a cchar_t from a wide-character string
## curs_getch
getch, wgetch, mvgetch, mvwgetch, ungetch, has_key
get (or push back) characters from curses terminal keyboard
## curs_getstr
getstr, getnstr, wgetstr, wgetnstr, mvgetstr, mvgetnstr, mvwgetstr, mvwgetnstr
accept character strings from curses terminal keyboard
## curs_in_wch
in_wch, mvin_wch, mvwin_wch, win_wch
extract a complex character and rendition from a window
## curs_in_wchstr
in_wchstr, in_wchnstr, win_wchstr, win_wchnstr, mvin_wchstr, mvin_wchnstr, mvwin_wchstr, mvwin_wchnstr
get an array of complex characters and renditions from a curses window
## curs_inch
inch, winch, mvinch, mvwinch
get a character and attributes from a curses window
## curs_inchstr
inchstr, inchnstr, winchstr, winchnstr, mvinchstr, mvinchnstr, mvwinchstr, mvwinchnstr
get a string of characters (and attributes) from a curses window
## curs_initscr
initscr, newterm, endwin, isendwin, set_term, delscreen
curses screen initialization and manipulation routines
## curs_inopts
cbreak, nocbreak, echo, noecho, halfdelay, intrflush, keypad, meta, nodelay, notimeout, raw, noraw, noqiflush, qiflush, timeout, wtimeout, typeahead
curses input options
## curs_ins_wch
ins_wch, mvins_wch, mvwins_wch, wins_wch
insert a complex character and rendition into a window
## curs_ins_wstr
ins_wstr, ins_nwstr, wins_wstr, wins_nwstr, mvins_wstr, mvins_nwstr, mvwins_wstr, mvwins_nwstr
insert a wide-character string into a curses window
## curs_insch
insch, winsch, mvinsch, mvwinsch
insert a character before cursor in a curses window
## curs_insstr
insstr, insnstr, winsstr, winsnstr, mvinsstr, mvinsnstr, mvwinsstr, mvwinsnstr
insert string before cursor in a curses window
## curs_instr
instr, innstr, winstr, winnstr, mvinstr, mvinnstr, mvwinstr, mvwinnstr
get a string of characters from a curses window
## curs_inwstr
inwstr, innwstr, winwstr, winnwstr, mvinwstr, mvinnwstr, mvwinwstr, mvwinnwstr
get a string of wchar_t characters from a curses window
## curs_scanw
scanw, wscanw, mvscanw, mvwscanw, vwscanw, vw_scanw
convert formatted input from a curses window
# ウィンドウ
## curs_bkgd
bkgdset, wbkgdset, bkgd, wbkgd, getbkgd
curses window background manipulation routines
## curs_bkgrnd
bkgrnd, wbkgrnd, bkgrndset, wbkgrndset, getbkgrnd, wgetbkgrnd
curses window complex background manipulation routines
## curs_opaque
is_cleared, is_idlok, is_idcok, is_immedok, is_keypad, is_leaveok, is_nodelay, is_timeout, is_scrollok, is_syncok
curses window properties
## curs_overlay
overlay, overwrite, copywin
overlay and manipulate overlapped curses windows
## curs_pad
newpad, subpad, prefresh, pnoutrefresh, pechochar, pecho_wchar
create and display curses pads
## curs_scroll
scroll, scrl, wscrl
scroll a curses window
## curs_window
newwin, delwin, mvwin, subwin, derwin, mvderwin, dupwin, wsyncup, syncok, wcursyncup, wsyncdown
create curses windows
## wresize
wresize
resize a curses window
# ボーダー
## curs_border
border, wborder, box, hline, whline, vline, wvline, mvhline, mvwhline, mvvline, mvwvline
create curses borders, horizontal and vertical lines
## curs_border_set
border_set, wborder_set, box_set, hline_set, whline_set, mvhline_set, mvwhline_set, vline_set, wvline_set, mvvline_set, mvwvline_set
create curses borders or lines using complex characters and renditions
# 属性/色
## curs_attr
attroff, wattroff, attron, wattron, attrset, wattrset, color_set, wcolor_set, standend, wstandend, standout, wstandout, attr_get, wattr_get, attr_off, wattr_off, attr_on, wattr_on, attr_set, wattr_set, chgat, wchgat, mvchgat, mvwchgat, PAIR_NUMBER
curses character and window attribute control routines
## curs_color
start_color, init_pair, init_color, has_colors, can_change_color, color_content, pair_content, COLOR_PAIR
curses color manipulation routines
## default_colors
use_default_colors, assume_default_colors
use terminal's default col- ors
# ターミナル/スクリーン
## curs_clear
erase, werase, clear, wclear, clrtobot, wclrtobot, clrtoeol, wclrtoeol
clear all or part of a curses window
## curs_getyx
getyx, getparyx, getbegyx, getmaxyx
get curses cursor and window coordinates
## curs_kernel
def_prog_mode, def_shell_mode, reset_prog_mode, reset_shell_mode, resetty, savetty, getsyx, setsyx, ripoffline, curs_set, napms
low-level curses routines
## curs_move
move, wmove
move curses window cursor
## curs_scr_dump
scr_dump, scr_restore, scr_init, scr_set
read (write) a curses screen from (to) a file
## curs_touch
touchwin, touchline, untouchwin, wtouchln, is_linetouched, is_wintouched
curses refresh control routines
## resizeterm
is_term_resized, resize_term, resizeterm
change the curses terminal size
# キーボード/マウス
## curs_mouse
getmouse, ungetmouse, mousemask, wenclose, mouse_trafo, wmouse_trafo, mouseinterval
mouse interface through curses
## curs_termattrs
baudrate, erasechar, erasewchar, has_ic, has_il, killchar, killwchar, longname, term_attrs, termattrs, termname
curses environment query routines
## curs_termcap
tgetent, tgetflag, tgetnum, tgetstr, tgoto, tputs
direct curses interface to the terminfo capability database
## curs_terminfo
del_curterm, mvcur, putp, restartterm, set_curterm, setterm, setupterm, tigetflag, tigetnum, tigetstr, tparm, tputs, vid_attr, vid_puts, vidattr, vidputs
curses interfaces to terminfo database
## define_key
define_key
define a keycode
## key_defined
key_defined
check if a keycode is defined
## keybound
keybound
return definition of keycode
## keyok
keyok
enable or disable a keycode
# デバッグ
## curs_memleaks
_nc_freeall _nc_free_and_exit
curses memory-leak checking
## curs_trace
_tracef, _tracedump, _traceattr, _traceattr2, _nc_tracebits, _tracechar, _tracechtype, _tracechtype2, _tracemouse, trace
curses debugging routines
# その他
## curs_extend
curses_version, use_extended_names
miscellaneous curses extensions
## curs_legacy
getbegx, getbegy, getcurx, getcury, getmaxx, getmaxy, getparx, getpary
get curses cursor and window coordinates
## curs_print
mcprint
ship binary data to printer
## curs_slk
slk_init, slk_set, slk_refresh, slk_noutrefresh, slk_label, slk_clear, slk_restore, slk_touch, slk_attron, slk_attrset, slk_attroff, slk_attr_on, slk_attr_set, slk_attr_off, slk_attr, slk_color
curses soft label routines
## curs_util
delay_output, filter, flushinp, getwin, key_name, keyname, nofilter, putwin, unctrl, use_env, wunctrl
miscellaneous curses utility routines
## legacy_coding
use_legacy_coding
use terminal's default colors