ncurses 5.0 v5.0
authorThomas E. Dickey <dickey@invisible-island.net>
Sun, 24 Oct 1999 04:32:42 +0000 (00:32 -0400)
committerThomas E. Dickey <dickey@invisible-island.net>
Sun, 24 Oct 1999 04:32:42 +0000 (00:32 -0400)
782 files changed:
ANNOUNCE
Ada95/Makefile.in
Ada95/README
Ada95/TODO
Ada95/ada_include/Makefile.in [deleted file]
Ada95/gen/Makefile.in
Ada95/gen/gen.c
Ada95/gen/terminal_interface-curses-aux.ads.m4 [moved from Ada95/ada_include/terminal_interface-curses-aux.ads with 70% similarity]
Ada95/gen/terminal_interface-curses-forms-field_types.ads.m4
Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4
Ada95/gen/terminal_interface-curses-forms-form_user_data.ads.m4
Ada95/gen/terminal_interface-curses-forms.ads.m4
Ada95/gen/terminal_interface-curses-menus-item_user_data.ads.m4
Ada95/gen/terminal_interface-curses-menus-menu_user_data.ads.m4
Ada95/gen/terminal_interface-curses-menus.ads.m4
Ada95/gen/terminal_interface-curses-mouse.ads.m4
Ada95/gen/terminal_interface-curses-panels-user_data.ads.m4
Ada95/gen/terminal_interface-curses-panels.ads.m4
Ada95/gen/terminal_interface-curses.ads.m4
Ada95/html/ada/files.htm [new file with mode: 0644]
Ada95/html/ada/files/T.htm [new file with mode: 0644]
Ada95/html/ada/funcs.htm [new file with mode: 0644]
Ada95/html/ada/funcs/A.htm [new file with mode: 0644]
Ada95/html/ada/funcs/C.htm [new file with mode: 0644]
Ada95/html/ada/funcs/E.htm [new file with mode: 0644]
Ada95/html/ada/funcs/F.htm [new file with mode: 0644]
Ada95/html/ada/funcs/G.htm [new file with mode: 0644]
Ada95/html/ada/funcs/I.htm [new file with mode: 0644]
Ada95/html/ada/funcs/L.htm [new file with mode: 0644]
Ada95/html/ada/funcs/M.htm [new file with mode: 0644]
Ada95/html/ada/funcs/N.htm [new file with mode: 0644]
Ada95/html/ada/funcs/P.htm [new file with mode: 0644]
Ada95/html/ada/funcs/R.htm [new file with mode: 0644]
Ada95/html/ada/funcs/S.htm [new file with mode: 0644]
Ada95/html/ada/funcs/T.htm [new file with mode: 0644]
Ada95/html/ada/funcs/U.htm [new file with mode: 0644]
Ada95/html/ada/funcs/V.htm [new file with mode: 0644]
Ada95/html/ada/index.htm [new file with mode: 0644]
Ada95/html/ada/main.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-alpha__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-alphanumeric__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-enumeration-ada__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-enumeration__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-intfield__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-ipv4_address__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-numeric__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-regexp__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-user-choice__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types-user__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_types__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-field_user_data__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms-form_user_data__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-forms__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-menus-item_user_data__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-menus-menu_user_data__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-menus__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-mouse__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-panels-user_data__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-panels__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io-complex_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io-decimal_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io-enumeration_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io-fixed_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io-float_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io-integer_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io-modular_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses-text_io__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface-curses__ads.htm [new file with mode: 0644]
Ada95/html/ada/terminal_interface__ads.htm [new file with mode: 0644]
Ada95/html/curs_addch.3x.html [deleted file]
Ada95/html/curs_mouse.3x.html [deleted file]
Ada95/html/index.html
Ada95/html/man/curs_addch.3x.html [new file with mode: 0644]
Ada95/html/man/curs_addchstr.3x.html [moved from Ada95/html/curs_addchstr.3x.html with 95% similarity]
Ada95/html/man/curs_addstr.3x.html [moved from Ada95/html/curs_addstr.3x.html with 95% similarity]
Ada95/html/man/curs_attr.3x.html [moved from Ada95/html/curs_attr.3x.html with 72% similarity]
Ada95/html/man/curs_beep.3x.html [moved from Ada95/html/curs_beep.3x.html with 90% similarity]
Ada95/html/man/curs_bkgd.3x.html [moved from Ada95/html/curs_bkgd.3x.html with 95% similarity]
Ada95/html/man/curs_border.3x.html [moved from Ada95/html/curs_border.3x.html with 95% similarity]
Ada95/html/man/curs_clear.3x.html [moved from Ada95/html/curs_clear.3x.html with 94% similarity]
Ada95/html/man/curs_color.3x.html [moved from Ada95/html/curs_color.3x.html with 97% similarity]
Ada95/html/man/curs_delch.3x.html [moved from Ada95/html/curs_delch.3x.html with 92% similarity]
Ada95/html/man/curs_deleteln.3x.html [moved from Ada95/html/curs_deleteln.3x.html with 92% similarity]
Ada95/html/man/curs_getch.3x.html [moved from Ada95/html/curs_getch.3x.html with 96% similarity]
Ada95/html/man/curs_getstr.3x.html [moved from Ada95/html/curs_getstr.3x.html with 96% similarity]
Ada95/html/man/curs_getyx.3x.html [moved from Ada95/html/curs_getyx.3x.html with 89% similarity]
Ada95/html/man/curs_inch.3x.html [moved from Ada95/html/curs_inch.3x.html with 87% similarity]
Ada95/html/man/curs_inchstr.3x.html [moved from Ada95/html/curs_inchstr.3x.html with 91% similarity]
Ada95/html/man/curs_initscr.3x.html [moved from Ada95/html/curs_initscr.3x.html with 97% similarity]
Ada95/html/man/curs_inopts.3x.html [moved from Ada95/html/curs_inopts.3x.html with 98% similarity]
Ada95/html/man/curs_insch.3x.html [moved from Ada95/html/curs_insch.3x.html with 92% similarity]
Ada95/html/man/curs_insstr.3x.html [moved from Ada95/html/curs_insstr.3x.html with 93% similarity]
Ada95/html/man/curs_instr.3x.html [moved from Ada95/html/curs_instr.3x.html with 95% similarity]
Ada95/html/man/curs_kernel.3x.html [moved from Ada95/html/curs_kernel.3x.html with 92% similarity]
Ada95/html/man/curs_mouse.3x.html [new file with mode: 0644]
Ada95/html/man/curs_move.3x.html [moved from Ada95/html/curs_move.3x.html with 91% similarity]
Ada95/html/man/curs_outopts.3x.html [moved from Ada95/html/curs_outopts.3x.html with 93% similarity]
Ada95/html/man/curs_overlay.3x.html [moved from Ada95/html/curs_overlay.3x.html with 95% similarity]
Ada95/html/man/curs_pad.3x.html [moved from Ada95/html/curs_pad.3x.html with 97% similarity]
Ada95/html/man/curs_print.3x.html [moved from Ada95/html/curs_print.3x.html with 93% similarity]
Ada95/html/man/curs_printw.3x.html [moved from Ada95/html/curs_printw.3x.html with 88% similarity]
Ada95/html/man/curs_refresh.3x.html [moved from Ada95/html/curs_refresh.3x.html with 97% similarity]
Ada95/html/man/curs_scanw.3x.html [moved from Ada95/html/curs_scanw.3x.html with 92% similarity]
Ada95/html/man/curs_scr_dmp.3x.html [moved from Ada95/html/curs_scr_dmp.3x.html with 95% similarity]
Ada95/html/man/curs_scr_dump.3x.html [new file with mode: 0644]
Ada95/html/man/curs_scroll.3x.html [moved from Ada95/html/curs_scroll.3x.html with 94% similarity]
Ada95/html/man/curs_slk.3x.html [moved from Ada95/html/curs_slk.3x.html with 50% similarity]
Ada95/html/man/curs_termattrs.3x.html [moved from Ada95/html/curs_termattrs.3x.html with 96% similarity]
Ada95/html/man/curs_termcap.3x.html [moved from Ada95/html/curs_termcap.3x.html with 63% similarity]
Ada95/html/man/curs_terminfo.3x.html [moved from Ada95/html/curs_terminfo.3x.html with 86% similarity]
Ada95/html/man/curs_touch.3x.html [moved from Ada95/html/curs_touch.3x.html with 95% similarity]
Ada95/html/man/curs_util.3x.html [moved from Ada95/html/curs_util.3x.html with 95% similarity]
Ada95/html/man/curs_window.3x.html [moved from Ada95/html/curs_window.3x.html with 97% similarity]
Ada95/html/man/define_key.3x.html [moved from Ada95/html/define_key.3x.html with 84% similarity]
Ada95/html/man/dft_fgbg.3x.html [moved from Ada95/html/dft_fgbg.3x.html with 93% similarity]
Ada95/html/man/form.3x.html [moved from Ada95/html/form.3x.html with 96% similarity]
Ada95/html/man/form_cursor.3x.html [moved from Ada95/html/form_cursor.3x.html with 83% similarity]
Ada95/html/man/form_data.3x.html [moved from Ada95/html/form_data.3x.html with 75% similarity]
Ada95/html/man/form_driver.3x.html [moved from Ada95/html/form_driver.3x.html with 95% similarity]
Ada95/html/man/form_field.3x.html [moved from Ada95/html/form_field.3x.html with 94% similarity]
Ada95/html/man/form_field_attributes.3x.html [moved from Ada95/html/form_field_attributes.3x.html with 88% similarity]
Ada95/html/man/form_field_buffer.3x.html [moved from Ada95/html/form_field_buffer.3x.html with 88% similarity]
Ada95/html/man/form_field_info.3x.html [moved from Ada95/html/form_field_info.3x.html with 87% similarity]
Ada95/html/man/form_field_just.3x.html [moved from Ada95/html/form_field_just.3x.html with 85% similarity]
Ada95/html/man/form_field_new.3x.html [moved from Ada95/html/form_field_new.3x.html with 90% similarity]
Ada95/html/man/form_field_opts.3x.html [moved from Ada95/html/form_field_opts.3x.html with 89% similarity]
Ada95/html/man/form_field_userptr.3x.html [moved from Ada95/html/form_field_userptr.3x.html with 83% similarity]
Ada95/html/man/form_field_validation.3x.html [moved from Ada95/html/form_field_validation.3x.html with 95% similarity]
Ada95/html/man/form_fieldtype.3x.html [moved from Ada95/html/form_fieldtype.3x.html with 93% similarity]
Ada95/html/man/form_hook.3x.html [moved from Ada95/html/form_hook.3x.html with 87% similarity]
Ada95/html/man/form_new.3x.html [moved from Ada95/html/form_new.3x.html with 84% similarity]
Ada95/html/man/form_new_page.3x.html [moved from Ada95/html/form_new_page.3x.html with 84% similarity]
Ada95/html/man/form_opts.3x.html [moved from Ada95/html/form_opts.3x.html with 87% similarity]
Ada95/html/man/form_page.3x.html [moved from Ada95/html/form_page.3x.html with 88% similarity]
Ada95/html/man/form_post.3x.html [moved from Ada95/html/form_post.3x.html with 87% similarity]
Ada95/html/man/form_requestname.3x.html [moved from Ada95/html/form_requestname.3x.html with 83% similarity]
Ada95/html/man/form_userptr.3x.html [moved from Ada95/html/form_userptr.3x.html with 83% similarity]
Ada95/html/man/form_win.3x.html [moved from Ada95/html/form_win.3x.html with 84% similarity]
Ada95/html/man/keyok.3x.html [moved from Ada95/html/keyok.3x.html with 89% similarity]
Ada95/html/man/menu.3x.html [moved from Ada95/html/menu.3x.html with 96% similarity]
Ada95/html/man/menu_attribs.3x.html [moved from Ada95/html/menu_attribs.3x.html with 90% similarity]
Ada95/html/man/menu_cursor.3x.html [moved from Ada95/html/menu_cursor.3x.html with 83% similarity]
Ada95/html/man/menu_driver.3x.html [moved from Ada95/html/menu_driver.3x.html with 50% similarity]
Ada95/html/man/menu_format.3x.html [moved from Ada95/html/menu_format.3x.html with 87% similarity]
Ada95/html/man/menu_hook.3x.html [moved from Ada95/html/menu_hook.3x.html with 95% similarity]
Ada95/html/man/menu_items.3x.html [moved from Ada95/html/menu_items.3x.html with 88% similarity]
Ada95/html/man/menu_mark.3x.html [moved from Ada95/html/menu_mark.3x.html with 87% similarity]
Ada95/html/man/menu_new.3x.html [moved from Ada95/html/menu_new.3x.html with 84% similarity]
Ada95/html/man/menu_opts.3x.html [moved from Ada95/html/menu_opts.3x.html with 89% similarity]
Ada95/html/man/menu_pattern.3x.html [moved from Ada95/html/menu_pattern.3x.html with 87% similarity]
Ada95/html/man/menu_post.3x.html [moved from Ada95/html/menu_post.3x.html with 93% similarity]
Ada95/html/man/menu_requestname.3x.html [moved from Ada95/html/menu_requestname.3x.html with 83% similarity]
Ada95/html/man/menu_spacing.3x.html [moved from Ada95/html/menu_spacing.3x.html with 89% similarity]
Ada95/html/man/menu_userptr.3x.html [moved from Ada95/html/menu_userptr.3x.html with 83% similarity]
Ada95/html/man/menu_win.3x.html [moved from Ada95/html/menu_win.3x.html with 89% similarity]
Ada95/html/man/mitem_current.3x.html [moved from Ada95/html/mitem_current.3x.html with 87% similarity]
Ada95/html/man/mitem_name.3x.html [moved from Ada95/html/mitem_name.3x.html with 78% similarity]
Ada95/html/man/mitem_new.3x.html [moved from Ada95/html/mitem_new.3x.html with 87% similarity]
Ada95/html/man/mitem_opts.3x.html [moved from Ada95/html/mitem_opts.3x.html with 86% similarity]
Ada95/html/man/mitem_userptr.3x.html [moved from Ada95/html/mitem_userptr.3x.html with 83% similarity]
Ada95/html/man/mitem_value.3x.html [moved from Ada95/html/mitem_value.3x.html with 85% similarity]
Ada95/html/man/mitem_visible.3x.html [moved from Ada95/html/mitem_visible.3x.html with 76% similarity]
Ada95/html/man/ncurses.3x.html [new file with mode: 0644]
Ada95/html/man/panel.3x.html [moved from Ada95/html/panel.3x.html with 96% similarity]
Ada95/html/man/resizeterm.3x.html [moved from Ada95/html/resizeterm.3x.html with 94% similarity]
Ada95/html/man/wresize.3x.html [moved from Ada95/html/wresize.3x.html with 91% similarity]
Ada95/html/ncurses.3x.html [deleted file]
Ada95/html/table.html
Ada95/html/terminal_interface-curses-forms-field_types-alpha_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-alphanumeric_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-enumeration-ada_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-enumeration_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-intfield_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-ipv4_address_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-numeric_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-regexp_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-user-choice_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types-user_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_types_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-field_user_data_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms-form_user_data_s.html [deleted file]
Ada95/html/terminal_interface-curses-forms_s.html [deleted file]
Ada95/html/terminal_interface-curses-menus-item_user_data_s.html [deleted file]
Ada95/html/terminal_interface-curses-menus-menu_user_data_s.html [deleted file]
Ada95/html/terminal_interface-curses-menus_s.html [deleted file]
Ada95/html/terminal_interface-curses-mouse_s.html [deleted file]
Ada95/html/terminal_interface-curses-panels-user_data_s.html [deleted file]
Ada95/html/terminal_interface-curses-panels_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io-complex_io_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io-decimal_io_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io-enumeration_io_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io-fixed_io_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io-float_io_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io-integer_io_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io-modular_io_s.html [deleted file]
Ada95/html/terminal_interface-curses-text_io_s.html [deleted file]
Ada95/html/terminal_interface-curses_s.html [deleted file]
Ada95/html/terminal_interface_s.html [deleted file]
Ada95/samples/Makefile.in
Ada95/samples/rain.adb
Ada95/samples/rain.ads
Ada95/samples/sample-curses_demo-attributes.adb
Ada95/samples/sample-curses_demo-attributes.ads
Ada95/samples/sample-curses_demo-mouse.adb
Ada95/samples/sample-curses_demo-mouse.ads
Ada95/samples/sample-curses_demo.adb
Ada95/samples/sample-curses_demo.ads
Ada95/samples/sample-explanation.adb
Ada95/samples/sample-explanation.ads
Ada95/samples/sample-form_demo-aux.adb
Ada95/samples/sample-form_demo-aux.ads
Ada95/samples/sample-form_demo-handler.adb
Ada95/samples/sample-form_demo-handler.ads
Ada95/samples/sample-form_demo.adb
Ada95/samples/sample-form_demo.ads
Ada95/samples/sample-function_key_setting.adb
Ada95/samples/sample-function_key_setting.ads
Ada95/samples/sample-header_handler.adb
Ada95/samples/sample-header_handler.ads
Ada95/samples/sample-helpers.adb
Ada95/samples/sample-helpers.ads
Ada95/samples/sample-keyboard_handler.adb
Ada95/samples/sample-keyboard_handler.ads
Ada95/samples/sample-manifest.ads
Ada95/samples/sample-menu_demo-aux.adb
Ada95/samples/sample-menu_demo-aux.ads
Ada95/samples/sample-menu_demo-handler.adb
Ada95/samples/sample-menu_demo-handler.ads
Ada95/samples/sample-menu_demo.adb
Ada95/samples/sample-menu_demo.ads
Ada95/samples/sample-my_field_type.adb
Ada95/samples/sample-my_field_type.ads
Ada95/samples/sample-text_io_demo.adb
Ada95/samples/sample-text_io_demo.ads
Ada95/samples/sample.adb
Ada95/samples/sample.ads
Ada95/samples/status.adb
Ada95/samples/status.ads
Ada95/samples/tour.adb
Ada95/samples/tour.ads
Ada95/src/Makefile.in [new file with mode: 0644]
Ada95/src/terminal_interface-curses-aux.adb [moved from Ada95/ada_include/terminal_interface-curses-aux.adb with 97% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-alpha.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-alpha.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-alpha.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-alpha.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-alphanumeric.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-alphanumeric.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-alphanumeric.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-enumeration-ada.adb with 97% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-enumeration-ada.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-enumeration-ada.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-enumeration.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-enumeration.adb with 98% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-enumeration.ads with 96% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-intfield.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-intfield.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-intfield.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-intfield.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-ipv4_address.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-ipv4_address.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-ipv4_address.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-numeric.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-numeric.adb with 85% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-numeric.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-numeric.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-regexp.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-regexp.adb with 95% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-regexp.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-regexp.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-user-choice.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-user-choice.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-user-choice.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-user-choice.ads with 93% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-user.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-user.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms-field_types-user.ads [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types-user.ads with 94% similarity]
Ada95/src/terminal_interface-curses-forms-field_types.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_types.adb with 92% similarity]
Ada95/src/terminal_interface-curses-forms-field_user_data.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-field_user_data.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms-form_user_data.adb [moved from Ada95/ada_include/terminal_interface-curses-forms-form_user_data.adb with 96% similarity]
Ada95/src/terminal_interface-curses-forms.adb [moved from Ada95/ada_include/terminal_interface-curses-forms.adb with 94% similarity]
Ada95/src/terminal_interface-curses-menus-item_user_data.adb [moved from Ada95/ada_include/terminal_interface-curses-menus-item_user_data.adb with 97% similarity]
Ada95/src/terminal_interface-curses-menus-menu_user_data.adb [moved from Ada95/ada_include/terminal_interface-curses-menus-menu_user_data.adb with 96% similarity]
Ada95/src/terminal_interface-curses-menus.adb [moved from Ada95/ada_include/terminal_interface-curses-menus.adb with 92% similarity]
Ada95/src/terminal_interface-curses-mouse.adb [moved from Ada95/ada_include/terminal_interface-curses-mouse.adb with 63% similarity]
Ada95/src/terminal_interface-curses-panels-user_data.adb [moved from Ada95/ada_include/terminal_interface-curses-panels-user_data.adb with 97% similarity]
Ada95/src/terminal_interface-curses-panels.adb [moved from Ada95/ada_include/terminal_interface-curses-panels.adb with 98% similarity]
Ada95/src/terminal_interface-curses-text_io-aux.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-aux.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-aux.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-aux.ads with 96% similarity]
Ada95/src/terminal_interface-curses-text_io-complex_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-complex_io.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-complex_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-complex_io.ads with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-decimal_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-decimal_io.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-decimal_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-decimal_io.ads with 96% similarity]
Ada95/src/terminal_interface-curses-text_io-enumeration_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-enumeration_io.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-enumeration_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-enumeration_io.ads with 96% similarity]
Ada95/src/terminal_interface-curses-text_io-fixed_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-fixed_io.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-fixed_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-fixed_io.ads with 96% similarity]
Ada95/src/terminal_interface-curses-text_io-float_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-float_io.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-float_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-float_io.ads with 96% similarity]
Ada95/src/terminal_interface-curses-text_io-integer_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-integer_io.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-integer_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-integer_io.ads with 96% similarity]
Ada95/src/terminal_interface-curses-text_io-modular_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io-modular_io.adb with 97% similarity]
Ada95/src/terminal_interface-curses-text_io-modular_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io-modular_io.ads with 96% similarity]
Ada95/src/terminal_interface-curses-text_io.adb [moved from Ada95/ada_include/terminal_interface-curses-text_io.adb with 98% similarity]
Ada95/src/terminal_interface-curses-text_io.ads [moved from Ada95/ada_include/terminal_interface-curses-text_io.ads with 96% similarity]
Ada95/src/terminal_interface-curses.adb [moved from Ada95/ada_include/terminal_interface-curses.adb with 85% similarity]
Ada95/src/terminal_interface.ads [moved from Ada95/ada_include/terminal_interface.ads with 96% similarity]
INSTALL
MANIFEST
Makefile.glibc
Makefile.in
Makefile.os2 [new file with mode: 0644]
NEWS
README
README.emx [new file with mode: 0644]
TO-DO
aclocal.m4
announce.html
announce.html.in
c++/Makefile.in
c++/NEWS
c++/README-first
c++/cursesapp.cc
c++/cursesapp.h
c++/cursesf.cc
c++/cursesf.h
c++/cursesm.cc
c++/cursesm.h
c++/cursesmain.cc
c++/cursesp.cc
c++/cursesp.h
c++/cursespad.cc [new file with mode: 0644]
c++/cursesw.cc
c++/cursesw.h
c++/cursslk.cc
c++/cursslk.h
c++/demo.cc
c++/edit_cfg.sh
c++/etip.h.in
c++/internal.h
c++/modules
config.guess
config.sub
configure
configure.in
convert_configure.pl [new file with mode: 0644]
dist.mk
form/Makefile.in
form/READ.ME
form/fld_arg.c
form/fld_attr.c
form/fld_current.c
form/fld_def.c
form/fld_dup.c
form/fld_ftchoice.c
form/fld_ftlink.c
form/fld_info.c
form/fld_just.c
form/fld_link.c
form/fld_max.c
form/fld_move.c
form/fld_newftyp.c
form/fld_opts.c
form/fld_pad.c
form/fld_page.c
form/fld_stat.c
form/fld_type.c
form/fld_user.c
form/form.h
form/form.priv.h
form/frm_adabind.c [deleted file]
form/frm_cursor.c
form/frm_data.c
form/frm_def.c
form/frm_driver.c
form/frm_hook.c
form/frm_opts.c
form/frm_page.c
form/frm_post.c
form/frm_req_name.c
form/frm_scale.c
form/frm_sub.c
form/frm_user.c
form/frm_win.c
form/fty_alnum.c
form/fty_alpha.c
form/fty_enum.c
form/fty_int.c
form/fty_num.c
form/fty_regex.c
form/llib-lform
form/modules
include/Caps
include/MKterm.h.awk.in
include/capdefaults.c
include/curses.h.in
include/nc_alloc.h
include/term_entry.h
include/termcap.h.in
include/tic.h
man/MKterminfo.sh
man/captoinfo.1m
man/clear.1
man/curs_addch.3x
man/curs_addchstr.3x
man/curs_addstr.3x
man/curs_attr.3x
man/curs_beep.3x
man/curs_bkgd.3x
man/curs_border.3x
man/curs_clear.3x
man/curs_color.3x
man/curs_delch.3x
man/curs_deleteln.3x
man/curs_getch.3x
man/curs_getstr.3x
man/curs_getyx.3x
man/curs_inch.3x
man/curs_inchstr.3x
man/curs_initscr.3x
man/curs_inopts.3x
man/curs_insch.3x
man/curs_insstr.3x
man/curs_instr.3x
man/curs_kernel.3x
man/curs_mouse.3x
man/curs_move.3x
man/curs_outopts.3x
man/curs_overlay.3x
man/curs_pad.3x
man/curs_print.3x
man/curs_printw.3x
man/curs_refresh.3x
man/curs_scanw.3x
man/curs_scr_dump.3x [moved from man/curs_scr_dmp.3x with 53% similarity]
man/curs_scroll.3x
man/curs_slk.3x
man/curs_termattrs.3x
man/curs_termcap.3x
man/curs_terminfo.3x
man/curs_touch.3x
man/curs_util.3x
man/curs_window.3x
man/define_key.3x
man/dft_fgbg.3x
man/form.3x
man/form_cursor.3x
man/form_data.3x
man/form_driver.3x
man/form_field.3x
man/form_field_attributes.3x
man/form_field_buffer.3x
man/form_field_info.3x
man/form_field_just.3x
man/form_field_new.3x
man/form_field_opts.3x
man/form_field_userptr.3x
man/form_field_validation.3x
man/form_fieldtype.3x
man/form_hook.3x
man/form_new.3x
man/form_new_page.3x
man/form_opts.3x
man/form_page.3x
man/form_post.3x
man/form_requestname.3x
man/form_userptr.3x
man/form_win.3x
man/infocmp.1m
man/keybound.3x [new file with mode: 0644]
man/keyok.3x
man/man_db.renames
man/menu.3x
man/menu_attribs.3x
man/menu_cursor.3x
man/menu_driver.3x
man/menu_format.3x
man/menu_hook.3x
man/menu_items.3x
man/menu_mark.3x
man/menu_new.3x
man/menu_opts.3x
man/menu_pattern.3x
man/menu_post.3x
man/menu_requestname.3x
man/menu_spacing.3x
man/menu_userptr.3x
man/menu_win.3x
man/mitem_current.3x
man/mitem_name.3x
man/mitem_new.3x
man/mitem_opts.3x
man/mitem_userptr.3x
man/mitem_value.3x
man/mitem_visible.3x
man/ncurses.3x
man/panel.3x
man/resizeterm.3x
man/term.5
man/term.7
man/terminfo.head
man/terminfo.tail
man/tic.1m
man/toe.1m
man/tput.1
man/tset.1
man/wresize.3x
menu/Makefile.in
menu/READ.ME
menu/eti.h
menu/llib-lmenu
menu/m_adabind.c [deleted file]
menu/m_attribs.c
menu/m_cursor.c
menu/m_driver.c
menu/m_format.c
menu/m_global.c
menu/m_hook.c
menu/m_item_cur.c
menu/m_item_nam.c
menu/m_item_new.c
menu/m_item_opt.c
menu/m_item_top.c
menu/m_item_use.c
menu/m_item_val.c
menu/m_item_vis.c
menu/m_items.c
menu/m_new.c
menu/m_opts.c
menu/m_pad.c
menu/m_pattern.c
menu/m_post.c
menu/m_req_name.c
menu/m_scale.c
menu/m_spacing.c
menu/m_sub.c
menu/m_userptr.c
menu/m_win.c
menu/menu.h
menu/menu.priv.h
menu/mf_common.h
menu/modules
misc/chkdef.cmd [new file with mode: 0644]
misc/cleantic.cmd [new file with mode: 0644]
misc/cmpdef.cmd [new file with mode: 0644]
misc/emx.src
misc/form.def [new file with mode: 0644]
misc/form.ref [new file with mode: 0644]
misc/hackguide.doc
misc/hackguide.html
misc/makedef.cmd [new file with mode: 0644]
misc/menu.def [new file with mode: 0644]
misc/menu.ref [new file with mode: 0644]
misc/ncurses-intro.doc
misc/ncurses-intro.html
misc/ncurses.def [new file with mode: 0644]
misc/ncurses.ref [new file with mode: 0644]
misc/panel.def [new file with mode: 0644]
misc/panel.ref [new file with mode: 0644]
misc/run_tic.sh
misc/shlib
misc/terminfo.src
mk-1st.awk
mk-2nd.awk
ncurses/MKkeyname.awk [deleted file]
ncurses/Makefile.in
ncurses/README
ncurses/SigAction.h
ncurses/base/MKkeyname.awk [new file with mode: 0644]
ncurses/base/MKlib_gen.sh [moved from ncurses/MKlib_gen.sh with 100% similarity]
ncurses/base/MKunctrl.awk [moved from ncurses/MKunctrl.awk with 97% similarity]
ncurses/base/README [new file with mode: 0644]
ncurses/base/define_key.c [moved from ncurses/define_key.c with 91% similarity]
ncurses/base/keybound.c [new file with mode: 0644]
ncurses/base/keyok.c [moved from ncurses/keyok.c with 93% similarity]
ncurses/base/lib_addch.c [moved from ncurses/lib_addch.c with 96% similarity]
ncurses/base/lib_addstr.c [moved from ncurses/lib_addstr.c with 89% similarity]
ncurses/base/lib_beep.c [moved from ncurses/lib_beep.c with 94% similarity]
ncurses/base/lib_bkgd.c [moved from ncurses/lib_bkgd.c with 100% similarity]
ncurses/base/lib_box.c [moved from ncurses/lib_box.c with 100% similarity]
ncurses/base/lib_chgat.c [moved from ncurses/lib_chgat.c with 100% similarity]
ncurses/base/lib_clear.c [moved from ncurses/lib_clear.c with 100% similarity]
ncurses/base/lib_clearok.c [moved from ncurses/lib_clearok.c with 100% similarity]
ncurses/base/lib_clrbot.c [moved from ncurses/lib_clrbot.c with 78% similarity]
ncurses/base/lib_clreol.c [moved from ncurses/lib_clreol.c with 73% similarity]
ncurses/base/lib_color.c [moved from ncurses/lib_color.c with 77% similarity]
ncurses/base/lib_colorset.c [new file with mode: 0644]
ncurses/base/lib_delch.c [new file with mode: 0644]
ncurses/base/lib_delwin.c [moved from ncurses/lib_delwin.c with 100% similarity]
ncurses/base/lib_dft_fgbg.c [moved from ncurses/lib_dft_fgbg.c with 100% similarity]
ncurses/base/lib_echo.c [moved from ncurses/lib_echo.c with 96% similarity]
ncurses/base/lib_endwin.c [moved from ncurses/lib_endwin.c with 91% similarity]
ncurses/base/lib_erase.c [moved from ncurses/lib_erase.c with 100% similarity]
ncurses/base/lib_flash.c [moved from ncurses/lib_flash.c with 94% similarity]
ncurses/base/lib_freeall.c [moved from ncurses/lib_freeall.c with 91% similarity]
ncurses/base/lib_getch.c [moved from ncurses/lib_getch.c with 90% similarity]
ncurses/base/lib_getstr.c [moved from ncurses/lib_getstr.c with 97% similarity]
ncurses/base/lib_hline.c [moved from ncurses/lib_hline.c with 88% similarity]
ncurses/base/lib_immedok.c [moved from ncurses/lib_immedok.c with 100% similarity]
ncurses/base/lib_inchstr.c [moved from ncurses/lib_inchstr.c with 100% similarity]
ncurses/base/lib_initscr.c [moved from ncurses/lib_initscr.c with 89% similarity]
ncurses/base/lib_insch.c [moved from ncurses/lib_insch.c with 83% similarity]
ncurses/base/lib_insdel.c [moved from ncurses/lib_insdel.c with 100% similarity]
ncurses/base/lib_insstr.c [moved from ncurses/lib_insstr.c with 96% similarity]
ncurses/base/lib_instr.c [moved from ncurses/lib_instr.c with 100% similarity]
ncurses/base/lib_isendwin.c [moved from ncurses/lib_isendwin.c with 96% similarity]
ncurses/base/lib_leaveok.c [moved from ncurses/lib_leaveok.c with 95% similarity]
ncurses/base/lib_mouse.c [moved from ncurses/lib_mouse.c with 78% similarity]
ncurses/base/lib_move.c [moved from ncurses/lib_move.c with 100% similarity]
ncurses/base/lib_mvwin.c [moved from ncurses/lib_mvwin.c with 100% similarity]
ncurses/base/lib_newterm.c [moved from ncurses/lib_newterm.c with 87% similarity]
ncurses/base/lib_newwin.c [moved from ncurses/lib_newwin.c with 97% similarity]
ncurses/base/lib_nl.c [moved from ncurses/lib_nl.c with 93% similarity]
ncurses/base/lib_overlay.c [moved from ncurses/lib_overlay.c with 100% similarity]
ncurses/base/lib_pad.c [moved from ncurses/lib_pad.c with 97% similarity]
ncurses/base/lib_printw.c [moved from ncurses/lib_printw.c with 90% similarity]
ncurses/base/lib_redrawln.c [moved from ncurses/lib_redrawln.c with 80% similarity]
ncurses/base/lib_refresh.c [moved from ncurses/lib_refresh.c with 89% similarity]
ncurses/base/lib_restart.c [moved from ncurses/lib_restart.c with 74% similarity]
ncurses/base/lib_scanw.c [moved from ncurses/lib_scanw.c with 90% similarity]
ncurses/base/lib_screen.c [moved from ncurses/lib_screen.c with 94% similarity]
ncurses/base/lib_scroll.c [moved from ncurses/lib_scroll.c with 100% similarity]
ncurses/base/lib_scrollok.c [moved from ncurses/lib_scrollok.c with 100% similarity]
ncurses/base/lib_scrreg.c [moved from ncurses/lib_scrreg.c with 100% similarity]
ncurses/base/lib_set_term.c [moved from ncurses/lib_set_term.c with 76% similarity]
ncurses/base/lib_slk.c [moved from ncurses/lib_slk.c with 88% similarity]
ncurses/base/lib_slkatr_set.c [new file with mode: 0644]
ncurses/base/lib_slkatrof.c [moved from ncurses/lib_slkatrof.c with 96% similarity]
ncurses/base/lib_slkatron.c [moved from ncurses/lib_slkatron.c with 96% similarity]
ncurses/base/lib_slkatrset.c [moved from ncurses/lib_slkatrset.c with 96% similarity]
ncurses/base/lib_slkattr.c [moved from ncurses/lib_slkattr.c with 100% similarity]
ncurses/base/lib_slkclear.c [moved from ncurses/lib_slkclear.c with 92% similarity]
ncurses/base/lib_slkcolor.c [new file with mode: 0644]
ncurses/base/lib_slkinit.c [moved from ncurses/lib_slkinit.c with 100% similarity]
ncurses/base/lib_slklab.c [moved from ncurses/lib_slklab.c with 100% similarity]
ncurses/base/lib_slkrefr.c [moved from ncurses/lib_slkrefr.c with 90% similarity]
ncurses/base/lib_slkset.c [moved from ncurses/lib_slkset.c with 100% similarity]
ncurses/base/lib_slktouch.c [moved from ncurses/lib_slktouch.c with 100% similarity]
ncurses/base/lib_touch.c [moved from ncurses/lib_touch.c with 96% similarity]
ncurses/base/lib_ungetch.c [moved from ncurses/lib_ungetch.c with 100% similarity]
ncurses/base/lib_vline.c [moved from ncurses/lib_vline.c with 89% similarity]
ncurses/base/lib_wattroff.c [moved from ncurses/lib_wattroff.c with 95% similarity]
ncurses/base/lib_wattron.c [moved from ncurses/lib_wattron.c with 95% similarity]
ncurses/base/lib_winch.c [new file with mode: 0644]
ncurses/base/lib_window.c [moved from ncurses/lib_window.c with 90% similarity]
ncurses/base/memmove.c [new file with mode: 0644]
ncurses/base/nc_panel.c [moved from ncurses/nc_panel.c with 100% similarity]
ncurses/base/resizeterm.c [moved from ncurses/resizeterm.c with 94% similarity]
ncurses/base/safe_sprintf.c [moved from ncurses/safe_sprintf.c with 92% similarity]
ncurses/base/sigaction.c [moved from ncurses/sigaction.c with 94% similarity]
ncurses/base/tries.c [new file with mode: 0644]
ncurses/base/version.c [new file with mode: 0644]
ncurses/base/vsscanf.c [moved from ncurses/vsscanf.c with 100% similarity]
ncurses/base/wresize.c [moved from ncurses/wresize.c with 95% similarity]
ncurses/curses.priv.h
ncurses/lib_adabind.c [deleted file]
ncurses/lib_delch.c [deleted file]
ncurses/llib-lncurses
ncurses/modules
ncurses/read_entry.c [deleted file]
ncurses/softscroll.c [deleted file]
ncurses/tinfo/MKcaptab.awk [moved from ncurses/MKcaptab.awk with 83% similarity]
ncurses/tinfo/MKfallback.sh [moved from ncurses/MKfallback.sh with 89% similarity]
ncurses/tinfo/MKnames.awk [moved from ncurses/MKnames.awk with 93% similarity]
ncurses/tinfo/README [new file with mode: 0644]
ncurses/tinfo/access.c [new file with mode: 0644]
ncurses/tinfo/add_tries.c [moved from ncurses/tries.c with 71% similarity]
ncurses/tinfo/alloc_entry.c [moved from ncurses/alloc_entry.c with 63% similarity]
ncurses/tinfo/alloc_ttype.c [new file with mode: 0644]
ncurses/tinfo/captoinfo.c [moved from ncurses/captoinfo.c with 98% similarity]
ncurses/tinfo/comp_error.c [moved from ncurses/comp_error.c with 93% similarity]
ncurses/tinfo/comp_expand.c [moved from ncurses/comp_expand.c with 63% similarity]
ncurses/tinfo/comp_hash.c [moved from ncurses/comp_hash.c with 96% similarity]
ncurses/tinfo/comp_parse.c [moved from ncurses/comp_parse.c with 84% similarity]
ncurses/tinfo/comp_scan.c [moved from ncurses/comp_scan.c with 96% similarity]
ncurses/tinfo/doalloc.c [new file with mode: 0644]
ncurses/tinfo/free_ttype.c [new file with mode: 0644]
ncurses/tinfo/getenv_num.c [new file with mode: 0644]
ncurses/tinfo/home_terminfo.c [new file with mode: 0644]
ncurses/tinfo/init_keytry.c [new file with mode: 0644]
ncurses/tinfo/keys.list [moved from ncurses/keys.list with 100% similarity]
ncurses/tinfo/lib_acs.c [moved from ncurses/lib_acs.c with 97% similarity]
ncurses/tinfo/lib_baudrate.c [moved from ncurses/lib_baudrate.c with 77% similarity]
ncurses/tinfo/lib_cur_term.c [moved from ncurses/lib_cur_term.c with 81% similarity]
ncurses/tinfo/lib_data.c [moved from ncurses/lib_data.c with 94% similarity]
ncurses/tinfo/lib_has_cap.c [new file with mode: 0644]
ncurses/tinfo/lib_kernel.c [moved from ncurses/lib_kernel.c with 82% similarity]
ncurses/tinfo/lib_longname.c [moved from ncurses/lib_longname.c with 95% similarity]
ncurses/tinfo/lib_napms.c [moved from ncurses/lib_napms.c with 95% similarity]
ncurses/tinfo/lib_options.c [moved from ncurses/lib_options.c with 83% similarity]
ncurses/tinfo/lib_print.c [moved from ncurses/lib_print.c with 94% similarity]
ncurses/tinfo/lib_raw.c [new file with mode: 0644]
ncurses/tinfo/lib_setup.c [moved from ncurses/lib_setup.c with 72% similarity]
ncurses/tinfo/lib_termcap.c [moved from ncurses/lib_termcap.c with 68% similarity]
ncurses/tinfo/lib_termname.c [new file with mode: 0644]
ncurses/tinfo/lib_ti.c [new file with mode: 0644]
ncurses/tinfo/lib_tparm.c [moved from ncurses/lib_tparm.c with 72% similarity]
ncurses/tinfo/lib_tputs.c [moved from ncurses/lib_tputs.c with 84% similarity]
ncurses/tinfo/lib_ttyflags.c [new file with mode: 0644]
ncurses/tinfo/make_keys.c [moved from ncurses/make_keys.c with 95% similarity]
ncurses/tinfo/name_match.c [moved from ncurses/name_match.c with 74% similarity]
ncurses/tinfo/parse_entry.c [moved from ncurses/parse_entry.c with 85% similarity]
ncurses/tinfo/read_entry.c [new file with mode: 0644]
ncurses/tinfo/read_termcap.c [moved from ncurses/read_termcap.c with 93% similarity]
ncurses/tinfo/setbuf.c [new file with mode: 0644]
ncurses/tinfo/write_entry.c [moved from ncurses/write_entry.c with 61% similarity]
ncurses/trace/README [new file with mode: 0644]
ncurses/trace/lib_trace.c [moved from ncurses/lib_trace.c with 92% similarity]
ncurses/trace/lib_traceatr.c [moved from ncurses/lib_traceatr.c with 97% similarity]
ncurses/trace/lib_tracebits.c [moved from ncurses/lib_raw.c with 64% similarity]
ncurses/trace/lib_tracechr.c [moved from ncurses/lib_tracechr.c with 97% similarity]
ncurses/trace/lib_tracedmp.c [moved from ncurses/lib_tracedmp.c with 96% similarity]
ncurses/trace/lib_tracemse.c [moved from ncurses/lib_tracemse.c with 95% similarity]
ncurses/trace/trace_buf.c [moved from ncurses/trace_buf.c with 85% similarity]
ncurses/trace/trace_tries.c [moved from ncurses/lib_ti.c with 68% similarity]
ncurses/trace/trace_xnames.c [new file with mode: 0644]
ncurses/tty/MKexpanded.sh [moved from ncurses/MKexpanded.sh with 95% similarity]
ncurses/tty/hardscroll.c [moved from ncurses/hardscroll.c with 89% similarity]
ncurses/tty/hashmap.c [moved from ncurses/hashmap.c with 78% similarity]
ncurses/tty/lib_mvcur.c [moved from ncurses/lib_mvcur.c with 94% similarity]
ncurses/tty/lib_tstp.c [moved from ncurses/lib_tstp.c with 85% similarity]
ncurses/tty/lib_twait.c [moved from ncurses/lib_twait.c with 54% similarity]
ncurses/tty/lib_vidattr.c [moved from ncurses/lib_vidattr.c with 90% similarity]
ncurses/tty/tty_display.h [new file with mode: 0644]
ncurses/tty/tty_input.h [new file with mode: 0644]
ncurses/tty/tty_update.c [moved from ncurses/lib_doupdate.c with 92% similarity]
panel/Makefile.in
panel/p_above.c
panel/p_below.c
panel/p_bottom.c
panel/p_hidden.c
panel/p_hide.c
panel/p_move.c
panel/p_new.c
panel/p_replace.c
panel/p_show.c
panel/p_update.c
panel/panel.c
panel/panel.h
panel/panel.priv.h
progs/Makefile.in
progs/clear.c
progs/dump_entry.c
progs/dump_entry.h
progs/infocmp.c
progs/progs.priv.h
progs/tic.c
progs/toe.c
progs/tput.c
progs/tset.c
sysdeps/unix/sysv/linux/configure
sysdeps/unix/sysv/linux/edit_man.sh
tack/COPYING [new file with mode: 0644]
tack/HISTORY [new file with mode: 0644]
tack/Makefile.in
tack/README [new file with mode: 0644]
tack/ansi.c [new file with mode: 0644]
tack/charset.c [new file with mode: 0644]
tack/color.c [new file with mode: 0644]
tack/control.c [new file with mode: 0644]
tack/crum.c [new file with mode: 0644]
tack/edit.c [new file with mode: 0644]
tack/fun.c [new file with mode: 0644]
tack/init.c [new file with mode: 0644]
tack/menu.c [new file with mode: 0644]
tack/modes.c [new file with mode: 0644]
tack/modules
tack/output.c [new file with mode: 0644]
tack/pad.c [new file with mode: 0644]
tack/scan.c [new file with mode: 0644]
tack/sync.c [new file with mode: 0644]
tack/sysdep.c [new file with mode: 0644]
tack/tack.1 [new file with mode: 0644]
tack/tack.c [new file with mode: 0644]
tack/tack.h [new file with mode: 0644]
test/Makefile.in
test/blue.c
test/bs.c
test/cardfile.c [new file with mode: 0644]
test/cardfile.dat [new file with mode: 0644]
test/configure [new file with mode: 0755]
test/configure.in
test/ditto.c [new file with mode: 0644]
test/dots.c [new file with mode: 0644]
test/filter.c [new file with mode: 0644]
test/firework.c
test/hanoi.c
test/hashtest.c
test/keynames.c
test/lrtest.c
test/modules
test/ncurses.c
test/rain.c
test/tclock.c
test/testcurs.c
test/view.c
test/worm.c

