./misc/dialog, Display dialog boxes from shell scripts

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3.20190211, Package name: dialog-1.3.20190211, Maintainer: pkgsrc-users

Dialog is a program that will let you to present a variety of questions
or display messages using dialog boxes from a shell script. Currently,
these types of dialog boxes are implemented:
yes/no box, menu box, input box, message box, text box, info box,
guage box, checklist box, and radiolist box.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: f355cc10949a19e5f5838bf226d581ee9a552344
RMD160: 51b451fca64b28e78f12dd456c52af5774cc8c30
Filesize: 522.216 KB

Version history: (Expand)


CVS history: (Expand)


   2019-02-15 20:53:00 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
dialog: update to 1.3.20190211.

Provided by Thomas Dickey in private email.

2019/02/11
	+ modify to work with ncurses' threaded-library, which does not allow
	  assignment to LINES/COLS (report by Marcus Roeckrath).
	+ correct clearing after text in progressbox from 2018/06/21 changes
	  for resizing (reports by David Boyd, Alan Somers).
	+ improved configure macros CF_GNU_SOURCE, CF_POSIX_C_SOURCE,
	  CF_XOPEN_SOURCE
	+ update config.guess, config.sub

2018/11/07
	+ convert ja.po to UTF-8 for consistency (suggested by Stanislav
	  Brabec).
	+ repair mis-encoded hi.po (report/analysis by Stanislav Brabec).

2018/10/22
	+ improved configure macros CF_CC_ENV_FLAGS, CF_LD_RPATH_OPT,
	  CF_LIBRARY_PATH, CF_SHARED_OPTS, CF_WITH_MAN2HTML,
	  CF_WITH_VERSIONED_SYMS from ncurses
	+ add ast.po, from
		http://translationproject.org/latest/dialog/

