GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
dialog(3) FreeBSD Library Functions Manual dialog(3)

draw_shadow, draw_box, line_edit, strheight, strwidth, dialog_create_rc, dialog_yesno, dialog_prgbox, dialog_msgbox, dialog_textbox, dialog_menu, dialog_checklist, dialog_radiolist, dialog_inputbox, dialog_clear_norefresh, dialog_clear, dialog_update, dialog_fselect, dialog_notify, dialog_mesgbox, dialog_gauge, init_dialog, end_dialog, use_helpfile, use_helpline, get_helpline, restore_helpline, dialog_ftree, dialog_tree
??ñ?? ncurses ?١????? GUI ???󥿥ե?????

???????????饤?֥????ϡ?????ɽ?????˥塼?????ϥܥå????????????? ?ե??????ꥯ????????????¾?????ѡ?GUI??(¿????ĥ???Ƥ????ޤ???ncurses ?? ???Ѥ??뤫???Ǥ?) ???֥??????ȤΤ??ʤ?ñ?㲽???????åȤ? ?󶡤??褦?Ȥ??Ƥ??ޤ??? ?饤?֥????Ǥϥ????륹?????ץȥ饤?????桼?ƥ????ƥ? (dialog(1) ???ޥ??ɤ򻲾?) ???ˤ??롼?Ĥ????ä????ᡢ?????? API ?ϡ? ?Ϥ??졢?????졢?ѡ????????륹?ȥ??󥰤򸶻?Ū?˴??äȤ??Ƥ??ޤ????? ???? API ?ϸ??˳?ĥ???졢???ꥸ?ʥ? ?ΰ????ޤ??? dialogMenuItem ??¤???????Τɤ??餫???????褦?ˤʤ??ޤ????? ???η??̡??桼???ϡ??ƥ????ȥ???????????ư???򤵤??? ?????Ǥ????褦?ˤʤ??ޤ?????dialogMenuItem ??¤???????ϥѥ֥??å??Ǥ???

typedef struct _dmenu_item {
   char *prompt;
   char *title;
   int (*checked)(struct _dmenu_item *self);
   int (*fire)(struct _dmenu_item *self);
   int (*selected)(struct _dmenu_item *self, int is_selected);
   void *data;
   char lbra, mark, rbra;
} dialogMenuItem;

prompt ???ȥ??󥰤? title ???ȥ??󥰤ϡ????ʤ꼫???Ǥ??? ???˥塼???֥??????Ȥȥ桼???????ɤδ֤˶?̩?˷??礵?줿?ե????ɥХå??? ɬ?פʤȤ???checked ?ؿ??ݥ??󥿤? fire ?ؿ??ݥ??󥿤ˤ? ???ץ??????? ?ǥ????ץ쥤?Ƚ??֥եå????????äƤ??ޤ? (???????? ?եå??Τ????? data ?ѿ??????ѤǤ??ޤ?)?? ???򤵤줿 ?եå??ˤ??äơ??????ƥ????Ȥ˱?????ư???򤫤ʤ? ?¸????뤿???ˡ??????ι??ܤ????򤵤??Ƥ??뤫?ɤ????? ???ڤ??뤳?Ȥ??Ǥ??ޤ??????ޤ??ޤʼ????ι??ܥ????פ򥷥ߥ??졼?Ȥ??? ?????ʤ????Ĥ?????ˡ????lbra (?ǥե?????: '[')?? mark (?ǥե?????: ?饸?????˥塼?ˤĤ??Ƥ? '*'?? ?????å????˥塼?ˤĤ??Ƥ? 'X')???????? rbra (?ǥե?????: ']') ???ͤ?Ĵ??????????Ū?? checked ?եå??? ???????뤳?ȤǹԤ??ޤ????????ϡ֥ޡ??????줿?׾??֤ˤĤ??Ƥ? TRUE???֥ޡ??? ?????ʤ??׾??֤ˤĤ??Ƥ? FALSE ???֤??Ϥ??Ǥ??????ܤ??б????? fire ?եå? ?????????硢???ι??ܤϡ????餫????ˡ?ǹ??ܤ??֥ȥ????פ??줿?Ȥ??⤤?ĤǤ? ?ƤӽФ??졢???Υ????ɤ? 1 ?Ĥ??֤??Ϥ??Ǥ???


