Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/menuc
Module Name: src
Committed By: dsl
Date: Mon Aug 2 21:29:07 UTC 2004
Modified Files:
src/usr.bin/menuc: mdb.c mdb.h menu_sys.def menuc.1 parse.y scan.l
Log Message:
Support menu windows that preserve the underlying screen contents.
(Needs a libcurses fix as well).
No need to ponce about with __m_endwin (to remember we've done endwin()),
the old recovery was wrong in any case - but I've left something that
will do an explicit redraw.
Allow the 'help' text to be from a variable (and hence translated).
Fix the display of help so that the screen underneath is actually cleared.
Preserve the screen contents while displaying help - redraw is too hard.
Use endwin(); doupdate(); to do the full refresh when ^L is typed.
Move menus up the screen if they would hit the bottom with too few lines
to show an item and the scroll text (happens with big titles).
Make 'y=0' center the window vertically - use of 0 means you can't have
a menu starting on the topline, but this is unlikely to be a problem.
Make all the menu options settable from the control file, not just from
dynamic menus.
Redo menu option list part of man page.
To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 src/usr.bin/menuc/mdb.c
cvs rdiff -r1.6 -r1.7 src/usr.bin/menuc/mdb.h
cvs rdiff -r1.53 -r1.54 src/usr.bin/menuc/menu_sys.def
cvs rdiff -r1.21 -r1.22 src/usr.bin/menuc/menuc.1
cvs rdiff -r1.13 -r1.14 src/usr.bin/menuc/parse.y src/usr.bin/menuc/scan.l
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index