index 3383dedd993ffd346059f69868e163dbfb7a4ed4..4707838fba99e43ceae6c99ee42e62d8a320b00e 100644 (file)
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,18 +1,20 @@
 
 
-                            Announcing ncurses 4.2
+                            Announcing ncurses 5.0
                                        
                                        
-   The ncurses (new curses) library is a freeware emulation of System V
-   Release 4.0 curses. It uses terminfo format, supports pads and color
-   and multiple highlights and forms characters and function-key mapping,
-   and has all the other SYSV-curses enhancements over BSD curses.
+   The ncurses (new curses) library is a free software emulation of
+   curses in System V Release 4.0, and more. It uses terminfo format,
+   supports pads and color and multiple highlights and forms characters
+   and function-key mapping, and has all the other SYSV-curses
+   enhancements over BSD curses.
    
    In mid-June 1995, the maintainer of 4.4BSD curses declared that he
    considered 4.4BSD curses obsolete, and is encouraging the keepers of
    Unix releases such as BSD/OS, freeBSD and netBSD to switch over to
    ncurses.
    
    
    In mid-June 1995, the maintainer of 4.4BSD curses declared that he
    considered 4.4BSD curses obsolete, and is encouraging the keepers of
    Unix releases such as BSD/OS, freeBSD and netBSD to switch over to
    ncurses.
    