#define DITEM_SUCCESS      0 /* ??λ???? */
#define DITEM_FAILURE     -1 /*?ֵ?ư(fire)?פ˼??? */
#define DITEM_LEAVE_MENU  -2 /* ??????????OK?פȤ??Ƽ??갷?? */
#define DITEM_REDRAW      -3 /* ???˥塼???Ѳ????Ƥ??롣???褷ľ?? */

????????????Ǥ?դ? X??Y ???֤????֤??뤿???? 2 ?Ĥ????ѤΥ??????Х???
¸?ߤ??ޤ?(???????߷׼ԤϤ??ʤ???????Ū?ǡ??????ν????򤷤ޤ????Ǥ???)??
?????????ꤵ???Ƥ??????硢?ǥե????Ȥ?????·????ͭ???ˤʤ??ޤ???

#include <dialog.h> void draw_shadow(WINDOW *win, int y, int x, int height, int width)

x, y, width???????? height ????ˡ?????Ѥ??ơ? curses ???????ɥ? win ?˱??????褷?ޤ??? ?????????????? 0 ???֤??????????Ԥ????? -1 ???֤??ޤ???

void draw_box(WINDOW *win, int y, int x, int height, int width, chtype box, chtype border)

x, y, width???????? height ????ˡ?????Ѥ??ơ? ?ܡ??????Τ????ܥå????????褷?ޤ??? box ?? border ??°???????ꤵ???Ƥ??????硢?ܥå????? ???֥??????ȤΥܡ??????ΰ????ڥ????Ȥ????֡??????餬???Ѥ????ޤ???

int line_edit(WINDOW *dialog, int box_y, int box_x, int flen, int box_width, chtype attrs, int first, unsigned char *result, int attr_mask);

??ˡ?? box_x, box_y ?????? box_width ???Խ??ܥå????? ??ñ?ʥ饤?󥨥ǥ???????ư???ޤ????ե??????ɤ?Ĺ???? flen ?ˤ??ä? ???󤵤졢???ꤵ?줿 first ?????饯???dz??Ϥ??ޤ??? ???? first ?????饯???ϥ??ץ??????ǡ? ?????饯??°?? attrs ??ɽ???????ޤ??? ?Խ????Υ??ȥ??󥰤? result ????¸?????ޤ???

???????????????????? 0 ???????????Ԥ????????? -1 ???֤??ޤ???

int strheight(const char *p)

???Ԥ򥫥????Ȥ??ʤ??顢p ???Υ??ȥ??󥰤ι⤵???֤??ޤ???

int strwidth(const char *p)

???Ԥ򥫥????Ȥ??ʤ??顢p ???Υ??ȥ??󥰤??????֤??ޤ???

void dialog_create_rc(unsigned char *filename)

?ǥե????ȤȤ??Ƹ??Ǽ????Ф??????˥??????????饤?֥??????? ?? filename ???˥????פ??ޤ??? ???????????????????? 0 ???????????Ԥ????????? -1 ???֤??ޤ???

int dialog_yesno(unsigned char *title, unsigned char *prompt, int height, int width)

??ˡ?? height ?? width ?? title ???ȥ??󥰤? prompt ???ȥ??󥰤????Ѥ??ƥƥ????ȥܥå?????ɽ?????ޤ??? ?ޤ?????ü?? Yes ?ܥ????? No ?ܥ????Υڥ???ɽ?????ޤ??? Yes ?ܥ????????򤹤??ȡ?FALSE ???֤??ޤ??? No ?ܥ????????򤹤??? TRUE ???֤??ޤ???

