Commit Graph

13 Commits

Author SHA1 Message Date
cgd 96c4c464ea * be more descriptive with the windor/screen too small for menu messages
(say width or height).
* work harder to make menu fit width-wise.  (if necessary, move the menu
  further left, and if that's not good enough exit with an error.)
* move menu system initialization out of process_menu() so that it can
  be called earlier (e.g. by the sysinst main()), since it initializes
  curses and other code might want to access the curses data structures
  before process_menu() is invoked.
1999-06-19 06:38:49 +00:00
phil 11c7d5d3b1 Put back "return value" meaning in option actions accidentally removed
in chanages for dynamic menus.  (Return !=0 means to exit menu dynamically.)
1998-07-23 17:56:00 +00:00
phil d20940b940 Major restructuring of the runtime code, now supports dynamic menus.
Fixed a bug is scrolling.  Added dynamic menu to test meuns in testm.
1998-07-16 07:08:26 +00:00
phil d6e31d7e9d Small tweeks, redoing language for dynamic menus. 1998-07-02 21:46:18 +00:00
phil 5aa748c608 Bug fixes, tweeks to scrolling, beginnings of dynamic menus. 1998-07-01 07:46:02 +00:00
phil b30b562845 Bug fixes in scrolling menues, better error detection with small screens,
bettern keypad support with suport form multiple key "commands" like
ESC-v for previous page.
1998-06-29 08:46:37 +00:00
phil 0c35cc0adb Tweeks to option lettering ... to allow 51 options per menu. Also
to generate an error if there are more.  (Checkpoint before furthur
changes to recognize more keypad keys.)
1998-06-25 19:57:10 +00:00
phil 1063113ca9 Add scrollable menus. Tweek testm's Makefile to remake if menu_sys.def
is modified.
1998-06-25 09:58:57 +00:00
phil 21fceead47 Add a online help facility. Each menu can specify a help screen associated
with that menu.  The help screen is scrollable for long help screens.
The char '?' accesses the help screen as a menu command.  Help screen text
is specified in the menu definition file with the menu.
1998-06-24 06:46:23 +00:00
mrg 9fe37f17a0 use static int instead of static 1998-03-30 02:28:37 +00:00
cgd 377a82ec74 fgetc() returns 'int'. (char)EOF != EOF on unsigned-char machines. 1998-01-15 22:36:41 +00:00
phil 1ec08fd982 Add code for handling NULL return from initscr(). Added "ERROR ACTION"
for user code for above error.
1997-11-09 20:59:11 +00:00
phil 95f3bf39d9 Add a curses based menu compiler system. (Used by the new system install
program sysinst.)
1997-09-26 17:54:09 +00:00