-   The ncurses code was developed under Linux. It should port easily to
-   any ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!
+   The ncurses code was developed under GNU/Linux. It should port easily
+   to any ANSI/POSIX-conforming UNIX. It has even been ported to OS/2
+   Warp!
    
    The distribution includes the library and support utilities, including
    a terminfo compiler tic(1), a decompiler infocmp(1), clear(1),
    
    The distribution includes the library and support utilities, including
    a terminfo compiler tic(1), a decompiler infocmp(1), clear(1),
    manual pages are provided for the library and tools.
    
    The ncurses distribution is available via anonymous FTP at the GNU
    manual pages are provided for the library and tools.
    
    The ncurses distribution is available via anonymous FTP at the GNU
-   distribution site [1]ftp://prep.ai.mit.edu/pub/gnu. It is also
+   distribution site [1]ftp://ftp.gnu.org/pub/gnu/ncurses. It is also
    available at [2]ftp://ftp.clark.net/pub/dickey/ncurses.
    
    available at [2]ftp://ftp.clark.net/pub/dickey/ncurses.
    
-                              Features of ncurses
+                                 Release Notes
+                                       
+   We decided to release ncurses as a new whole number release (5.0)
+   because it incorporates several interface changes, including some that
+   would invalidate existing shared libraries. These are the highlights
+   from the change-log since ncurses 4.2 release.
+   
+   Interface changes:
+     * The principal source of changes to the interface comes from the
+       release of X/Open Curses in 1997. Earlier versions of ncurses (4.0
+       and before) were based on a draft version of the specification.
+       The release version adds parameters to some functions to support
+       the evolving internationalization of curses. These summarize the
+       impact:
+          + modified several prototypes to correspond with 1997 version
+            of X/Open Curses (affects ABI since developers have used
+            attr_get).
+          + corrected prototypes for slk_* functions, using chtype rather
+            than attr_t.
+          + the slk_attr_{set,off,on} functions need an additional void*
+            parameter according to XSI.
+          + correct macros for wattr_set, wattr_get, separate wattrset
+            macro from these to preserve behavior that allows attributes
+            to be combined with color pair numbers.
+          + reviewed/updated curses.h, term.h against X/Open Curses Issue
+            4 Version 2. This includes making some parameters
+            NCURSES_CONST rather than const, e.g., in termcap.h.
+          + reviewed/corrected macros in curses.h as per XSI document.
+          + add set_a_attributes and set_pglen_inch to terminfo
+            structure, as per XSI and Solaris 2.5.
+     * The newest version of the X/Open Curses is implemented on Solaris
+       and other vendor's systems. It adds new features to the terminfo
+       descriptions:
+          + implement tparm %l format.
+          + implement tparm printf-style width and precision for %s, %d,
+            %x, %o as per XSI.
+     * We made additional changes to reduce impact by future interface
+       changes:
+          + rename key_names[] array to _nc_key_names since it is not
+            part of the curses interface.
+          + move macro winch to a function, to hide details of struct
+            ldat
+     * modify configure script to embed ABI in shared libraries for HP-UX
+       10.x (detailed request by Tim Mooney).
+     * modify configuration of shared libraries on Digital Unix so that
+       versioning is embedded in the library, rather than implied by
+       links (patch by Tim Mooney).
+       
+   New features:
+     * enable sigwinch handler by default.
+     * turn on hashmap scrolling code by default
+     * improved support for termcap applications
+          + modify tput to accept termcap names as an alternative to
+            terminfo names.
+          + provide support for termcap PC variable by copying it from
+            terminfo data and using it as the padding character in tputs.
+          + provide support for termcap ospeed variable by copying it
+            from the internal cur_term member, and using ospeed as the
+            baudrate reference for the delay_output and tputs functions.
+          + change name-comparisons in lib_termcap to compare no more
+            than 2 characters.
+          + add configure option --enable-tcap-names, which essentially
+            allows users to define new capabilities as in termcap.
+     * add mouse support to ncurses menus.
+     * add mouse and dll support for OS/2 EMX
+     * modify terminfo parsing to accept octal and hexadecimal constants
+     * add configure option --enable-no-padding, to allow environment
+       variable $NCURSES_NO_PADDING to eliminate non-mandatory padding,
+       thereby making terminal emulators (e.g., for vt100) a little more
+       efficient.
+     * modify lib_color.c to eliminate dependency on orig_colors and
+       orig_pair, since SVr4 curses does not require these either, but
+       uses them when they are available.
+     * add -f option to infocmp and tic, which formats the terminfo
+       if/then/else/endif so that they are readable (with newlines and
+       tabs).
+     * modify tic to compile into %'char' form in preference to
+       %{number}, since that is a little more efficient.
+       
+   Major bug fixes:
+     * modify lib_tstp.c to block SIGTTOU when handling SIGTSTP, fixes a
+       problem where ncurses applications which were run via a shell
+       script would hang when given a ^Z. Also, check if the terminal's
+       process group is consistent, i.e., a shell has not taken ownership
+       of it, before deciding to save the current terminal settings in
+       the SIGTSTP handler.
+     * suppress sc/rc capabilities from terminal description if they
+       appear in smcup/rmcup. This affects only scrolling optimization,
+       to fix a problem reported by several people with xterm's alternate
+       screen, though the problem is more general.
+     * modify relative_move and tputs to avoid an interaction with the
+       BSD-style padding. The relative_move function could produce a
+       string to replace on the screen which began with a numeric
+       character, which was then interpreted by tputs as padding.
+     * modify setupterm so that cancelled strings are treated the same as
+       absent strings, cancelled and absent booleans false (does not
+       affect tic, infocmp).
+     * modify lib_vidattr.c to allow for terminal types (e.g.,
+       xterm-color) which may reset all attributes in the 'op'
+       capability, so that colors are set before turning on bold and
+       other attributes, but still after turning attributes off.
+     * use 'access()' to check if ncurses library should be permitted to
+       open or modify files with fopen/open/link/unlink/remove calls, in
+       case the calling application is running in setuid mode.
+     * correction to doupdate, for case where terminal does not support
+       insert/delete character. The logic did not check that there was a
+       difference in alignment of changes to old/new screens before
+       repainting the whole non-blank portion of the line. Modified to
+       fall through into logic that reduces by the portion which does not
+       differ.
+       
+                              Features of Ncurses
                                        
    The ncurses package is fully compatible with SVr4 (System V Release 4)
    curses:
                                        
    The ncurses package is fully compatible with SVr4 (System V Release 4)
    curses:
-   
      * All 257 of the SVr4 calls have been implemented (and are
        documented).
      * Full support for SVr4 curses features including keyboard mapping,
      * All 257 of the SVr4 calls have been implemented (and are
        documented).
      * Full support for SVr4 curses features including keyboard mapping,
        HP/UX and AIX ports.
        
    The ncurses package also has many useful extensions over SVr4:
        HP/UX and AIX ports.
        
    The ncurses package also has many useful extensions over SVr4:
-   
      * The API is 8-bit clean and base-level conformant with the X/OPEN
      * The API is 8-bit clean and base-level conformant with the X/OPEN
-       curses specification, XSI Curses (that is, it implements all BASE
+       curses specification, XSI curses (that is, it implements all BASE
        level features, but not all EXTENDED features). Most
        EXTENDED-level features not directly concerned with wide-character
        support are implemented, including many function calls not
        supported under SVr4 curses (but portability of all calls is
        documented so you can use the SVr4 subset only).
        level features, but not all EXTENDED features). Most
        EXTENDED-level features not directly concerned with wide-character
        support are implemented, including many function calls not
        supported under SVr4 curses (but portability of all calls is
        documented so you can use the SVr4 subset only).
-     * Unlike SVr4 curses, ncurses can write to the rightmost-bottommost
+     * Unlike SVr3 curses, ncurses can write to the rightmost-bottommost
        corner of the screen if your terminal has an insert-character
        capability.
        corner of the screen if your terminal has an insert-character
        capability.
-     * (PC-clone boxes only) Support for access to the IBM PC ROM
-       characters 0-32 through the highlight A_ALTCHARSET.
      * Ada95 and C++ bindings.
      * Ada95 and C++ bindings.
-     * Support for mouse event reporting under xterm.
+     * Support for mouse event reporting with X Window xterm and OS/2
+       console windows.
      * Extended mouse support via Alessandro Rubini's gpm package.
      * The function wresize() allows you to resize windows, preserving
        their data.
      * Extended mouse support via Alessandro Rubini's gpm package.
      * The function wresize() allows you to resize windows, preserving
        their data.
    and arena corruption by the Purify memory-allocation tester.
    
    The ncurses code has been tested with a wide variety of applications
    and arena corruption by the Purify memory-allocation tester.
    
    The ncurses code has been tested with a wide variety of applications
-   including:
+   including (versions starting with those noted):
    
    
+   cdk
+          Curses Development Kit [3]Curses Development Kit
+          [4]ftp://ftp.clark.net/pub/dickey/cdk.
+          
    ded
    ded
-          directory-editor [3]ftp://ftp.clark.net/pub/dickey/ded.
+          directory-editor [5]ftp://ftp.clark.net/pub/dickey/ded.
           
    dialog
           the underlying application used in Slackware's setup, and the
           
    dialog
           the underlying application used in Slackware's setup, and the
-          basis for similar applications on Linux.
+          basis for similar applications on GNU/Linux.
           
           
-   lynx-2.7
+   lynx
           the character-screen WWW browser
           
    Midnight Commander 4.1
           file manager
           
           the character-screen WWW browser
           
    Midnight Commander 4.1
           file manager
           
-   mutt 0.88
+   mutt
           mail utility
           
           mail utility
           
-   ncftp 2.0
+   ncftp
           file-transfer utility
           
    nvi
           New vi versions 1.50 are able to use ncurses versions 1.9.7 and
           later.
           
           file-transfer utility
           
    nvi
           New vi versions 1.50 are able to use ncurses versions 1.9.7 and
           later.
           