int dialog_prgbox(unsigned char *title, const unsigned char *line, int height, int width, int pause, int use_shell)

???ޥ??? line ?ν??Ϥ????äƤ??롢??ˡ?? height ?? width ?Υƥ????ȥܥå?????ɽ?????ޤ??? use_shell ?? TRUE ?ξ??硢line ?? sh(1) ?ؤΰ????Ȥ??? ?Ϥ????ޤ????????Ǥʤ??????ϡ?ñ?? exec(3) ???Ϥ????ޤ??? pause ?? TRUE ?ξ??硢?¹Ԥ???λ?????Ȥ??ˡ? ?ǽ?Ū?ʳ?ǧ?ꥯ???????????뤵???ޤ???

???????????????????? 0 ???????????Ԥ????????? -1 ???֤??ޤ???

int dialog_textbox(unsigned char *title, unsigned char *prompt, int height, int width)

??ˡ?? height ?? width ?Ρ????ȥ????? prompt ?????Ƥ? ?ޤޤ??Ƥ????ƥ????ȥܥå?????ɽ?????ޤ???

???????????????????? 0 ???????????Ԥ????????? -1 ???֤??ޤ???

int dialog_menu(unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, int item_no, void *itptr, unsigned char *result, int *ch, int *sc)

??ˡ?? height ?? width ?Υ??˥塼??ɽ?????ޤ??? ???Υ??˥塼?ˤϡ?menu_height ?Ȥ??????ץ??????????????˥塼?ι⤵?? ?????ޤ???item_no ?????? itptr ?????ˤ????̤ʽ????????????ޤ??? ???????ϰ????ˤʤäơ????Ѳ?ǽ?? 2 ?Ĥ? API ?Τ????ɤ????????Ѥ??뤫?? ???ꤹ?뤫???Ǥ????Ť??????Υ??󥿥ե??????????Ѥ????ˤϡ? item_no ?? itptr (?????פ? char ** ?Ǥ???ɬ?פ??????ޤ?) ???˸??Ĥ??륹?ȥ??󥰥ݥ??󥿥ڥ??ο???ɽ???????????Ǥ??? ɬ?פ??????ޤ??????ȥ??󥰤ϳƹ??ܤˤĤ??ƥץ????ץ????ˤ??? ?????ȥ????Ǥ??뤳?Ȥ?ͽ¬?????ޤ??? result ?ѥ??᡼???ϡ????򤵤줿???ܤ? ?ץ????ץȥ??ȥ??󥰤????ԡ??????????????ؤ???ͽ¬?????ޤ??????äȿ????? ???󥿥ե??????????Ѥ????ˤϡ?item_no ???? itptr (?????פ? dialogMenuItem * ?Ǥ???ɬ?פ??????ޤ?) ?λؤ? dialogMenuItem ??¤?ο???ɽ???????????Ǥ???ɬ?פ??????ޤ??? ???ܤ??Ȥ? 1 ?Ĥι?¤?Ǥ????????????󥿥ե??????Ǥϡ?result ?ѿ??ϡ? ñ???ʥ֡????黻?? (?ݥ??󥿤ǤϤ????ޤ???) ?Ȥ??ƻ??Ѥ??졢 itptr ?????˥塼??¤???ؤ??????ǡ??ǥե????Ȥ? OK ?ܥ????? Cancel ?ܥ?????˾?ޤ????????ϡ?NULL ?ˤ???ɬ?פ??????ޤ??? result ?? NULL ?Ǥʤ????硢itptr ?ϼºݤˡ? ???˥塼???ܥꥹ?Ȥλ??????᤮?? 2 ???֤??ؤ???ͽ¬?????ޤ??? ???ξ??硢itptr[-1] ?? Cancel ?ܥ?????ɽ?????ܤ??ؤ??? ͽ¬?????ޤ??????????顢 prompt ???֤? fire ???֤? ?ǥե????Ȥ?ư???????񤭤??뤿???˻??Ѥ????ޤ??? itp-tr[-2] ?? OK ?ܥ????ˤĤ???Ʊ?????Ȥ򤷤ޤ???

