Subject: CVS commit: src/usr.bin/menuc
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 02/20/2006 21:06:40
Module Name: src
Committed By: dsl
Date: Mon Feb 20 21:06:40 UTC 2006
Modified Files:
src/usr.bin/menuc: mdb.c mdb.h menu_sys.def parse.y
Log Message:
Allow menu entry option names to be code fragments that (should) call
wprintw(menu->mw, ftm, args) to generate the menu label.
Allows static menu labels to contain the current value (like a lot of the
dynamic menus do).
Correct width calculations, and bound menu table lookup.
To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 src/usr.bin/menuc/mdb.c
cvs rdiff -r1.7 -r1.8 src/usr.bin/menuc/mdb.h
cvs rdiff -r1.57 -r1.58 src/usr.bin/menuc/menu_sys.def
cvs rdiff -r1.14 -r1.15 src/usr.bin/menuc/parse.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.