+   tin
+          newsreader, supporting color, MIME
+          [6]ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff.
+          
    taper
           tape archive utility
           
    taper
           tape archive utility
           
           
    as well as some that use ncurses for the terminfo support alone:
    
           
    as well as some that use ncurses for the terminfo support alone:
    
-   minicom-1.75
+   minicom
           terminal emulator
           
           terminal emulator
           
-   tin-unoff
-          tin 1.4 newsreader, supporting color, MIME
-          [4]ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff.
-          
    vile
    vile
-          vi-like-emacs [5]ftp://ftp.clark.net/pub/dickey/vile.
+          vi-like-emacs [7]ftp://ftp.clark.net/pub/dickey/vile.
           
    The ncurses distribution includes a selection of test programs
    (including a few games).
    
 Who's Who and What's What
 
           
    The ncurses distribution includes a selection of test programs
    (including a few games).
    
 Who's Who and What's What
 
-   The original developers of ncurses are [6]Zeyd Ben-Halim and [7]Eric
-   S. Raymond. Ongoing work is being done by [8]Thomas Dickey and
-   [9]Jürgen Pfeifer. [10]Florian La Roche acts as the maintainer for the
+   The original developers of ncurses are [8]Zeyd Ben-Halim and [9]Eric
+   S. Raymond. Ongoing work is being done by [10]Thomas Dickey and
+   [11]Jürgen Pfeifer. [12]Thomas Dickey acts as the maintainer for the
    Free Software Foundation, which holds the copyright on ncurses.
    Free Software Foundation, which holds the copyright on ncurses.
-   Contact the current maintainers at [11]bug-ncurses@gnu.org.
+   Contact the current maintainers at [13]bug-ncurses@gnu.org.
    
    To join the ncurses mailing list, please write email to
    bug-ncurses-request@gnu.org containing the line:
    
    To join the ncurses mailing list, please write email to
    bug-ncurses-request@gnu.org containing the line:
@@ -201,7 +315,7 @@ Who's Who and What's What
    and testing of this package.
    
    Beta versions of ncurses and patches to the current release are made
    and testing of this package.
    
    Beta versions of ncurses and patches to the current release are made
-   available at [12]ftp://ftp.clark.net/pub/dickey/ncurses.
+   available at [14]ftp://ftp.clark.net/pub/dickey/ncurses.
    
 Future Plans
 
    
 Future Plans
 
@@ -216,24 +330,26 @@ Other Related Resources
 
    The distribution includes and uses a version of the terminfo-format
    terminal description file maintained by Eric Raymond.
 
    The distribution includes and uses a version of the terminfo-format
    terminal description file maintained by Eric Raymond.
-   [13]http://earthspace.net/~esr/terminfo.
+   [15]http://earthspace.net/~esr/terminfo.
    
    You can find lots of information on terminal-related topics not
    
    You can find lots of information on terminal-related topics not
-   covered in the terminfo file at [14]Richard Shuford's archive.
+   covered in the terminfo file at [16]Richard Shuford's archive.
 
 References
 
 
 References
 
-   1. ftp://prep.ai.mit.edu/pub/gnu
+   1. ftp://ftp.gnu.org/pub/gnu/ncurses
    2. ftp://ftp.clark.net/pub/dickey/ncurses
    2. ftp://ftp.clark.net/pub/dickey/ncurses
-   3. ftp://ftp.clark.net/pub/dickey/ded
-   4. ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff
-   5. ftp://ftp.clark.net/pub/dickey/vile
-   6. mailto:zmbenhal@netcom.com
-   7. http://www.ccil.org/~esr/home.html
-   8. mailto:dickey@clark.net
-   9. mailto:Juergen.Pfeifer@T-Online.de
-  10. mailto:florian@gnu.org
-  11. mailto:bug-ncurses@gnu.org
-  12. ftp://ftp.clark.net/pub/dickey/ncurses
-  13. http://earthspace.net/~esr/terminfo
-  14. http://www.cs.utk.edu/~shuford/terminal_index.html
+   3. http://www.vexus.ca/CDK.html
+   4. ftp://ftp.clark.net/pub/dickey/cdk
+   5. ftp://ftp.clark.net/pub/dickey/ded
+   6. ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin-unoff
+   7. ftp://ftp.clark.net/pub/dickey/vile
+   8. mailto:zmbenhal@netcom.com
+   9. http://www.ccil.org/~esr/home.html
+  10. mailto:dickey@clark.net
+  11. mailto:juergen.pfeifer@gmx.net
+  12. mailto:dickey@clark.net
+  13. mailto:bug-ncurses@gnu.org
+  14. ftp://ftp.clark.net/pub/dickey/ncurses
+  15. http://earthspace.net/~esr/terminfo
+  16. http://www.cs.utk.edu/~shuford/terminal_index.html
index 49bbb60232e9aedd183c83fa39589c236394d543..5ba9feec0bb9643e575c4d16804a9779c64797d0 100644 (file)
 # authorization.                                                             #
 ##############################################################################
 #
 # authorization.                                                             #
 ##############################################################################
 #
-#  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+#  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 #
 #  Version Control
 #
 #  Version Control
-#  $Revision: 1.10 $
+#  $Revision: 1.12 $
 #
 SHELL          = /bin/sh
 THIS           = Makefile
 
 SUBDIRS         = @ADA_SUBDIRS@
 
 #
 SHELL          = /bin/sh
 THIS           = Makefile
 
 SUBDIRS         = @ADA_SUBDIRS@
 
+CF_MFLAGS      = @cf_cv_makeflags@
+@SET_MAKE@
+
 all \
 sources \
 install \
 all \
 sources \
 install \
@@ -43,19 +46,19 @@ install.libs \
 uninstall \
 uninstall.libs ::
        for d in $(SUBDIRS); do \
 uninstall \
 uninstall.libs ::
        for d in $(SUBDIRS); do \
-               (cd $$d ; $(MAKE) $@) ;\
+               (cd $$d ; $(MAKE) $(CF_MFLAGS) $@) ;\
        done
 
 clean \
 mostlyclean ::
        for d in $(SUBDIRS); do \
        done
 
 clean \
 mostlyclean ::
        for d in $(SUBDIRS); do \
-               (cd $$d ; $(MAKE) $@) ;\
+               (cd $$d ; $(MAKE) $(CF_MFLAGS) $@) ;\
        done
 
 distclean \
 realclean ::
        for d in $(SUBDIRS); do \
        done
 
 distclean \
 realclean ::
        for d in $(SUBDIRS); do \
-               (cd $$d ; $(MAKE) $@) ;\
+               (cd $$d ; $(MAKE) $(CF_MFLAGS) $@) ;\
        done
        rm -f Makefile
 
        done
        rm -f Makefile
 
index 28836a2fe358b2662178370c2232d942d48331cd..8a530611917a9b19b3d31d451653c4c19e0d8f48 100644 (file)
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
 
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
 
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
-Caveats:
-
-   This is the first delivery of this binding. It has not been
-   extensively tested. So I declare this as BETA level software,
-   although it is delivered with an official release of ncurses.
-
-   You should install the ncurses distribution around this binding
-   first before you try to run the sample.
-
-   This Binding is currently strictly for the GNAT compiler, because
-   in one place I use a GNAT specfic runtime module (see doc.)
-
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 
 The documentation is provided in HTML format in the ./html 
 subdirectory. The main document is named index.html
 
 The documentation is provided in HTML format in the ./html 
 subdirectory. The main document is named index.html
index 8516d227be6914186484af8fa6aae408d89916a5..12fef7b717cffe14c58257cf70f76492f77416ee 100644 (file)
@@ -1,8 +1,10 @@
+-- $Id: TODO,v 1.4 1999/10/20 09:18:58 tom Exp $
+
 --  Intensive testing
     Perhaps the delivery of the Beta will help a bit.
 
 --  Documentation
 --  Intensive testing
     Perhaps the delivery of the Beta will help a bit.
 
 --  Documentation
-    Like most WEB pages: under continous construction
+    Like most WEB pages: under continuous construction
 
 --  Style cleanup
        
 
 --  Style cleanup
        
@@ -10,9 +12,9 @@
     Comfort purpose
 
 --  Sample program
     Comfort purpose
 
 --  Sample program