?ɤ??餫?? API ư???????Ѥ????ȡ?ch ?ͤ? sc ?ͤ??Ϥ??졢 ???ߤι??????򤬰ݻ????졢?ƤӽФ??δ֤ǰ??֤??ͤ??????????뤵???ޤ???

???????????????????? 0 ???????????Ԥ????????ޤ??? ESC ?ξ????? -1 ???֤??ޤ???

int dialog_checklist(unsigned char *title, unsigned char *prompt, int height, int width, int m_height, int item_no, void *itptr, unsigned char *result)

??ˡ?? height ?? width ?Υ??˥塼??ɽ?????ޤ??????Υ??˥塼?ˤϡ? menu_height ?Ȥ??????ץ??????????????˥塼?ι⤵???????ޤ??? item_no ?????? itptr ?????ˤ????̤ʽ????????????ޤ??? ???????ϰ????ˤʤäơ????Ѳ?ǽ?? 2 ?Ĥ? API ?Τ????ɤ????????Ѥ??뤫 ?????ꤹ?뤫???Ǥ????Ť??????Υ??󥿥ե??????????Ѥ????ˤϡ? item_no ?? itptr (?????פ? char ** ?Ǥ???ɬ?פ? ?????ޤ?) ???˸??Ĥ??륹?ȥ??󥰥ݥ????????Ǥν????ο???ɽ?????? ?????Ǥ???ɬ?פ??????ޤ??????ȥ??󥰤ϳƹ??ܤˤĤ??ƥץ????ץ????ˤ??? ?????ȥ??Ⱦ??? (?֥????פޤ??ϡ֥??ա?) ???Ǥ??뤳?Ȥ?ͽ¬?????ޤ??? result ?ѥ??᡼???ϡ????򤵤줿???ܤΥץ????ץȥ??ȥ??󥰤? ???ԡ??????????????ؤ???ͽ¬?????ޤ??? ???äȿ????????󥿥ե??????????Ѥ????ˤϡ?item_no ???? itptr (?????פ? dialogMenuItem * ?Ǥ???ɬ?פ??????ޤ?) ?λؤ? dialogMenuItem ??¤?ο???ɽ???????????Ǥ???ɬ?פ??????ޤ??????ܤ??Ȥ? 1 ?Ĥι?¤?Ǥ????????????󥿥ե??????Ǥϡ?result ?ѿ??ϡ? ñ???ʥ֡????黻?? (?ݥ??󥿤ǤϤ????ޤ???) ?Ȥ??ƻ??Ѥ??졢 itptr ?????˥塼??¤???ؤ??????ǡ??ǥե????Ȥ? OK ?ܥ????? Cancel ?ܥ?????˾?ޤ????????ϡ?NULL ?ˤ???ɬ?פ??????ޤ??? result ?? NULL ?Ǥʤ????硢itptr ?ϼºݤˡ????˥塼???? ?ꥹ?Ȥλ??????᤮?? 2 ???֤??ؤ???ͽ¬?????ޤ??????ξ??硢 itptr[-1] ?? Cancel ?ܥ?????ɽ?????ܤ??ؤ???ͽ¬?????ޤ??? ???????顢prompt ???֤? fire ???֤? ?ǥե????Ȥ?ư???????񤭤??뤿???˻??Ѥ????ޤ??? itptr[-2] ?? OK ?ܥ????ˤĤ???Ʊ?????Ȥ򤷤ޤ???

