The NetBSD Project

CVS log for src/usr.bin/menuc/menuc.1

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / menuc

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Sun Nov 7 09:48:08 2021 UTC (2 years, 4 months ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

fix few typos.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jun 23 11:22:48 2019 UTC (4 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Use OPT_NOMENU as error return for new_menu (instead of old hard coded -1).
Update man page for the OPT_NOMENU change.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Feb 25 20:47:37 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.36: +6 -2 lines
Diff to previous 1.36 (colored)

Add an option to supress the vertical space between menu title and
menu items.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 16 19:09:07 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Typo in member variable name

Revision 1.35 / (download) - annotate - [select for diffs], Sat Feb 16 18:57:21 2019 UTC (5 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.34: +25 -1 lines
Diff to previous 1.34 (colored)

Document return values from menu items opt_action functions, add a
new variant: -1 when functions have fundamentally changed the menu
definition on the fly and the processing functions needs to restart
without looking at the old state (or stale cached pointers).

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jan 4 15:27:19 2019 UTC (5 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118
Changes since 1.33: +6 -4 lines
Diff to previous 1.33 (colored)

Add an option for single (disabled) menu lines to have no shortcut.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 21 22:42:26 2018 UTC (5 years, 4 months ago) by uwe
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.32: +217 -161 lines
Diff to previous 1.32 (colored)

Try to provide the typesetting help requested.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Nov 21 20:04:48 2018 UTC (5 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.31: +79 -7 lines
Diff to previous 1.31 (colored)

Add (optional) support for expanded static menu texts - that is: whatever
the application programmer defines as expansion, e.g. to implement
parameter substitution.
While here add rudimentary documentation of the dynamic messages
feature (so at least the parser and the syntax documented here
are in sync).
The man page could use some typesetting help...

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 3 21:34:20 2017 UTC (6 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.30: +18 -18 lines
Diff to previous 1.30 (colored)

Remove workaround for ancient HTML generation code.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Mar 6 16:55:18 2012 UTC (12 years ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Changes since 1.29: +2 -6 lines
Diff to previous 1.29 (colored)

Remove the advertising clause and appease the eye a bit (still not good, but
better).  Almost no functional change.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jul 11 18:38:30 2009 UTC (14 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

mandoc(1): -width is redundant for a item list

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 10 20:28:51 2009 UTC (15 years ago) by joerg
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Specify width for tag list.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 9 19:24:32 2009 UTC (15 years ago) by joerg
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Fix preamble to match order set out by mdoc(7). Discussed with wiz.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jun 17 02:27:05 2006 UTC (17 years, 9 months ago) by reed
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: jym-xensuspend
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Another mispelling fix. I should have done these all in one commmit
but I was editing several files and didn't realize the multiple
were all in one file.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 17 02:19:57 2006 UTC (17 years, 9 months ago) by reed
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Fix typo (or mispelling).

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 17 02:06:17 2006 UTC (17 years, 9 months ago) by reed
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix mispelling.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Aug 2 22:27:36 2004 UTC (19 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Branch point for: chap-midi
Changes since 1.22: +12 -9 lines
Diff to previous 1.22 (colored)

Sort sections; avoid to mark up punctuation unnecessarily; use \*[Lt]\*[Gt]
instead of <>; use Sq.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 2 21:29:07 2004 UTC (19 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.21: +82 -48 lines
Diff to previous 1.21 (colored)

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.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 11 13:41:37 2003 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.20: +8 -5 lines
Diff to previous 1.20 (colored)

Bump date for last changes; remove duplicate "the"; mark up NULL.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 18 18:26:53 2003 UTC (20 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Add an MC_ALWAYS_SCROLL to mean "always allow space for 'scrolltext'".
All scrolltext to be #defined so it can be translated.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 27 07:21:58 2003 UTC (20 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.18: +16 -9 lines
Diff to previous 1.18 (colored)

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.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jun 9 18:48:41 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.17: +5 -4 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 4 19:07:39 2003 UTC (20 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

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.

Revision 1.16 / (download) - annotate - [select for diffs], Fri May 9 08:20:27 2003 UTC (20 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.15: +29 -34 lines
Diff to previous 1.15 (colored)

Join some lines; mdoc improvements; use more macros.

Revision 1.15 / (download) - annotate - [select for diffs], Fri May 9 07:30:50 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.14: +39 -26 lines
Diff to previous 1.14 (colored)

Update man page for recent changes, update code to match man page...

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 9 05:28:30 2003 UTC (20 years, 10 months ago) by phil
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Remove extra characters in example strings.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 25 10:35:48 2003 UTC (21 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 5 11:17:32 2002 UTC (21 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Replace some \n with \en for correct display. Closes PR 18539.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 26 01:19:38 2002 UTC (21 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.10: +111 -85 lines
Diff to previous 1.10 (colored)

Ispell. Begin new sentences on a new line. mdoc fixes.

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 24 22:09:20 2002 UTC (21 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.9: +10 -10 lines
Diff to previous 1.9 (colored)

Correct `.Na' misuses reported in bin/17007, and some other mandoc improvements
while I'm here.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 21 05:15:39 2002 UTC (22 years ago) by phil
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Branch point for: netbsd-1-6
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Fix bug in AVL tree routines.   Correct man page.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 8 01:36:28 2002 UTC (22 years, 1 month ago) by ross
Branch: MAIN
Changes since 1.7: +21 -21 lines
Diff to previous 1.7 (colored)

Generate <>& symbolically. I'm avoiding .../dist/... directories for now.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 1 20:39:13 2001 UTC (22 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.6: +29 -33 lines
Diff to previous 1.6 (colored)

Sort sections, punctuation nits, use standard headers..

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 1 16:43:19 2001 UTC (22 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.5: +44 -44 lines
Diff to previous 1.5 (colored)

Whitespace cleanup.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 7 06:09:20 2001 UTC (23 years, 2 months ago) by phil
Branch: MAIN
Changes since 1.4: +397 -8 lines
Diff to previous 1.4 (colored)

Improve a parameter list, add the actual documentation for menuc.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 31 04:03:18 1999 UTC (24 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.3: +15 -1 lines
Diff to previous 1.3 (colored)

Add FILES and EVIRONMENT sections detailing what files these programs use,
where they live, and how to modify that behavior.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 22 18:16:40 1999 UTC (25 years ago) by garbled
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

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.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 19 05:08:20 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored)

fix up .Nm usage, getopt returns -1 not EOF

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 26 17:54:09 1997 UTC (26 years, 6 months ago) by phil
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>