Commit Graph

23 Commits

Author SHA1 Message Date
wiz 27ef0f1c37 Sort sections; avoid to mark up punctuation unnecessarily; use \*[Lt]\*[Gt]
instead of <>; use Sq.
2004-08-02 22:27:36 +00:00
dsl f5b2286ba1 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.
2004-08-02 21:29:07 +00:00
wiz 6b3137c450 Bump date for last changes; remove duplicate "the"; mark up NULL. 2003-11-11 13:41:37 +00:00
dsl 51fe540362 Add an MC_ALWAYS_SCROLL to mean "always allow space for 'scrolltext'".
All scrolltext to be #defined so it can be translated.
2003-10-18 18:26:53 +00:00
dsl 048dfb4fde More tweaks for sysinst.
Let 'display action' routine set menu->cursel (ie default menu item).
Remove 'opt' parameter I added to action routine (not that useful).
Make man page slightly closer to reality.
2003-07-27 07:21:57 +00:00
dsl 3c95a92e07 More changes to improve sysinst:
- pass 'menudesc' and 'arg' values to post_act() and exit_act()
- add set_menu_numopt() for variable length menus
- fix (badly broken) allocation/free of dynamic menus
- option to allow default selection to be the exit line
2003-06-09 18:48:40 +00:00
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
wiz 846b4ae5e2 Join some lines; mdoc improvements; use more macros. 2003-05-09 08:20:27 +00:00
dsl 7eb71f323d Update man page for recent changes, update code to match man page... 2003-05-09 07:30:50 +00:00
phil 706027816a Remove extra characters in example strings. 2003-05-09 05:28:30 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz e0f83e44f2 Replace some \n with \en for correct display. Closes PR 18539. 2002-10-05 11:17:32 +00:00
wiz 11b1026044 Ispell. Begin new sentences on a new line. mdoc fixes. 2002-09-26 01:19:38 +00:00
wiz caa8358c81 Correct `.Na' misuses reported in bin/17007, and some other mandoc improvements
while I'm here.
2002-05-24 22:09:20 +00:00
phil 9ee53e66b1 Fix bug in AVL tree routines. Correct man page. 2002-03-21 05:15:39 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz d41c96b482 Sort sections, punctuation nits, use standard headers.. 2001-12-01 20:39:13 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
phil 0e57605760 Improve a parameter list, add the actual documentation for menuc. 2001-01-07 06:09:19 +00:00
garbled faa0b30255 Add FILES and EVIRONMENT sections detailing what files these programs use,
where they live, and how to modify that behavior.
1999-12-31 04:03:18 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
lukem 1519255e3b fix up .Nm usage, getopt returns -1 not EOF 1997-10-19 05:08:17 +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