ɸ?? API ???ǥ??Ǥϡ????˥塼??ʣ?????ܤ??????򥵥ݡ??Ȥ??Ƥ??ޤ??? ?ƹ??ܤ???????ɽ???????? 'X' ?????饯???ǥޡ????????ޤ??? OK ?ܥ????????򤹤??ȡ????򤵤줿???٤Ƥι??ܤˤĤ??ƤΥץ????ץ??ͤ? Ϣ?뤵???? result ???ȥ??󥰤??????????ޤ???

?????? API ???ǥ??Ǥϡ??֥????å??ꥹ?ȡװ?̣?????ݻ?????ɬ?פ? ?ºݤˤϤ????ޤ??󡣳ƹ??ܤ??ɤΤ褦??ɽ???????뤫?? ?????򤵤줿?פȤ??ƤɤΤ褦?˥ޡ????????뤫?ˤĤ??Ƥ? ?º?Ū?ˤۤȤ??ɤΤ??Ȥϴ????˹?????ǽ???????Ǥ??? ?֥饸????ư??֥????å??ꥹ?ȡ?ư???????ɸ?????˥塼????ư???? ???ܤΥ??롼?פ??ºݤ??Ȥ??????Ƥ??? 1 ?ĤΥ????å??ꥹ?ȥ??˥塼?? ???뤳?Ȥ??Ǥ????Ǥ??礦?? ?????? API ???ǥ??? dialog_radiolist ?????? dialog_checklist ???ƤӽФ?ͣ??????ͳ?ϡ? ?١???ư?????Ѿ????뤳?ȤǤ??????Ϥ䤽???ˤ??ä????󤵤??ʤ??ʤ??ޤ???

???????????????????? 0???????????Ԥ????????ޤ??? ESC ?ξ????? -1 ???֤??ޤ???

int dialog_radiolist(unsigned char *title, unsigned char *prompt, int height, int width, int m_height, int item_no, void *it, unsigned char *result)

??ˡ?? height ?? width ?Υ??˥塼??ɽ?????ޤ??????Υ??˥塼?ˤϡ? menu_height ?Ȥ??????ץ??????????????˥塼?ι⤵???????ޤ??? item_no ?????? itptr ?????ˤ????̤ʽ????????????ޤ??? ???????ϰ????ˤʤäơ????Ѳ?ǽ?? 2 ?Ĥ? API ?Τ????ɤ????????Ѥ??뤫?? ???ꤹ?뤫???Ǥ????Ť??????Υ??󥿥ե??????????Ѥ????ˤϡ? item_no ?? itptr (?????פ? char ** ?Ǥ??? ɬ?פ??????ޤ?) ???˸??Ĥ??륹?ȥ??󥰥ݥ????????Ǥν????ο???ɽ?????? ?????Ǥ???ɬ?פ??????ޤ??????ȥ??󥰤ϳƹ??ܤˤĤ??ƥץ????ץ????ˤ??? ?????ȥ??Ⱦ??? (?֥????פޤ??ϡ֥??ա?) ???Ǥ??뤳?Ȥ?ͽ¬?????ޤ??? result ?ѥ??᡼???ϡ????򤵤줿???ܤΥץ????ץȥ??ȥ??󥰤? ???ԡ??????????????ؤ???ͽ¬?????ޤ??? ???äȿ????????󥿥ե??????????Ѥ????ˤϡ?item_no ???? itptr (?????פ? dialogMenuItem * ?Ǥ???ɬ?פ??????ޤ?) ?λؤ? dialogMenuItem ??¤?ο???ɽ???????????Ǥ???ɬ?פ??????ޤ??????ܤ??Ȥ? 1 ?Ĥι?¤?Ǥ????????????󥿥ե??????Ǥϡ?result ?ѿ??ϡ? ñ???ʥ֡????黻?? (?ݥ??󥿤ǤϤ????ޤ???) ?Ȥ??ƻ??Ѥ??졢 itptr ?????˥塼??¤???ؤ??????ǡ??ǥե????Ȥ? OK ?ܥ????? Cancel ?ܥ?????˾?ޤ????????ϡ?NULL ?ˤ???ɬ?פ??????ޤ??? result ?? NULL ?Ǥʤ????硢itptr ?ϼºݤˡ????˥塼???? ?ꥹ?Ȥλ??????᤮?? 2 ???֤??ؤ???ͽ¬?????ޤ??????ξ??硢 itptr[-1] ?? Cancel ?ܥ?????ɽ?????ܤ??ؤ???ͽ¬?????ޤ??? ???????顢 prompt ???֤? fire ???֤??ǥե????Ȥ?ư???? ???񤭤??뤿???˻??Ѥ????ޤ???itptr[-2] ?? OK ?ܥ????ˤĤ??? Ʊ?????Ȥ򤷤ޤ???