-    Under continous construction (and it's not a WEB page!!!)
+    Under continuous construction (and it's not a WEB page!!!)
 
 
---  Make the binding objects a shared libray
+--  Make the binding objects a shared library
     They are rather large, so it would make sense, otherwise Ada95
     would look too large, although the generated code is as compact
     as C or C++. I'll wait a bit until the GNAT people provide some
     They are rather large, so it would make sense, otherwise Ada95
     would look too large, although the generated code is as compact
     as C or C++. I'll wait a bit until the GNAT people provide some
diff --git a/Ada95/ada_include/Makefile.in b/Ada95/ada_include/Makefile.in
deleted file mode 100644 (file)
index 3bc6c06..0000000
+++ /dev/null
@@ -1,546 +0,0 @@
-##############################################################################
-# Copyright (c) 1998 Free Software Foundation, Inc.                          #
-#                                                                            #
-# Permission is hereby granted, free of charge, to any person obtaining a    #
-# copy of this software and associated documentation files (the "Software"), #
-# to deal in the Software without restriction, including without limitation  #
-# the rights to use, copy, modify, merge, publish, distribute, distribute    #
-# with modifications, sublicense, and/or sell copies of the Software, and to #
-# permit persons to whom the Software is furnished to do so, subject to the  #
-# following conditions:                                                      #
-#                                                                            #
-# The above copyright notice and this permission notice shall be included in #
-# all copies or substantial portions of the Software.                        #
-#                                                                            #
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
-# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
-# DEALINGS IN THE SOFTWARE.                                                  #
-#                                                                            #
-# Except as contained in this notice, the name(s) of the above copyright     #
-# holders shall not be used in advertising or otherwise to promote the sale, #
-# use or other dealings in this Software without prior written               #
-# authorization.                                                             #
-##############################################################################
-#
-#  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
-#
-#  Version Control
-#  $Revision: 1.13 $
-#
-.SUFFIXES:
-
-SHELL          = /bin/sh
-THIS           = Makefile
-
-MODEL          = ../../@DFT_OBJ_SUBDIR@
-srcdir         = @srcdir@
-prefix         = @prefix@
-exec_prefix    = @exec_prefix@
-libdir         = @libdir@
-includedir     = @includedir@
-datadir                = @datadir@
-ticdir         = $(datadir)/terminfo
-ADA_INCLUDE    = @ADA_INCLUDE@
-
-INSTALL                = @INSTALL@
-INSTALL_DATA   = @INSTALL_DATA@
-
-AWK            = @AWK@
-LN_S           = @LN_S@
-
-CC             = @CC@
-CFLAGS         = @CFLAGS@
-
-CPPFLAGS       = @ACPPFLAGS@ \
-                 -DHAVE_CONFIG_H -I$(srcdir)
-
-CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
-
-CFLAGS_NORMAL  = $(CCFLAGS)
-CFLAGS_DEBUG   = $(CCFLAGS) @CC_G_OPT@ -DTRACE
-CFLAGS_PROFILE = $(CCFLAGS) -pg
-CFLAGS_SHARED  = $(CCFLAGS) @CC_SHARED_OPTS@
-
-CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
-
-LINK           = $(CC)
-LDFLAGS                = @LDFLAGS@ @LD_MODEL@ @LIBS@
-
-RANLIB         = @RANLIB@
-################################################################################
-ADA             = @cf_ada_compiler@
-ADAFLAGS        = @ADAFLAGS@ -I. -I$(srcdir)
-
-ADAMAKE         = @cf_ada_make@
-ADAMAKEFLAGS    = 
-
-CARGS           = -cargs $(ADAFLAGS)
-LARGS           =
-
-ALIB            = @cf_ada_package@
-ABASE           = $(ALIB)-curses
-
-ADA_OBJDIR      = ../ada_objects
-OBJDIR          = ../objects
-
-LIBALIS=$(ADA_OBJDIR)/$(ALIB).ali                                              \
-       $(ADA_OBJDIR)/$(ABASE)-aux.ali                                  \
-       $(ADA_OBJDIR)/$(ABASE).ali                                      \
-       $(ADA_OBJDIR)/$(ABASE)-mouse.ali                                \
-       $(ADA_OBJDIR)/$(ABASE)-panels.ali                               \
-       $(ADA_OBJDIR)/$(ABASE)-menus.ali                                \
-       $(ADA_OBJDIR)/$(ABASE)-forms.ali                                \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types.ali                    \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-alpha.ali              \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-alphanumeric.ali       \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-intfield.ali           \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-numeric.ali            \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-regexp.ali             \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration.ali        \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-ipv4_address.ali       \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-user.ali               \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-user-choice.ali        \
-       $(ADA_OBJDIR)/$(ABASE)-text_io.ali                              \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-aux.ali
-
-# Ada Library files for generic packages. Since gnat 3.10 they are
-# also compiled
-GENALIS=$(ADA_OBJDIR)/$(ABASE)-menus-menu_user_data.ali                        \
-       $(ADA_OBJDIR)/$(ABASE)-menus-item_user_data.ali                 \
-       $(ADA_OBJDIR)/$(ABASE)-forms-form_user_data.ali                 \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_user_data.ali                \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration-ada.ali    \
-       $(ADA_OBJDIR)/$(ABASE)-panels-user_data.ali                     \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-integer_io.ali                   \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-float_io.ali                     \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-fixed_io.ali                     \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-decimal_io.ali                   \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-enumeration_io.ali               \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-modular_io.ali                   \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-complex_io.ali
-
-LIBOBJS=$(ADA_OBJDIR)/$(ALIB).o                                        \
-       $(ADA_OBJDIR)/$(ABASE)-aux.o                            \
-       $(ADA_OBJDIR)/$(ABASE).o                                \
-       $(ADA_OBJDIR)/$(ABASE)-mouse.o                          \
-       $(ADA_OBJDIR)/$(ABASE)-panels.o                         \
-       $(ADA_OBJDIR)/$(ABASE)-menus.o                          \
-       $(ADA_OBJDIR)/$(ABASE)-forms.o                          \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types.o              \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-alpha.o        \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-alphanumeric.o \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-intfield.o     \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-numeric.o      \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-regexp.o       \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration.o  \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-ipv4_address.o \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-user.o         \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-user-choice.o  \
-       $(ADA_OBJDIR)/$(ABASE)-text_io.o                        \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-aux.o
-
-# Ada object files for generic packages. Since gnat 3.10 they are
-# also compiled
-GENOBJS=$(ADA_OBJDIR)/$(ABASE)-menus-menu_user_data.o                  \
-       $(ADA_OBJDIR)/$(ABASE)-menus-item_user_data.o                   \
-       $(ADA_OBJDIR)/$(ABASE)-forms-form_user_data.o                   \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_user_data.o                  \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration-ada.o      \
-       $(ADA_OBJDIR)/$(ABASE)-panels-user_data.o                       \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-integer_io.o                     \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-float_io.o                       \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-fixed_io.o                       \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-decimal_io.o                     \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-enumeration_io.o                 \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-modular_io.o                     \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-complex_io.o
-
-
-all :: $(LIBALIS) @cf_compile_generics@
-       @echo done
-
-sources :
-       @
-
-install ::
-install.libs ::
-uninstall ::
-uninstall.libs ::
-
-generics: $(GENALIS)
-       @
-
-mostlyclean ::
-       rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] *.a
-
-clean :: mostlyclean
-       rm -f $(LIBALIS) $(LIBOBJS)
-
-distclean :: clean
-       rm -f Makefile
-
-realclean :: distclean
-
-BASEDEPS=$(ABASE).ads $(srcdir)/$(ABASE)-aux.ads
-
-$(ADA_OBJDIR)/$(ALIB).o: $(srcdir)/$(ALIB).ads
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ALIB).ads
-
-$(ADA_OBJDIR)/$(ALIB).ali: $(ADA_OBJDIR)/$(ALIB).o
-       if [ -f $(ALIB).ali ]; then \
-          ln -f $(ALIB).ali $@ ;\
-          rm -f $(ALIB).ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-aux.o: $(srcdir)/$(ABASE)-aux.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-aux.adb
-
-$(ADA_OBJDIR)/$(ABASE)-aux.ali: $(ADA_OBJDIR)/$(ABASE)-aux.o
-       if [ -f $(ABASE)-aux.ali ]; then \
-          ln -f $(ABASE)-aux.ali $@ ;\
-          rm -f $(ABASE)-aux.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE).o: $(srcdir)/$(ABASE).adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE).adb
-
-$(ADA_OBJDIR)/$(ABASE).ali: $(ADA_OBJDIR)/$(ABASE).o
-       if [ -f $(ABASE).ali ]; then \
-          ln -f $(ABASE).ali $@ ;\
-          rm -f $(ABASE).ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-mouse.o: \
-               $(ABASE)-mouse.ads \
-               $(srcdir)/$(ABASE)-mouse.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-mouse.adb
-
-$(ADA_OBJDIR)/$(ABASE)-mouse.ali: $(ADA_OBJDIR)/$(ABASE)-mouse.o
-       if [ -f $(ABASE)-mouse.ali ]; then \
-          ln -f $(ABASE)-mouse.ali $@ ;\
-          rm -f $(ABASE)-mouse.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-panels.o: \
-               $(ABASE)-panels.ads \
-               $(srcdir)/$(ABASE)-panels.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-panels.adb
-
-$(ADA_OBJDIR)/$(ABASE)-panels.ali: $(ADA_OBJDIR)/$(ABASE)-panels.o
-       if [ -f $(ABASE)-panels.ali ]; then \
-          ln -f $(ABASE)-panels.ali $@ ;\
-          rm -f $(ABASE)-panels.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-menus.o: \
-               $(ABASE)-menus.ads \
-               $(srcdir)/$(ABASE)-menus.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-menus.adb
-
-$(ADA_OBJDIR)/$(ABASE)-menus.ali: $(ADA_OBJDIR)/$(ABASE)-menus.o
-       if [ -f $(ABASE)-menus.ali ]; then \
-          ln -f $(ABASE)-menus.ali $@ ;\
-          rm -f $(ABASE)-menus.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms.o: \
-               $(ABASE)-forms.ads \
-               $(srcdir)/$(ABASE)-forms.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms.ali: $(ADA_OBJDIR)/$(ABASE)-forms.o
-       if [ -f $(ABASE)-forms.ali ]; then \
-          ln -f $(ABASE)-forms.ali $@ ;\
-          rm -f $(ABASE)-forms.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types.o: \
-               $(ABASE)-forms-field_types.ads \
-               $(srcdir)/$(ABASE)-forms-field_types.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types.o
-       if [ -f $(ABASE)-forms-field_types.ali ]; then \
-          ln -f $(ABASE)-forms-field_types.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-alpha.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-alpha.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-alpha.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-alpha.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-alpha.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-alpha.o
-       if [ -f $(ABASE)-forms-field_types-alpha.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-alpha.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-alpha.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-alphanumeric.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-alphanumeric.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-alphanumeric.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-alphanumeric.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-alphanumeric.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-alphanumeric.o
-       if [ -f $(ABASE)-forms-field_types-alphanumeric.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-alphanumeric.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-alphanumeric.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-intfield.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-intfield.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-intfield.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-intfield.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-intfield.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-intfield.o
-       if [ -f $(ABASE)-forms-field_types-intfield.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-intfield.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-intfield.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-numeric.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-numeric.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-numeric.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-numeric.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-numeric.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-numeric.o
-       if [ -f $(ABASE)-forms-field_types-numeric.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-numeric.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-numeric.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-regexp.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-regexp.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-regexp.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-regexp.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-regexp.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-regexp.o
-       if [ -f $(ABASE)-forms-field_types-regexp.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-regexp.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-regexp.ali ;\
-       fi
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-enumeration.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-enumeration.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-enumeration.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration.o
-       if [ -f $(ABASE)-forms-field_types-enumeration.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-enumeration.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-enumeration.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-ipv4_address.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-ipv4_address.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-ipv4_address.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-ipv4_address.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-ipv4_address.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-ipv4_address.o
-       if [ -f $(ABASE)-forms-field_types-ipv4_address.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-ipv4_address.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-ipv4_address.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-user.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-user.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-user.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-user.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-user.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-user.o
-       if [ -f $(ABASE)-forms-field_types-user.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-user.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-user.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-user-choice.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-user-choice.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-user-choice.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-user-choice.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-user-choice.ali: $(ADA_OBJDIR)/$(ABASE)-forms-field_types-user-choice.o
-       if [ -f $(ABASE)-forms-field_types-user-choice.ali ]; then \
-          ln -f $(ABASE)-forms-field_types-user-choice.ali $@ ;\
-          rm -f $(ABASE)-forms-field_types-user-choice.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io.o: \
-               $(srcdir)/$(ABASE)-text_io.ads \
-               $(srcdir)/$(ABASE)-text_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io.ali: $(ADA_OBJDIR)/$(ABASE)-text_io.o
-       if [ -f $(ABASE)-text_io.ali ]; then \
-          ln -f $(ABASE)-text_io.ali $@ ;\
-          rm -f $(ABASE)-text_io.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-aux.o: \
-               $(srcdir)/$(ABASE)-text_io-aux.ads \
-               $(srcdir)/$(ABASE)-text_io-aux.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-aux.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-aux.ali: $(ADA_OBJDIR)/$(ABASE)-text_io-aux.o
-       if [ -f $(ABASE)-text_io-aux.ali ]; then \
-          ln -f $(ABASE)-text_io-aux.ali $@ ;\
-          rm -f $(ABASE)-text_io-aux.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-menus-menu_user_data.o: \
-               $(ABASE)-menus-menu_user_data.ads \
-               $(srcdir)/$(ABASE)-menus-menu_user_data.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-menus-menu_user_data.adb
-
-$(ADA_OBJDIR)/$(ABASE)-menus-menu_user_data.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-menus-menu_user_data.o
-       if [ -f $(ABASE)-menus-menu_user_data.ali ]; then \
-          ln -f $(ABASE)-menus-menu_user_data.ali $@ ;\
-          rm -f $(ABASE)-menus-menu_user_data.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-menus-item_user_data.o: \
-               $(ABASE)-menus-item_user_data.ads \
-               $(srcdir)/$(ABASE)-menus-item_user_data.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-menus-item_user_data.adb
-
-$(ADA_OBJDIR)/$(ABASE)-menus-item_user_data.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-menus-item_user_data.o
-       if [ -f $(ABASE)-menus-item_user_data.ali ]; then \
-         ln -f $(ABASE)-menus-item_user_data.ali $@ ;\
-         rm -f $(ABASE)-menus-item_user_data.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-form_user_data.o: \
-               $(ABASE)-forms-form_user_data.ads \
-               $(srcdir)/$(ABASE)-forms-form_user_data.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-form_user_data.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-form_user_data.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-forms-form_user_data.o
-       if [ -f $(ABASE)-forms-form_user_data.ali ]; then \
-         ln -f $(ABASE)-forms-form_user_data.ali $@ ;\
-         rm -f $(ABASE)-forms-form_user_data.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_user_data.o: \
-               $(ABASE)-forms-field_user_data.ads \
-               $(srcdir)/$(ABASE)-forms-field_user_data.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_user_data.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_user_data.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_user_data.o
-       if [ -f $(ABASE)-forms-field_user_data.ali ]; then \
-         ln -f $(ABASE)-forms-field_user_data.ali $@ ;\
-         rm -f $(ABASE)-forms-field_user_data.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration-ada.o: \
-               $(srcdir)/$(ABASE)-forms-field_types-enumeration-ada.ads \
-               $(srcdir)/$(ABASE)-forms-field_types-enumeration-ada.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-forms-field_types-enumeration-ada.adb
-
-$(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration-ada.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-forms-field_types-enumeration-ada.o
-       if [ -f $(ABASE)-forms-field_types-enumeration-ada.ali ]; then \
-         ln -f $(ABASE)-forms-field_types-enumeration-ada.ali $@ ;\
-         rm -f $(ABASE)-forms-field_types-enumeration-ada.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-panels-user_data.o: \
-               $(ABASE)-panels-user_data.ads \
-               $(srcdir)/$(ABASE)-panels-user_data.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-panels-user_data.adb
-
-$(ADA_OBJDIR)/$(ABASE)-panels-user_data.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-panels-user_data.o
-       if [ -f $(ABASE)-panels-user_data.ali ]; then \
-         ln -f $(ABASE)-panels-user_data.ali $@ ;\
-         rm -f $(ABASE)-panels-user_data.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-integer_io.o: \
-               $(srcdir)/$(ABASE)-text_io-integer_io.ads \
-               $(srcdir)/$(ABASE)-text_io-integer_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-integer_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-integer_io.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-integer_io.o
-       if [ -f $(ABASE)-text_io-integer_io.ali ]; then \
-         ln -f $(ABASE)-text_io-integer_io.ali $@ ;\
-         rm -f $(ABASE)-text_io-integer_io.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-float_io.o: \
-               $(srcdir)/$(ABASE)-text_io-float_io.ads \
-               $(srcdir)/$(ABASE)-text_io-float_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-float_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-float_io.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-float_io.o
-       if [ -f $(ABASE)-text_io-float_io.ali ]; then \
-         ln -f $(ABASE)-text_io-float_io.ali $@ ;\
-         rm -f $(ABASE)-text_io-float_io.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-fixed_io.o: \
-               $(srcdir)/$(ABASE)-text_io-fixed_io.ads \
-               $(srcdir)/$(ABASE)-text_io-fixed_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-fixed_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-fixed_io.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-fixed_io.o
-       if [ -f $(ABASE)-text_io-fixed_io.ali ]; then \
-         ln -f $(ABASE)-text_io-fixed_io.ali $@ ;\
-         rm -f $(ABASE)-text_io-fixed_io.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-decimal_io.o: \
-               $(srcdir)/$(ABASE)-text_io-decimal_io.ads \
-               $(srcdir)/$(ABASE)-text_io-decimal_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-decimal_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-decimal_io.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-decimal_io.o
-       if [ -f $(ABASE)-text_io-decimal_io.ali ]; then \
-         ln -f $(ABASE)-text_io-decimal_io.ali $@ ;\
-         rm -f $(ABASE)-text_io-decimal_io.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-enumeration_io.o: \
-               $(srcdir)/$(ABASE)-text_io-enumeration_io.ads \
-               $(srcdir)/$(ABASE)-text_io-enumeration_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-enumeration_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-enumeration_io.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-enumeration_io.o
-       if [ -f $(ABASE)-text_io-enumeration_io.ali ]; then \
-         ln -f $(ABASE)-text_io-enumeration_io.ali $@ ;\
-         rm -f $(ABASE)-text_io-enumeration_io.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-modular_io.o: \
-               $(srcdir)/$(ABASE)-text_io-modular_io.ads \
-               $(srcdir)/$(ABASE)-text_io-modular_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-modular_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-modular_io.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-modular_io.o
-       if [ -f $(ABASE)-text_io-modular_io.ali ]; then \
-         ln -f $(ABASE)-text_io-modular_io.ali $@ ;\
-         rm -f $(ABASE)-text_io-modular_io.ali ;\
-       fi
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-complex_io.o: \
-               $(srcdir)/$(ABASE)-text_io-complex_io.ads \
-               $(srcdir)/$(ABASE)-text_io-complex_io.adb $(BASEDEPS)
-       $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-text_io-complex_io.adb
-
-$(ADA_OBJDIR)/$(ABASE)-text_io-complex_io.ali: \
-       $(ADA_OBJDIR)/$(ABASE)-text_io-complex_io.o
-       if [ -f $(ABASE)-text_io-complex_io.ali ]; then \
-         ln -f $(ABASE)-text_io-complex_io.ali $@ ;\
-         rm -f $(ABASE)-text_io-complex_io.ali ;\
-       fi
index 6ebf0c5ef04b51c26b366a1428f45097d362af92..32c660a311cbfcbb8bb2a2dee7e2058b082e621a 100644 (file)
 # authorization.                                                             #
 ##############################################################################
 #
 # authorization.                                                             #
 ##############################################################################
 #
-#  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+#  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 #
 #  Version Control
 #
 #  Version Control
-#  $Revision: 1.18 $
+#  $Revision: 1.27 $
 #
 .SUFFIXES:
 
 #
 .SUFFIXES:
 
@@ -60,7 +60,6 @@ CPPFLAGS      = @ACPPFLAGS@ \
                  -DHAVE_CONFIG_H -I$(srcdir)
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
                  -DHAVE_CONFIG_H -I$(srcdir)
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
-
 CFLAGS_NORMAL  = $(CCFLAGS)
 CFLAGS_DEBUG   = $(CCFLAGS) @CC_G_OPT@ -DTRACE
 CFLAGS_PROFILE = $(CCFLAGS) -pg
 CFLAGS_NORMAL  = $(CCFLAGS)
 CFLAGS_DEBUG   = $(CCFLAGS) @CC_G_OPT@ -DTRACE
 CFLAGS_PROFILE = $(CCFLAGS) -pg
@@ -73,19 +72,19 @@ LD_FLAGS    = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS)
 
 RANLIB         = @RANLIB@
 
 
 RANLIB         = @RANLIB@
 
-LIB_CURSES      = -L ../../lib -lncurses
+LIB_CURSES      = -L../../lib -lncurses
 
 M4             = m4
 M4FLAGS                =
 
 
 M4             = m4
 M4FLAGS                =
 
+GENERATE       = ./gen '@DFT_ARG_SUFFIX@'
 DEL_ADAMODE    = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d'
 
 ################################################################################
 ALIB            = @cf_ada_package@
 ABASE          = $(ALIB)-curses
 
 DEL_ADAMODE    = sed -e '/^\-\-\ \ \-\*\-\ ada\ \-\*\-.*/d'
 
 ################################################################################
 ALIB            = @cf_ada_package@
 ABASE          = $(ALIB)-curses
 
-ADA_SRCDIR     = ../ada_include
-ADA_OBJDIR      = ../ada_objects
+ADA_SRCDIR     = ../src
 
 GEN_FILES0      = Base_Defs
 
 
 GEN_FILES0      = Base_Defs
 
@@ -97,6 +96,7 @@ GEN_FILES1      = Key_Definitions                             \
                  ACS_Map                               \
                  Linker_Options                        \
                  Base_Defs                             \
                  ACS_Map                               \
                  Linker_Options                        \
                  Base_Defs                             \
+                 Window_Offsets                        \
                  Version_Info
 
 GEN_FILES2      = Menu_Opt_Rep                         \
                  Version_Info
 
 GEN_FILES2      = Menu_Opt_Rep                         \
@@ -111,9 +111,14 @@ GEN_FILES3      = Form_Opt_Rep                             \
 
 GEN_FILES4      = Mouse_Base_Defs                              \
                  Mouse_Event_Rep                       \
 
 GEN_FILES4      = Mouse_Base_Defs                              \
                  Mouse_Event_Rep                       \
+                 Mouse_Events                          \
                  Panel_Linker_Options
 
                  Panel_Linker_Options
 
+GEN_FILES5     = Chtype_Def                            \
+                 Eti_Defs
+
 GEN_TARGETS     = $(ADA_SRCDIR)/$(ABASE).ads                           \
 GEN_TARGETS     = $(ADA_SRCDIR)/$(ABASE).ads                           \
+                 $(ADA_SRCDIR)/$(ABASE)-aux.ads                        \
                  $(ADA_SRCDIR)/$(ABASE)-menus.ads                      \
                  $(ADA_SRCDIR)/$(ABASE)-forms.ads                      \
                  $(ADA_SRCDIR)/$(ABASE)-mouse.ads                      \
                  $(ADA_SRCDIR)/$(ABASE)-menus.ads                      \
                  $(ADA_SRCDIR)/$(ABASE)-forms.ads                      \
                  $(ADA_SRCDIR)/$(ABASE)-mouse.ads                      \
@@ -126,6 +131,7 @@ GEN_TARGETS     = $(ADA_SRCDIR)/$(ABASE).ads                                \
                  $(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads
 
 GEN_SRC                = $(srcdir)/$(ABASE).ads.m4                             \
                  $(ADA_SRCDIR)/$(ABASE)-panels-user_data.ads
 
 GEN_SRC                = $(srcdir)/$(ABASE).ads.m4                             \
+                 $(srcdir)/$(ABASE)-aux.ads.m4                         \
                  $(srcdir)/$(ABASE)-menus.ads.m4                       \
                  $(srcdir)/$(ABASE)-forms.ads.m4                       \
                  $(srcdir)/$(ABASE)-mouse.ads.m4                       \
                  $(srcdir)/$(ABASE)-menus.ads.m4                       \
                  $(srcdir)/$(ABASE)-forms.ads.m4                       \
                  $(srcdir)/$(ABASE)-mouse.ads.m4                       \
@@ -138,36 +144,37 @@ GEN_SRC           = $(srcdir)/$(ABASE).ads.m4                             \
                  $(srcdir)/$(ABASE)-panels-user_data.ads.m4
 
 
                  $(srcdir)/$(ABASE)-panels-user_data.ads.m4
 
 
-all:   $(ADA_OBJDIR) $(GEN_TARGETS)
+all:   $(GEN_TARGETS)
        @
 
 sources:
 
        @
 
 sources:
 
-$(ADA_OBJDIR) \
 $(ADA_INCLUDE) \
 $(ADA_OBJECTS) :
 $(ADA_INCLUDE) \
 $(ADA_OBJECTS) :
-       $(top_srcdir)/mkinstalldirs $@
+       $(top_srcdir)/mkinstalldirs $(INSTALL_PREFIX)$@
 
 install \
 install.libs :: $(ADA_INCLUDE)
 
 install \
 install.libs :: $(ADA_INCLUDE)
-       @echo installing package $(ABASE) in $(ADA_INCLUDE)
-       @$(top_srcdir)/tar-copy.sh '$(ABASE)[-.]*' $(ADA_SRCDIR) $(ADA_INCLUDE)
-       @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ABASE)[-.]*' $(srcdir)/../ada_include $(ADA_INCLUDE)
+       @echo installing package $(ALIB) in $(INSTALL_PREFIX)$(ADA_INCLUDE)
+       @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(ADA_SRCDIR) $(INSTALL_PREFIX)$(ADA_INCLUDE)
+       @test $(srcdir) != ./ && $(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ad?' $(srcdir)/../src $(INSTALL_PREFIX)$(ADA_INCLUDE)
 
 install \
 install.libs :: $(ADA_OBJECTS)
 
 install \
 install.libs :: $(ADA_OBJECTS)
-       @echo installing package $(ABASE) in $(ADA_OBJECTS)
-       @$(top_srcdir)/tar-copy.sh '$(ABASE)[-.]*' $(ADA_OBJDIR) $(ADA_OBJECTS)
+       @echo installing package $(ALIB) in $(INSTALL_PREFIX)$(ADA_OBJECTS)
+       @chmod a-wx $(ADA_SRCDIR)/*.ali
+       @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(INSTALL_PREFIX)$(ADA_OBJECTS)
+       @chmod u+x $(ADA_SRCDIR)/*.ali
 
 uninstall \
 uninstall.libs ::
 
 uninstall \
 uninstall.libs ::
-       @echo removing package $(ABASE) from $(ADA_INCLUDE)
-       -@cd $(ADA_INCLUDE) && rm -f $(ABASE)[-.]*
+       @echo removing package $(ALIB) from $(INSTALL_PREFIX)$(ADA_INCLUDE)
+       -@cd $(INSTALL_PREFIX)$(ADA_INCLUDE) && rm -f $(ALIB)[-.]*
 
 uninstall \
 uninstall.libs ::
 
 uninstall \
 uninstall.libs ::
-       @echo removing package $(ABASE) from $(ADA_OBJECTS)
-       -@cd $(ADA_OBJECTS) && rm -f $(ABASE)[-.]*
+       @echo removing package $(ALIB) from $(INSTALL_PREFIX)$(ADA_OBJECTS)
+       -@cd $(INSTALL_PREFIX)$(ADA_OBJECTS) && rm -f $(ALIB)[-.]*
 
 gen:   gen.o
        @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@ $(LIB_CURSES)
 
 gen:   gen.o
        @ECHO_LINK@ $(LINK) $(CFLAGS_NORMAL) gen.o $(LD_FLAGS) -o $@ $(LIB_CURSES)
@@ -176,64 +183,76 @@ gen.o:    $(srcdir)/gen.c
        $(CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c
 
 Character_Attribute_Set_Rep: gen
        $(CC) $(CFLAGS_NORMAL) -c -o $@ $(srcdir)/gen.c
 
 Character_Attribute_Set_Rep: gen
-       ./gen B A >$@
+       $(GENERATE) B A >$@
 
 Base_Defs: gen
 
 Base_Defs: gen
-       ./gen B B >$@
+       $(GENERATE) B B >$@
 
 Color_Defs: gen
 
 Color_Defs: gen
-       ./gen B C >$@
+       $(GENERATE) B C >$@
 
 Key_Definitions: gen
 
 Key_Definitions: gen
-       ./gen B K >$@
+       $(GENERATE) B K >$@
 
 Old_Keys: gen
 
 Old_Keys: gen
-       ./gen B O >$@
+       $(GENERATE) B O >$@
 
 ACS_Map: gen
 
 ACS_Map: gen
-       ./gen B M >$@
+       $(GENERATE) B M >$@
 
 AC_Rep: gen
 
 AC_Rep: gen
-       ./gen B R >$@
+       $(GENERATE) B R >$@
 
 Linker_Options: gen
 
 Linker_Options: gen
-       ./gen B L >$@
+       $(GENERATE) B L >$@
 
 Version_Info: gen
 
 Version_Info: gen
-       ./gen B V >$@
+       $(GENERATE) B V >$@
+
+Window_Offsets: gen
+       $(GENERATE) B D >$@
 
 Menu_Opt_Rep: gen
 
 Menu_Opt_Rep: gen
-       ./gen M R >$@
+       $(GENERATE) M R >$@
 
 Menu_Base_Defs: gen
 
 Menu_Base_Defs: gen
-       ./gen M B >$@
+       $(GENERATE) M B >$@
 
 Menu_Linker_Options: gen
 
 Menu_Linker_Options: gen
-       ./gen M L >$@
+       $(GENERATE) M L >$@
 
 Item_Rep: gen
 
 Item_Rep: gen
-       ./gen M I >$@
+       $(GENERATE) M I >$@
 
 Form_Opt_Rep: gen
 
 Form_Opt_Rep: gen
-       ./gen F R >$@
+       $(GENERATE) F R >$@
 
 Form_Base_Defs: gen
 
 Form_Base_Defs: gen
-       ./gen F B >$@
+       $(GENERATE) F B >$@
 
 Form_Linker_Options: gen
 
 Form_Linker_Options: gen
-       ./gen F L >$@
+       $(GENERATE) F L >$@
 
 Field_Rep: gen
 
 Field_Rep: gen
-       ./gen F I >$@
+       $(GENERATE) F I >$@
 
 Mouse_Base_Defs: gen
 
 Mouse_Base_Defs: gen
-       ./gen P B >$@
+       $(GENERATE) P B >$@
 
 Mouse_Event_Rep: gen
 
 Mouse_Event_Rep: gen
-       ./gen P M >$@
+       $(GENERATE) P M >$@
+
+Mouse_Events: gen
+       $(GENERATE) B E >$@
 
 Panel_Linker_Options: gen
 
 Panel_Linker_Options: gen
-       ./gen P L >$@
+       $(GENERATE) P L >$@
+
+Chtype_Def: gen
+       $(GENERATE) E C >$@
+
+Eti_Defs: gen
+       $(GENERATE) E E >$@
 
 $(ADA_SRCDIR)/$(ABASE).ads:    $(srcdir)/$(ABASE).ads.m4 \
                                $(GEN_FILES1) $(srcdir)/normal.m4
 
 $(ADA_SRCDIR)/$(ABASE).ads:    $(srcdir)/$(ABASE).ads.m4 \
                                $(GEN_FILES1) $(srcdir)/normal.m4
@@ -241,6 +260,12 @@ $(ADA_SRCDIR)/$(ABASE).ads:        $(srcdir)/$(ABASE).ads.m4 \
        $(srcdir)/$(ABASE).ads.m4 |\
        $(DEL_ADAMODE) >$@
 
        $(srcdir)/$(ABASE).ads.m4 |\
        $(DEL_ADAMODE) >$@
 
+$(ADA_SRCDIR)/$(ABASE)-aux.ads: $(srcdir)/$(ABASE)-aux.ads.m4 \
+                               $(GEN_FILES5) $(srcdir)/normal.m4
+       $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
+       $(srcdir)/$(ABASE)-aux.ads.m4 |\
+       $(DEL_ADAMODE) >$@
+
 $(ADA_SRCDIR)/$(ABASE)-menus.ads: $(srcdir)/$(ABASE)-menus.ads.m4 \
                                  $(GEN_FILES2) $(srcdir)/normal.m4
        $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
 $(ADA_SRCDIR)/$(ABASE)-menus.ads: $(srcdir)/$(ABASE)-menus.ads.m4 \
                                  $(GEN_FILES2) $(srcdir)/normal.m4
        $(M4) $(M4FLAGS) -DM4MACRO=$(srcdir)/normal.m4 \
@@ -321,6 +346,7 @@ mostlyclean ::
        -rm -f $(GEN_FILES2)
        -rm -f $(GEN_FILES3)
        -rm -f $(GEN_FILES4)
        -rm -f $(GEN_FILES2)
        -rm -f $(GEN_FILES3)
        -rm -f $(GEN_FILES4)
+       -rm -f $(GEN_FILES5)
 
 clean :: mostlyclean
        -rm -f $(GEN_TARGETS)
 
 clean :: mostlyclean
        -rm -f $(GEN_TARGETS)
index 48532947aa50461035138ed2433067fb400f78ab..0a093cf8cd7b2bfbfb0125cea644003abd21cde2 100644 (file)
  ****************************************************************************/
 
 /****************************************************************************
  ****************************************************************************/
 
 /****************************************************************************
- *   Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996             *
+ *   Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996                 *
  ****************************************************************************/
 
 /*
     Version Control
  ****************************************************************************/
 
 /*
     Version Control
-    $Revision: 1.14 $
+    $Revision: 1.29 $
   --------------------------------------------------------------------------*/
 /*
   This program generates various record structures and constants from the
   --------------------------------------------------------------------------*/
 /*
   This program generates various record structures and constants from the
@@ -41,6 +41,8 @@
   to produce the real source.
   */
 
   to produce the real source.
   */
 
+#include <stdlib.h>
+#include <stddef.h>
 #include <string.h>
 #include <assert.h>
 #include <ctype.h>
 #include <string.h>
 #include <assert.h>
 #include <ctype.h>
 
 #define RES_NAME "Reserved"
 
 
 #define RES_NAME "Reserved"
 
+static const char *model = "";
 static int little_endian = 0;
 
 typedef struct {
   const char *name;
 static int little_endian = 0;
 
 typedef struct {
   const char *name;
-  unsigned int attr;
+  unsigned long attr;
 } name_attribute_pair;
 
 static int find_pos (char *s, unsigned len, int *low, int *high)
 {
 } name_attribute_pair;
 
 static int find_pos (char *s, unsigned len, int *low, int *high)
 {
-  unsigned int i,j; 
+  unsigned int i,j;
   int l = 0;
 
   *high = -1;
   int l = 0;
 
   *high = -1;
@@ -98,30 +101,19 @@ static int find_pos (char *s, unsigned len, int *low, int *high)
  * We are only dealing with record types which are of 32 or 16
  * bit size, i.e. they fit into an (u)int or a (u)short.
  */
  * We are only dealing with record types which are of 32 or 16
  * bit size, i.e. they fit into an (u)int or a (u)short.
  */
-static void gen_reps
+static void
+gen_reps
 (const name_attribute_pair *nap, /* array of name_attribute_pair records */
  const char *name,               /* name of the represented record type  */
 (const name_attribute_pair *nap, /* array of name_attribute_pair records */
  const char *name,               /* name of the represented record type  */
- int len)                        /* size of the record in bytes          */
+ int len,                        /* size of the record in bytes          */
+ int bias)
 {
 {
-  int i,l,cnt = 0,low,high;
-  int width = strlen(RES_NAME);
-  int bias = 0;
-  unsigned int a;
-  unsigned int mask = 0;
-  char *suffix;
+  int i,n,l,cnt = 0,low,high;
+  int width = strlen(RES_NAME) + 3;
+  unsigned long a;
+  unsigned long mask = 0;
 
 
-  assert (nap);
-
-  if (len == sizeof(int)/2)
-    {
-      bias = little_endian ? 8 * len : 0;
-      suffix = " / 2";
-    }
-  else
-    {
-      assert(len==sizeof(int));
-      suffix = "";
-    }
+  assert (nap!=NULL);
 
   for (i=0; nap[i].name != (char *)0; i++)
     {
 
   for (i=0; nap[i].name != (char *)0; i++)
     {
@@ -137,10 +129,6 @@ static void gen_reps
   for (i=0; nap[i].name != (char *)0; i++)
     {
       printf("         %-*s : Boolean;\n",width,nap[i].name);
   for (i=0; nap[i].name != (char *)0; i++)
     {
       printf("         %-*s : Boolean;\n",width,nap[i].name);
-    }  
-  if (cnt != 8*len)
-    {
-      printf("         %-*s : Boolean;\n",width,RES_NAME);
     }
   printf("      end record;\n");
   printf("   pragma Pack (%s);\n",name);
     }
   printf("      end record;\n");
   printf("   pragma Pack (%s);\n",name);
@@ -155,33 +143,25 @@ static void gen_reps
       mask |= a;
       l = find_pos( (char *)&a,sizeof(a),&low,&high );
       if (l>=0)
       mask |= a;
       l = find_pos( (char *)&a,sizeof(a),&low,&high );
       if (l>=0)
-       printf("         %-*s at 0 range %2d .. %2d;\n",width,nap[i].name,low-bias,high-bias);
-    }  
-  if (cnt != 8*len)
-    {
-      mask = ~mask;
-      assert(mask);
-      if (little_endian)
-       l = 8*len - 1;
-      else
-       l = 0;
-      printf("         %-*s at 0 range %2d .. %2d;\n",width,RES_NAME,l,l);
+       printf("         %-*s at 0 range %2d .. %2d;\n",width,nap[i].name,
+              low-bias,high-bias);
     }
     }
+  i = 1; n = cnt;
   printf("      end record;\n");
   printf("      end record;\n");
-  printf("   for %s'Size use Interfaces.C.int'Size%s;\n", name, suffix);
+  printf("   for %s'Size use %d;\n", name, 8*len);
   printf("   --  Please note: this rep. clause is generated and may be\n");
   printf("   --               different on your system.");
 }
 
 
   printf("   --  Please note: this rep. clause is generated and may be\n");
   printf("   --               different on your system.");
 }
 
 
-static void chtype_rep (const char *name, int mask)
+static void chtype_rep (const char *name, attr_t mask)
 {
 {
-  int x = -1;
-  int t = x & mask;
+  attr_t x = -1;
+  attr_t t = x & mask;
   int low, high;
   int l = find_pos ((char *)&t, sizeof(t), &low, &high);
   if (l>=0)
   int low, high;
   int l = find_pos ((char *)&t, sizeof(t), &low, &high);
   if (l>=0)
-    printf("         %-5s at 0 range %2d .. %2d;\n",name,low,high); 
+    printf("         %-5s at 0 range %2d .. %2d;\n",name,low,high);
 }
 
 static void gen_chtype_rep(const char *name)
 }
 
 static void gen_chtype_rep(const char *name)
@@ -190,7 +170,7 @@ static void gen_chtype_rep(const char *name)
   chtype_rep("Ch",A_CHARTEXT);
   chtype_rep("Color",A_COLOR);
   chtype_rep("Attr",(A_ATTRIBUTES&~A_COLOR));
   chtype_rep("Ch",A_CHARTEXT);
   chtype_rep("Color",A_COLOR);
   chtype_rep("Attr",(A_ATTRIBUTES&~A_COLOR));
-  printf("      end record;\n   for %s'Size use Interfaces.C.int'Size;\n",name);
+  printf("      end record;\n   for %s'Size use %d;\n",name,8*sizeof(chtype));
   printf("      --  Please note: this rep. clause is generated and may be\n");
   printf("      --               different on your system.\n");
 }
   printf("      --  Please note: this rep. clause is generated and may be\n");
   printf("      --               different on your system.\n");
 }
@@ -201,7 +181,7 @@ static void mrep_rep (const char *name, void *rec)
   int low, high;
   int l = find_pos((char *)rec, sizeof(MEVENT), &low, &high);
   if (l>=0)
   int low, high;
   int l = find_pos((char *)rec, sizeof(MEVENT), &low, &high);
   if (l>=0)
-    printf("         %-7s at 0 range %3d .. %3d;\n",name,low,high); 
+    printf("         %-7s at 0 range %3d .. %3d;\n",name,low,high);
 }
 
 
 }
 
 
@@ -286,7 +266,20 @@ static void gen_attr_set( const char *name )
 #endif
     {(char *)0,                 0}
   };
 #endif
     {(char *)0,                 0}
   };
-  gen_reps (nap, name, sizeof(int)/2);
+  chtype attr = A_ATTRIBUTES & ~A_COLOR;
+  int start=-1, len=0, i, set;
+  for(i=0;i<(int)(8*sizeof(chtype));i++) {
+    set = attr&1;
+    if (set) {
+      if (start<0)
+       start = i;
+      if (start>=0) {
+       len++;
+      }
+    }
+    attr = attr >> 1;
+  }
+  gen_reps (nap, name, (len+7)/8, little_endian?start:0);
 }
 
 static void gen_menu_opt_rep(const char *name)
 }
 
 static void gen_menu_opt_rep(const char *name)
@@ -312,7 +305,7 @@ static void gen_menu_opt_rep(const char *name)
 #endif
     {(char *)0, 0}
   };
 #endif
     {(char *)0, 0}
   };
-  gen_reps (nap, name, sizeof(int));
+  gen_reps (nap, name, sizeof(int),0);
 }
 
 static void gen_item_opt_rep(const char *name)
 }
 
 static void gen_item_opt_rep(const char *name)
