dsl
3f8c566477
Add 'exit' (for exit text) parameter to new_menu() for dynamic menus.
...
Correct calculation of menu height and whether scrolling needs (was wrong
if a height was specified that was smaller that the number of lines needed).
Move keypad(m->mw, TRUE) to stop core dump when newwin() fails.
Allow for calling code hacking m->h (to reduce number of lines displayed).
Add a MC_NOCLEAR option to leave menu text showing when doing action.
2003-06-04 19:07:39 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
phil
4867c375a3
Include the definition of PRINTOBJDIR before using it.
2001-01-07 07:18:32 +00:00
sommerfeld
64cf1af58d
Let src/usr.bin build with recursive parallel make..
...
- add .WAIT and .NOTPARALLEL in a few places
- change ${MAKE} print-objdir to ${PRINTOBJDIR}
- convert other ad-hoc forms to use ${PRINTOBJDIR}
2000-12-30 14:54:39 +00:00
phil
94c7405838
Tweek the "no shortcut" code.
...
MC_NOSHORTKEY to NOSHORTCUT
added option "shortcut" to menuc input language.
added example of this kind of menu in testm.
2000-08-15 02:09:11 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +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
2098fd1945
Correct a menu title.
1998-06-29 22:21:03 +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
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
16c5e36010
Add -ltermcap.
1998-06-24 14:46:54 +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
jtc
9a0063c6d6
Simply include -lcurses instead of -lcurses -ltermcap
1998-02-18 22:47: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
lukem
3c03ef2d87
use CPPFLAGS instead of CFLAGS
1997-10-22 01:47:23 +00:00
mycroft
fe47ecc300
Also need -I. to get menu_defs.h in an obj dir.
1997-10-11 11:49:36 +00:00
mycroft
ffc08ff2c0
Clean this up, and make it work with obj directories.
1997-10-11 11:46:49 +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