|
|
| |
CURSES(3) |
FreeBSD Library Functions Manual |
CURSES(3) |
curses —
?ֺ?Ŭ?פʥ?????????ư?Τ??????̴ؿ?
cc [flags]
files -lcurses
-ltermcap [libraries]
???????Υ롼?????ϡ?????Ū?ʺ?Ŭ???Dz??̤???????ˡ???桼????Ϳ???ޤ???
???????Υ롼?????ϸ??ߤβ??̤Υ???????ݻ??????桼???Ͽ????????̤?
??????åȥ??åפ??ޤ??????ˡ?
refresh () ???????ߤβ??̤???????
???̤Τ褦??ɽ?????????褦?˥롼?????˻ؼ????ޤ????롼??????
?????????뤿???ˤϡ????????ɥ??Ȳ??̤?????????¾?Υ롼?????Ѥ?????
???ˡ??롼???? initscr ()
???ƤӽФ?ɬ?פ??????ޤ?????λ???????ˡ??롼????
endwin ()
???ƤӽФ?ɬ?פ??????ޤ???
addch(ch) |
?????饯???? stdscr ???ɲä??? |
addstr(str) |
???ȥ??? stdscr
???ɲä??? |
box(win,vert,hor) |
???????ɥ??β????˥ܥå????????ޤ??? |
cbreak() |
cbreak ?⡼?ɤ????ꤹ?? |
clear() |
stdscr ?ꥢ???? |
clearok(scr,boolf) |
scr ?ѤΥ??ꥢ?ե饰?????ꤹ?? |
clrtobot() |
stdscr ???Dz?ü?ؤȥ??ꥢ???? |
clrtoeol() |
stdscr ???ǹԤ??????ؤȥ??ꥢ???? |
delch() |
1 ʸ???????????? |
deleteln() |
1 ?Ԥ????????? |
delwin(win) |
win ?????????? |
echo() |
???????⡼?ɤ????ꤹ?? |
endwin() |
???????ɥ??⡼?ɤ???λ???? |
erase() |
stdscr ???õ?? |
flusok(win,boolf) |
win
?ˤĤ??ƥե??å??奪?????ե??å???
(flush-on-refresh) ?ե饰?????ꤹ?? |
getch() |
stdscr ?ˤ??ä? 1 ?????饯???????? |
getcap(name) |
ü????ǽ name ?????? |
getstr(str) |
stdscr ?ˤ??äƥ??ȥ??????? |
gettmode() |
tty ?⡼?ɤ????? |
getyx(win,y,x) |
win ?Ѥ? (y,x) ??ɸ?????? |
inch() |
???ߤ? (y,x) ??ɸ?? char ?????? |
initscr() |
???̤??????????? |
insch(c) |
1 ?????饯???????????? |
insertln() |
1 ?Ԥ????????? |
leaveok(win,boolf) |
win ?Ѥ˽?λ (leave)
?ե饰?????ꤹ?? |
longname(termbuf,name) |
termbuf ????Ĺ??̾???????? |
move(y,x) |
stdscr ?? (y,x) ?˰?ư???? |
mvcur(lasty,lastx,newy,newx) |
?ºݤ˥???????????ư???? |
newwin(lines,cols,begin_y,begin_x) |
?????????????ɥ??????????? |
nl() |
???ԥޥåԥ????ꤹ?? |
nocbreak() |
cbreak ?⡼?ɤ????????????? |
noecho() |
???????⡼?ɤ????????????? |
nonl() |
???ԥޥåԥ????????????? |
noraw() |
̤?ù? (raw) ???????????⡼?? |
overlay(win1,win2) |
win1 ?? win2
?ξ??˥????Х쥤???? |
overwrite(win1,win2) |
win1 ?? win2
?ΰ??־??˾????? |
printw(fmt,arg1,arg2,...) |
stdscr ???Ǥ? printf |
raw() |
̤?ù? (raw) ?⡼?ɤ????ꤹ?? |
refresh() |
???ߤβ??̤? stdscr
?Τ褦??ɽ?????????褦?ˤ??? |
resetty() |
??¸???줿?ͤ? tty
?ե饰???ꥻ?åȤ??? |
savetty() |
??¸???줿???ߤ? tty ?ե饰 |
scanw(fmt,arg1,arg2,...) |
stdscr ?ˤ??? scanf |
scroll(win) |
win ?? 1 ?Ԥ????????????뤹?? |
scrollok(win,boolf) |
win ?Ѥ˥??????????ե饰?????ꤹ?? |
setterm(name) |
̾???Ѥ? term ?ѿ??????ꤹ?? |
standend() |
standout ?⡼?ɤ???λ???? |
standout() |
standout ?⡼?ɤϤ??? |
subwin(win,lines,cols,begin_y,begin_x) |
win ?Υ??֥??????ɥ??????????? |
touchline(win,y,sx,ex) |
win ???ѹ????줿?褦?˹? y
sx ???? sy ???ޡ??????? |
touchoverlap(win1,win2) |
win2 ???? win1
?Υ????Х??åפ??ѹ????줿?褦?˥ޡ??????? |
touchwin(win) |
win ?Τ??٤Ƥ??ѹ????? |
unctrl(ch) |
ch ?ΰ?????ǽ?ʥС??????? |
waddch(win,ch) |
win ?˥????饯?????ɲä??? |
waddstr(win,str) |
win ?˥??ȥ????ɲä??? |
wclear(win) |
win ?ꥢ???? |
wclrtobot(win) |
win ?β?ü?ޤǥ??ꥢ???? |
wclrtoeol(win) |
win
?κǸ??ιԤޤǥ??ꥢ???? |
wdelch(win,c) |
win ???饭???饯???????????? |
wdeleteln(win) |
win ?????Ԥ????????? |
werase(win) |
win ?????ä??? |
wgetch(win) |
win ?ˤ??ä? 1 ?????饯???????? |
wgetstr(win,str) |
win ?ˤ??ä? 1 ???ȥ??????? |
winch(win) |
win ???θ??ߤ? (y,x)
?ˤ??륭???饯???????? |
winsch(win,c) |
win ?˥????饯???????????? |
winsertln(win) |
win ?˹Ԥ????????? |
wmove(win,y,x) |
win ?˸??ߤ? (y,x) ??ɸ?????ꤹ?? |
wprintw(win,fmt,arg1,arg2,...) |
win ?ˤĤ??Ƥ? printf |
wrefresh() |
win ???̤? win
?Τ褦??ɽ?????????褦?ˤ??? |
wscanw(win,fmt,arg1,arg2,...) |
win ?ˤ??? scanf |
wstandend(win) |
win ?Ǥ? standout ?⡼?ɤ???λ???? |
wstandout(win) |
win ?Ǥ? standout ?⡼?ɤϤ??? |
curses ?ѥå???????
4.0BSD ?Ǹ????ޤ?????
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |