xref: /freebsd/contrib/dialog/CHANGES (revision aa0a1e58)
1-- $Id: CHANGES,v 1.300 2010/04/28 21:27:22 tom Exp $
2-- Thomas E. Dickey <dickey@invisible-island.net>
3
4This version of dialog was originally from a Debian snapshot.  I've done this
5to it:
6
72010/04/28
8	+ several improvements to configure script:
9	  + modify CF_CURSES_TERM_H to handle cases such as cygwin where
10	    packager has installed curses.h and term.h in different
11	    directories, e.g., to wedge in a termcap library.
12	  + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris
13	  + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to
14	    ctags and etags to work around pkgsrc (NetBSD) renaming.
15	  + correct CF_FIND_LINKAGE, setting cache variable for library_file in
16	    the special case where no directory search is made.
17	  + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc.
18	  + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to
19	    check, since c89 alias for gcc complains about these options.
20	  + modify CF_HEADER_PATH, to not search for variations of everything
21	    in the current include-path
22	  + use "mkdir -p", remove mkdirs.sh
23	  + use CF_CURSES_HEADER to fill in possible subdirectory used for
24	    ncurses header filename.
25	  + modify CF_XOPEN_CURSES to work around current ncurse header loss of
26	    predefinition of _XOPEN_SOURCE_EXTENDED
27	  + add "--disable-rpath-hack" option, along with scripting to add
28	    rpath option to libraries found in unusual places.
29	+ modify pause widget to autosize like gauge, and to omit the area for
30	  buttons when none are displayed.
31	+ fix an infinite loop in dlg_button_layout() if there are no buttons
32	  to display (Debian #579390).
33	+ add makefile rules for generating html, etc., documentation from
34	  nroff.
35	> patches by Samuel Mart�n Moro
36	+ reset errors in tailbox before reading new character.
37	+ modify dlg_draw_scrollbar(), omitting hiding percentages in boxes
38	  when no arrows or scrollbar are needed.
39	+ correct value of row for scrollbars in formbox.
40	+ update es.po from
41		http://translationproject.org/latest/dialog/
42
432010/01/19
44	+ split up binding tables in inputbox and similar widgets to avoid
45	  conflict between cursor-key use for input-string versus navigation
46	  (report by slakmagik).
47	+ if strftime() is available, support --time-format option for timebox
48	  widget.
49	+ if strftime() is available, support --date-format option for calendar
50	  widget (request by Walter Harms).
51	+ build-fixes for linking to intl library in /usr/local
52	+ add --scrollbar option, use in most widgets to show a scrollbar on
53	  the right margin of the data.  That is cosmetic, does not respond to
54	  the mouse.
55	+ reuse functions from msgbox to allow prompt for yesno box to be
56	  scrolled in a too-small window.
57	+ correct mapping of button-codes with --nook option (report by Lebedev
58	  Vadim).
59	+ cleanup sample scripts using new utility scripts setup-* and report-*,
60	  and allow command-line parameters to be added, for ad hoc testing.
61	+ correct change to tailbox widget from 2009/02/22 using
62	  dlg_button_layout(), which broke that widget.
63	+ document some of the portability caveats.
64	+ modify gauge widget to service callbacks (prompted by patch and
65	  comments by Frank Sorenson).
66	+ modify editbox to allow its input buffer to be larger than MAX_LEN
67	  unless bounded by the --max-input option, and add limit-checks for
68	  the buffer (report by slakmagik).
69	+ improve manpage description of --checklist (report by Isaac Good).
70	+ several improvements to configure script macros:  CF_ADD_CFLAGS
71	  CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB
72	  CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE
73	+ add is.po, lv.po, sw.po from
74		http://translationproject.org/latest/dialog/
75	+ update de.po, id.po, pl.po, pt_BR.po, vi.po from
76		http://translationproject.org/latest/dialog/
77
782009/02/22
79	+ do not display top-arrows for scrolling if they would overwrite the
80	  title (report by slakmagik)
81	+ consistently use dlg_button_layout() when autosizing widgets (report
82	  by slakmagik).
83	+ add "-" and "+" bindings to timebox widget.
84	+ add "-" and "+" bindings to calendar widget (OpenSolaris #6739031).
85	+ review/fix other widgets to ensure that they exit on error, e.g.,
86	  editbox.c
87	+ modify check in dlg_getc() to treat closure of either stdin or stdout
88	  as an error, rather than both.  This is more stringent than the check
89	  added in 2007/07/04.
90	+ modify dlg_result_key() to map curses ERR to dialog's error exit
91	  (adapted from patch by Domagoj Pensa).
92	+ updated several configure script macros:
93	  + consistently append, rather then prepend, to $CFLAGS
94	  + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE
95	  + use $PATH_SEPARATOR rather than $PATHSEP
96	  + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g.,
97	    libutf8 and libiconv.
98	+ update da.po, ru.po from
99		http://translationproject.org/latest/dialog/
100	+ updated config.guess, config.sub
101
1022008/08/19
103	+ amend changes to quoting; by default, the checklist widget quotes its
104	  output except when --separate-output is used (Debian #495600).
105	+ add eo.po from
106		http://translationproject.org/latest/dialog/
107
1082008/07/27
109	+ add pointer-check when closing piped input (cf: 2007/03/25)
110	+ use here-documents rather than echo, when passing backslashes in
111	  strings, to accommodate the Debian shell "dash" (Debian #489563).
112	+ recode several ".po" files to UTF-8 for consistency.
113	+ change --separator to be an alias for --output-separator, for
114	  compatibility with Xdialog.
115	+ add --output-separator option to allow scripts to change the output
116	  separator from a newline (for --separate-output) or a space.  This
117	  applies to other widgets such as forms and editboxes which normally
118	  use a newline.
119	+ add --column-separator option, to tell where column-aligned data for
120	  radio/checkboxes or menus should be split into columns (request by
121	  Ben Dibbens).
122	+ add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po,
123	  th.po from
124		http://translationproject.org/latest/dialog/
125	+ add "--quoted" option, to quote values returned by formbox, etc.
126	+ change names of EX/ES macros in dialog.1 to work around name-
127	  pollution caused by changes in Debian #470729.
128
1292008/03/16
130	+ modify dlg_mouse_wgetch() to loop only on errors that it detects,
131	  rather than on errors forwarded from dlg_getc(), in case those are
132	  due to a disconnected terminal (report by Anatoli Sakhnik).
133	+ allow "default" color in dialogrc file (request by Dashing).
134	+ fix an indexing error in formbox (Debian #469190, report by Dmitry
135	  Gomerman, patch by Vladimir Mezentsev).
136	+ add bindings for CTL/N, CTL/P to checklist, fselect and menubox
137	  widgets (prompted by discussion with John Gatewood Ham).
138	+ add be@latin.po, th.po and update zh_TW.po from
139		http://translationproject.org/latest/dialog/
140	> patches by Peter Astrand:
141	  + modify dlg_auto_sizefile() to ensure the computed height and width
142	    do not extend beyond the screen size.
143	  + use unctrl() to make inputstr.c work with Solaris curses.
144	> patches by Yura Kalinichenko:
145	  + extend pause widget to use ok/cancel buttons (the former giving the
146	    same result as a timeout), rather than an exit-button.
147	  + fix initialization parameter of inputbox for multibyte characters.
148
1492007/10/28
150	+ improve layout of checklist.c, menubox.c, ensuring that the list fits
151	  within the available space (report by Gordon Schumacher).
152	+ undo removal of redundant chunk from checklist.c in 2007/02/27,
153	  since some scripts depend on this (Debian #443077).
154	+ update nl.po from
155		http://translationproject.org/latest/dialog/
156
1572007/09/30
158	+ correct cursor position in editbox after deleting past left margin
159	  (report by Joe McDonagh).
160	+ add "--no-ok" option (patch by Klaus Knopper).
161	+ modify "--file" option to allow it to read from sources other than
162	  a regular file (patch by Pieter van Beek).
163	+ improved hi.po (Hindi) (from Klaus Knopper).
164	+ fix masking of attributes in dlg_draw_shadow() which lost
165	  line-drawing bit (report by David Everly).
166	+ fix editbox widget to handle zero-length files (report by Joe
167	  McDonagh).
168	+ update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po
169	  from
170		http://translationproject.org/latest/dialog/
171
1722007/07/04
173	+ revise the resizable shadows so textbox's search dialog has text
174	  visible in the shadow again.
175	+ improve the prefixing of autoconf-related symbols in the installed
176	  header files, taking into account symbols which are not mentioned in
177	  dlg_config.h
178	+ add a check when ERR returned from wgetch() to ensure that the
179	  input/output streams are still valid.  If that happens, force
180	  ESC to be returned, quitting dialog (report by Reiner Huober).
181	+ add extern "C" declarations to dlg_keys.h so the corresponding
182	  function declarations are exported to C++ as C symbols.
183	+ updated config.guess, config.sub
184
1852007/06/04
186	+ fix a memory leak in editbox.c
187	+ revise change from 2007/02/27 which moved the logic for trimming
188	  option text out of the loop because that moved it before
189	  initialization of the "--trim" option.  Put it back in the loop, but
190	  limit the tokens which are trimmed to cover only those for the
191	  current widget.  Also ensure that all tokens for a widget are
192	  trimmed, rather than only the first, which is usually text (report by
193	  Lai Zit Seng).
194	+ add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro.
195
1962007/05/28
197	+ revise changes needed to make textbox's searchbox handle ncurses
198	  resizing events, e.g., by handling the ERR in that code rather than
199	  in dlg_getc() (Debian #423732).
200
2012007/05/14
202	+ supply a repaint_text() call in tailbox.c which was bypassed because
203	  dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27).
204	+ modify dlg_getc() to fix regression in 2007/02/27 for use of
205	  timeouts, broken by fixes to allow resizing of textbox (patch by
206	  Arnaud Fontaine, Debian #418905).
207	+ modify dlg_getc() to fix regression in use of TAB for traversal of
208	  tailboxbg widgets due to changes for user-definable key bindings
209	  (Debian #418917, cf:  2005/12/07).
210
2112007/04/09
212	+ add case in dlg_getc() to handle tab for traversing between widgets
213	  as in the samples/tailboxbg1 script.  Normally the key binding
214	  overrides, except for the special case where multiple widgets are
215	  available.
216	+ add configure --with-libtool-opts, which passes its value to the
217	  library creation and linkage passes, e.g.,
218	  	--with-libtool-opts=-static
219	  to force the result to be static libraries (prompted by a related
220	  request by Santiago Vila).
221	> several fixes based on Coverity scan:
222	+ fix memory leak in timebox, calendar widgets if the widget cannot
223	  be created.
224	+ fix memory leak in dlg_key.c if a user binding's storage cannot
225	  be allocated.
226	+ fix improperly delinked entry in dlg_del_window().
227
2282007/03/25
229	+ improve mkdirs.sh to ignore error from mkdir if the target directory
230	  happens to already exist (suggested by Harald van Dijk).
231	+ amend documentation for --gauge to reflect longstanding quirk which
232	  allows it to read percentage from the first line after an "XXX"
233	  (Debian #415596).
234	+ fix makefile dependency so "configure && make install-lib" works.
235	+ fix resizing of msgbox; the message was not repainted (Debian
236	  #415022, patch by Brian Rolfe).
237	+ fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes.
238	+ improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make
239	  the test-compile work.
240	+ change makefile to install dialog.3 as part of install-lib rather
241	  than install-man (report by Thomas Klausner).
242	+ use $(INSTALL_SCRIPT) for installing dialog-config (report by
243	  Santiago Vila).
244
2452007/02/27
246	+ add dialog-config script, which provides applications with compile-
247	  and link-information for using the dialog library.
248	+ move calls to dlg_trim_string() out of loop in dialog.c, so each
249	  string is trimmed once (report by Ivanov Makcim).
250	+ modify textbox.c to allow resizing while the search box is presented.
251	  This relies on bug-fix in ncurses 5.6 20070224.
252	+ use dgettext() rather than gettext() to allow libdialog to use the
253	  messages installed for dialog (patch by Vajna Miklos).
254	+ modify inputbox to position the cursor initially at the end of any
255	  initial-text (request by Klaus Knopper).
256	+ add configure --with-valgrind for testing.
257	+ add --trace option, for debugging.
258	+ add --ascii-lines and --no-lines options to control the way the
259	  line-drawing characters are rendered (request by Klaus Knopper).
260	+ add --keep-tite option, to override suppression of smcup/rmcup
261	  (termcap ti/te) strings which would switch to xterm's alternate
262	  screen (Debian #380665).
263	+ modify fselect/dselect to use space-character as a completion
264	  operator like tab in shells (patch by Yoram Bar Haim).
265	+ remove a redundant chunk from checklist.c which reported status a
266	  second time if the help-button was pressed but no item-help option
267	  was in effect (Andre C Barros).
268	+ fix return-status from "dialog --pause" (Debian #409254).
269	+ add --mixedform and --mixedgauge dialogs based on patch from
270	  Kiran Cherupally.
271	+ add some notes on compatibility to the manpage.
272	+ add editbox dialog (compatible with Xdialog, Debian #368478).
273	+ add dselect dialog (compatible with Xdialog).
274	+ remove an incorrect initialization of .text_flen from 2005/12/07
275	  changes, which made all fields in a form editable (Debian #404045).
276	+ report error and exit if a filename given for the --file option
277	  cannot be opened (report by "Dog Walker").
278	+ make --program-prefix, etc., work in configure script, e.g., to make
279	  program install as "cdialog".  This does not alter the library name.
280	+ add install-bin, install-man (and uninstall) rules to makefile.
281	+ updates for configure script macros (originally vile, lynx, xterm):
282	  AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS,
283	  CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS,
284	  CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC,
285	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE.
286	+ updated config.guess, config.sub
287	> adapted fixes from SuSE package (Werner Fink):
288	  + add some limit-checks in dlg_draw_shadow().
289	  + make shadows resizable, using new dlg_move_window() in msgbox.c
290	    and yesno.c
291	  + add dialog_state.input, use this in end_dialog() to decide whether
292	    to close pipe inputs and call _exit(), or simply call exit().
293	  + modify dlg_ctl_size() to check if the reason for failure is because
294	    shadows were used; retry in that case without shadows.
295	  + add signal catcher for SIGSEGV.
296
2972006/02/21
298	+ fix logic in split-out dlg_menu() to separate inputmenu and menu
299	  handling (report by Auke Kok).
300
3012006/01/26
302	+ fix fselect.c to compile properly with Intel compiler and largefile
303	  option.
304	+ improve configure script checks for curses headers to work around
305	  breakage in some packages, e.g., cygwin.
306	+ amend correction to menubox, fixes normal menus (Debian #349969).
307
3082006/01/19
309	+ completed dialog.3 manpage
310	+ modify configure script option --with-gauge to cover all flavors of
311	  the gauge (gauge, pause, progressbox).
312	+ add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery).
313	+ fix a comparison in checklist.c to avoid unneeded arrows when the
314	  list happens to fit in the window (patch by Peter Postma).
315	+ correct wrapping computation in print_line() from 2005/11/07 changes
316	  (report by Barry Kauler).
317	+ update sv.po (comments only).
318		http://www.iro.umontreal.ca/translation/maint/dialog/
319	+ correct logic that passes the callback for menubox to do inputmenu
320	  operations from 2005/12/7 changes (report by Reznic Valery).
321
3222006/01/01
323	+ add a null-pointer check in dlg_register_buttons(), needed for the
324	  tailboxbg (Debian #345524).
325	+ fix a few memory leaks reported by valgrind.
326
3272005/12/19
328	+ correct return-values of new functions dlg_default_listitem() and
329	  dlg_default_formitem() (Debian #344002).
330	+ add Swedish translation (Debian #343303, by Daniel Nylander)
331	+ begin function-summaries in dialog.3
332	+ update config.guess, config.sub
333
3342005/12/07
335	+ change license to LGPL.
336	+ change naming convention in dlg_colors.h to make it easier to read,
337	  and incidentally remove the last chunk of code preventing relicense.
338	+ add --passwordform (request by Reznic Valery).
339	+ modify pause.c, msgbox.c to work with --help-button.
340	+ modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra
341	  button (adapted from Reznic Valery patch).
342	+ modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow
343	  help-button (prompted by Reznic Valery patch).
344	+ add zh_CN.po file from
345		http://www.iro.umontreal.ca/translation/maint/dialog/
346	+ provide alternate interfaces for dialog_checklist(), dialog_menu()
347	  and dialog_form():  dlg_checklist(), dlg_menu() and dlg_form()
348	  (discussion with Michael Gebetsroither).
349	+ add/use dlg_result_key() to allow binding function keys to the
350	  buttons.
351	+ implement user-definable key bindings in the rc-file.
352	+ modify inline cases for KEY_xxx values to use binding tables in new
353	  module dlg_keys.c
354	+ add several DIALOG_STATE items to the rc file:  aspect,
355	  separate_widget, tab_len and visit_links
356	+ add a tab-adjustment to dlg_print_text() to improve solution from
357	  2005/10/30, e.g., in the samples/form* scripts.
358	+ fix an off-by-one which made mouse-selection not work for menu items
359	  past the first page (GenToo #112024, patch by Harald van Dijk).
360
3612005/11/07
362	+ extend dlg_add_result() to allow caller to pass a null pointer
363	  for dialog_vars.input_result (Debian #336986).
364	+ correct length used for text portion of radio/checkboxes (report by
365	  Valentin Stoykov).
366	+ modify msgbox, textbox and center_label() to work properly for
367	  LANG=bg_BG.utf8 examples by Valentin Stoykov.
368	+ modify use of freopen() to work with opaque FILE type on DragonFly
369	  (report by Jeremy C Reed).
370	+ modify print_line() to compute columns, use that for the call to
371	  dlg_print_line().  Fix a few places where strlen() was used instead
372	  of dlg_count_columns() (reports by Valentin Stoykov).
373
3742005/10/30
375	+ reviewed changes since beginning development in 1999, decided that
376	  there are no appreciable portions of original code remaining.
377	  Marked sources to correspond.
378	+ improve cache performance for inputstr.c using tsearch() rather than
379	  a linked-list search (Debian #294853).
380	+ remove a special case for darwin in CF_XOPEN_SOURCE configure macro.
381	+ add ms.po file from
382		http://www.iro.umontreal.ca/translation/maint/dialog/
383	+ remove an assignment that caused the cursor to appear initially on a
384	  form field rather than button (Debian #333506).
385	+ modify buttons.c to count columns rather than bytes, fixing case
386	  where buttons were laid out incorrectly (report by Valentin Stoykov).
387	+ change dlg_print_text() to count columns rather than bytes, fixing
388	  case where fewer columns were displayed in menu than expected
389	  (report by Valentin Stoykov).
390
3912005/10/05
392	+ improve fix for dlg_does_output(), eliminating redundant leading
393	  separator.
394	+ fill background color for item-help text (report by Peter Postma).
395	+ correct interaction between --separate-output and --output-separator
396	  broken in 2005/09/11 fix for Debian #326918 (Debian #331440).
397	+ update config.guess, config.sub
398
3992005/09/11
400	+ undo doubled adjustment for left/right margins when wrapping text
401	  for msgbox, gauge and pause (report by Xyba).
402	+ correct position of scrolled text in formbox broken by 2004/12/19
403	  changes (report by Konrad Jelen).
404	+ call dlg_does_output() from dlg_add_result(), ensuring that
405	  separators are used when combining widgets such as formbox (report by
406	  John Suykerbuyk).
407	+ fix marker in textbox.c to make it disappear at the top of the file
408	  (report by Patrick J. Volkerding).
409	+ fix marker shown in arrows.c for checklists, etc., which was "(+)"
410	  where it should have been "(-)" (report/patch by Patrick J.
411	  Volkerding).
412	+ fix --input-fd (changes in glibc since 2003 made dialog hang on exit
413	  due to the way dialog updated stdin).
414	+ restore default value (a tab) for --separator or --separate-widget
415	  lost in 2003/11/26 changes (Debian #326918).
416	+ make several widgets handle SIGWINCH (calendar, checklist, formbox,
417	  fselect, inputbox, menubox, pause, tailbox, textbox, timebox).  Only
418	  msgbox and yesno had been done before.  Note that some still have
419	  fixed geometry requirements, so they cannot be shrunk below a given
420	  threshold.  Also, these changes do not address traversal, e.g., for
421	  tailboxbg.
422	+ make gauge widget handle SIGWINCH with ncurses (Debian #305705).
423	+ add configure option to control whether largefile support is
424	  compiled-in (Debian #298882).
425	+ update eu.po (Debian #312622, patch by Piarres Egana).
426	+ add/update po files from
427		http://www.iro.umontreal.ca/translation/maint/dialog/
428	  fi.po, rw.po, sr.po, tr.po, zh_TW.po
429	+ fixes for configure script:
430	  + improve script for determining gcc version
431	  + improve checks for Intel compiler and related warning options
432	  + improve checks for defining _XOPEN_SOURCE (or alternatives) and
433	    _POSIX_C_SOURCE
434	+ update config.guess, config.sub
435
4362005/03/06
437	+ add/update po files from
438		http://www.iro.umontreal.ca/translation/maint/dialog/
439	  ga.po, it.po
440	+ revert last change for da.po; it was from an older version (report by
441	  Morten Brix Pedersen).
442
4432005/02/06
444	+ modify makefile.in so --disable-echo applies to libtool builds.
445	+ corrected malloc size used for editable fields in formbox widget to
446	  match the function which updates the corresponding buffer.
447	+ modify formbox widget's use of flen to allow negative values to be
448	  used to limit the length of the displayed field.
449	+ improve description in manpage of output from formbox widget
450	  (Debian #292418).
451	+ modify formbox widget to allow fields with flen==0 to display
452	  (Debian #292417).
453	+ improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to
454	  avoid redefinition warnings on cygwin.
455	+ fix a typo in inputmenu-stdout found via "sh -n" (report by Steve
456	  Grubb).
457	+ add/update po files from
458		http://www.iro.umontreal.ca/translation/maint/dialog/
459	  ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po
460
4612005/01/16
462	+ add --args option to help with debugging scripts.
463	+ adapted some new po files from Debian package for whiptail:  ar.po,
464	  bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po
465	+ update da.po (Morten Brix Pedersen).
466	+ add configure check for Intel 8.0 compiler, to set appropriate
467	  warning options.
468	+ update config.guess, config.sub
469
4702004/12/22
471	+ correct a typo in 2004/12/19 changes which caused width of multibyte
472	  characters to be incorrectly computed in some locales.
473	+ modify --version and --help options to write consistently to the
474	  standard output (report by Santiago Vila).
475	+ modify tailboxbg by resetting tty modes at the point where it forks a
476	  process to update the screen, rather than waiting until that process
477	  exits.  This improves user feedback by making it apparent that dialog
478	  is no longer processing input after that point (Redhat Bugzilla
479	  #142538).
480	+ minor updates to some .po files using Babel Fish, comparing with lynx.
481	+ update es.po (Santiago Vila).
482	+ work around bug in NetBSD 1.6 curses which seems to be confused by
483	  reusing color pairs with different video attributes.  The problem
484	  does not appear in NetBSD 2.0 curses (but its headers do not provide
485	  version info, so color-caching is not available for that
486	  configuration).
487	+ modify pause and gauge widgets to ensure that reverse-video progress
488	  bar is visible when the background is reversed, e.g., using the
489	  default non-color attributes.
490	+ use chtype rather than attr_t, to build with old Solaris curses,
491	  used in save/restore operation from 2004/09/20.
492
4932004/12/19
494	+ add pause-widget (patch by Yura Kalinichenko).
495	+ modify exit-code returned on selecting the "Help"-button when the
496	  --item-help option is given.  Previously this returned the same code
497	  as "OK", since it combines output for "OK" with the help status.  It
498	  now returns the help-code, but this can be overridden by setting the
499	  environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck
500	  and Sebastian Muesch).
501	+ modify formbox widget so input-length is not limited to field-length
502	  (report by David Liebermann).
503	+ localize the label on the search box for textbox widget (report by
504	  Erika Pacholleck).
505	+ correct usage message detail for fselect, which listed an extra
506	  parameter (Debian #284008).
507	+ add include for <sys/select.h> in ui_getc.c to build with QNX 4.25
508	  using Watcom 10.6 (patch by Len Meakin).
509	+ modify behavior when no locale (or POSIX locale) is set to allow
510	  legacy interpretation of Latin-1 character set (Debian #284795).
511
5122004/11/18
513	+ correct computation of column width for menubox/checkbox tags, for
514	  multicolumn characters, e.g., the menubox-utf8 example.
515	+ correct calls to wbkgdset(), which set the background attribute but
516	  not the corresponding character (ncurses uses blank if none is given).
517	+ improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE.
518	+ improved limit-computation in show_message() to allow for scrolling
519	  very long messages.
520	+ adjust scrolling logic in msgbox to account for the one-line offset
521	  used by the logic which wraps text in a box, thus avoiding leaving
522	  an extra blank line (report by Maxim Sobolev).
523
5242004/09/20
525	+ add samples/whiptail.rc
526	+ add samples/dialog.py (noting that a later version of this exists
527	  as pythondialog, but this is relatively self-contained).  Modified
528	  the script to accept the $DIALOG environment variable like the other
529	  sample scripts, to specify the path of the program to use.
530	+ modify the install rule for header-files so the autoconf names in
531	  dlg_config.h (and corresponding usage in dialog.h, etc), are altered
532	  from "HAVE_xxx" to "DLG_HAVE_xxx", etc.
533	+ add a check for getenv("HOME") in rc.c
534	+ add a call to end_dialog() in signal_handler for tailboxbg (from
535	  patch by Werner Fink).
536	+ correct initialization in checklist and radiobox for --default-item,
537	  scrolling as needed.
538	+ modify --visit-items option so that it puts the cursor initially on
539	  the list (in menubox, checklist and radiobox), accepts abbreviations
540	  for the buttons when the cursor is on the button-row, and otherwise
541	  (when --visit-items is given) abbreviations apply only to the list
542	  (report by Erika Pacholleck).
543	+ modify a few widgets (inputbox, textbox, yesno) to beep on unexpected
544	  input.
545	+ modify some msgbox widget to accept abbreviations of its button
546	  label, for consistency with other widgets (request by Erika
547	  Pacholleck).
548	+ corrected logic of dlg_char_to_button(), making it check only the
549	  first uppercase letter in each button label rather than all uppercase
550	  letters (report by Erika Pacholleck, cf: 2003/09/10).
551	+ improved description of --clear and --keep-window options (adapted
552	  from Erika Pacholleck).
553	+ move discussion of --beep and --beep-signal options to Obsolete
554	  Options section of manpage, remove these from the help-message
555	  (report by Erika Pacholleck).
556	+ bracket extern's in dialog.h with C++ extern "C" declaration, in case
557	  the library is used from a C++ application.
558	+ modify inputmenu examples to allow ESC to cancel the script.
559	+ modify inputmenu widget to cancel edit on a TAB or ESC.
560	+ modify inputmenu widget to use the same color scheme for the editable
561	  text as the inputbox widget.
562	+ modify samples/killall to work around differences in "cut" versions.
563	+ use the color-caching from the \Z logic when loading the ".rc" file,
564	  thereby reducing the number of color pairs required, and making it
565	  less likely that deriving color pairs for drawing arrows on a given
566	  background will run out of colors.
567	+ save/restore window attributes in dlg_draw_arrows() and similar
568	  functions, to allow widgets to draw arrows using the widget's
569	  background rather than a common/fixed value (request by Erika
570	  Pacholleck).
571	+ modify textbox widget so the down-arrow will be hidden when at the
572	  end of the file.  (Modifying the up-arrow to be hidden is harder -
573	  will do this when implementing scrollbars).
574	+ correct off-by-one in fselect.c which left down-arrows showing at
575	  the bottom of directory- and file-lists (report by Erika Pacholleck).
576	+ improve display of percentages by omitting blanks where lines should
577	  be shown.
578	+ modify logic for \Z escapes to make those that set video attributes
579	  not clear the colors (report by Erika Pacholleck).
580	+ modify logic for \Z escapes to allow foreground and background
581	  colors to be the same, provided that bold attribute is set.
582	  Also improved the logic for choosing a background color when the
583	  foreground and background are the same (report by Erika Pacholleck).
584	+ update configure script macro CF_XOPEN_SOURCE, ensuring that the
585	  _POSIX_C_SOURCE value is defined with a specific value (bug report
586	  originally for lynx).
587	+ fix configure script so that po/makefile is generated properly when
588	  the configure --srcdir --enable-nls options are used.
589	+ modify makefile.in to allow build/install from another directory,
590	  i.e., using configure --srcdir (patch by Mike Castle).
591	+ updated da.po (Debian #262587, Morten Brix Pedersen).
592	+ modify some sample scripts to avoid using grave quotes nested within
593	  double quotes with multiple file redirection, which does not work
594	  with Solaris /bin/sh (report/analysis by Eric Haller).
595	+ check for end of string immediately after a \Z escape to avoid
596	  displaying the null terminator as a ^@ (report by Erika Pacholleck).
597	> patches by Erika Pacholleck:
598	+ modify calendar.c, fselect.c and timebox.c to use color scheme like
599	  other lists, using menubox colors rather than dialog colors.
600	+ correct charset for po/de.po, translate messages for "Help" and
601	  "Rename".
602	+ omit parentheses around percentage in textbox.c
603	+ correct a few mismatched attributes, e.g., searchbox_attr in textbox.c,
604	  percentage in msgbox.c,
605
606
6072004/07/31
608	+ add test scripts to cover zero-width column case.
609	+ remove limit checks from checklist.c and menubox.c (cf: 2004/07/28),
610	  since some scripts use zero-width columns (Debian #262411 and report
611	  by Kyle Sallee).
612
6132004/07/29
614	+ modify msgbox.c to only reserve space for percentage shown as part
615	  of scrollable text for the msgbox widget.  This makes infobox look
616	  as it did before 2004/06/06 changes (report by Vinesh Christopher)
617
6182004/07/28
619	+ remove redundant calls to wtimeout() from widgets since wtimeout()
620	  is properly called from ui_getc() where it is controlled by the
621	  --timeout option (bug report by juanjo).
622	+ add limit checks in checklist.c and menubox.c for very narrow screens
623	  (prompted by Steve Grubb patch).
624	+ initialize step in dlg_draw_buttons() in case it is used to draw
625	  a vertical list of buttons (prompted by Steve Grubb patch).
626	> fixes by Steve Grubb:
627	+ correct logic in checklist.c (cf: 2003/11/26 changes) which turned
628	  quoting on unnecessarily for radiobox, breaking some old scripts.
629	+ increase size of array in dlg_ok_labels() to avoid overrun if extra
630	  and help buttons are used (cf: 2002/06/12 changes).
631	+ initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12).
632
6332004/07/21 - release 1.0
634	+ minor updates for configure script, i.e., CF_XOPEN_SOURCE,
635	  CF_NCURSES_LIBS macros.
636	+ update config.guess, config.sub
637	+ add nl.po (Jacques Weewer).
638
6392004/06/06
640	+ add --visit-items option, which allows the user to tab to the item
641	  list in the checklist/radiobox and menubox widgets (request by
642	  Ari Moisio).
643	+ use wide-character line-drawing for up/down arrows when configured
644	  for wide-characters, gives better results with uxterm.
645	+ limit the number of times a --file option can be used, to prevent
646	  runaway recursion if a --file option is embedded within a file which
647	  is included.
648	+ improve discussion of wrapping in the manpage (Debian #251937).
649	+ modify msgbox to allow it to scroll vertically like textbox (Debian
650	  #233276).  This only works with ncurses.
651	+ implement $DIALOGVARS environment variable to apply common options to
652	  dialog_vars when it is reset before processing other common options.
653	+ add --single-quoted option to control whether output is double-quoted
654	  with '"' or single-quoted with single-quotes.
655	+ revert the default quoting behavior of checklists to use
656	  double-quotes (report by Mark K Post regarding Slackware scripts).
657	+ add eu.po (Basque) (Piarres Beobide Egaa).
658	+ add ca.po (Catalan) (Jordi Mallach).
659
6602004/04/21
661	+ add a call to flushinp() to init_dialog(), to discard any typeahead
662	  before dialog is invoked (Debian #244746).
663	+ correct dlg_match_char() function, which was broken during rewrite
664	  to support wide-characters (Debian #244777).
665	+ improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat Bugzilla
666	  #119200).
667	+ correct position of shadow drawn for dialogs, which appeared to work
668	  for most versions of curses (other than NetBSD) but would have been
669	  visible for certain color schemes (discussion with Julian Coleman).
670	+ correct loop-exit in longest_word() (Tomas Heredia, forwarded by
671	  Santiago Vila).
672	+ add cy.po (Welsh) (Dafydd Harries).
673
6742004/03/16
675	+ modify quoting of results to use single-quote rather than double
676	  quote, and ensure that results containing a quote or backslash
677	  character are escaped (report by Florent Rougon)
678	+ remove an incorrect comparison from checklist which made cursor
679	  stick on the last line, from 2004/03/01 changes.
680
6812004/03/14
682	+ add a dependency to install library if "--with-libtool" is used.
683	+ add manpage for the library.
684	+ add "--file"
685	+ modify formbox.c to support "--help-status" like menubox.
686	+ modify checklist.c to add item name to the "HELP" string when
687	  "--help-button" is used and no --item-help option is given (Debian
688	  #236841, report/patch by Jorg Sommer).
689	+ rename colors.h to dlg_colors.h, install that when the library is
690	  installed.
691	+ add copyright notice to usage ("--help") message.
692	+ correct a missing bounds check for mouse-clicks in menubox (prompted
693	  by Debian #233044).
694	+ updated several configure-script macros:  AM_GNU_GETTEXT,
695	  AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC,
696	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE.
697
6982004/03/01
699	+ improve layout of calendar widget to allow for very long button
700	  labels (report by Santiago Vila).
701	+ correct logic for $DIALOG_TTY, broken in 2003/11/30.  The environment
702	  variable must evaluate to a nonzero integer (report by Florent
703	  Rougon).
704	+ document interaction between "--default-no" and "--no-cancel" options
705	  in manpage (Debian #223488).
706	+ change configure script to use autoconf 2.52+patch, to work around
707	  issues with Estonian locale (report by Seemant Kulleen).
708	+ add uk.po (Ukrainian) (Debian #232441).
709	+ make --default-item apply to checklist widget (Debian #225255).
710	+ correct a missing check for --item-help when --help-status was given
711	  for checklist (Debian #232921).
712	+ correct a missing bounds check for mouse-clicks in checklist (Debian
713	  #233044).
714	+ update config.guess, config.sub
715
7162003/12/07
717	+ correct infinite loop in yesno widget when "--defaultno" option is
718	  combined with "--no-cancel" (Debian #223077).
719
7202003/11/30
721	+ suppress double-quotes added for "--help-status" option if the
722	  string does not contain any special characters.
723
7242003/11/26
725	+ add samples/sourcemage.rc, for comparison with slackware.rc
726	+ add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)).
727	+ make "--defaultno" option apply to widgets which use OK/Cancel
728	  buttons as well (Debian #209030).
729	+ improve documentation of exit-codes for each widget in the manpage
730	  (Debian #217926).
731	+ add option "--keep-window" to suppress repainting after completing
732	  each widget (request by Ingo van Lil).
733	+ add options "--yes-label" and "--no-label" to allow override of the
734	  "Yes" and "No" strings (request by Christoph Zwerschke).
735	+ add option "--help-status" to allow script to restore a checklist
736	  or radiolist after processing an item-help string (Debian #209031).
737	+ modify width-calculation for non-formatted text to ensure it is
738	  wide enough for the longest word in the text (patch by Andrew Gaul).
739	+ modify dlg_index_columns() to count a newline as a single cell rather
740	  than 2 for the normal curses case.  This fixes an off-by-one for
741	  the text-justification, shown in screen 2 of msgbox1 sample script.
742	+ fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly
743	  ignore case of the labels.
744	+ change calendar's use of arrow keys so they are (as before 2002/06/22)
745	  interpreted within the day-grid as movement within that grid (request
746	  by David Anders).
747	+ correct missing initialization of last_getc variable in dlg_getc()
748	  (report/analysis by Victor Wodecki).
749	+ modify main program to make
750		dialog --no-shadow --print-maxsize
751	  work.  Normally dialog prints the screen size after subtracting the
752	  area reserved for shadows, but some applications may need the actual
753	  screen size (Debian #213424).
754	+ several related changes (Debian #213425):
755	  + separate the examples using "--stdout" and "--output-fd" from the
756	    normal usage examples.
757	  + add "--input-fd" option, provide a sample of its use.
758	  + modify init_dialog() to use initscr() unless a "--stdout" option
759	    was used.  Some scripts relied on the coincidence that redirecting
760	    standard output from dialog would "work".  Before this change
761	    init_dialog() assumed that redirected standard output was
762	    synonymous with "--stdout" option (not the intended behavior).
763	  + modify command-line parsing to look for "--stdout" and "--stderr"
764	    options first, allowing only one.
765	  + add a check for an environment variable $DIALOG_TTY which provides
766	    the older behavior, i.e., try to open the terminal directly if
767	    stdout is redirected.
768	+ interface changes, to make libdialog simpler to use:
769	  + rename all of the internal functions to begin with "dlg_", but
770	    provide compatibility with older names if the application defines
771	    __DIALOG_OLD_NAMES__.
772	  + add dialog_version() function, and corresponding DIALOG_VERSION and
773	    DIALOG_PATCHDATE definitions to dlg_config.h
774	  + eliminate remaining global variables such as screen_initialized in
775	    favor of dialog_state and dialog_vars.
776	  + move some data such as dialog_vars.output to dialog_state, since
777	    they are normally not reset between widgets.
778	  + change interfaces of dialog_yesno() and dialog_checklist() to use
779	    dialog_state.defaultno and dialog_vars.separate_output, making it
780	    simpler and more consistent.
781	+ improve configure script and related definitions:
782	  + add "--with-libtool" option to provide shared library support by
783	    libtool.
784	  + rename generated "config.h" to "dlg_config.h", so it can be
785	    installed without naming conflict.  Added "dlg_config.h" to
786	    install-lib rule.
787	  + modify configure script and makefile to use EXEEXT and OBJEXT.
788	  + add "--enable-widec" option to control whether wide-curses features
789	    are compiled-in, rather than check for the existence of those in
790	    the curses library.  This allows building with HPUX curses, which
791	    has abandoned legacy features while not quite supporting X/Open
792	    curses.
793	  + add configure check for getbegx(), etc., which are not provided on
794	    all platforms.
795	+ update config.guess, config.sub
796
7972003/10/02
798	+ update hu.po (Arpad Biro).
799	+ revert part of the 2003/08/18 change to "--stdout" option.  Using
800	  stderr for screen output does not work well on several platforms
801	  since stdout's settings are affected (report by Kent Robotti).
802
8032003/09/24
804	+ modify tailbox to allow it to display files with arbitrarily long
805	  lines.
806	+ fix an infinite loop in tailbox, broken when making interface changes
807	  to dlg_getc() (report by Ingo van Lil).
808	+ amend fix for "--and-widget" to not treat "---" as an option (report
809	  by Kent Robotti).
810	+ updated es.po (Santiago Vila).
811
8122003/09/10
813	+ correct "RENAMED" result from inputmenu widget, which did not reset
814	  the result buffer, and did not account for scroll-offset (Debian
815	  #209336).
816	+ modify button, menu and checklist logic that matches a character to
817	  the beginning of a text field to support wide-characters (completes
818	  Debian #195674).
819	+ modify configure script to not use "head -1".
820
8212003/08/30
822	+ modify searchbox popup in textbox widget so one can simply press
823	  return on an empty input to cancel the popup.
824	+ modify error reporting to avoid clearing screen if a problem is
825	  found in the ".rc" file.
826	+ add color/attribute combinations for form widget (based on patch by
827	  Reznic Valery).
828	+ combine rc-file colors, attribute- and color-tables to obtain a
829	  single table for color values, which requires less work to add new
830	  entries.
831	+ modify fselect widget to make back-tab work again, since it was
832	  broken by the rewrite of dlg_edit_string().
833	+ modify howmany_tags() so it will quit searching when it finds any
834	  option, not only "--and-widget" (Debian #206636).
835	+ correct call to dlg_print_text() in print_line(), which did not
836	  account for hidden characters (report/patch by David Poole).
837	+ modify print_button() to display properly if locale defines ok/cancel
838	  or yes/no buttons that contain multibyte characters.
839
8402003/08/20
841	+ correct an indexing error when deleting from the end of a line using
842	  KEY_DC; it happened to work on Linux because malloc() clears memory
843	  like calloc().
844	+ add '\r' to case statement where '\n' is translated to KEY_ENTER to
845	  work around defect in NetBSD curses.
846	+ modify configure check for getparyx(), etc., which are implemented
847	  by NetBSD curses as functions rather than macros.
848	+ correct configure check for term.h, which may be <ncursesw/term.h>
849	  if ncursesw development headers are installed, but not ncurses
850	  development headers.  Or they may not coincide (Debian #206287).
851
8522003/08/18
853	+ modify checklist.c and menubox.c to display tags properly if they
854	  contain wide-characters.
855	+ better solution for initializing curses when "--stdout" option is
856	  used, e.g., use stderr for the output if it is a tty.  Also correct
857	  the error handling, so dialog exits with an error if it cannot
858	  find a way to do output (Debian #205509).
859	+ modify sample scripts to use consistent definition of $DIALOG
860	  (Debian #205508).
861	+ add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro
862	  Kubota, Debian #195674).
863	+ modify print_line() to work with wide-characters, e.g., so it handles
864	  wrapping for double-width characters.
865	+ cache results from multibyte character indices, speeds up cursor
866	  movement.
867	+ modify form widget to support scrolling and mouse-selection.
868	+ add form widget (based on patch by Reznic Valery).
869	+ correct mouse-handling for inputmenu widget.
870	+ corrections to menu.c: location of clearing operation, and height of
871	  rows in code for older ncurses versions (patch by Reznic Valery).
872	+ improve logic that compensates for xterm's alternate-screen by
873	  cancelling the rmcup/smcup strings after the rmcup has been issued.
874	  That ensures that dialog will not clear the screen on exit (report
875	  by Javier Kohen).
876	+ modify initialization between widgets to retain the values for the
877	  --aspect, --separate-widget and --tab-len options.
878	+ add --separator as an alias for --separate-widget (compatible with
879	  Xdialog).
880	+ correct handling of Xdialog's --icon and --wmclass options, whose
881	  parameter was not ignored.
882	+ correct logic for --separate-widget so its string is written before
883	  each output, rather than only for --and-widget option (report by
884	  Javier Kohen).
885	+ improve limit-check in center_label() for buttons.c (report by Tor
886	  Vidar Havstad).
887	+ correct layout of --menu widget, which reduced display width due to
888	  logic for --inputmenu being applied whether or not that configuration
889	  was used (reports by Javier Kohen, Dimitar Zhekov and MAL
890	  <mal@komcept.com>).  Fixes Debian #201215.
891	+ modify gauge widget to support --begin option (Hans-Joachim Baader).
892	+ updated pl.po (Jaroslaw Swierczynski).
893	+ hide cursor while painting gauge.
894	+ add auto-sizing logic to gauge widget (reports by Javier Kohen and
895	  Robert Schubert).
896
8972003/07/20
898	+ rewrote inputstr.c, allowing it to enter and display wide-characters.
899	  Some nonprinting characters such as control/B can be edited as well.
900	+ modify timebox to allow user to type numbers into the fields.
901	+ change interfaces of dlg_getc(), mouse_wgetch(), etc., to add
902	  parameter that returns whether the result is really a function-key.
903	  This is needed to work with wide-character curses.
904	+ correct computation of week-number in calendar widget (report by
905	  Heiner Lamann).
906	+ updated configure script macros:
907	  + suppress -Winline with gcc 3.3, since it is broken.
908	  + fix caching bug in CF_UTF8_LIB
909	  + improved script for CF_BUNDLED_INTL.
910	+ update config.guess, config.sub
911
9122003/03/08
913	+ add null-pointer checks to some malloc calls which were overlooked.
914	+ correct logic in dlg_add_result(), which did not copy content of
915	  non-allocated buffer to the first allocation (report by Daniel
916	  Dupont).
917
9182003/03/02
919	+ correct an uninitialized value in dlg_add_result() (Debian #182683).
920
9212003/01/30
922	+ corrected print_line(), which subtracted the margin twice from the
923	  right-limit, making a string wrap unnecessarily (Debian #168823).
924	+ correct initial limit-check for arrows in checklist.c, which used
925	  the wrong variable, showing the bottom arrow when it should not
926	  (Debian #168823).
927	+ modify driver to always call show_result(), to simplify updates.
928	+ fix several memory leaks, important if dialog is run with a large
929	  number of widgets (report by albert.veli@telia.com forwarded by
930	  Santiago Vila).
931	+ check if the screen output is actually to the terminal before trying
932	  to suppress xterm's alternate screen mode (see 2000/01/18) (report by
933	  David Oliveira).
934	+ use dialog_vars.input_result consistently to return the text which is
935	  printed after a widget completes.  In many cases, dialog now
936	  allocates enough space to hold the text, rather than use a fixed
937	  buffer.  The checklist widget was writing directly to the output to
938	  avoid limits of the fixed buffer.
939	+ modify dialog.c to also write dialog_vars.input_result if the
940	  Help-button was pressed (request by Amon Ott).
941	+ add hu.po (Arpad Biro).
942	+ update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch
943	  by Frederic L W Meunier).
944	+ fix off-by-one error in menu.c, checklist.c (reported by
945	  Tomasz Wasiak 2002/09/15 and others:
946	  Andrew Gaul 2002/11/12,
947	  Tobias C Rittweiler 2002/11/19,
948	  Arpad Biro 2003/01/21).
949	+ updated configure script, improving checks for ncurses in various
950	  locations, updated NLS script to match lynx.  Added --with-curses-dir
951	  option.
952	> Tobias C Rittweiler:
953	+ make ifdef in mousewget.c consistent with usage in dialog.h
954	+ use beep() rather than flash() in dlg_edit_string(), for consistency
955	  with the other functions.
956	+ change order of buttons so extra button falls between Ok/Cancel.
957	+ fix so "dialog --print-maxsize" exits from curses.
958	+ add --inputmenu option.
959
9602002/08/14
961	+ modify checklist.c and menubox.c to treat the extra button like the
962	  "Ok" button by making dialog print the chosen items (request by
963	  Tobias C Rittweiler).
964	+ add examples checklist6 and menubox6 to illustrate the --colors
965	  option.
966	+ implement -colors option, which allows one to highlight words in the
967	  titles and most text areas with color or video attributes (adapted
968	  from patch by Tobias C Rittweiler).
969	+ add examples inputbox4, inputbox5 to illustrate how to use the
970	  --output-fd option, and how to use dialog without any temporary
971	  file at all.
972	+ add --output-fd option (Debian #153984).
973	+ documented vi-style keys for calendar, textbox widgets in manpage.
974
9752002/06/22
976	+ improve mouse handling, e.g., for up/down scrolling in calendar,
977	  checklist, etc.
978	+ add --extra-button and --extra-label options (adapted from patch
979	  by Tobias C Rittweiler).
980	+ correct displayed cursor position in inputbox when returning to the
981	  input area after traversing the buttons with tabs, etc.
982	+ add left/right arrows for traversal in calendar and timebox dialogs.
983	+ implement two new functions dlg_next_ok_buttonindex() and
984	  dlg_prev_ok_buttonindex(), using these to hide details about the
985	  traversal over buttons in several widgets.
986	+ modify checklist.c and menubox.c to verify if both --help-button and
987	  --item-help are specified before assuming that selecting the help
988	  button should cause the "HELP {item-help}" message to be printed
989	  (reported by Marcel Ritter).
990	+ modify init_dialog() to work around HP's broken tty driver (report by
991	  John Mudd).  Specifically, the problem is that when opening /dev/tty
992	  directly (to support the --stdout option), the terminal does not
993	  change to raw mode.  The workaround opens /dev/tty only as needed;
994	  the --stdout option does not work on HPUX but otherwise dialog works.
995	+ updated el.po (patch by kromJx <kromJx@crosswinds.net>).
996
9972002/05/19
998	+ add --no-collapse option to allow one to retain tabs and repeated
999	  blanks in a message box (request by Roberto Simoni).
1000	+ use DLG_EXIT_ESC constant rather than -1's in several places.  This
1001	  has the effect of changing some exit-with-error cases to denote that
1002	  the exit was because ESC was pressed (patch by Diego Alvarez,
1003	  forward by Santiago Vila).
1004	+ bump package version to 0.9b (with patch-date, as usual).
1005	+ add --exit-label option (request by Roberto Simoni).
1006	+ updated de.po to correct translation for "Cancel" (from Michael
1007	  Piefel, Debian #146402).
1008	+ use definitions from autoconf macro AC_HEADER_TIME to ensure that
1009	  time() is properly prototyped.
1010	+ update pl.po, adding translation for "Help" (patch by Jaroslaw
1011	  Swierczynski <swiergot@hacking.pl>).
1012	+ update COPYING file, to reflect address change of FSF (reported by
1013	  Santiago Vila).
1014	+ update some configuration script macros:  CF_CHECK_CACHE,
1015	  CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS.
1016	+ correct misuse of "$with_XXX" variables in the configure script,
1017	  which prevented configuration against curses library as opposed to
1018	  ncurses.
1019	+ update config.guess, config.sub
1020
10212002/03/09 (a)
1022	+ modify geometry of samples/fselect scripts to allow them to run in
1023	  a 24x80 screen (report/patch by Santiago Vila).
1024	+ correct exit-code for menubox.c when Cancel is pressed.  This was
1025	  unintentionally altered when adding --help-button (reported by
1026	  Patrick J Volkerding)
1027
10282002/03/09
1029	+ add --timeout option, which forces the program to exit with an error
1030	  if no user response is given within the specified number of seconds
1031	  (request by <andrew@argoncorp.com>).
1032	+ modify calendar widget to allow day/month/year values to default to
1033	  the current date (request by <Ron.Perrella@bellsouth.com>).
1034	+ modify display of buttons in checklist.c and menubox.c to handle the
1035	  case where the button label is empty (Debian #134388).
1036	+ extended logic for ok/cancel/help to make this work with checklist
1037	  widget.
1038	+ revert pt_BT.po, apply changes to pt.po (report by Frederic L W
1039	  Meunier).
1040	> several changes from Stanislav Ievlev:
1041	+ add options --help-button and --help-label to make menubox display a
1042	  third button which can be used to return an exit code causing the
1043	  calling script to show extended help information.
1044	+ use home/end keys in input string-editing, e.g., inputbox.
1045	+ add option --max-input to limit length of string returned by inputbox
1046	  and other widgets which allow the user to edit a string.
1047
10482001/12/02
1049	+ add --ok-label and --cancel-label options (request by Kyle Sallee).
1050	+ correct usage message for --fselect option (reported by Patrick J
1051	  Volkerding).
1052	+ add samples/debian.rc, for comparison with slackware.rc
1053	+ corrected samples/slackware.rc, which was just the compiled-in
1054	  default values (patch by Patrick J Volkerding).
1055	+ modify search rule for rc-file to add a global rc file /etc/dialogrc
1056	  (patch by Patrick J Volkerding).
1057	+ updated pt_BR.po with modified entries for fselect.c (Frederic L W
1058	  Meunier).
1059	+ add pl.po (Swiergot <swiergot@l02.ids.czest.pl>).
1060
10612001/11/11
1062	+ modify command-line parsing to allow a "--" argument to act as an
1063	  escape, so the next argument is not recognized as an option if it
1064	  begins with "--".  This is apparently one of popt's undocumented
1065	  features, upon which some Debian scripts depend (Debian #116642).
1066	+ add da.po (Morten Brix Pedersen <morten@wtf.dk>).
1067	+ add an install-strip rule to makefile, changing the normal install
1068	  rule to not strip the installed executable (based on discussion with
1069	  Santiago Vila).
1070	+ initialize my_output variable if user cannot open /dev/tty, e.g., if
1071	  su'd to another user (patch by Richard Braakman (<dark@ssh.com>), Debian
1072	  #117177).
1073	+ add configure option --with-ncursesw, to allow configure/build with
1074	  wide-character version of ncurses.
1075
10762001/10/14
1077	+ add option --ignore, to make dialog be ignore options that it does
1078	  not recognize.
1079	+ add option --trim, to trim literal newlines and repeated spaces from
1080	  text that will be displayed.  Add samples/msgbox2, which is the
1081	  same as msgbox1, but using --trim (cf: change for Debian #102942).
1082	+ minor correction to attributes for buttons.c to use active_attr on
1083	  the right-side of a button.
1084	+ add a sample dialog rc-file slackware.rc based on diffs in hdasetup
1085	  package at
1086		http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/
1087	  (discussion with Frederic L W Meunier).
1088	+ modify dialog.pl to avoid using a statically-named tempfile, allowing
1089	  multiple processes to use this script (patch by James Ranson
1090	  (<euclid80@yahoo.com>), Debian #110609).
1091	+ correct fprintf() call in j_menu() function, i.e., "--menu" option,
1092	  which did not guard against expanding '%' embedded in the parameters
1093	  (Stavros Chatzistefanidis <sxatz@yahoo.com>).
1094	+ add et.po (Ivar Smolin <okul@trenet.ee>).
1095	+ update fr.po (Frederic L W Meunier).
1096	+ modify to allow scripts to alter the exit codes, mainly to
1097	  distinguish ESC and ERROR exits.  This is done by setting a shell
1098	  variable such as DIALOG_ESC to a new value (request by Petr Vandrovec
1099	  (<vandrove@vc.cvut.cz>), Debian #99264)
1100
11012001/08/27
1102	+ use VPATH in makefile to support build with configure --srcdir, if
1103	  the make program supports that.  Note that samples/install/makefile
1104	  is not generated, due to awkward limitation of autoconf script
1105	  (reported by Frederic L W Meunier <0@pervalidus.net>).
1106	+ add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>).
1107	+ correct sense of --enable/--disable shown in configure --help (report
1108	  by Frederic L W Meunier <0@pervalidus.net>).
1109	+ correct logic for --clear option, broken in 2000/07/02 (fixes Debian
1110	  #110254).
1111
11122001/08/11
1113	+ porting fixes to work on AIX: flush output to work around bug in
1114	  curses library, use ./killall in scripts to avoid conflict with
1115	  AIX program by that name.
1116	+ modify dlg_trim_string() to retain literal newlines if the string
1117	  does not contain "\\n" strings, and to retain leading blanks on the
1118	  resulting lines, for compatibility with older scripts (Debian
1119	  #102942).
1120	+ add charset specification to cs.po
1121	+ change dates in CHANGES to consistent format, add el.po for Greek
1122	  (patch by kromJx <kromJx@crosswinds.net>).
1123	+ eliminate static globals (bss, data) from modules rc, tailbox,
1124	  textbox using better parameter-passing convention, and const.
1125	+ cleanup temporary files in a few of the sample scripts.
1126	+ rewrote tailboxbg using select() rather than fork(), thereby
1127	  eliminating lock-files.  Only one process should be trying to display
1128	  on the screen at any given time.
1129	+ add error check to ensure that numeric parameters are really numbers.
1130	+ correct off-by-one in error messages reporting too-few or too-many
1131	  tokens for a given option (reported by George Mirchev).
1132	+ fix typo in manpage, "textboxbg" where "tailboxbg" was meant
1133	  (reported by George Mirchev <la@mail.techno-link.com>).
1134	+ use DLG_EXIT_xxx symbols consistently for all exit codes.
1135	+ updated es.po (patch by Santiago Vila).
1136	+ updates for some configure script macros from lynx:  CF_MAKEFLAGS,
1137	  CF_NCURSES_VERSION, CF_PROG_EXT.
1138	+ fixes to compile if <term.h> is included, e.g., when building with
1139	  AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>).
1140
11412001/05/27
1142	+ updated dialog.pot
1143	+ modify fselect.c to work with autosize, i.e., given height and width
1144	  zero (report by Martin Povolny).
1145	+ add a null-pointer check in justify_text(), needed by fselect.c
1146	+ add several more options which dialog can safely ignore, from
1147	  Xdialog 2.0.2
1148	+ refinements for configure macros checking for $CPPFLAGS, from lynx.
1149	+ update config.guess, config.sub to match autoconf 2.50
1150	> Martin Povolny <martin@solnet.cz>:
1151	+ add cs.po
1152	+ use nl_langinfo() to customize names for day-of-week, and month
1153
11542001/05/11
1155	> Vincent Stemen <dialog@AdvancedResearch.org>:
1156          Fixed dialog.c to not pass menu items through dlg_trim_string().
1157          Stripping extra spaces out of the menu items broke some of my
1158          scripts by altering the string that it compared to know which menu
1159          item was selected.  There should be no need to do justification on
1160          the menu items, which are always one line, anyway.
1161
11622001/04/29
1163	> Vincent Stemen <dialog@AdvancedResearch.org>:
1164	+ rewrote the text justification code to be able to have preformatted
1165	  text in the prompts with extra spaces like the older versions of
1166	  dialog.  If there are "\n" strings in the text, then extra spaces are
1167	  preserved.  Lines are always wrapped on word boundaries.
1168        + fixed --cr-wrap to break lines on '\n' (newline) characters and not
1169          add an extra line at the top and bottom of the text.  It now works
1170          as the manual says it should.
1171	+ it is no longer necessary to use "\n\" at the end of lines to escape
1172	  the '\n' character.  "\n" now works.  However, the old way, "\n\"
1173	  still works.
1174        + the fixes involved the following changes:
1175          - rewrote dlg_trim_string() to recognize preformatted text (know
1176            when not to strip extra spaces) and to pay attention to --cr-wrap.
1177          - rewrote justify_text() which now calls a new function in util.c,
1178            print_line(), to print each line and end it on a word boundary.
1179	  - modified real_auto_size() to call a new function
1180	    auto_size_preformated() to calculate the box size for preformatted
1181	    text.
1182          - removed skip_blanks() and skip_text() since they are not used by
1183            the new justify_text().
1184          - modified dialog.c to not call dlg_trim_string() on title strings
1185            so that titles retain their spaces.
1186        + modified the following demo files in the sample directory:
1187          - inputbox
1188	      changed all "\n\" strings to "\n" to demonstrate the extra
1189	      backslash is no longer needed.
1190          - inputbox1
1191              removed all the "\n\" strings from the end of the lines to
1192              properly demonstrate --cr-wrap.
1193          - msgbox1
1194	      this sample was using "--aspect 9 --cr-wrap".  Rewrote it to
1195	      properly demonstrate --aspect.  9 is already dialog's default
1196	      aspect ratio.  It now creates several dialogs in sequence,
1197	      demonstrating aspect ratios of 9, 12 and 6 and properly
1198	      demonstrates --cr-wrap.
1199        + made the following changes to the manual (dialog.1).
1200          - rewrote the description of --aspect to be more understandable.
1201          - rewrote the description of --cr-wrap to be more correct and more
1202            detailed.  It did say, "Otherwise, the text for each dialog will
1203            display on a single line.", which is not correct.  It wraps the
1204            text to fit in the box.
1205	> T.Dickey:
1206	+ use logic from menubox dialog in checklist to handle autosizing when
1207	  list height is given as zero (fixes problem reported by Eric Veltman
1208	  <eveltman@baan.nl>).
1209	+ modify checklist and menubox dialogs to check for too-wide data, and
1210	  truncate one or both of the name and text fields to fit (also
1211	  reported by Eric Veltman).
1212	+ corrected a few items from Vincent's patch:
1213	  - use C89-style comments rather than C++
1214	  - restore logic in justify_text() which checks for win==0, needed to
1215	    work with standard curses implementations other than ncurses.
1216	    The first call on justify_text() passes a null pointer as a flag
1217	    to indicate that checking should be done, but no screen updates.
1218	  - avoid modifying the buffer in decode_percent(), otherwise a message
1219	    containing a space or newline would be truncated at the whitespace.
1220	  - modify dlg_button_x_step() and dlg_button_layout() slightly to
1221	    work with altered print_autowrap(), etc.
1222	+ fixes to build/work with SunOS 4.x 5lib curses
1223
12242001/04/15
1225	+ fix a memory leak in mouse_region().
1226	+ simplify handling of optional parameters with new functions
1227	  optional_str() and optional_num().
1228	+ add calendar and timebox dialogs (compatible with Xdialog).
1229	+ correct typo in fallback definition for getparyx, and remove void
1230	  cast for mouse_open and mouse_close which prevented build with
1231	  Sun's Solaris compiler.
1232	+ rename --enable-lxdialog configure option to --enable-Xdialog
1233	+ modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses
1234	  header files.
1235	+ update config.guess, config.sub
1236	+ modify some configure script macros to avoid problems with buggy
1237	  autoconf 2.49c which breaks changequote().
1238
12392001/01/15
1240	+ small fix to revised real_auto_size() and justify_text() to avoid
1241	  adding origin to box-width, which broke samples/wheel.
1242	+ apply 1999/12/25 tempfile change to wheel and copismall samples.
1243	+ add sample script for tailboxbg.
1244	+ revised lock-file management to better ensure that locks are actually
1245	  created by the tailbox subprocess(es).
1246	+ correct hardcoded signal 15 in tailbox to SIGHUP to match
1247	  documentation.  Signal 15 is usually SIGTERM, which cannot be caught.
1248	+ correct off-by-one comparison of return-value for arg_rest() which
1249	  made
1250		dialog --gauge test 10 50
1251	  dump core because it expected a 4th parameter (fixes Debian #80641).
1252	+ resync config.sub, config.guess from
1253	  http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have
1254	  cases for OS/2 EMX), minor tweaks to related configure script macros.
1255
12562000/12/17
1257	+ restore treatment of predefined height/width in real_auto_size()
1258	  which was lost in 2000/12/12 rewrite (report by Raphael Halimi
1259	  <raphaelh@easynet.fr>).
1260	+ updates for configure script macros AM_PATH_PROG_WITH_TEST,
1261	  CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS
1262	  fixes.
1263
12642000/12/13
1265	+ correct change for create_lock(), which resulted in an infinite loop
1266	  (patch by Chris Butler, <chrisb@debian.org>).
1267
12682000/12/12
1269	+ rewrote print_autowrap() and real_auto_size() to share common code
1270	  justify_text(), which now does text flow even when the string
1271	  contains newlines (fixes Debian #77199).
1272	+ improve create_lock() function using open() with O_EXCL rather than
1273	  fopen() (patch by Matt Kraai (<kraai@debian.org>), Debian #78951).
1274	+ correct description of --fselect in man page (patch by Tomas Pospisek
1275	  (<tpo@spin.ch>), Debian #77200).
1276	+ add --no-cancel as alias for --nocancel for compatibility with
1277	  Xdialog (report by Luis E Limon <luisl@abriasoft.com>).
1278
12792000/10/27
1280	+ some lint fixes using lclint (mostly void-casts, but some
1281	  sign-extension fixes e.g., for ctype.h macros, and loop in
1282	  dlg_char_to_button()).
1283	+ modified to build/run on OS/2 EMX with ncurses.
1284	+ minor changes to po/*.po (trim trailing blanks, provide explicit
1285	  translation for "OK"), to work with Solaris gettext.
1286	+ modified to allow this to build with archaic version (1.8.6)
1287	  of ncurses on FreeBSD 3.1 (does not run).
1288	+ update config.guess, config.sub from subversions.gnu.org
1289
12902000/10/17
1291	+ use new function sub_window() to check success/failure of calls to
1292	  subwin(), printing an error message if it fails (fixes Debian #74903).
1293	+ use combination of isatty/ttyname to look for workable tty device
1294	  on systems which have no /dev/tty, e.g., BeOS.
1295
12962000/10/08
1297	+ change exiterr() to use stdarg.h, make some messages easier to
1298	  understand.
1299	+ add dialog_clear()
1300	+ make samples/install/setup build.
1301	+ implemented mouse support for buttons, e.g., in yesno dialog using
1302	  ncurses (the gpm support no longer works, but is useful for reference)
1303	+ add a configure check for chtype.
1304	+ updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS,
1305	  CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts
1306	  config.guess, config.sub
1307	+ cleanup of item-help change, integrate with checklist and radiobox.
1308	+ add ja.po, from Hirofumi Takeda <takepin@turbolinux.co.jp>.
1309	> patch by Marco Mariani <marcom@sferacarta.com>
1310	+ add --item-help option, which makes menubox data interpreted as
1311	  3 columns rather than 2.  The third column is displayed on the
1312	  last line of the screen as a help/status message for the currently
1313	  selected item.
1314	+ add it.po, pt.po
1315	+ change TAG_KEY_HL to FALSE, making unselected items in checklist
1316	  easier to read on Linux console.
1317
13182000/07/30
1319	+ change real_auto_size() to allow it to be used for dialogs that have
1320	  no prompt, e.g., fselect.  Also, rather than requiring both height
1321	  and width to be given as -1 for maximizing the dialog, allow either
1322	  alone.
1323	+ increase minimum height needed for autosized yesno dialog.
1324	+ add --version as an alias for --print-version.
1325	+ fix for build on Solaris without NLS (cannot redefine 'gettext()').
1326	+ add fselect dialog (compatible with Xdialog).
1327	+ add --enable-lxdialog configure option.
1328	+ use new configure macro CF_ARG_MSG_ENABLE to show progress with
1329	  enable/disable switches.
1330
13312000/07/02
1332	+ implement --stdout and --stderr options as in Xdialog.
1333	+ move logic that translates "\\n" into '\n' into main program to
1334	  simplify logic that formats text.
1335	+ make ifdef's for rc-file not specific to ncurses.
1336	+ correct logic making percent parameter of gauge optional.
1337
13382000/06/29
1339	+ add alternate test-script for gauge, adapted from Xdialog.
1340	+ modify gauge to make optional a percentage which was read at the
1341	  beginning of the XXX-delimited message text, since clones of dialog
1342	  are written to assume this is text.  If the line is not a simple
1343	  integer, dialog will treat it as text.
1344	+ make the percent parameter of gauge optional, as in Xdialog.
1345	+ undo one use of CharOf() in guage.c, an error.
1346	+ fix configure macro AM_WITH_NLS to refrain from attempting to make a
1347	  symbolic link into/libintl.h if we are not using the bundled intl
1348	  directory from gettext (reported by Julian Coleman
1349	  <J.D.Coleman@newcastle.ac.uk>).
1350	+ add ru.po, from Michael Sobolev <mss@transas.com>
1351	+ updates for config.guess, config.sub from tin.
1352	+ updates for configure script macros:  CF_MATH_LIB (improperly nested
1353	  brackets/parenthesis) and CF_XOPEN_CURSES (make include of
1354	  <*curses.h> depend on configure tests).
1355
13562000/04/25
1357	+ repaint screen when a control/L is pressed.
1358	+ apply CharOf() macro to avoid sign-extension on calls to waddch(),
1359	  fixes a problem with accented characters (reported by Santiago Vila).
1360	+ add es.po, from Santiago Vila <sanvila@unex.es>
1361
13622000/04/23
1363	+ modified to use gettext (configure option --enable-nls).  This uses
1364	  gettext 0.10.35, which must be previously installed.  (It can also
1365	  use an included intl library, but I consider that to be a waste of
1366	  disk space).
1367	+ remove code in checklist/radiobox, menubox that try to use
1368	  abbreviations for the OK/Cancel buttons since those conflict with the
1369	  check for abbreviations in list entries, which are more useful.
1370	+ moved padding of button labels out of string literals, into the
1371	  logic of dlg_draw_buttons().
1372	+ resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY,
1373	  CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as
1374	  mkdirs.sh and config.guess.
1375
13762000/02/22
1377	+ add --default-item option, for menubox to set the default selection
1378	  (fixes Debian #49796).
1379	+ add sample scripts for --nocancel and --fb options with inputbox.
1380	+ modify inputbox* sample scripts to show application errors, if any.
1381	+ add --nocancel option, and ignore --noitem, --fb, --fullbutton, to
1382	  make this compatible with whiptail scripts.  (whiptail does not
1383	  handle many dialog scripts however).
1384	+ modify checklist/radiobox to handle home, end, nextpage, prevpage
1385	  keys, as well as make the abbreviation search work for the whole
1386	  list, not only the current page.
1387	+ treat KEY_LL the same as KEY_END in checklist and textbox.
1388	+ add logic for KEY_BTAB.
1389	+ use new function dlg_draw_buttons() to better manage the layout of
1390	  yes/no/ok/cancel buttons.
1391	+ another pass of cleanup of dialog.c, makes it use a single table for
1392	  lookup of option names and help-message.  Eliminated numerous
1393	  adjustments to 'offset' variable.
1394	+ on initialization, check if standard input is from a terminal.  If
1395	  not, open /dev/tty (fixes Debian #57771)
1396
13972000/02/05
1398	+ implement inline editing in textbox.c search dialog.
1399	+ revise inputbox.c, allowing inline editing with arrow-keys.  removed
1400	  redundant logic in that module.
1401	+ correct a typo that prevented rc-file configuration from building.
1402	+ correct ifdef's to compile/run if the curses implementation does not
1403	  support color.
1404
14052000/01/23
1406	+ improve test-case for gauge.
1407	+ change gauge.c to show progress in reverse-video, add a check for
1408	  end-of-file in the loop for reading new messages.
1409	+ use curses whline() function to simplify print_arrows() logic in
1410	  checklist.c and menubox.c
1411	+ use curses beep() function rather than hardcoded strings.
1412	+ correct several compiler warnings for gcc -pedantic (mismatch of
1413	  const, signed/unsigned).
1414	+ modify exiterr() to avoid possible expansion of '%'.
1415	+ change CF_MATH_LIB configure macro to allow specifying a particular
1416	  test-function.  For dialog, this should be sqrt().  The macro was
1417	  originally written for ncurses, which needs sin().  However, that is
1418	  a builtin function on the m68k port (reported by Roman Hodek
1419	  <Roman.Hodek@informatik.uni-erlangen.de>, this fixes Debian #55553).
1420
14212000/01/18
1422	+ update manpage (Debian #25648).
1423	+ modify configure test for math library to avoid using a constant
1424	  parameter to the test function, lest gcc optimize the call away
1425	  (fixes Debian #55553).
1426	+ restructure help-message so actual problem is indicated.  The original
1427	  help-message is shown if no parameters are given, or if the --help
1428	  option is specified alone.
1429	+ suppress xterm's alternate screen mode by sending an exit_ca_mode
1430	  after initscr if the terminal looks like xterm, e.g., has key_mouse
1431	  defined, and has private-mode escapes in both enter_ca_mode and
1432	  exit_ca_mode (fixes Debian #55181).
1433	+ change yellow lettering on white to blue on white, since it offers
1434	  better contrast (fixes Debian #51196).
1435	+ use napms() rather than sleep().
1436	+ some cleanup/simplification of main program.  Indent'd dialog.c and
1437	  util.c
1438	+ eliminate several places where repeated options are treated as
1439	  an error, since they are really executed once anyway.
1440
14412000/01/15
1442	+ remove pre-autoconf Makefile
1443	+ remove sleep's from a few of the sample scripts, which left users
1444	  thinking that dialog was slow to complete an action.
1445	+ rewrote infobox sample script, using dialog's --sleep option and
1446	  a loop in the script.
1447	+ change 'ch' variable in tailbox.c to an integer, because it is
1448	  compared against EOF (fixes Debian #53157).
1449	+ corrected mandir variable in makefile.in (reported by Santiago Vila).
1450	+ small changes to sample scripts, from Debian: rename "guage" script
1451	  to "gauge", change path to copy of GPL used in textbox.
1452	+ add uninstall rule to makefile.in, fixed some dependencies so
1453	  "make install" works without first doing "make all".
1454
14551999/12/25
1456	+ use more portable scheme for tempfile generation in samples.
1457	+ add a configure script, prefer to not use the original Makefile
1458	  because it works only with GNU make.
1459	+ correct prototype of 'main()', which misused const.
1460	+ modify guage.c to use fgets() rather than gets().
1461	+ merge changes from Debian package maintainer
1462	  Santiago Vila <sanvila@ctv.es>:
1463
1464	  1999/10/07
1465		+ add a password dialog box.
1466		+ implement "--defaultno" option to specify if the default for
1467		  the yes/no box is "No".
1468	  1999/03/10
1469		+ modify input.c to clear the input field to the right of the
1470		  given string (unclear:  this seems redundant, since the
1471		  dialog is drawn in a new window).
1472	  1998/12/08
1473		+ check for list_height less than one in checklist.c
1474	  1998/10/21
1475		+ use function wscrl() in preference to scroll() in checklist.c
1476		  and menubox.c (unclear: in ncurses, scroll() is a macro that
1477		  uses wscrl()).
1478		+ remove the "-I/usr/include/ncurses" option from Makefile
1479		  since Debian does not install ncurses' header files into
1480		  that directory.
1481	  1998/09/12
1482		+ simplify menubox.c using new functions print_arrows() and
1483		  print_items().
1484		+ add logic to handle KEY_NPAGE and KEY_PPAGE.
1485		+ change sample scripts to use Debian tempfile utility rather
1486		  than putting files into /tmp.
1487		+ change sample scripts to use 'dialog' from user's path rather
1488		  than in the parent directory as in the build directory.
1489		+ use the system copy of GPL rather than that in the build
1490		  directory as an example for the textbox script.
1491
14921999/11/27
1493	+ fix some gcc warnings about ambiguous use of "else"
1494
14951999/05/01
1496	+ cleaned up some of the redundant code with new functions:
1497		box_x_ordinate
1498		box_y_ordinate
1499		draw_title
1500		draw_bottom_box
1501		new_window
1502
1503	+ modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch
1504	  handling in ncurses 4.2
1505
1506	+ corrected spelling of "gauge"
1507
1508The relevant portions of the Debian change log for the original version
1509(dialog-0.9a-12) are abstracted here, omitting details of their packaging:
1510
15111998/05/24
1512
1513	+ Replaced guage.c by the one in dialog 0.6z, which is known to work.
1514	  Fixes Bug #18284: unstable dialog.
1515
15161997/12/16
1517
1518	+ dialog.c:  dialog_input_result printed with "%s" format.  This was
1519	  Bug #9913, fixed by Bill Mitchell, but the change was lost.
1520	+ Pristine source, .depend is not removed in clean target.  Instead, it
1521	  is made zero lenght (otherwise it would not work *without* fakeroot).
1522	+ Added '^U' support in input box (Bug #9915, patch by joey@debian.org).
1523	+ Wrote patch to fix core-dumping problem (Bug #13170).  Sven Rudolph
1524	  <sr1@inf.tu-dresden.de>:
1525
1526-- vile:fk=8bit
1527