1 -- $Id: README,v 1.15 2003/07/05 19:17:49 tom Exp $
2 -------------------------------------------------------------------------------
4 The programs in this directory are designed to test your newest toy :-)
5 Check the sources for any further details.
7 blue - Blue Moon, a nifty solitaire (uses color)
8 bs.c - the game of Battleships (uses color)
9 firework.c - multi-colored fireworks (uses color)
10 gdc.c - Great Digital Clock (uses color)
11 hanoi.c - the game of hanoi (uses color essentially)
12 knight.c - the game of Knight's Tour (uses color)
13 lrtest.c - test of access to the lower-right corner
14 ncurses.c - multi-test program (uses color)
15 newdemo.c - another test from PDCurses (uses color)
16 rain.c - rain drops keep falling on my head...
17 tclock.c - analog/digital clock
18 testcurs.c - a test from the PDCurses people (uses color)
19 worm.c - worms run all over your screen (uses color)
20 xmas.c - Xmas greeting card
22 The bs and knight games demonstrate processing of mouse events under xterm.
23 This directory also contains:
25 tracemunch - Perl script to crunch trace scripts to make them easier to read
27 -------------------------------------------------------------------------------
28 -------------------------------------------------------------------------------
30 These programs provide examples of use, but do not comprise a complete set of
31 tests. Here is a list of library externals, noting those that are used:
35 TYPE_ALNUM test: demo_forms
36 TYPE_ALPHA test: demo_forms ncurses
37 TYPE_ENUM test: demo_forms
38 TYPE_INTEGER test: demo_forms
40 TYPE_NUMERIC test: demo_forms
41 TYPE_REGEXP test: demo_forms
42 current_field test: demo_forms edit_field ncurses
49 field_buffer test: cardfile demo_forms edit_field ncurses
52 field_index test: demo_forms
53 field_info test: ncurses
56 field_opts test: demo_forms ncurses
57 field_opts_off test: cardfile
62 field_type test: demo_forms
63 field_userptr test: ncurses
64 form_driver test: cardfile demo_forms edit_field ncurses
65 form_fields test: cardfile
71 form_request_by_name -
72 form_request_name test: edit_field
73 form_sub test: cardfile demo_forms ncurses
76 form_win test: cardfile demo_forms edit_field ncurses
77 free_field test: cardfile demo_forms ncurses
79 free_form test: cardfile demo_forms ncurses
83 new_field test: cardfile demo_forms ncurses
84 new_fieldtype test: ncurses
85 new_form test: cardfile demo_forms ncurses
88 post_form test: cardfile demo_forms ncurses
89 scale_form test: demo_forms ncurses
91 set_field_back test: cardfile demo_forms edit_field ncurses
92 set_field_buffer test: cardfile demo_forms edit_field ncurses
95 set_field_just test: cardfile
96 set_field_opts test: demo_forms ncurses
100 set_field_type test: demo_forms ncurses
101 set_field_userptr test: demo_forms ncurses
103 set_fieldtype_choice -
108 set_form_sub test: cardfile demo_forms ncurses
111 set_form_win test: cardfile demo_forms ncurses
113 set_new_page test: demo_forms
114 unpost_form test: cardfile demo_forms ncurses
118 current_item test: ncurses
119 free_item test: ncurses
120 free_menu test: ncurses
123 item_index test: ncurses
125 item_name test: ncurses
131 item_value test: ncurses
134 menu_driver test: ncurses
139 menu_items test: ncurses
142 menu_opts_off test: ncurses
146 menu_request_by_name -
152 menu_win test: ncurses
153 new_item test: ncurses
154 new_menu test: ncurses
155 pos_menu_cursor lib: menu
156 post_menu test: ncurses
157 scale_menu test: ncurses
163 set_item_value test: ncurses
166 set_menu_format test: ncurses
175 set_menu_sub test: ncurses
178 set_menu_win test: ncurses
181 unpost_menu test: ncurses
186 COLORS test: ncurses xmas
187 COLOR_PAIR test: blue bs demo_forms filter firework gdc hanoi ins_wide inserts knight ncurses newdemo rain tclock testaddch testcurs view worm xmas
188 COLOR_PAIRS test: ncurses newdemo
189 COLS test: cardfile demo_defkey demo_forms demo_keyok edit_field firework hashtest ins_wide inserts lrtest ncurses newdemo rain tclock testcurs view worm
190 ESCDELAY lib: ncurses
191 LINES test: cardfile demo_defkey demo_keyok edit_field firework hanoi hashtest ins_wide inserts lrtest ncurses newdemo rain tclock testcurs view worm xmas
192 PAIR_NUMBER lib: ncurses
197 acs_map test: gdc ins_wide inserts knight ncurses newdemo testcurs
199 add_wchnstr test: ncurses
200 add_wchstr test: view
201 addch test: blue bs ditto hashtest ncurses testaddch view worm
206 addstr test: blue bs cardfile gdc hanoi lrtest ncurses
208 assume_default_colors test: ncurses
210 attr_off test: ncurses
211 attr_on test: ncurses
213 attroff test: filter gdc ncurses tclock
214 attron test: bs filter gdc ncurses
215 attrset test: bs firework gdc hanoi ncurses rain tclock testaddch testcurs
216 baudrate lib: ncurses
217 beep test: blue bs cardfile demo_forms edit_field hanoi ins_wide inserts knight ncurses tclock testcurs view xmas
218 bkgd test: demo_forms ncurses tclock view
219 bkgdset test: ncurses testaddch
222 boolcodes progs: dump_entry
223 boolfnames progs: dump_entry
224 boolnames progs: dump_entry infocmp
227 box test: cardfile demo_forms edit_field ins_wide inserts lrtest ncurses newdemo testcurs
228 box_set test: ncurses
229 can_change_color test: ncurses
230 cbreak test: blue bs cardfile demo_defkey demo_forms demo_keyok ditto filter firework gdc hanoi hashtest ins_wide inserts knight lrtest ncurses newdemo tclock testcurs view worm xmas
232 clear test: blue bs gdc ncurses testcurs xmas
233 clearok test: bs knight
234 clrtobot test: ncurses
235 clrtoeol test: blue bs hanoi hashtest ncurses view
236 color_content test: ncurses
238 copywin test: testcurs
239 cur_term test: dots lrtest progs: clear tic tput tset
240 curs_set test: firework gdc hanoi lrtest newdemo rain tclock testcurs worm xmas
241 curscr test: edit_field knight lrtest ncurses tclock view
242 curses_version test: ncurses progs: infocmp tic toe tput tset
243 def_prog_mode test: bs ncurses
244 def_shell_mode lib: ncurses
245 define_key test: demo_defkey
246 del_curterm lib: ncurses
251 delwin test: cardfile demo_forms edit_field ncurses newdemo testcurs
252 derwin test: cardfile demo_forms ncurses
253 doupdate test: cardfile edit_field ins_wide inserts knight ncurses
254 dupwin test: edit_field
255 echo test: bs hanoi ncurses testcurs testscanw
256 echo_wchar test: ncurses
257 echochar test: ncurses
258 endwin test: blue bs cardfile demo_defkey demo_forms demo_keyok ditto filter firework firstlast gdc hanoi hashtest ins_wide inserts knight lrtest ncurses newdemo rain tclock testaddch testcurs testscanw view worm xmas
259 erase test: cardfile filter firework firstlast hanoi lrtest ncurses tclock testcurs
260 erasechar lib: ncurses
263 flash test: cardfile lrtest ncurses tclock testcurs
264 flushinp test: ncurses newdemo testcurs
267 getbkgd test: ncurses
270 getch test: blue bs ditto firework firstlast hanoi hashtest lrtest rain tclock testaddch testcurs view worm xmas
271 getmouse test: bs knight ncurses
273 getnstr test: filter ncurses
277 has_colors test: bs demo_forms filter firework gdc hanoi ins_wide inserts knight ncurses newdemo rain tclock testcurs view worm xmas
281 hline test: gdc ncurses
284 idlok test: ncurses testscanw view
292 init_color test: ncurses
293 init_pair test: blue bs demo_forms filter firework gdc hanoi ins_wide inserts knight ncurses newdemo rain tclock testaddch testcurs view worm xmas
294 initscr test: blue bs cardfile demo_defkey demo_forms demo_keyok firework firstlast gdc hanoi hashtest ins_wide inserts knight lrtest ncurses newdemo rain tclock testaddch testcurs testscanw view worm xmas
306 intrflush test: demo_forms
308 is_linetouched lib: form
310 is_wintouched lib: ncurses
312 key_defined test: demo_defkey
313 key_name test: ncurses
314 keybound test: demo_defkey
315 keyname test: demo_defkey demo_keyok edit_field keynames ncurses testcurs view progs: tic
316 keyok test: demo_keyok
317 keypad test: bs cardfile demo_defkey demo_forms demo_keyok edit_field filter firework hashtest ins_wide inserts knight lrtest ncurses tclock testcurs testscanw view
318 killchar lib: ncurses
321 longname test: testcurs progs: tput
326 mousemask test: bs knight ncurses
327 move test: blue bs cardfile gdc hanoi hashtest knight lrtest ncurses testscanw view worm xmas
328 mvadd_wch test: ncurses
331 mvaddch test: bs gdc hanoi lrtest ncurses rain tclock xmas
332 mvaddchnstr test: gdc
336 mvaddstr test: bs demo_forms gdc hanoi knight ncurses rain tclock testcurs xmas
348 mvhline test: ncurses
349 mvhline_set test: ncurses
366 mvprintw test: bs firework hanoi ncurses tclock view
368 mvvline test: ncurses
369 mvvline_set test: ncurses
373 mvwaddch test: newdemo testcurs xmas
376 mvwaddnstr test: newdemo testcurs
378 mvwaddstr test: firstlast ins_wide inserts knight ncurses newdemo testcurs xmas
381 mvwdelch test: ncurses
388 mvwhline lib: ncurses
390 mvwin test: cardfile testcurs xmas
394 mvwinch test: newdemo testcurs
397 mvwinnstr test: testcurs
400 mvwins_wch test: ins_wide
401 mvwins_wstr test: ins_wide
402 mvwinsch test: ins_wide inserts
404 mvwinsstr test: inserts testcurs
407 mvwprintw test: ncurses testcurs
408 mvwscanw test: testcurs
409 mvwvline test: ins_wide inserts
411 napms test: firework gdc hanoi lrtest ncurses newdemo railroad rain tclock testcurs view worm xmas progs: tset
412 newpad test: edit_field ncurses testcurs
414 newterm test: ditto filter gdc
415 newwin test: cardfile demo_defkey demo_forms demo_keyok edit_field firstlast ins_wide inserts knight ncurses newdemo testcurs xmas
416 nl test: demo_forms ncurses rain testcurs
417 nocbreak test: testcurs
418 nodelay test: firework gdc lrtest ncurses newdemo rain tclock view xmas
419 noecho test: bs cardfile demo_defkey demo_forms demo_keyok ditto firework firstlast gdc hanoi hashtest ins_wide inserts knight lrtest ncurses rain tclock testcurs view worm xmas
420 nonl test: bs demo_forms hashtest ncurses view worm xmas
422 noraw test: demo_forms ncurses testcurs
424 numcodes progs: dump_entry
425 numfnames progs: dump_entry
426 numnames progs: dump_entry infocmp
428 overlay test: testcurs xmas
429 overwrite test: ncurses
430 pair_content lib: ncurses
432 pnoutrefresh test: edit_field ncurses
433 prefresh test: testcurs
434 printw test: blue bs demo_defkey demo_keyok filter ncurses testcurs testscanw view
438 raw test: demo_forms ncurses testcurs
440 refresh test: blue bs demo_defkey demo_forms demo_keyok ditto filter firstlast gdc hanoi hashtest lrtest ncurses tclock testcurs view worm xmas
441 reset_prog_mode test: filter ncurses
442 reset_shell_mode test: bs filter
444 resize_term test: view
445 resizeterm lib: ncurses
447 ripoffline test: ncurses
449 scanw test: testcurs testscanw
455 scroll test: testcurs
456 scrollok test: demo_defkey demo_keyok ditto hashtest knight ncurses testcurs testscanw view
457 set_curterm lib: ncurses
459 setcchar test: ins_wide ncurses view
461 setupterm test: dots progs: clear tput tset
466 slk_attroff lib: ncurses
467 slk_attron lib: ncurses
469 slk_clear test: ncurses
470 slk_color test: ncurses
471 slk_init test: ncurses
472 slk_label test: ncurses
473 slk_noutrefresh test: ncurses
474 slk_refresh test: ncurses
475 slk_restore test: ncurses
476 slk_set test: ncurses
477 slk_touch test: ncurses
478 slk_wset test: ncurses
479 standend test: blue gdc ncurses worm
480 standout test: blue ncurses
481 start_color test: blue bs demo_forms filter firework gdc hanoi ins_wide inserts knight ncurses newdemo rain tclock testaddch testcurs view worm xmas
482 stdscr test: bs demo_forms ditto filter firework gdc hanoi hashtest ins_wide inserts knight lrtest ncurses rain tclock testcurs testscanw view xmas
483 strcodes progs: dump_entry
484 strfnames progs: dump_entry
485 strnames progs: dump_entry infocmp tic
486 subpad test: testcurs
487 subwin test: ncurses newdemo testcurs
490 termattrs test: ncurses testcurs
491 termname test: testcurs
492 tgetent test: railroad
494 tgetnum test: railroad
495 tgetstr test: railroad
497 tigetflag progs: tput
498 tigetnum test: ncurses progs: tput
499 tigetstr test: blue demo_defkey testcurs progs: tput
501 touchline lib: ncurses
502 touchwin test: edit_field filter firstlast ncurses xmas
503 tparm test: dots progs: tic tput
504 tputs test: dots railroad progs: clear tset
505 trace test: hanoi hashtest lrtest ncurses testcurs view worm
507 typeahead test: testcurs
508 unctrl test: ncurses testcurs
510 ungetch test: bs knight
513 use_default_colors test: filter firework gdc hanoi knight ncurses rain tclock worm xmas
515 use_extended_names progs: infocmp tic
520 vline test: gdc ncurses
524 vwprintw lib: ncurses
526 wadd_wch lib: ncurses
527 wadd_wchnstr lib: ncurses
529 waddch test: firstlast knight ncurses
530 waddchnstr lib: ncurses
533 waddnwstr test: ncurses
534 waddstr test: demo_forms edit_field firstlast ins_wide knight ncurses testcurs
535 waddwstr test: ins_wide
540 wattroff test: demo_forms ncurses testcurs xmas
541 wattron test: testcurs xmas
542 wattrset test: demo_forms ncurses newdemo testcurs xmas
543 wbkgd test: demo_forms ncurses newdemo testcurs
544 wbkgdset test: ins_wide inserts ncurses
546 wbkgrndset lib: ncurses
548 wborder_set lib: ncurses
550 wclear test: ncurses testcurs
551 wclrtobot test: firstlast ncurses testcurs
552 wclrtoeol test: demo_defkey demo_keyok firstlast ins_wide inserts knight ncurses testcurs
553 wcolor_set lib: ncurses
555 wdelch test: ncurses testcurs
556 wdeleteln test: testcurs
557 wecho_wchar lib: ncurses
558 wechochar lib: ncurses
560 werase test: cardfile demo_forms edit_field firstlast knight ncurses newdemo testcurs xmas
561 wget_wch test: ins_wide ncurses
563 wgetch test: cardfile demo_defkey demo_keyok edit_field gdc inserts knight ncurses newdemo testcurs
564 wgetn_wstr test: ncurses
565 wgetnstr test: ncurses
567 whline test: testcurs
568 whline_set lib: ncurses
570 win_wchnstr lib: ncurses
572 winch test: knight testcurs
573 winchnstr lib: ncurses
575 winnstr test: demo_defkey
576 winnwstr lib: ncurses
577 wins_nwstr lib: ncurses
578 wins_wch lib: ncurses
580 winsch test: testcurs
582 winsertln test: testcurs
587 wmouse_trafo lib: menu
588 wmove test: demo_defkey demo_keyok firstlast ins_wide inserts knight ncurses newdemo testcurs
589 wnoutrefresh test: edit_field ins_wide inserts knight ncurses
590 wprintw test: demo_defkey demo_forms demo_keyok edit_field ins_wide inserts knight ncurses testcurs
591 wredrawln lib: ncurses
592 wrefresh test: demo_forms demo_keyok edit_field firstlast knight lrtest ncurses newdemo tclock testcurs view xmas
593 wresize test: cardfile ncurses
594 wscanw test: testcurs
595 wscrl test: ncurses testcurs view
596 wsetscrreg test: ncurses testcurs
599 wsyncdown lib: ncurses
601 wtimeout test: ncurses
604 wvline test: testcurs
605 wvline_set lib: ncurses
609 bottom_panel test: ncurses
610 del_panel test: ncurses
611 hide_panel test: ncurses
612 move_panel test: ncurses
613 new_panel test: cardfile ncurses
617 panel_userptr test: ncurses
618 panel_window test: cardfile ncurses
620 set_panel_userptr test: ncurses
621 show_panel test: ncurses
622 top_panel test: cardfile ncurses
623 update_panels test: cardfile ncurses