Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 08/15/2000 04:01:41
Module Name: basesrc
Committed By: hubertf
Date: Tue Aug 15 01:01:41 UTC 2000
Modified Files:
basesrc/usr.bin/menuc: mdb.c menu_sys.def
Log Message:
Changes:
* bring closer to KNF
* when selecting a item in a menu, call the opt_action() callback with
a pointer to the struct menudesc, so the callback has a chance to find
out which item was selected. Having a seperate callback for each
item is ok for small menus, but not for ones with many objects.
* Add menu-option MC_NOSHORTCUT to not print letters ("a: ", ...)
in front of list items. Again, this is for menues with lots of entries
as e.g. the upcoming sysinst set_timezone() function composes.
* Fix a long-standing bug WRT pagewise scrolling - the cursor is now
properly placed one page up/down
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 basesrc/usr.bin/menuc/mdb.c
cvs rdiff -r1.22 -r1.23 basesrc/usr.bin/menuc/menu_sys.def
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.