2018/06/21
	+ improve file-offset computation in textbox.c (Werner Fink).
	+ fix an overlooked case with real_auto_size() to maximize when
	  height or width is given as -1.
	+ build-fixes for configure options "--disable-Xdialog2" and
	  "--disable-form"
	+ add traces for each widget to show its parameters.
	+ modify color scheme for mixedgauge to use the dialog window colors,
	  like the captions.
	+ fix a too-small malloc in the mixedgauge widget.
	+ fix a use-after-free in dlg_remove_callback().
	+ improve handling of SIGWINCH for several widgets (Debian #865840).
	  + menubox, the point of the Debian report was that it would be nice
	    to increase the window size if the terminal size increases.  Did
	    that as a special case less problematic than decreasing the
	    terminal size.  Added samples/menubox11 to demonstrate by
	    comparison with menubox10 a problem with debconf which puts extra
	    newlines in the caption that interfere with autowrap.
	  + progressbox and derived prgbox, programbox, now handle resizing.
	  + yesno, window was cleared
	+ add dlg_ttysize() to support new options, allowing scripts to obtain
	  some text-formatting details without initializing the terminal.
	+ add options --print-text-only, and --print-text-size for scripts that
	  adjust the widget size according to how the captions are formatted.
	+ improve dialog.pl:
	  + add demo.pl, to demonstrate the functions
	  + quote/escape string parameters passed to dialog.
	  + ensure all "integer" parameters are really integers.
	  + use actual screensize for list captions rather than assuming 24
	    lines.
	+ when trimming blanks, treat unconverted tabs the same as spaces.
	+ correct parameter to test when trimming blanks from the script,
	  e.g., with "--trim" (report by Jarno Suni).
	+ improve documentation of the various whitespace-filtering options,
	  to show which take precedence (Debian #867536, cf: Debian #102942).
	+ modify msgbox.c, yesno.c to bind SCROLLKEY_BINDINGS before
	  TRAVERSE_BINDINGS so that up/down arrow will by default scroll the
	  message up/down rather than be aliases for tab-traversal (report by
	  Fredrik Kers).
	+ modify dump_one_binding() to show when a binding is overridden.
	+ improve format of trace-file, making comment-syntax consistent,
	  as well as showing argv-splitting as a series of comments.
	+ modify dlg_string_to_argv() to change the quoting behavior to be
	  more consistent with shell behavior (patch by Denilson Sa Maia).
	+ modify dlg_getc() to return ESC when a timeout expires, notifying
	  callers that a quit occurred rather than exiting the application
	  (suggested by Rodrigo Freitas).
	+ modify handle_inputs() to ensure cursor-visibility is restored when
	  there is no input character available (report by Guillaume Vareille).
	+ improve comment in manual page regarding which widgets can use the
	  "--help-button" (prompted by discussion with Csanyi Pal).
	+ add a check for valid object pointer in tailbox's main loop since
	  the getc-callback may have been freed within ui_getc.c (report by
	  "David").
	+ improved configure macros for ncurses: CF_GNU_SOURCE, CF_SHARED_OPTS,
	  CF_CURSES_LIBS, CF_CURSES_FUNCS, CF_NCURSES_CONFIG
	+ improved configure script checks for groff vs man2html:
	  CF_PROG_GROFF and CF_WITH_MAN2HTML
	+ build-fix from lynx for AM_WITH_NLS configure macro
	+ update config.guess, config.sub

2017/12/09
	+ update ftp url in test-packages.
	+ modify test-packages to use recommended compiler/linker flags.
	+ improved configure macros AM_WITH_NLS, CF_CC_ENV_FLAGS,
	  CF_CURSES_LIBS, CF_NCURSES_CONFIG, CF_SHARED_OPTS, CF_WITH_LIBTOOL,
	  CF__INTL_BODY.
	+ update config.guess, config.sub
   2017-05-17 12:39:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated dialog to 1.3.20170509.

2017/05/09
	+ improved configure macros CF_ADD_CFLAGS, CF_CC_ENV_FLAGS, and
	  CF_SHARED_OPTS.
	+ updated hu.po and tr.po from
		http://translationproject.org/latest/dialog/
	+ update config.guess, config.sub
   2017-02-07 14:00:49 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated dialog to 1.3.20170131.

2017/01/31
	+ use DLG_TRACE macro consistently to make "--disable-trace" configure
	  option work.
	+ modify buildlist widget to support option "--reorder" for to allow
	  user to reorder the data based on the sequence of selections
	  (discussion with Paraic O'Ceallaigh).
	+ fill background color on unused parts of buildlist.
	+ fix a minor error in buildlist which let pageup switch columns.
	+ change several calls to dlg_trace_msg to prefix with "#" to make
	  the trace logs more consistent for parsing.
	+ add samples/run_test.sh
	+ further improve performance with very long command-lines by changes
	  to howmany_tags().
	+ modify dlg_string_to_argv() to convert escaped double-quotes to
	  plain double-quotes when within a double-quoted string.
	+ modify makefile to apply CFLAGS to linking
	+ modify dlg_string_to_argv() to ignore escaped newlines except when
	  quoted, fixing a problem with samples/checklist9.
	+ interpret $DIALOGOPTS before expanding "--file", etc., to allow
	  the environment variable to turn on tracing in that process.
	+ improve performance when processing very long command lines, e.g.,
	  using "--file" by changing dialog_opts[] to an array of pointers to
	  the expanded argv[] (discussion with Lars Tauber).
	+ modified autoconf macros
	  + CF_CC_ENV_FLAGS amend the last change to move only the
	    preprocessor, optimization and warning flags to CPPFLAGS and
	    CFLAGS, leaving the residue in CC.  That happens to work for gcc's
	    various "model" options, but may require tuning for other compilers
	  + CF_LARGEFILE workaround for clang exit-code vs warnings
	  + CF_MATH_LIB quiet strict gcc warning
	  + CF_WITH_LIBTOOL fix a few places in configure/build scripts where
	    DESTDIR and rpath were combined
	  + CF_XOPEN_SOURCE add "uclinux" to list of Linux's
	+ update config.guess, config.sub
   2016-09-01 18:02:22 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated dialog to 1.3.20160828.

2016/08/28
	+ improve parsing and trace for "bindkey", to convert space to/from
	  "\s", as well as handle octal escapes for single byte characters.
	+ change explicit checks for space character used for select or toggle
	  to make this rebindable to "TOGGLE" (prompted by discussion with
	  Paul van Tilburg).
	+ add default bindings for cursor left/right to formbox.  The cursor
	  left/right cases were replaced with rebindable symbols in 2005/12/07
	  without providing these keys as default values (report/patch by
	  Miroslav Lichvar).
	+ modified autoconf macros
	  + CF_PROG_LINT add cpplint to programs to use; drop ad hoc tdlint and
	    alint.
	  + CF_CC_ENV_FLAGS don't limit the check to -I, -U and -D options,
	    since the added options can include various compiler options before
	    and after preprocessor options.
	  + CF_GNU_SOURCE recent glibc (Debian 2.23-4 for example) has
	    misordered ifdef/checks for new symbol _DEFAULT_SOURCE, producing
	    warning messages when only _GNU_SOURCE is defined.  Add a followup
	    check to define _DEFAULT_SOURCE.
	  + CF_XOPEN_SOURCE use _GNU_SOURCE for cygwin headers, tested with
	    cygwin 2.3, 2.5 (patch by Corinna Vinschen).
	+ mention --no-collapse option in manual page description of
	  --tab-correct option.
	+ update config.guess, config.sub
   2016-05-05 13:23:45 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated dialog to 1.3.20160424.

2016/04/24
	+ fix a special case in drawing shadow on a line-drawing cell where the
	  alternate-character set flag was lost (report by Martin Kravec).
	+ fix a regression from 2015/05/13 changes for escaping; it is
	  necessary to retain backslashes within quotes to make "\Z" escapes
	  work (report by Marcin Krol).
	+ fix test package for RPMs; changes in 2015 omitted symbolic links
	  for the library.
	+ fix typo in help message for "--buildlist" (report by Rihards Olups).
	+ modified autoconf macros
	  + CF_PROG_AR, CF_AR_FLAGS added to improve check for archive tool.
	  + CF_LD_RPATH_OPT, change FreeBSD to use -Wl,-rpath rather than
	    -rpath option.  According to FreeBSD #178732, either works since
	    FreeBSD 4.x; however scons does not accept anything except the
	    -Wl,-rpath form.
	  + CF_WITH_NCURSES_ETC, change from ncurses to check for pthreads
	    dependency.
   2016-02-14 12:03:21 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update dialog to 1.3.20160209.

2016/02/09
	+ modify editbox widget to add a trailing newline if the text has none
	  to ensure the last line is not ignored (report by Florent Rougon).
	+ change mouse initialization to look for button-presses rather than
	  button-clicks, for better response.
	+ modify dump_curses_key() to show mouse-coding in readable form.
	+ correct mapping of mouse-clicks on the day-grid in calendar widget
	  when "--week-start" is used to set the start of the week (report by
	  Stefan Vogtner).
	> integrated changes from Stefan Vogtner:
	+ use Gregorian algorithm for leap year
	+ use mktime if available; calendar was written just as it became
	  standard.
   2016-02-01 13:00:09 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update dialog to 1.3.20160126:

2016/01/26 - release 1.3
	+ correct --infobox documentation, which said it shows an OK button.
	+ fix a couple of place in test-scripts which referred to $SIG_TRAP
	  rather than $SIG_QUIT
	+ reorganize dialog.3, to use subsections for generating navigation
	  pane, using man2html
	+ add "--week-start" option for calendar widget (prompted by discussion
	  with Stefan Vogtner).
	+ add a limit-check in editbox.c to ensure that mouse-clicks outside
	  the filled-in text area do not access past the end of the array
	  (report by Stefan Vogtner).
	+ update configure macros from ncurses changes.
	+ update config.guess, config.sub
   2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330)
Log message:
Add SHA512 digests for distfiles for misc category

Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.