@@ -322,8 +315,8 @@ static void gen_item_opt_rep(const char *name)
     {"Selectable", O_SELECTABLE},
 #endif
     {(char *)0   , 0}
     {"Selectable", O_SELECTABLE},
 #endif
     {(char *)0   , 0}
-  };  
-  gen_reps (nap, name, sizeof(int));
+  };
+  gen_reps (nap, name, sizeof(int),0);
 }
 
 static void gen_form_opt_rep(const char *name)
 }
 
 static void gen_form_opt_rep(const char *name)
@@ -337,7 +330,7 @@ static void gen_form_opt_rep(const char *name)
 #endif
     {(char *)0    , 0}
   };
 #endif
     {(char *)0    , 0}
   };
-  gen_reps (nap, name, sizeof(int));
+  gen_reps (nap, name, sizeof(int),0);
 }
 
 /*
 }
 
 /*
@@ -378,7 +371,7 @@ static void gen_field_opt_rep(const char *name)
 #endif
     {(char *)0, 0}
   };
 #endif
     {(char *)0, 0}
   };
-  gen_reps (nap, name, sizeof(int));
+  gen_reps (nap, name, sizeof(int),0);
 }
 
 /*
 }
 
 /*
@@ -398,7 +391,7 @@ static void keydef(const char *name, const char *old_name, int value, int mode)
        printf("   %-16s : Special_Key_Code renames %s;\n",old_name,name);
     }
 }
        printf("   %-16s : Special_Key_Code renames %s;\n",old_name,name);
     }
 }
-  
+
 /*
  * Generate constants for the key codes. When called with mode==0, a
  * complete list with nice constant names in proper casing style will
 /*
  * Generate constants for the key codes. When called with mode==0, a
  * complete list with nice constant names in proper casing style will
@@ -695,10 +688,10 @@ static void gen_keydefs (int mode)
 #endif
 #ifdef KEY_MOUSE
   keydef("Key_Mouse","KEY_MOUSE",KEY_MOUSE,mode);
 #endif
 #ifdef KEY_MOUSE
   keydef("Key_Mouse","KEY_MOUSE",KEY_MOUSE,mode);
-#endif  
+#endif
 #ifdef KEY_RESIZE
   keydef("Key_Resize","KEY_RESIZE",KEY_RESIZE,mode);
 #ifdef KEY_RESIZE
   keydef("Key_Resize","KEY_RESIZE",KEY_RESIZE,mode);
-#endif  
+#endif
 }
 
 /*
 }
 
 /*
@@ -819,6 +812,138 @@ static void gen_acs (void)
 #endif
 }
 
 #endif
 }
 
+
+#define GEN_EVENT(name,value) \
+   printf("   %-25s : constant Event_Mask := 8#%011lo#;\n", \
+          #name, value)
+
+#define GEN_MEVENT(name) \
+   printf("   %-25s : constant Event_Mask := 8#%011lo#;\n", \
+          #name, name)
+
+static
+void gen_mouse_events(void)
+{
+  mmask_t all1 = 0;
+  mmask_t all2 = 0;
+  mmask_t all3 = 0;
+  mmask_t all4 = 0;
+
+#ifdef BUTTON1_RELEASED
+  GEN_MEVENT(BUTTON1_RELEASED);
+  all1 |= BUTTON1_RELEASED;
+#endif
+#ifdef BUTTON1_PRESSED
+  GEN_MEVENT(BUTTON1_PRESSED);
+  all1 |= BUTTON1_PRESSED;
+#endif
+#ifdef BUTTON1_CLICKED
+  GEN_MEVENT(BUTTON1_CLICKED);
+  all1 |= BUTTON1_CLICKED;
+#endif
+#ifdef BUTTON1_DOUBLE_CLICKED
+  GEN_MEVENT(BUTTON1_DOUBLE_CLICKED);
+  all1 |= BUTTON1_DOUBLE_CLICKED;
+#endif
+#ifdef BUTTON1_TRIPLE_CLICKED
+  GEN_MEVENT(BUTTON1_TRIPLE_CLICKED);
+  all1 |= BUTTON1_TRIPLE_CLICKED;
+#endif
+#ifdef BUTTON1_RESERVED_EVENT
+  GEN_MEVENT(BUTTON1_RESERVED_EVENT);
+  all1 |= BUTTON1_RESERVED_EVENT;
+#endif
+#ifdef BUTTON2_RELEASED
+  GEN_MEVENT(BUTTON2_RELEASED);
+  all2 |= BUTTON2_RELEASED;
+#endif
+#ifdef BUTTON2_PRESSED
+  GEN_MEVENT(BUTTON2_PRESSED);
+  all2 |= BUTTON2_PRESSED;
+#endif
+#ifdef BUTTON2_CLICKED
+  GEN_MEVENT(BUTTON2_CLICKED);
+  all2 |= BUTTON2_CLICKED;
+#endif
+#ifdef BUTTON2_DOUBLE_CLICKED
+  GEN_MEVENT(BUTTON2_DOUBLE_CLICKED);
+  all2 |= BUTTON2_DOUBLE_CLICKED;
+#endif
+#ifdef BUTTON2_TRIPLE_CLICKED
+  GEN_MEVENT(BUTTON2_TRIPLE_CLICKED);
+  all2 |= BUTTON2_TRIPLE_CLICKED;
+#endif
+#ifdef BUTTON2_RESERVED_EVENT
+  GEN_MEVENT(BUTTON2_RESERVED_EVENT);
+  all2 |= BUTTON2_RESERVED_EVENT;
+#endif
+#ifdef BUTTON3_RELEASED
+  GEN_MEVENT(BUTTON3_RELEASED);
+  all3 |= BUTTON3_RELEASED;
+#endif
+#ifdef BUTTON3_PRESSED
+  GEN_MEVENT(BUTTON3_PRESSED);
+  all3 |= BUTTON3_PRESSED;
+#endif
+#ifdef BUTTON3_CLICKED
+  GEN_MEVENT(BUTTON3_CLICKED);
+  all3 |= BUTTON3_CLICKED;
+#endif
+#ifdef BUTTON3_DOUBLE_CLICKED
+  GEN_MEVENT(BUTTON3_DOUBLE_CLICKED);
+  all3 |= BUTTON3_DOUBLE_CLICKED;
+#endif
+#ifdef BUTTON3_TRIPLE_CLICKED
+  GEN_MEVENT(BUTTON3_TRIPLE_CLICKED);
+  all3 |= BUTTON3_TRIPLE_CLICKED;
+#endif
+#ifdef BUTTON3_RESERVED_EVENT
+  GEN_MEVENT(BUTTON3_RESERVED_EVENT);
+  all3 |= BUTTON3_RESERVED_EVENT;
+#endif
+#ifdef BUTTON4_RELEASED
+  GEN_MEVENT(BUTTON4_RELEASED);
+  all4 |= BUTTON4_RELEASED;
+#endif
+#ifdef BUTTON4_PRESSED
+  GEN_MEVENT(BUTTON4_PRESSED);
+  all4 |= BUTTON4_PRESSED;
+#endif
+#ifdef BUTTON4_CLICKED
+  GEN_MEVENT(BUTTON4_CLICKED);
+  all4 |= BUTTON4_CLICKED;
+#endif
+#ifdef BUTTON4_DOUBLE_CLICKED
+  GEN_MEVENT(BUTTON4_DOUBLE_CLICKED);
+  all4 |= BUTTON4_DOUBLE_CLICKED;
+#endif
+#ifdef BUTTON4_TRIPLE_CLICKED
+  GEN_MEVENT(BUTTON4_TRIPLE_CLICKED);
+  all4 |= BUTTON4_TRIPLE_CLICKED;
+#endif
+#ifdef BUTTON4_RESERVED_EVENT
+  GEN_MEVENT(BUTTON4_RESERVED_EVENT);
+  all4 |= BUTTON4_RESERVED_EVENT;
+#endif
+#ifdef BUTTON_CTRL
+  GEN_MEVENT(BUTTON_CTRL);
+#endif
+#ifdef BUTTON_SHIFT
+  GEN_MEVENT(BUTTON_SHIFT);
+#endif
+#ifdef BUTTON_ALT
+  GEN_MEVENT(BUTTON_ALT);
+#endif
+#ifdef ALL_MOUSE_EVENTS
+  GEN_MEVENT(ALL_MOUSE_EVENTS);
+#endif
+
+GEN_EVENT(BUTTON1_EVENTS,all1);
+GEN_EVENT(BUTTON2_EVENTS,all2);
+GEN_EVENT(BUTTON3_EVENTS,all3);
+GEN_EVENT(BUTTON4_EVENTS,all4);
+}
+
 /*
  * Output some comment lines indicating that the file is generated.
  * The name parameter is the name of the facility to be used in
 /*
  * Output some comment lines indicating that the file is generated.
  * The name parameter is the name of the facility to be used in
@@ -830,7 +955,8 @@ static void prologue(const char *name)
   printf("--  This module is generated. Please don't change it manually!\n");
   printf("--  Run the generator instead.\n--  |");
 
   printf("--  This module is generated. Please don't change it manually!\n");
   printf("--  Run the generator instead.\n--  |");
 
-  printf("define(`M4_BIT_ORDER',`%s_Order_First')",little_endian ? "Low":"High");
+  printf("define(`M4_BIT_ORDER',`%s_Order_First')",
+        little_endian ? "Low":"High");
 }
 
 /*
 }
 
 /*
@@ -922,7 +1048,8 @@ static void gen_color (void)
  */
 static void gen_linkopts (void)
 {
  */
 static void gen_linkopts (void)
 {
-   printf("   pragma Linker_Options (\"-lncurses\");\n");
+   printf("   pragma Linker_Options (\"-lAdaCurses%s\");\n", model);
+   printf("   pragma Linker_Options (\"-lncurses%s\");\n", model);
 }
 
 /*
 }
 
 /*
@@ -930,7 +1057,7 @@ static void gen_linkopts (void)
  */
 static void gen_menu_linkopts (void)
 {
  */
 static void gen_menu_linkopts (void)
 {
-   printf("   pragma Linker_Options (\"-lmenu\");\n");
+   printf("   pragma Linker_Options (\"-lmenu%s\");\n", model);
 }
 
 /*
 }
 
 /*
@@ -938,7 +1065,7 @@ static void gen_menu_linkopts (void)
  */
 static void gen_form_linkopts (void)
 {
  */
 static void gen_form_linkopts (void)
 {
-   printf("   pragma Linker_Options (\"-lform\");\n");
+   printf("   pragma Linker_Options (\"-lform%s\");\n", model);
 }
 
 /*
 }
 
 /*
@@ -946,14 +1073,77 @@ static void gen_form_linkopts (void)
  */
 static void gen_panel_linkopts (void)
 {
  */
 static void gen_panel_linkopts (void)
 {
-   printf("   pragma Linker_Options (\"-lpanel\");\n");
+   printf("   pragma Linker_Options (\"-lpanel%s\");\n", model);
 }
 
 static void gen_version_info (void)
 {
 }
 
 static void gen_version_info (void)
 {
-   printf("   NC_Major_Version : constant := %d; --  Major version of ncurses library\n", NCURSES_VERSION_MAJOR);
-   printf("   NC_Minor_Version : constant := %d; --  Minor version of ncurses library\n", NCURSES_VERSION_MINOR);
-   printf("   NC_Version : constant String := %c%d.%d%c;  --  Version of ncurses library\n", '"',NCURSES_VERSION_MAJOR,NCURSES_VERSION_MINOR,'"');
+  static const char* v1 =
+    "   NC_Major_Version : constant := %d; --  Major version of the library\n";
+  static const char* v2 =
+    "   NC_Minor_Version : constant := %d; --  Minor version of the library\n";
+  static const char* v3 =
+    "   NC_Version : constant String := %c%d.%d%c;  --  Version of library\n";
+
+  printf(v1, NCURSES_VERSION_MAJOR);
+  printf(v2, NCURSES_VERSION_MINOR);
+  printf(v3, '"',NCURSES_VERSION_MAJOR,NCURSES_VERSION_MINOR,'"');
+}
+
+static int
+eti_gen(char*buf, int code, const char* name, int* etimin, int* etimax)
+{
+  sprintf(buf,"   E_%-16s : constant Eti_Error := %d;\n",name,code);
+  if (code < *etimin)
+    *etimin = code;
+  if (code > *etimax)
+    *etimax = code;
+  return strlen(buf);
+}
+
+#define GEN_OFFSET(member,itype)                                   \
+  if (sizeof(((WINDOW*)0)->member)==sizeof(itype)) {               \
+    o = offsetof(WINDOW, member);                                  \
+    if ((o%sizeof(itype) == 0)) {                                  \
+       printf("   Offset%-*s : constant Natural := %2d; --  %s\n", \
+              8, #member, o/sizeof(itype),#itype);                 \
+    }                                                              \
+  }
+  
+static void
+gen_offsets(void)
+{
+  int o;
+  const char* s_bool = "";
+
+  GEN_OFFSET(_maxy,short);
+  GEN_OFFSET(_maxx,short);
+  GEN_OFFSET(_begy,short);
+  GEN_OFFSET(_begx,short);
+  GEN_OFFSET(_cury,short);
+  GEN_OFFSET(_curx,short);
+  GEN_OFFSET(_yoffset,short);
+  GEN_OFFSET(_pary,int);
+  GEN_OFFSET(_parx,int);
+  if (sizeof(bool) == sizeof(char)) {
+    GEN_OFFSET(_scroll,char);
+    s_bool = "char";
+  } else if (sizeof(bool) == sizeof(short)) {
+    GEN_OFFSET(_scroll,short);
+    s_bool = "short";
+  } else if (sizeof(bool) == sizeof(int)) {
+    GEN_OFFSET(_scroll,int);
+    s_bool = "int";
+  }
+  printf("   Sizeof%-*s : constant Natural := %2d; --  %s\n",
+        8, "_bool",sizeof(bool),"bool");
+  /* In ncurses _maxy and _maxx needs an offset for the "public"
+   * value
+   */
+  printf("   Offset%-*s : constant Natural := %2d; --  %s\n",
+        8, "_XY",1,"int");
+  printf("\n");
+  printf("   type Curses_Bool is mod 2 ** Interfaces.C.%s'Size;\n",s_bool);
 }
 
 /*
 }
 
 /*
@@ -964,6 +1154,7 @@ static void gen_version_info (void)
  *   M - Menus
  *   F - Forms
  *   P - Pointer Device (Mouse)
  *   M - Menus
  *   F - Forms
  *   P - Pointer Device (Mouse)
+ *   E - ETI base definitions
  *
  * The second character then denotes the specific output that should be
  * generated for the selected facility.
  *
  * The second character then denotes the specific output that should be
  * generated for the selected facility.
@@ -976,11 +1167,13 @@ int main(int argc, char *argv[])
   if (*s == 0x78)
     little_endian = 1;
 
   if (*s == 0x78)
     little_endian = 1;
 
-  if (argc!=3)
+  if (argc!=4)
     exit(1);
     exit(1);
+  model = *++argv;
 
   switch(argv[1][0])
     {
 
   switch(argv[1][0])
     {
+      /* ---------------------------------------------------------------*/   
     case 'B': /* The Base facility */
       switch(argv[2][0])
        {
     case 'B': /* The Base facility */
       switch(argv[2][0])
        {
@@ -996,6 +1189,12 @@ int main(int argc, char *argv[])
        case 'C': /* generate color constants */
          gen_color();
          break;
        case 'C': /* generate color constants */
          gen_color();
          break;
+       case 'D': /* generate displacements of fields in WINDOW struct. */
+         gen_offsets();
+         break;
+       case 'E': /* generate Mouse Event codes */
+         gen_mouse_events();
+         break;
        case 'M': /* generate constants for the ACS characters */
          gen_acs();
          break;
        case 'M': /* generate constants for the ACS characters */
          gen_acs();
          break;
@@ -1015,6 +1214,7 @@ int main(int argc, char *argv[])
          break;
        }
       break;
          break;
        }
       break;
+      /* ---------------------------------------------------------------*/   
     case 'M': /* The Menu facility */
       switch(argv[2][0])
        {
     case 'M': /* The Menu facility */
       switch(argv[2][0])
        {
@@ -1034,6 +1234,7 @@ int main(int argc, char *argv[])
          break;
        }
       break;
          break;
        }
       break;
+      /* ---------------------------------------------------------------*/   
     case 'F': /* The Form facility */
       switch(argv[2][0])
        {
     case 'F': /* The Form facility */
       switch(argv[2][0])
        {
@@ -1053,9 +1254,9 @@ int main(int argc, char *argv[])
          break;
        }
       break;
          break;
        }
       break;
+      /* ---------------------------------------------------------------*/   
     case 'P': /* The Pointer(=Mouse) facility */
     case 'P': /* The Pointer(=Mouse) facility */
-      switch(argv[2][0])
-       {
+      switch(argv[2][0]) {
        case 'B': /* write some initial comment lines */
          mouse_basedefs();
          break;
        case 'B': /* write some initial comment lines */
          mouse_basedefs();
          break;
@@ -1069,8 +1270,110 @@ int main(int argc, char *argv[])
          break;
        }
        break;
          break;
        }
        break;
+      /* ---------------------------------------------------------------*/   
+    case 'E' : /* chtype size detection */
+      switch(argv[2][0]) {
+      case 'C':
+       {
+         const char* fmt  = "   type    C_Chtype   is new %s;\n";
+         const char* afmt = "   type    C_AttrType is new %s;\n";
+
+         if (sizeof(chtype)==sizeof(int)) {
+           if (sizeof(int)==sizeof(long))
+             printf(fmt,"C_ULong");
+           else
+             printf(fmt,"C_UInt");
+         }
+         else if (sizeof(chtype)==sizeof(long)) {
+           printf(fmt,"C_ULong");
+         }
+         else
+           printf("Error\n");
+
+         if (sizeof(attr_t)==sizeof(int)) {
+           if (sizeof(int)==sizeof(long))
+             printf(afmt,"C_ULong");
+           else
+             printf(afmt,"C_UInt");
+         }
+         else if (sizeof(attr_t)==sizeof(long)) {
+           printf(afmt,"C_ULong");
+         }
+         else
+           printf("Error\n");
+
+         printf("define(`CF_CURSES_OK',`%d')",OK);
+         printf("define(`CF_CURSES_ERR',`%d')",ERR);
+         printf("define(`CF_CURSES_TRUE',`%d')",TRUE);
+         printf("define(`CF_CURSES_FALSE',`%d')",FALSE);
+       }
+       break;
+      case 'E':
+       {
+         char* buf  = (char*)malloc(2048);
+         char* p    = buf;
+         int etimin = E_OK;
+         int etimax = E_OK;
+         if (p) {
+           p += eti_gen(p, E_OK, "Ok", &etimin, &etimax);
+           p += eti_gen(p, E_SYSTEM_ERROR,"System_Error", &etimin, &etimax);
+           p += eti_gen(p, E_BAD_ARGUMENT, "Bad_Argument", &etimin, &etimax);
+           p += eti_gen(p, E_POSTED, "Posted", &etimin, &etimax);
+           p += eti_gen(p, E_CONNECTED, "Connected", &etimin, &etimax);
+           p += eti_gen(p, E_BAD_STATE, "Bad_State", &etimin, &etimax);
+           p += eti_gen(p, E_NO_ROOM, "No_Room", &etimin, &etimax);
+           p += eti_gen(p, E_NOT_POSTED, "Not_Posted", &etimin, &etimax);
+           p += eti_gen(p, E_UNKNOWN_COMMAND,
+                        "Unknown_Command", &etimin, &etimax);
+           p += eti_gen(p, E_NO_MATCH, "No_Match", &etimin, &etimax);
+           p += eti_gen(p, E_NOT_SELECTABLE,
+                        "Not_Selectable", &etimin, &etimax);
+           p += eti_gen(p, E_NOT_CONNECTED,
+                        "Not_Connected", &etimin, &etimax);
+           p += eti_gen(p, E_REQUEST_DENIED,
+                        "Request_Denied", &etimin, &etimax);
+           p += eti_gen(p, E_INVALID_FIELD,
+                        "Invalid_Field", &etimin, &etimax);
+           p += eti_gen(p, E_CURRENT,
+                        "Current", &etimin, &etimax);
+         }
+         printf("   subtype Eti_Error is C_Int range %d .. %d;\n\n",
+                etimin,etimax);
+         printf(buf);
+       }
+       break;
+      default:
+       break;
+      }
+      break;
+      /* ---------------------------------------------------------------*/   
+    case 'V' : /* plain version dump */
+      {
+       switch(argv[2][0]) {
+       case '1': /* major version */
+#ifdef NCURSES_VERSION_MAJOR
+         printf("%d",NCURSES_VERSION_MAJOR);
+#endif
+         break;
+       case '2': /* minor version */
+#ifdef NCURSES_VERSION_MINOR
+         printf("%d",NCURSES_VERSION_MINOR);
+#endif
+         break;
+       case '3': /* patch level */
+#ifdef NCURSES_VERSION_PATCH
+         printf("%d",NCURSES_VERSION_PATCH);
+#endif
+         break;
+       default:
+         break;
+       }
+      }
+      break;
+      /* ---------------------------------------------------------------*/     
     default:
       break;
     }
   return 0;
 }
     default:
       break;
     }
   return 0;
 }
+  
similarity index 70%
rename from Ada95/ada_include/terminal_interface-curses-aux.ads
rename to Ada95/gen/terminal_interface-curses-aux.ads.m4
index 1221b2e50a846f6d2a7646f4cd956dbdb979b5d4..71e4872b47c41a8d327e0e32545f1ee0bab186f8 100644 (file)
@@ -1,4 +1,6 @@
-------------------------------------------------------------------------------
+--  -*- ada -*-
+define(`HTMLNAME',`terminal_interface-curses-aux__ads.htm')dnl
+include(M4MACRO)------------------------------------------------------------------------------
 --                                                                          --
 --                           GNAT ncurses Binding                           --
 --                                                                          --
 --                                                                          --
 --                           GNAT ncurses Binding                           --
 --                                                                          --
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.8 $
---  Binding Version 00.93
+--  $Revision: 1.13 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
+include(`Base_Defs')
 with System;
 with Interfaces.C;
 with Interfaces.C.Strings; use Interfaces.C.Strings;
 with Unchecked_Conversion;
 
 package Terminal_Interface.Curses.Aux is
 with System;
 with Interfaces.C;
 with Interfaces.C.Strings; use Interfaces.C.Strings;
 with Unchecked_Conversion;
 
 package Terminal_Interface.Curses.Aux is
-   pragma Preelaborate (Aux);
+   pragma Preelaborate (Terminal_Interface.Curses.Aux);
 
 
-   use type Interfaces.C.Int;
+   use type Interfaces.C.int;
 
 
-   subtype C_Int      is Interfaces.C.Int;
-   subtype C_Short    is Interfaces.C.Short;
-   subtype C_Long_Int is Interfaces.C.Long;
-   subtype C_Size_T   is Interfaces.C.Size_T;
-   subtype C_Char_Ptr is Interfaces.C.Strings.Chars_Ptr;
+   subtype C_Int      is Interfaces.C.int;
+   subtype C_Short    is Interfaces.C.short;
+   subtype C_Long_Int is Interfaces.C.long;
+   subtype C_Size_T   is Interfaces.C.size_t;
+   subtype C_UInt     is Interfaces.C.unsigned;
+   subtype C_ULong    is Interfaces.C.unsigned_long;
+   subtype C_Char_Ptr is Interfaces.C.Strings.chars_ptr;
    type    C_Void_Ptr is new System.Address;
    type    C_Void_Ptr is new System.Address;
-
+include(`Chtype_Def')
    --  This is how those constants are defined in ncurses. I see them also
    --  exactly like this in all ETI implementations I ever tested. So it
    --  could be that this is quite general, but please check with your curses.
    --  This is critical, because curses sometime mixes boolean returns with
    --  returning an error status.
    --  This is how those constants are defined in ncurses. I see them also
    --  exactly like this in all ETI implementations I ever tested. So it
    --  could be that this is quite general, but please check with your curses.
    --  This is critical, because curses sometime mixes boolean returns with
    --  returning an error status.
-   Curses_Ok    : constant C_Int :=  0;
-   Curses_Err   : constant C_Int := -1;
-
-   Curses_True  : constant C_Int := 1;
-   Curses_False : constant C_Int := 0;
-
-   subtype Eti_Error is C_Int range -14 .. 0;
-   --  Type for error codes returned by the menu and forms subsystem
+   Curses_Ok    : constant C_Int := CF_CURSES_OK;
+   Curses_Err   : constant C_Int := CF_CURSES_ERR;
 
 
-   E_Ok              : constant Eti_Error := 0;
-   E_System_Error    : constant Eti_Error := -1;
-   E_Bad_Argument    : constant Eti_Error := -2;
-   E_Posted          : constant Eti_Error := -3;
-   E_Connected       : constant Eti_Error := -4;
-   E_Bad_State       : constant Eti_Error := -5;
-   E_No_Room         : constant Eti_Error := -6;
-   E_Not_Posted      : constant Eti_Error := -7;
-   E_Unknown_Command : constant Eti_Error := -8;
-   E_No_Match        : constant Eti_Error := -9;
-   E_Not_Selectable  : constant Eti_Error := -10;
-   E_Not_Connected   : constant Eti_Error := -11;
-   E_Request_Denied  : constant Eti_Error := -12;
-   E_Invalid_Field   : constant Eti_Error := -13;
-   E_Current         : constant Eti_Error := -14;
+   Curses_True  : constant C_Int := CF_CURSES_TRUE;
+   Curses_False : constant C_Int := CF_CURSES_FALSE;
 
 
+   --  Eti_Error: type for error codes returned by the menu and form subsystem
+include(`Eti_Defs')
    procedure Eti_Exception (Code : Eti_Error);
    --  Dispatch the error code and raise the appropriate exception
    --
    --
    --  Some helpers
    procedure Eti_Exception (Code : Eti_Error);
    --  Dispatch the error code and raise the appropriate exception
    --
    --
    --  Some helpers
-   function CInt_To_Chtype is new
-     Unchecked_Conversion (Source => C_Int,
+   function Chtype_To_AttrChar is new
+     Unchecked_Conversion (Source => C_Chtype,
                            Target => Attributed_Character);
                            Target => Attributed_Character);
-   function Chtype_To_CInt is new
+   function AttrChar_To_Chtype is new
      Unchecked_Conversion (Source => Attributed_Character,
      Unchecked_Conversion (Source => Attributed_Character,
-                           Target => C_Int);
+                           Target => C_Chtype);
+
+   function AttrChar_To_AttrType is new
+     Unchecked_Conversion (Source => Attributed_Character,
+                           Target => C_AttrType);
+
+   function AttrType_To_AttrChar is new
+     Unchecked_Conversion (Source => C_AttrType,
+                           Target => Attributed_Character);
 
    procedure Fill_String (Cp  : in  chars_ptr;
                           Str : out String);
 
    procedure Fill_String (Cp  : in  chars_ptr;
                           Str : out String);
index 79e185a1e7c690367768fc88308420cd51b0e5fd..ff7882f7cf03ea39b545b73f8aa03f5b91dee17f 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-forms-field_user_data_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-forms-field_user_data__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,15 +36,17 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.6 $
---  Binding Version 00.93
+--  $Revision: 1.12 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 ------------------------------------------------------------------------------
-with Terminal_Interface.Curses.Aux;
+with Interfaces.C;
 
 package Terminal_Interface.Curses.Forms.Field_Types is
 
 package Terminal_Interface.Curses.Forms.Field_Types is
-   pragma Preelaborate (Field_Types);
+   pragma Preelaborate (Terminal_Interface.Curses.Forms.Field_Types);
+   use type Interfaces.C.int;
+   subtype C_Int is Interfaces.C.int;
 
    --  MANPAGE(`form_fieldtype.3x')
 
 
    --  MANPAGE(`form_fieldtype.3x')
 
@@ -86,8 +88,6 @@ package Terminal_Interface.Curses.Forms.Field_Types is
    --  | Most of this is used by the implementations of the child packages.
    --  |
 private
    --  | Most of this is used by the implementations of the child packages.
    --  |
 private
-   use Terminal_Interface.Curses.Aux;
-
    type Makearg_Function is access
      function (Args : System.Address) return System.Address;
    pragma Convention (C, Makearg_Function);
    type Makearg_Function is access
      function (Args : System.Address) return System.Address;
    pragma Convention (C, Makearg_Function);
@@ -117,8 +117,8 @@ private
    --  |
    type Low_Level_Field_Type is
       record
    --  |
    type Low_Level_Field_Type is
       record
-         Status :              C_Short;
-         Ref_Count :           C_Long_Int;
+         Status :              Interfaces.C.short;
+         Ref_Count :           Interfaces.C.long;
          Left, Right :         System.Address;
          Makearg :             Makearg_Function;
          Copyarg :             Copyarg_Function;
          Left, Right :         System.Address;
          Makearg :             Makearg_Function;
          Copyarg :             Copyarg_Function;
index 8059f184a2dc69ec4e98260f1a7693cbddaa2ea0..aedd01bab3538bda020b87458a05dbf7bf8e5848 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-forms-field_user_data_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-forms-field_user_data__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,17 +36,17 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.8 $
---  Binding Version 00.93
+--  $Revision: 1.13 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Forms.Field_User_Data is
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Forms.Field_User_Data is
-   pragma Preelaborate (Field_User_Data);
+   pragma Preelaborate (Terminal_Interface.Curses.Forms.Field_User_Data);
 
    --  MANPAGE(`form_field_userptr.3x')
 
 
    --  MANPAGE(`form_field_userptr.3x')
 
index acc0f247b8d99ab52a4fbd390851bfbd615632d3..cddc1d1e58d1f439650932b24dcd808985b30edb 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-forms-form_user_data_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-forms-form_user_data__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,17 +36,17 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.8 $
---  Binding Version 00.93
+--  $Revision: 1.12 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Forms.Form_User_Data is
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Forms.Form_User_Data is
-   pragma Preelaborate (Form_User_Data);
+   pragma Preelaborate (Terminal_Interface.Curses.Forms.Form_User_Data);
 
    --  MANPAGE(`form_userptr.3x')
 
 
    --  MANPAGE(`form_userptr.3x')
 
index bb4ebfd45ad9933631fbbdb8037edf2a17504d7f..840c5f185810e85fd8d81c7ff1b95f6f4cc12652 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-forms_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-forms__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,10 +36,10 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.14 $
---  Binding Version 00.93
+--  $Revision: 1.23 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 include(`Form_Base_Defs')
 with System;
 ------------------------------------------------------------------------------
 include(`Form_Base_Defs')
 with System;
@@ -47,9 +47,9 @@ with Ada.Characters.Latin_1;
 with Interfaces.C;
 
 package Terminal_Interface.Curses.Forms is
 with Interfaces.C;
 
 package Terminal_Interface.Curses.Forms is
-   pragma Preelaborate (Forms);
-include(`Form_Linker_Options')
-
+   pragma Preelaborate (Terminal_Interface.Curses.Forms);
+include(`Form_Linker_Options')dnl
+include(`Linker_Options')
    Space : Character renames Ada.Characters.Latin_1.Space;
 
    type Field        is private;
    Space : Character renames Ada.Characters.Latin_1.Space;
 
    type Field        is private;
@@ -63,13 +63,19 @@ include(`Form_Linker_Options')
                                 Center,
                                 Right);
 
                                 Center,
                                 Right);
 
-include(`Field_Rep')
+   pragma Warnings (Off);
+include(`Field_Rep')Dnl
+
+   pragma Warnings (On);
 
    function Default_Field_Options return Field_Option_Set;
    --  The initial defaults for the field options.
    pragma Inline (Default_Field_Options);
 
 
    function Default_Field_Options return Field_Option_Set;
    --  The initial defaults for the field options.
    pragma Inline (Default_Field_Options);
 
-include(`Form_Opt_Rep')
+   pragma Warnings (Off);
+include(`Form_Opt_Rep')Dnl
+
+   pragma Warnings (On);
 
    function Default_Form_Options return Form_Option_Set;
    --  The initial defaults for the form options.
 
    function Default_Form_Options return Form_Option_Set;
    --  The initial defaults for the form options.
@@ -682,11 +688,10 @@ include(`Form_Opt_Rep')
 
 ------------------------------------------------------------------------------
 private
 
 ------------------------------------------------------------------------------
 private
+   type Field is new System.Storage_Elements.Integer_Address;
+   type Form  is new System.Storage_Elements.Integer_Address;
 
 
-   type Field        is new System.Address;
-   type Form         is new System.Address;
-
-   Null_Field        : constant Field        := Field (System.Null_Address);
-   Null_Form         : constant Form         := Form  (System.Null_Address);
+   Null_Field : constant Field := 0;
+   Null_Form  : constant Form  := 0;
 
 end Terminal_Interface.Curses.Forms;
 
 end Terminal_Interface.Curses.Forms;
index 957e4437b5194fa1c7582a18bb198b3dc67cc2ba..8d601d80b929398bb06f380927797487e230094e 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-menus-item_user_data_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-menus-item_user_data__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,17 +36,17 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.7 $
---  Binding Version 00.93
+--  $Revision: 1.12 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Menus.Item_User_Data is
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Menus.Item_User_Data is
-   pragma Preelaborate (Item_User_Data);
+   pragma Preelaborate (Terminal_Interface.Curses.Menus.Item_User_Data);
 
    --  The binding uses the same user pointer for menu items
    --  as the low level C implementation. So you can safely
 
    --  The binding uses the same user pointer for menu items
    --  as the low level C implementation. So you can safely
index f7815da712efc47bbb077e8be0d41915a3415bc6..2f26f08afda15baa2179af9ca934abf4f8e4c149 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-menus-menu_user_data_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-menus-menu_user_data__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,17 +36,17 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.7 $
---  Binding Version 00.93
+--  $Revision: 1.12 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Menus.Menu_User_Data is
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access User;
 package Terminal_Interface.Curses.Menus.Menu_User_Data is
-   pragma Preelaborate (Menu_User_Data);
+   pragma Preelaborate (Terminal_Interface.Curses.Menus.Menu_User_Data);
 
    --  MANPAGE(`menu_userptr.3x')
 
 
    --  MANPAGE(`menu_userptr.3x')
 
index d3e4592028bb40604b3654435e0551738437e9a4..81a4935cde1b0e6ba6c01ac421a8044bb6a02260 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-menus_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-menus__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,10 +36,10 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.12 $
---  Binding Version 00.93
+--  $Revision: 1.20 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 include(`Menu_Base_Defs')
 with System;
 ------------------------------------------------------------------------------
 include(`Menu_Base_Defs')
 with System;
@@ -47,10 +47,9 @@ with Interfaces.C;
 with Ada.Characters.Latin_1;
 
 package Terminal_Interface.Curses.Menus is
 with Ada.Characters.Latin_1;
 
 package Terminal_Interface.Curses.Menus is
-   pragma Preelaborate (Menus);
-include(`Menu_Linker_Options')
-
-
+   pragma Preelaborate (Terminal_Interface.Curses.Menus);
+include(`Menu_Linker_Options')dnl
+include(`Linker_Options')
    Space : Character renames Ada.Characters.Latin_1.Space;
 
    type Item is private;
    Space : Character renames Ada.Characters.Latin_1.Space;
 
    type Item is private;
@@ -117,8 +116,10 @@ include(`Menu_Linker_Options')
    --
    --  Menu options
    --
    --
    --  Menu options
    --
+   pragma Warnings (Off);
+include(`Menu_Opt_Rep')dnl
 
 
-include(`Menu_Opt_Rep')
+   pragma Warnings (On);
 
    function Default_Menu_Options return Menu_Option_Set;
    --  Initial default options for a menu.
 
    function Default_Menu_Options return Menu_Option_Set;
    --  Initial default options for a menu.
@@ -126,7 +127,10 @@ include(`Menu_Opt_Rep')
    --
    --  Item options
    --
    --
    --  Item options
    --
-include(`Item_Rep')
+   pragma Warnings (Off);
+include(`Item_Rep')dnl
+
+   pragma Warnings (On);
 
    function Default_Item_Options return Item_Option_Set;
    --  Initial default options for an item.
 
    function Default_Item_Options return Item_Option_Set;
    --  Initial default options for an item.
@@ -582,10 +586,10 @@ include(`Item_Rep')
 
 -------------------------------------------------------------------------------
 private
 
 -------------------------------------------------------------------------------
 private
-   type Item   is new System.Address;
-   type Menu   is new System.Address;
+   type Item   is new System.Storage_Elements.Integer_Address;
+   type Menu   is new System.Storage_Elements.Integer_Address;
 
 
-   Null_Item : constant Item := Item (System.Null_Address);
-   Null_Menu : constant Menu := Menu (System.Null_Address);
+   Null_Item : constant Item := 0;
+   Null_Menu : constant Menu := 0;
 
 end Terminal_Interface.Curses.Menus;
 
 end Terminal_Interface.Curses.Menus;
index 21f88e44e9f976614a23d57488250d3cf90a6caa..0db4ffbbc77f7940a4b1e930908bb10bf9f7ded1 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-mouse_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-mouse__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,16 +36,16 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.12 $
---  Binding Version 00.93
+--  $Revision: 1.19 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 include(`Mouse_Base_Defs')
 with System;
 
 package Terminal_Interface.Curses.Mouse is
 ------------------------------------------------------------------------------
 include(`Mouse_Base_Defs')
 with System;
 
 package Terminal_Interface.Curses.Mouse is
-   pragma Preelaborate (Mouse);
+   pragma Preelaborate (Terminal_Interface.Curses.Mouse);
 
    --  MANPAGE(`curs_mouse.3x')
    --  Please note, that in ncurses-1.9.9e documentation mouse support
 
    --  MANPAGE(`curs_mouse.3x')
    --  Please note, that in ncurses-1.9.9e documentation mouse support
@@ -64,12 +64,22 @@ package Terminal_Interface.Curses.Mouse is
                          Shift,    -- Shift Key
                          Alt);     -- ALT Key
 
                          Shift,    -- Shift Key
                          Alt);     -- ALT Key
 
+   subtype Real_Buttons  is Mouse_Button range Left .. Button4;
+   subtype Modifier_Keys is Mouse_Button range Control .. Alt;
+
    type Button_State is (Released,
                          Pressed,
                          Clicked,
                          Double_Clicked,
                          Triple_Clicked);
 
    type Button_State is (Released,
                          Pressed,
                          Clicked,
                          Double_Clicked,
                          Triple_Clicked);
 
+   type Button_States is array (Button_State) of Boolean;
+   pragma Pack (Button_States);
+
+   All_Clicks : constant Button_States := (Clicked .. Triple_Clicked => True,
+                                           others => False);
+   All_States : constant Button_States := (others => True);
+
    type Mouse_Event is private;
 
    --  MANPAGE(`curs_mouse.3x')
    type Mouse_Event is private;
 
    --  MANPAGE(`curs_mouse.3x')
@@ -78,22 +88,32 @@ package Terminal_Interface.Curses.Mouse is
    --  Return true if a mouse device is supported, false otherwise.
 
    procedure Register_Reportable_Event
    --  Return true if a mouse device is supported, false otherwise.
 
    procedure Register_Reportable_Event
-     (B    : in Mouse_Button;
-      S    : in Button_State;
-      Mask : in out Event_Mask);
+     (Button : in Mouse_Button;
+      State  : in Button_State;
+      Mask   : in out Event_Mask);
    --  Stores the event described by the button and the state in the mask.
    --  Before you call this the first time, you should init the mask
    --  with the Empty_Mask constant
    pragma Inline (Register_Reportable_Event);
 
    --  Stores the event described by the button and the state in the mask.
    --  Before you call this the first time, you should init the mask
    --  with the Empty_Mask constant
    pragma Inline (Register_Reportable_Event);
 
+   procedure Register_Reportable_Events
+     (Button : in Mouse_Button;
+      State  : in Button_States;
+      Mask   : in out Event_Mask);
+   --  Register all events described by the Button and the State bitmap.
+   --  Before you call this the first time, you should init the mask
+   --  with the Empty_Mask constant
+
    --  ANCHOR(`mousemask()',`Start_Mouse')
    --  ANCHOR(`mousemask()',`Start_Mouse')
+   --  There is one difference to mousmask(): we return the value of the
+   --  old mask, that means the event mask value before this call.
    function Start_Mouse (Mask : Event_Mask := All_Events)
                          return Event_Mask;
    --  AKA
    pragma Inline (Start_Mouse);
 
    function Start_Mouse (Mask : Event_Mask := All_Events)
                          return Event_Mask;
    --  AKA
    pragma Inline (Start_Mouse);
 
-   procedure End_Mouse;
-   --  Terminates the mouse
+   procedure End_Mouse (Mask : in Event_Mask := No_Events);
+   --  Terminates the mouse, restores the specified event mask
    pragma Inline (End_Mouse);
 
    --  ANCHOR(`getmouse()',`Get_Mouse')
    pragma Inline (End_Mouse);
 
    --  ANCHOR(`getmouse()',`Get_Mouse')
@@ -128,14 +148,12 @@ package Terminal_Interface.Curses.Mouse is
    pragma Inline (Mouse_Interval);
 
 private
    pragma Inline (Mouse_Interval);
 
 private
-   type Event_Mask is new Interfaces.C.int;
-   No_Events  : constant Event_Mask := 0;
-   All_Events : constant Event_Mask := -1;
+   type Event_Mask is new Interfaces.C.unsigned_long;
 
    type Mouse_Event is
       record
          Id      : Integer range Integer (Interfaces.C.short'First) ..
 
    type Mouse_Event is
       record
          Id      : Integer range Integer (Interfaces.C.short'First) ..
-                                 Integer (Interfaces.C.Short'Last);
+                                 Integer (Interfaces.C.short'Last);
          X, Y, Z : Integer range Integer (Interfaces.C.int'First) ..
                                  Integer (Interfaces.C.int'Last);
          Bstate  : Event_Mask;
          X, Y, Z : Integer range Integer (Interfaces.C.int'First) ..
                                  Integer (Interfaces.C.int'Last);
          Bstate  : Event_Mask;
@@ -147,4 +165,9 @@ include(`Mouse_Event_Rep')
    Generation_Bit_Order : constant System.Bit_Order := System.M4_BIT_ORDER;
    --  This constant may be different on your system.
 
    Generation_Bit_Order : constant System.Bit_Order := System.M4_BIT_ORDER;
    --  This constant may be different on your system.
 
+include(`Mouse_Events')
+
+   No_Events  : constant Event_Mask := 0;
+   All_Events : constant Event_Mask := ALL_MOUSE_EVENTS;
+
 end Terminal_Interface.Curses.Mouse;
 end Terminal_Interface.Curses.Mouse;
index 3dd3dd417fd1f1c5d699c1b517cbae74db7db5fb..1369cfd72c0c4f44f03bfce15e504bdd2a68a043 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-panels-user_data_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-panels-user_data__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,17 +36,17 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.7 $
---  Binding Version 00.93
+--  $Revision: 1.12 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access all User;
 package Terminal_Interface.Curses.Panels.User_Data is
 ------------------------------------------------------------------------------
 
 generic
    type User is limited private;
    type User_Access is access all User;
 package Terminal_Interface.Curses.Panels.User_Data is
-   pragma Preelaborate (User_Data);
+   pragma Preelaborate (Terminal_Interface.Curses.Panels.User_Data);
 
    --  MANPAGE(`panel.3x')
 
 
    --  MANPAGE(`panel.3x')
 
index f9bfb2e069c3ffa461dbccfa65a4aa0a02219ade..e309404d12e7b4b3571d530aed124c6b02b2f93a 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-panels_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-panels__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -36,17 +36,17 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.7 $
---  Binding Version 00.93
+--  $Revision: 1.14 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 with System;
 
 package Terminal_Interface.Curses.Panels is
 ------------------------------------------------------------------------------
 with System;
 
 package Terminal_Interface.Curses.Panels is
-   pragma Preelaborate (Panels);
-include(`Panel_Linker_Options')
-
+   pragma Preelaborate (Terminal_Interface.Curses.Panels);
+include(`Panel_Linker_Options')dnl
+include(`Linker_Options')
    type Panel is private;