ɸ?? API ???ǥ??Ǥϡ????˥塼??ʣ???ι??ܤ? 1 ?Ĥ??????????򥵥ݡ??Ȥ??ޤ??? ???ߥ????ƥ??֤ʹ??ܤ? `*' ?ǥޡ????????ޤ???

?????? API ???ǥ??Ǥϡ??֥饸???ܥ????װ?̣?????ݻ?????ɬ?פ? ?ºݤˤϤ????ޤ??󡣳ƹ??ܤ??ɤΤ褦??ɽ???????뤫?? ?????򤵤줿?פȤ??ƤɤΤ褦?˥ޡ????????뤫?ˤĤ??Ƥ? ?º?Ū?ˤ??٤ƤΤ??Ȥ??????˹?????ǽ???????Ǥ????֥????å??ꥹ?ȡ?ư? ?֥饸????ư?????ɸ?????˥塼????ư???ι??ܤΥ??롼?פ??ºݤ??Ȥ????줿 1 ?ĤΥ????å??ꥹ?ȥ??˥塼?????뤳?Ȥ??Ǥ??ޤ??? ?????? API ???ǥ??? dialog_checklist ?????? dialog_radiolist ???ƤӽФ?ͣ??????ͳ?ϡ??١???ư?????Ѿ????뤳?ȤǤ???

???????????????????? 0 ???֤???Cancel ?ξ????? 1 ???֤??? ?????????Ԥ??뤫?ޤ??? ESC ?ξ????? -1 ???֤??ޤ???

int dialog_inputbox(unsigned char *title, unsigned char *prompt, int height, int width, unsigned char *result)

??ˡ?? height ?? width ?? title ?? prompt ??ɽ???????ܥå??????? 1 ?ԤΥƥ????????ϥե??????ɤ?ɽ?????ޤ??? ???Ϥ??줿?ե??????ɤ? result ????¸?????ޤ???

???????????????????? 0 ???֤??? ?????????Ԥ??뤫?ޤ??? ESC ?ξ????? -1 ???֤??ޤ???

char * dialog_fselect(char *dir, char *fmask)

dir ?dz??Ϥ???fmask ?˰??פ????ե?????̾??????ɽ?????? ?ե????륻?쥯???????????????ƤӽФ??ޤ???

???򤵤줿?ե?????̾?ޤ??? NULL ???֤??ޤ???

int dialog_dselect(char *dir, char *fmask)

dir ?dz??Ϥ???fmask ?˰??פ????ǥ??쥯?ȥ?̾??????ɽ?????? ?ե????륻?쥯???????????????ƤӽФ??ޤ??????򤵤줿?ե?????̾ ?ޤ??? NULL ???֤??ޤ???

void dialog_notify(char *msg)

msg ?????ä?????Ū?? "hey, you!" ???Υ????????????ƤӽФ??ޤ???

int dialog_mesgbox(unsigned char *title, unsigned char *prompt, int height, int width)

???Υ??????????????????Ƥ??ޤ????? title, prompt, width ?????? height ?? ???????????Ǥ??ޤ??????Υ??֥??????Ȥϡ?dialog_notify ?Ȱ??äơ? ?桼????ǧ???Ե????ޤ???

???????????????????? 0 ???֤????????????Ԥ????????? -1 ???֤??ޤ???

void dialog_gauge(char *title, char *prompt, int y, int x, int height, int width, int perc)

??ʿ?????????ե????????Υ???????ɽ?????ޤ???perc ?ˤĤ??Ƥ? 100 ?Ȥ????ͤϥե륲?????????????? 0 ?Ȥ????ͤ϶??Υ??????????????ޤ???

void use_helpfile(char *helpfile)

?????ƥ????Ȥ˱??????إ??פ򥵥ݡ??Ȥ??Ƥ????ɤΥ??˥塼?ˤĤ??Ƥ⡢ F1 ???? ?????????뤿?Ӥˤ??Υե????????Υƥ????ȥܥå??????֥??????Ȥ? ??ư?????ޤ???

void use_helpfile(char *helpfile)

ɽ???????Ƥ??????˥塼?β????????ʤ??ιԤ?ɽ?????ޤ???

char * get_helpline(void)

?????ʥƥ????ȹԤθ??ߤ??ͤ????????ޤ???

void dialog_clear_norefresh(void)

???̤򥯥ꥢ???ƥ??????????طʿ??ˤ??ޤ????????Ƥϥ??ե??å??夷?ޤ?????

void dialog_clear(void)

???????˲??̤򥯥ꥢ???ƥ????????????طʿ????ᤷ?ޤ???

void dialog_update(void)

???????β??̥??ե??å????򺣡??Ԥ??ޤ???

void init_dialog(void)

???????????饤?֥????򥷥??åȥ????󤷤ޤ? (??????????ɬ?פ??????????? ???????ƤӽФ??Ƥ???????) ??

int dialog_ftree(unsigned char *filename, unsigned char FS, unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, unsigned char **result)

dialog_ftree ?ϡ??ե????? filename ?????Υǡ????? ???Ҥ??줿?ĥ꡼??ɽ?????ޤ????ե????????Υǡ????? find(1) ???ϤΤ褦?˸??????Ϥ??Ǥ??? find(1) ???Ϥξ??硢?ե???????ʬΥ?? FS ?? ´/´ ?ˤʤ??ޤ??? height ?? width ?????ο??Ǥ??????硢???????? dialog_ftree ?ܥå??????Τ????Х??????????ꤷ?ޤ??? height ?? width ?????ο??Ǥ??????硢 dialog_ftree ?ܥå????Υ??????ϼ?ưŪ?˷׻??????ޤ??? menu_height ?? dialog_ftree ?ܥå??????? ?ĥ꡼???֥??????ɥ??ι⤵?????ꤷ???ޤ????ꤹ??ɬ?פ??????ޤ??? title ?ϡ?dialog_ftree ?ܥå????ξ?ü?ܡ????????? ????·????ɽ???????ޤ??? ?ĥ꡼???֥??????ɥ??ξ????ˤ??? dialog_ftree ?????? prompt ??ɽ?????졢?Ԥ?ʬ?䤹?뤿???? ´\n´ ?? ?????뤳?Ȥ??Ǥ??ޤ????ĥ꡼???ʥӥ????Ȥ????ˤϡ?UP/DOWN ?ޤ??? ´+´/´-´, PG_UP/PG_DOWN ?ޤ??? ´b´/SPACE ?????? HOME/END ?ޤ??? ´g´/´G´ ?򲡤??ޤ????ĥ꡼?Υ꡼?դ????򤹤??ˤϡ? TAB ?ޤ??? LEFT/RIGHT ?򲡤???OK ?ܥ??󼡤??? ENTER ?򲡤??ޤ????ե?????̾?ˤ? find(1) ???ϤΤ褦?? ?ǡ??????Ȥ??????뤳?Ȥ??Ǥ??ޤ??? -d ???ץ??????????ꤷ?? find(1) ?ν??ϤȤ?Ʊ???褦?ˤǤ??? ?ĥ꡼?Υ꡼?դ˰ܹԤ????ѥ???¸?ߤ??ʤ??Ƥ??ޤ??ޤ????? ???Τ褦?ʥǡ????ϥե?????̾?????ե????ɤ??줿?Ȥ????????????ޤ???

OK ?ܥ????????򤹤??ȡ??ؿ??? 0 ?????򤷤??꡼?? (?ĥ꡼?? ?롼?Ȥ????꡼?դؤΥѥ?) ???ؤ??ݥ??󥿤????̤????????֤??ޤ??? ?ĥ꡼?κ????Ѥ˳??꿶???줿???????ϡ???¸?? dialog_ftree ?? ??λ?????Ȥ??˲????????ޤ??? ???̤ι??ѤΥ???????ɬ?פǤ????и??Ǽ?ư?Dz??????ޤ??? Cancel ?ܥ????????򤹤??ȡ??ؿ??? 1 ???֤??ޤ??? ESC ?? dialog_ftree ????λ???????硢?ؿ??? -1 ???֤??ޤ???

int dialog_tree(unsigned char **names, int size, unsigned char FS, unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, unsigned char **result);

dialog_tree ?ϡ?dialog_ftree ?????????????????ĥ꡼??ɽ?????ޤ????? ?㳰???????Ĥ??????ޤ????ĥ꡼?????????뤿???Υ??????ǡ????ϡ? ???????? size ?Υ꡼?դؤΥѥ??????? names ?Ǥ? (find(1) ???Ϥ????????Ƥ??ޤ?) ?? ????????dialog_ftree ?ǤΤ褦?˥ǡ??????????Ϥ????ޤ????? ???Τ褦?ˡ????????ĥ꡼??ɽ?????뤿???ˤϡ??????ˤ????????ǡ????? ???????äƤ???ɬ?פ??????ޤ??? ?ʤ??????å????󤴤Ȥ? dialog_tree ???ȼ??γƻ???ˡ???????????ݻ????졢 ???ǡ?Ʊ?? names, size, FS, height, width ?????? menu_height ?? dialog_tree ???ƤӽФ??Ȥ??ˡ? ?ĥ꡼???֥??????ɥ????Υ????????ΰ??֤??????????ޤ???

?ؿ??? dialog_ftree ??Ʊ?????̤??֤??ޤ??? 0 ???֤??줿???硢???̤ˤ????? names ?????Υݥ??󥿤??????????ޤ???

dialog(1), ncurses(3)

???פʺ??Ԥ? Savio Lam ⟨lam836@cs.cuhk.hk⟩ ?ȹͤ??????ޤ???Ĺǯ???Ϥ??׸??? Stuart Herbert ⟨S.Herbert@sheffield.ac.uk⟩, Marc van Kempen ⟨wmbfmk@urc.tue.nl⟩, Andrey Chernov ⟨ache@freebsd.org⟩, Jordan Hubbard ⟨jkh@freebsd.org⟩ ?????? Anatoly A. Orehovsky ⟨tolik@mpeks.tomsk.su⟩ ?ˤ??äƹԤ????ޤ?????

???????δؿ??? FreeBSD-2.0 ?Ǥ? dialog(1) ???ޥ??ɤȤ??Ƹ????ޤ??????? ?????? Andrey Chernov ?ˤ??äƥ饤?֥????ȥ??ޥ??ɤ?ʬ?䤵???ޤ????? Marc van Kempen ??????¾?Υ????ȥ??????ȥ??֥??????ȤΤۤȤ??ɤ????????ޤ????? Jordan Hubbard ?? dialogMenuItem ?׿??Ȥ??Υޥ˥奢???ڡ??????ɲä??ޤ????? Anatoly A. Orehovsky ?? dialog_ftree() ?? dialog_tree() ?????????ޤ?????

?μ?!
October 2, 1998 FreeBSD 2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.