📄 readme
字号:
-- $Id: README,v 1.24 2005/10/01 22:01:07 tom Exp $-------------------------------------------------------------------------------The programs in this directory are designed to test your newest toy :-)Check the sources for any further details.blue - Blue Moon, a nifty solitaire (uses color)bs.c - the game of Battleships (uses color)firework.c - multi-colored fireworks (uses color)gdc.c - Great Digital Clock (uses color)hanoi.c - the game of hanoi (uses color essentially)knight.c - the game of Knight's Tour (uses color)lrtest.c - test of access to the lower-right cornerncurses.c - multi-test program (uses color)newdemo.c - another test from PDCurses (uses color)rain.c - rain drops keep falling on my head...tclock.c - analog/digital clocktestcurs.c - a test from the PDCurses people (uses color)worm.c - worms run all over your screen (uses color)xmas.c - Xmas greeting cardThe bs and knight games demonstrate processing of mouse events under xterm.This directory also contains:tracemunch - Perl script to crunch trace scripts to make them easier to read--------------------------------------------------------------------------------------------------------------------------------------------------------------These programs provide examples of use, but do not comprise a complete set oftests. Here is a list of library externals, noting those that are used:libform:-------TYPE_ALNUM test: demo_formsTYPE_ALPHA test: demo_forms ncursesTYPE_ENUM test: demo_formsTYPE_INTEGER test: demo_formsTYPE_IPV4 test: demo_formsTYPE_NUMERIC test: demo_formsTYPE_REGEXP test: demo_formscurrent_field test: demo_forms edit_field ncursesdata_ahead test: demo_formsdata_behind test: demo_formsdup_field -dynamic_field_info test: demo_formsfield_arg -field_back -field_buffer test: cardfile demo_forms edit_field ncursesfield_count -field_fore -field_index test: demo_formsfield_info test: ncursesfield_init -field_just -field_opts test: demo_forms ncursesfield_opts_off test: cardfile demo_formsfield_opts_on test: demo_formsfield_pad -field_status test: demo_formsfield_term -field_type test: demo_formsfield_userptr test: ncursesform_driver test: cardfile demo_forms edit_field ncursesform_fields test: cardfile demo_formsform_init -form_opts -form_opts_off -form_opts_on -form_page -form_request_by_name -form_request_name test: edit_fieldform_sub test: cardfile demo_forms ncursesform_term -form_userptr -form_win test: cardfile demo_forms edit_field ncursesfree_field test: cardfile demo_forms ncursesfree_fieldtype test: ncursesfree_form test: cardfile demo_forms ncurseslink_field -link_fieldtype -move_field -new_field test: cardfile demo_forms ncursesnew_fieldtype test: ncursesnew_form test: cardfile demo_forms ncursesnew_page -pos_form_cursor -post_form test: cardfile demo_forms ncursesscale_form test: demo_forms ncursesset_current_field test: demo_formsset_field_back test: cardfile demo_forms edit_field ncursesset_field_buffer test: cardfile demo_forms edit_field ncursesset_field_fore test: demo_formsset_field_init -set_field_just test: cardfile demo_formsset_field_opts test: demo_forms ncursesset_field_pad -set_field_status test: demo_formsset_field_term -set_field_type test: demo_forms ncursesset_field_userptr test: demo_forms ncursesset_fieldtype_arg -set_fieldtype_choice -set_form_fields -set_form_init -set_form_opts -set_form_page -set_form_sub test: cardfile demo_forms ncursesset_form_term -set_form_userptr -set_form_win test: cardfile demo_forms ncursesset_max_field test: demo_formsset_new_page test: demo_formsunpost_form test: cardfile demo_forms ncurseslibmenu:-------current_item test: demo_menus ncursesfree_item test: ncursesfree_menu test: demo_menus ncursesitem_count test: demo_menusitem_description -item_index test: demo_menus ncursesitem_init -item_name test: ncursesitem_opts -item_opts_off -item_opts_on -item_term -item_userptr -item_value test: demo_menus ncursesitem_visible -menu_back -menu_driver test: demo_menus ncursesmenu_fore -menu_format -menu_grey -menu_init -menu_items test: demo_menus ncursesmenu_mark -menu_opts -menu_opts_off test: demo_menus ncursesmenu_opts_on test: demo_menusmenu_pad -menu_pattern -menu_request_by_name -menu_request_name -menu_spacing test: demo_menusmenu_sub -menu_term -menu_userptr -menu_win test: demo_menus ncursesnew_item test: demo_menus ncursesnew_menu test: demo_menus ncursespos_menu_cursor lib: menupost_menu test: demo_menus ncursesscale_menu test: demo_menus ncursesset_current_item -set_item_init -set_item_opts -set_item_term -set_item_userptr -set_item_value test: demo_menus ncursesset_menu_back test: demo_menusset_menu_fore test: demo_menusset_menu_format test: demo_menus ncursesset_menu_grey -set_menu_init -set_menu_items -set_menu_mark test: demo_menusset_menu_opts -set_menu_pad -set_menu_pattern -set_menu_spacing -set_menu_sub test: demo_menus ncursesset_menu_term -set_menu_userptr -set_menu_win test: demo_menus ncursesset_top_row -top_row -unpost_menu test: ncurseslibncurses:----------BC -COLORS test: ncurses xmasCOLOR_PAIR test: background blue bs cardfile demo_forms demo_menus filter firework gdc hanoi ins_wide inserts knight ncurses newdemo rain tclock testaddch testcurs view worm xmasCOLOR_PAIRS test: ncurses newdemoCOLS test: cardfile demo_defkey demo_forms demo_keyok demo_menus edit_field firework hashtest ins_wide inserts lrtest ncurses newdemo rain tclock testcurs view wormESCDELAY lib: ncursesLINES test: cardfile demo_defkey demo_keyok demo_menus edit_field firework hanoi hashtest ins_wide inserts lrtest ncurses newdemo rain tclock testcurs view worm xmasPAIR_NUMBER test: ncursesPC lib: ncursesSP lib: ncursesTABSIZE lib: menuUP -acs_map test: gdc ins_wide inserts knight ncurses newdemo testcursadd_wch test: ncursesadd_wchnstr test: ncursesadd_wchstr test: viewaddch test: blue bs ditto hashtest ncurses testaddch view wormaddchnstr -addchstr -addnstr -addnwstr -addstr test: blue bs cardfile gdc hanoi lrtest ncursesaddwstr test: ncursesassume_default_colors test: ncursesattr_get test: ncursesattr_off test: ncursesattr_on test: ncursesattr_set test: ncursesattroff test: filter gdc ncurses tclockattron test: bs filter gdc ncursesattrset test: bs firework gdc hanoi ncurses rain tclock testaddch testcursbaudrate lib: ncursesbeep test: blue bs cardfile demo_forms demo_menus edit_field hanoi ins_wide inserts knight ncurses tclock testcurs view xmasbkgd test: background cardfile demo_forms ncurses tclock viewbkgdset test: background ncurses testaddchbkgrnd test: ncursesbkgrndset test: ncursesboolcodes progs: dump_entryboolfnames progs: dump_entryboolnames progs: dump_entry infocmpborder -border_set -box test: cardfile demo_forms demo_menus edit_field ins_wide inserts lrtest ncurses newdemo testcursbox_set test: ncursescan_change_color test: ncursescbreak test: background blue bs cardfile color_set demo_defkey demo_forms demo_keyok demo_menus ditto filter firework gdc hanoi hashtest ins_wide inserts knight lrtest ncurses newdemo tclock testcurs view worm xmaschgat -clear test: blue bs gdc ncurses testcurs xmasclearok test: bs knightclrtobot test: demo_menus ncursesclrtoeol test: blue bs hanoi hashtest ncurses viewcolor_content test: ncursescolor_set test: color_set ncursescopywin test: testcurscur_term test: dots lrtest progs: clear tic tput tsetcurs_set test: firework gdc hanoi lrtest newdemo rain tclock testcurs worm xmascurscr test: edit_field knight lrtest ncurses tclock viewcurses_version test: ncurses progs: infocmp tic toe tput tsetdef_prog_mode test: bs ncursesdef_shell_mode lib: ncursesdefine_key test: demo_defkeydel_curterm lib: ncursesdelay_output -delch -deleteln -delscreen -delwin test: cardfile demo_forms demo_menus edit_field ins_wide inserts ncurses newdemo testcursderwin test: cardfile demo_forms demo_menus ins_wide inserts ncursesdoupdate test: cardfile edit_field ins_wide inserts knight ncursesdupwin test: edit_fieldecho test: bs hanoi ncurses testcurs testscanwecho_wchar test: ncursesechochar test: ncursesendwin test: background blue bs cardfile color_set demo_defkey demo_forms demo_keyok demo_menus ditto filter firework firstlast gdc hanoi hashtest ins_wide inserts keynames knight lrtest ncurses newdemo rain tclock testaddch testcurs testscanw view worm xmaserase test: cardfile filter firework firstlast hanoi lrtest ncurses tclock testcurserasechar lib: ncurseserasewchar -filter test: filterflash test: cardfile lrtest ncurses tclock testcursflushinp test: ncurses newdemo testcursget_wch -get_wstr -getbkgd test: ncursesgetbkgrnd test: ncursesgetcchar test: ncurses viewgetch test: background blue bs color_set ditto firework firstlast hanoi hashtest lrtest rain tclock testaddch testcurs view worm xmasgetmouse test: bs knight ncursesgetn_wstr -getnstr test: filter ncursesgetstr -getwin test: ncurseshalfdelay test: viewhas_colors test: background bs cardfile color_set demo_forms demo_menus filter firework gdc hanoi ins_wide inserts knight ncurses newdemo rain tclock testcurs view worm xmashas_ic test: lrtesthas_il lib: ncurseshas_key lib: ncurseshline test: gdc ncurseshline_set -idcok -idlok test: ncurses testscanw viewimmedok -in_wch -in_wchnstr -in_wchstr -inch -inchnstr -inchstr -init_color test: ncursesinit_pair test: background blue bs cardfile color_set demo_forms demo_menus filter firework gdc hanoi ins_wide inserts knight ncurses newdemo rain tclock testaddch testcurs view worm xmasinitscr test: background blue bs cardfile color_set demo_defkey demo_forms demo_keyok demo_menus firework firstlast gdc hanoi hashtest ins_wide inserts knight lrtest ncurses newdemo rain tclock testaddch testcurs testscanw view worm xmasinnstr -innwstr -ins_nwstr test: ins_wideins_wch test: ins_wideins_wstr test: ins_wideinsch test: ins_wide insertsinsdelln -insertln -insnstr test: insertsinsstr test: insertsinstr -intrflush test: demo_formsinwstr -is_linetouched lib: formis_term_resized -is_wintouched lib: ncursesisendwin -key_defined test: demo_defkeykey_name test: ncurses
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -