xref: /freebsd/contrib/dialog/CHANGES (revision cc16dea626cf2fc80cde667ac4798065108e596c)
1-- $Id: CHANGES,v 1.458 2013/05/24 00:23: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
72013/05/23
8	+ modify ifdef in arrows.c to work around packages which use the
9	  wide-character ncursesw headers with the ncurses library (report
10	  by Aleksey Cheusov).
11	+ correct workaround for xterm alternate-screen to work with/without
12	  the fix made in ncurses that makes putp() always write to the
13	  standard output (Debian #708829).
14	+ improve limit-checks for checklist, in case the dialog is resized
15	  (report by Ilya A Arkhipov).
16	+ add --last-key option (adapted from patch by Jordi Pujol, Debian
17	  #697607).
18
192013/03/15
20	+ update zh_TW.po, add an.po from
21		http://translationproject.org/latest/dialog/
22
232012/12/30 - release 1.2
24	+ improve some older changelog entries to help with HTML'izing content.
25	+ various fixes/improvments for scrollbar appearance.
26	+ add mappings for some equivalent options provided by whiptail;
27	  add configure option --disable-whiptail to allow suppressing these.
28	+ add configure option --disable-Xdialog2 to allow suppressing the
29	  newer features, i.e., for cdialog 1.2
30	+ add --no-items option, for consistency.
31	+ add --no-tags option, like Xdialog.
32	+ add buildlist, rangebox and treeview dialogs, like Xdialog.
33	+ remove obsolete workaround for ncurses 4.2 scrolling in checklist
34	  and menubox.
35	+ improve dialog_helpfile() by preventing it from showing extra buttons
36	  (suggested by xDog Walker).
37	+ correct logic in formbox's scroll_next() function (report by xDog
38	  Walker).
39	+ fix a case with inputbox widget where preset input text is not shown
40	  until moving the cursor within the text (report by xDog Walker).
41	+ handle SIGCHLD in dialog_prgbox() to eliminate defunct processes
42	  (report by xDog Walker).
43	+ improve the way "hotkeys" are assigned to widget buttons by checking
44	  if a given key has already been used in the row of buttons (Debian
45	  #684933).
46	+ amend fix for --trace parsing from 2012/07/03, which sometimes
47	  skipped a parameter (report by xDog Walker).
48	+ drop copismall and install files from samples, which were essentially
49	  nonfunctional.
50	+ correct secondary border colors in samples/slackware.rc and
51	  samples/whiptail.rc
52	+ update gl.po, add ia.po from
53		http://translationproject.org/latest/dialog/
54	+ fix various issues reported by coverity scan.
55	+ miscellaneous configure script fixes/updates:
56	  + require autoconf 2.52+patches
57	  + support --datarootdir option
58	  + check for clang compiler
59	  + check for tinfo library when looking for ncurses
60	  + add 3rd parameter to AC_DEFINE for autoheader
61	  + remove unused macros from aclocal.m4
62	+ update config.guess, config.sub
63
642012/07/06
65	+ modify samples/setup-tempfile to work with Tru64's shell.
66	+ modify inputmenu sample scripts to make them more portable:
67	  + use "id" rather than "$GROUPS", use sed to work with Solaris.
68	  + use sed to split-up the rename results to work with HPUX.
69	+ fix regression in msgbox (ArchLinux #30574)
70
712012/07/03
72	+ modify prgbox widget to work with --extra-button, etc.
73	+ add case values to several widgets to allow for mouse-clicks with
74	"--extra-button" and "--help-button" additions.
75	+ correct timebox widget's exit code for "--extra-button" when handing
76	  the "enter" key.
77	+ modify msgbox widget to honor "--extra-button".
78	+ corrected processing of "--trace" option, which did not update the
79	  index into command-line to point past its value.
80	+ add a check in dialog program for valid characters used in option,
81	  e.g., to generate an error if a script attempts to add option value
82	  using "=" rather than with whitespace.
83	+ add new command-line option --default-button and library function
84	  dlg_default_button() to retrieve the value set by the option
85	  to provide a way to set the default button directly rather than
86	  by combining --nook, etc. (patch by Zoltan Kelemen).
87	+ amend include of unctrl.h to apply only to the case where curses.h
88	  is included, to avoid conflict of ncurses' unctrl.h with a system
89	  implementation (report by Martin Roedlach)
90	+ add limit-check to dlg_toupper() in non-wide curses mode to work
91	  when non-character values such as arrow-key codes are passed to
92	  it (patch by Zoltan Kelemen).
93	+ override timeout value, e.g., as set via --timeout command-line
94	  option in pause widget because that interferes with pause's behavior
95	  (report by Jan Spitalnik).
96	+ modify samples/inputmenu* to allow ":" in renamed text (report by
97	  Andreas Stoewing).
98	+ modify double-quoting to make it more consistent, i.e., checklist
99	  output is quoted only when needed.  This fixes the case where
100	  single-quotes were used whether or not needed, but also modifies
101	  older checklist behavior for double-quoting which always added those
102	  (Debian #663664).
103	+ correct exit-code used in inputmenu for "rename" button (Debian
104	  #673041, forwarded from Ubuntu #333909, patch by Lebedev Vadim).
105	+ update el.po and hr.po from
106		http://translationproject.org/latest/dialog/
107	+ use checkbashisms to clean up sample scripts.
108
1092012/02/15
110	+ modify menubox.c to use the same improvement as in checklist.c
111	+ improve auto width computation for checklist widget by using
112	  dlg_calc_list_width as in the non-auto case (Edho Arief).
113	+ eliminate some bashisms in the sample scripts (Pedro Giffuni).
114	+ makefile fixes from FreeBSD ports (Li-Wen Hsu):
115	  + make --with-package option of configure script work.
116	  + get LIBTOOL_VERSION from configure script, needed by
117	    ${LIBTOOL_VERSION} in LIBTOOL_CREATE (LIB_CREATE in configure and
118	    aclocal.m4)
119	+ update cs.po and sr.po from
120		http://translationproject.org/latest/dialog/
121	+ updated configure script macros, improving CF_XOPEN_SOURCE among
122	  other fixes.
123
1242011/10/20
125	+ fix --analyze warnings for clang versions 2.8, 2.9.
126	+ add configure check for lint program.
127	+ add check in dlg_getc() in case its window is freed as a side effect
128	  of removing callbacks.
129	+ fix logic in freeing subwindows (report by xDog Walker).
130	+ fix a regression in logic distinguishing between inputmenu and menu
131	  widgets (report by xDog Walker).
132	+ minor fixes to library manpage.
133
1342011/10/18
135	+ modify header-sh.in to work around limit on sed script length on
136	  HPUX.
137	+ add a special case of parameter parsing for "--trace" to the
138	  initialization done before calling init_dialog(), to allow users to
139	  capture the initial state of the parameter list before any options
140	  are processed and removed.  This is only done if "--trace" is the
141	  first option, otherwise it is handled in the common options as before
142	  (report by xDog Walker).
143	+ modify samples/testdata-8bit, discarding $1 from the parameter list
144	  if it was used, so that the source'ing scripts can consistently use
145	  "$@" to insert parameters before the widget, e.g., as an alternative
146	  to using $DIALOGOPTS (report by xDog Walker).
147	+ modify treatment of function pointers in menubox.c, make
148	  dlg_renamed_menutext() and dlg_dummy_menutext() visible to library
149	  users (request by xDog Walker).
150	+ add dlg_count_real_columns(), use to modify centering for "--hline"
151	  text to account for "\Z"s (report by xDog Walker).
152	+ improve check in dlg_draw_arrows2() for conflict between the window
153	  title and up-arrow marker to take into account that the given window
154	  may not be the top-level window of the widget.
155	+ change width of page up/down mouse areas in fselect panes to use the
156	  full width of the panes rather than only the portion from the left
157	  margin to the up/down arrow.
158	+ add/use dlg_draw_box2() and dlg_draw_bottom_box2() to use the
159	  secondary borders.
160	+ modify rc-file read/write to accept/generate color values that refer
161	  to previously-processed items in the color table.  This reduces the
162	  number of distinct colors that must be specified to set up a color
163	  scheme.
164	+ add color table entries for secondary borders, i.e., the ones that
165	  are normally drawn with the dialog's text-colors (Debian #641168).
166	+ modify fselect.c to scan the current directory if the input field
167	  happens to be empty (Debian #640905).
168	+ repeated the discussion of environment variables that can override
169	  the exit-status values in the manpage's return-codes section
170	  (Debian #642105).
171	+ add an example to the manpage showing how to override the form
172	  widget's keys used for field/button traversal (Debian #642108).
173	+ modify call to dlg_register_window() in formbox.c so that the editing
174	  bindings are attached to the form sub-window rather than the
175	  top-level dialog window.  Also change the name by which the editing
176	  bindings are bound for editbox.c, fselect.c and inputbox.c, so that
177	  the editing and navigation bindings can be different.
178	+ correct logic in dlg_lookup_key() so that it matches the widget name
179	  before using a binding from .dialogrc, allowing the inner/outer
180	  windows of form and other editing widgets to have different bindings.
181	+ modify dlg_register_window() to call dlg_dump_window_keys() after
182	  its updates, via the --trace output, to supplement the manpage
183	  description of key bindings (Debian #642108).
184	+ add DLGK_FORM_PREV and DLGK_FORM_NEXT key-bindings to form.c, to
185	  allow binding a single key to traverse both form-fields and buttons
186	  (Debian #642108).
187	+ modify dlg_parse_rc() to check for error return from
188	  dlg_parse_bindkey().
189	+ add function dlg_dump_window_keys(), to help with debugging widgets.
190	+ add CR, LF, TAB, FF and ESC to table of curses names to help make
191	  key bindings more readable.
192	+ update table of dialog key-names so that helpfile and trace are
193	  dumped properly.
194	+ correct dlg_dump_keys(), which was showing only the first item in
195	  the matched binding table.
196	+ save/restore window current position in dlg_update_mixedgauge().
197	+ pass return-code from pause_for_ok() from dlg_progressbox() when
198	  pauseopt is set, rather than only DLG_OK.
199	+ call setlocale() in init_dialog() rather than relying on on-demand
200	  use within inputstr.c, since there are paths in textbox widget which
201	  do not exercise the latter (report by xDog Walker).
202	+ fix some places where checks for "\Z" were done without also checking
203	  dialog_vars.colors (report by Moray Henderson).
204	+ correct logic for DIALOGOPTS parsing so that the parse happens only
205	  once unless memory leak checking is enabled (report by xDog Walker).
206	+ remove an incorrect free() call in dlg_free_gauge() (report by xDog
207	  Walker).
208	+ modify dlg_trace_win() to log wide-characters (report by xDog Walker).
209	+ make traces shorter by skipping repeated ERR's, but showing the
210	  number skipped (report by xDog Walker).
211	+ improve description in manpage to distinguish program box and
212	  progress box from tailboxes (adapted from email by xDog Walker).
213	+ modify dlg_trace_win() so that it looks for the topmost window in a
214	  dialog.  Because subwindows share space with the top window, tracing
215	  the latter shows the whole widget (report by xDog Walker).
216	+ expand tracing so that each window is traced before soliciting input,
217	  making the ^T feature to print a window on demand partly redundant
218	  (suggested by xDog Walker).
219	+ cosmetic change in dialog.h to avoid "*/*" strings from comments next
220	  to "*" (report by xDog Walker).
221	+ ensure result from dlg_align_columns() has trailing null on each
222	  string.  Analysis was hindered by libc6's continuance of libc5's
223	  early-1990s misfeature of clearing the result from malloc, noting
224	  that libc6's documentation incorrectly claims that it does not do
225	  this (report by xDog Walker).
226
2272011/07/07
228	+ modify util.c to work better with old versions of ncurses:
229	  + suppress use of wchgat() before fix in 20060715 which is needed
230	    for simple shadow manipulation used here in 2011/06/30 (report
231	    by xDog Walker).
232	  + add a null-pointer check in dlg_print_scrolled()
233	+ fix a regression in dlg_getc() introduced by changes to intercept
234	  F1 for help-popup (report by xDog Walker).
235
2362011/06/30
237	+ correct license statement for prgbox.c (Debian #632198).
238	+ correct layout when "--colors" is used, by discounting characters in
239	  the escape sequences from the column counts (report by xDog Walker).
240	+ modify dlg_checklist() so that only one item in the list can
241	  initially be selected (report by xDog Walker).
242	+ add/use macro dlg_enter_buttoncode() to improve implementation of
243	  "--nook" option (report by xDog Walker).
244	+ add option "--no-nl-expand" to suppress the conversion of "\n"
245	  strings into newlines (request by xDog Walker).
246	+ modify LIB_CREATE symbol in makefile.in to include the library
247	  dependencies such as ncurses.  This is needed when dynamically
248	  loading the library (report/analysis by xDog Walker).
249	+ modify dlg_exit_label() to suppress the Cancel button, for
250	  consistency.
251	+ modify dlg_exit_label() to honor the --nook option, except when there
252	  is no other button, e.g., the help-button.
253	+ modify dlg_exit_buttoncode() so that it returns the proper code for
254	  help-button (report by xDog Walker).
255	+ correct loop limit when processing "--column-separator" (report by
256	  xDog Walker).
257	+ modify handling of "--version" and "--help" to ensure that they are
258	  processed, and exit before widgets.  Separate "--print-version"
259	  from "--version", allowing its output to be interspersed with
260	  widget output (report by xDog Walker).
261	+ correct a few places where "--version" or "--help" options went
262	  always to stdout rather than allowing redirection with the "--stderr"
263	  option (report by xDog Walker).
264	+ improve repainting after erasing a widget and its shadow.
265	+ add "--hline" and "--hfile" options for compatibility with FreeBSD
266	  dialog (request by Devin Teske).
267	+ add dialog version message when opening a trace file (request by
268	  xDog Walker).
269	+ show filename of rc-file in traces.
270	+ add piped-in data for gauge widget to traces.
271	+ add entrypoints to gauge widget, for allocating, updating and freeing
272	  the widget (adapted from patch by Stephen Hurd).
273	+ fix a reference to freed memory in the gauge widget.
274	+ fix --no-mouse option by actually closing the mouse (report by
275	  xDog Walker).
276	+ add sk.po from
277		http://translationproject.org/latest/dialog/
278	+ limit Solaris xpg4 portability fix for redefinition of ERR to cover
279	  the specific value found in <sys/regset.h>, in case an application
280	  includes dialog.h after curses.h (FreeBSD #156601, report by Jaakko
281	  Heinonen, Stephen Hurd).
282	+ updated configure macros:
283	  + CF_CURSES_CPPFLAGS,
284	  + CF_CURSES_LIBS, make checks for special libraries on hpux10 and
285	    sunos4 optional
286	  + CF_CURSES_FUNCS, workaround for bug in gcc 4.2.1 (FreeBSD 8.1)
287	    which caused part of test program to be omitted, i.e., when it saw
288	    two return-statements in a row it omitted the _first_ one.  Also
289	    add expression to pointer check to help FreeBSD's linker decide it
290	    should be validated.  Just an assignment was not enough.  Also, add
291	    check for unctrl.h
292	  + CF_CURSES_HEADER, change order for curses.h / ncurses.h pairs to
293	    put ncurses.h first, which will tend to provide the same #define's
294	    as in CF_NCURSES_HEADER (report by Dennis Preiser).
295	  + CF_CURSES_TERM_H, modify to avoid spurious check for
296	    <curses.hterm.h> if there is no ncurses version.  Look for
297	    ncurses's term.h anyway, to work around breakage by packagers who
298	    separate ncurses' header files.
299	  + CF_DISABLE_RPATH_HACK, fix garbled message
300	  + CF_LD_RPATH_OPT, add mirbsd
301	  + CF_MAKEFLAGS, filter out GNU make's entering/leaving messages.
302	    This only appeared when using the macro in a dpkg script, though it
303	    should have in other cases.
304	  + CF_RPATH_HACK, add a check for libraries not found, e.g., from
305	    suppressed functionality of gcc in linking from /usr/local/lib, and
306	    add a -L option to help work around this.
307	  + CF_XOPEN_SOURCE, workaround for cygwin to get ncurses' configure
308	    script to define _XOPEN_SOURCE_EXTENDED (cygwin's features.h
309	    doesn't do anything, so it needs a crutch).
310	+ update config.guess, config.sub
311
3122011/03/02
313	+ add --prgbox and --programbox (adapted from patch by David Boyd).
314	+ add sl.po from
315		http://translationproject.org/latest/dialog/
316	+ fix timeouts from 2011/01/18, which were being interpreted as
317	  milliseconds rather than seconds (report by Luis Moreira).
318
3192011/01/18
320	+ fix inconsistency in return-codes for textbox when help-button is
321	  used by making dlg_exit_buttoncode() a wrapper for
322	  dlg_ok_buttoncode().
323	+ modify pause widget to use dlg_ok_buttoncode(), so help-button works.
324	+ correct two infobox sample scripts, which did not pass extra
325	  command-line parameters due to quoting problems.
326	+ add a limit-check to the timebox widget (patch by Garrett Cooper).
327	+ modify --trace option to also trace the command-line parameters.
328	+ account for combining characters when wrapping text (Debian #570634).
329	+ correct handling of SIGWINCH in gauge widget (Debian #305705).
330	+ add gauge_color, to make guage's progress-bar distinct from
331	  title_color (request by Dominic Derdau).
332	+ update fi.po from
333		http://translationproject.org/latest/dialog/
334	  as well as resync line-numbers in the other po-files.
335	+ modify configure script and dialog program to build with NetBSD's
336	  wide-character curses functions, including workarounds for its
337	  incorrect WACS_xxx definitions.  Some of the UTF-8 examples work.
338	+ add back-tab for traversal of tailboxbg widgets, for symmetry with
339	  tab-traversal.
340	+ reduce flicker in tailboxbg by checking if the input file size has
341	  changed.
342	+ modify internals of callbacks to avoid blocking reads of their
343	  associated files by keyboard input.
344	+ add command-line option --no-mouse, to suppress use of mouse.
345	+ add configure option --enable-header-subdir to allow the header files
346	  to be installed into a subdirectory named for the package.
347	+ modify dlg_restore_vars() to retain the updated values of
348	  input_result and input_length, eliminating the need for a caller to
349	  provide their own user buffer (prompted by report by Thiago Bimbatti
350	  Felicio).
351	+ add a null-pointer check in show_result() for
352	  dialog_vars.input_result, and ensure it is set to null after freeing
353	  (prompted by report by Thiago Bimbatti Felicio).
354	+ change order of -I options in CPPFLAGS (report by Michel Feldheim)
355	+ modify pause-widget so that it no longer exits when an unrecognized
356	  key is pressed (patch by Creidieki M Crouch).
357	+ add --with-package option to configure script to allow renaming
358	  of the dialog program and library, to support the package scripts.
359	+ add Debian and RPM package scripts for test-builds.
360	+ several improvements to configure script:
361	  + quote params of ifelse()
362	  + change obsolete ${name-value} to standard ${name:-value}
363	  + use new macros CF_ADD_LIB/CF_ADD_LIBS to enforce consistency.
364	  + AM_GNU_GETTEXT, drop $MKINSTALLDIRS, use "mkdir -p" consistently.
365	  + CF_ADD_SUBDIR_PATH, workaround - if $prefix was not mkdir'd yet, no
366	    directories were added.
367	  + CF_BUNDLED_INTL, add --with-textdomain option, to use with lynx-dev
368	    package
369	  + CF_FIND_LINKAGE, simplify save/restore of $LIBS
370	  + CF_GCC_WARNINGS, fix for Mac OS X (compiler makes conftest.dSYM
371	    directory)
372	  + CF_HEADER_PATH, don't search for variations of everything in the
373	    current include-path
374	  + CF_WITH_CURSES_DIR, move the calls to CF_ADD_INCDIR and
375	    CF_ADD_LIBDIR for the curses-directory here, from
376	    CF_NCURSES_CPPFLAGS and CF_NCURSES_LDFLAGS, so it will work even
377	    with the default checking, e.g., no --with-ncurses, etc.
378	+ update config.guess, config.sub
379
3802010/04/28
381	+ several improvements to configure script:
382	  + modify CF_CURSES_TERM_H to handle cases such as cygwin where
383	    packager has installed curses.h and term.h in different
384	    directories, e.g., to wedge in a termcap library.
385	  + modify CF_XOPEN_SOURCE, adding special case for OpenSolaris
386	  + modify CF_MAKE_TAGS to add check for exctags and exetags, prefer to
387	    ctags and etags to work around pkgsrc (NetBSD) renaming.
388	  + correct CF_FIND_LINKAGE, setting cache variable for library_file in
389	    the special case where no directory search is made.
390	  + improve CF_GCC_VERSION, suppress stderr for c89 alias of gcc.
391	  + improve CF_GCC_WARNINGS, moving -W and -Wall into the list to
392	    check, since c89 alias for gcc complains about these options.
393	  + modify CF_HEADER_PATH, to not search for variations of everything
394	    in the current include-path
395	  + use "mkdir -p", remove mkdirs.sh
396	  + use CF_CURSES_HEADER to fill in possible subdirectory used for
397	    ncurses header filename.
398	  + modify CF_XOPEN_CURSES to work around current ncurse header loss of
399	    predefinition of _XOPEN_SOURCE_EXTENDED
400	  + add "--disable-rpath-hack" option, along with scripting to add
401	    rpath option to libraries found in unusual places.
402	+ modify pause widget to autosize like gauge, and to omit the area for
403	  buttons when none are displayed.
404	+ fix an infinite loop in dlg_button_layout() if there are no buttons
405	  to display (Debian #579390).
406	+ add makefile rules for generating html, etc., documentation from
407	  nroff.
408	> patches by Samuel Mart�n Moro
409	+ reset errors in tailbox before reading new character.
410	+ modify dlg_draw_scrollbar(), omitting hiding percentages in boxes
411	  when no arrows or scrollbar are needed.
412	+ correct value of row for scrollbars in formbox.
413	+ update es.po from
414		http://translationproject.org/latest/dialog/
415
4162010/01/19
417	+ split up binding tables in inputbox and similar widgets to avoid
418	  conflict between cursor-key use for input-string versus navigation
419	  (report by slakmagik).
420	+ if strftime() is available, support --time-format option for timebox
421	  widget.
422	+ if strftime() is available, support --date-format option for calendar
423	  widget (request by Walter Harms).
424	+ build-fixes for linking to intl library in /usr/local
425	+ add --scrollbar option, use in most widgets to show a scrollbar on
426	  the right margin of the data.  That is cosmetic, does not respond to
427	  the mouse.
428	+ reuse functions from msgbox to allow prompt for yesno box to be
429	  scrolled in a too-small window.
430	+ correct mapping of button-codes with --nook option (report by Lebedev
431	  Vadim).
432	+ cleanup sample scripts using new utility scripts setup-* and report-*,
433	  and allow command-line parameters to be added, for ad hoc testing.
434	+ correct change to tailbox widget from 2009/02/22 using
435	  dlg_button_layout(), which broke that widget.
436	+ document some of the portability caveats.
437	+ modify gauge widget to service callbacks (prompted by patch and
438	  comments by Frank Sorenson).
439	+ modify editbox to allow its input buffer to be larger than MAX_LEN
440	  unless bounded by the --max-input option, and add limit-checks for
441	  the buffer (report by slakmagik).
442	+ improve manpage description of --checklist (report by Isaac Good).
443	+ several improvements to configure script macros:  CF_ADD_CFLAGS
444	  CF_CURSES_FUNCS CF_DISABLE_ECHO CF_GCC_ATTRIBUTES CF_MATH_LIB
445	  CF_POSIX_C_SOURCE CF_REMOVE_DEFINE CF_WITH_LIBTOOL CF_XOPEN_SOURCE
446	+ add is.po, lv.po, sw.po from
447		http://translationproject.org/latest/dialog/
448	+ update de.po, id.po, pl.po, pt_BR.po, vi.po from
449		http://translationproject.org/latest/dialog/
450
4512009/02/22
452	+ do not display top-arrows for scrolling if they would overwrite the
453	  title (report by slakmagik)
454	+ consistently use dlg_button_layout() when autosizing widgets (report
455	  by slakmagik).
456	+ add "-" and "+" bindings to timebox widget.
457	+ add "-" and "+" bindings to calendar widget (OpenSolaris #6739031).
458	+ review/fix other widgets to ensure that they exit on error, e.g.,
459	  editbox.c
460	+ modify check in dlg_getc() to treat closure of either stdin or stdout
461	  as an error, rather than both.  This is more stringent than the check
462	  added in 2007/07/04.
463	+ modify dlg_result_key() to map curses ERR to dialog's error exit
464	  (adapted from patch by Domagoj Pensa).
465	+ updated several configure script macros:
466	  + consistently append, rather then prepend, to $CFLAGS
467	  + add cases for AIX 6, mint, and dragonfly to CF_XOPEN_SOURCE
468	  + use $PATH_SEPARATOR rather than $PATHSEP
469	  + improve CF_FIND_LINKAGE, use in checks for more libraries, e.g.,
470	    libutf8 and libiconv.
471	+ update da.po, ru.po from
472		http://translationproject.org/latest/dialog/
473	+ update config.guess, config.sub
474
4752008/08/19
476	+ amend changes to quoting; by default, the checklist widget quotes its
477	  output except when --separate-output is used (Debian #495600).
478	+ add eo.po from
479		http://translationproject.org/latest/dialog/
480
4812008/07/27
482	+ add pointer-check when closing piped input (cf: 2007/03/25)
483	+ use here-documents rather than echo, when passing backslashes in
484	  strings, to accommodate the Debian shell "dash" (Debian #489563).
485	+ recode several ".po" files to UTF-8 for consistency.
486	+ change --separator to be an alias for --output-separator, for
487	  compatibility with Xdialog.
488	+ add --output-separator option to allow scripts to change the output
489	  separator from a newline (for --separate-output) or a space.  This
490	  applies to other widgets such as forms and editboxes which normally
491	  use a newline.
492	+ add --column-separator option, to tell where column-aligned data for
493	  radio/checkboxes or menus should be split into columns (request by
494	  Ben Dibbens).
495	+ add id.po, ku.po, lt.po, nb.po and update ca.po, fr.po, gl.po, ja.po,
496	  th.po from
497		http://translationproject.org/latest/dialog/
498	+ add "--quoted" option, to quote values returned by formbox, etc.
499	+ change names of EX/ES macros in dialog.1 to work around name-
500	  pollution caused by changes in Debian #470729.
501
5022008/03/16
503	+ modify dlg_mouse_wgetch() to loop only on errors that it detects,
504	  rather than on errors forwarded from dlg_getc(), in case those are
505	  due to a disconnected terminal (report by Anatoli Sakhnik).
506	+ allow "default" color in dialogrc file (request by Dashing).
507	+ fix an indexing error in formbox (Debian #469190, report by Dmitry
508	  Gomerman, patch by Vladimir Mezentsev).
509	+ add bindings for CTL/N, CTL/P to checklist, fselect and menubox
510	  widgets (prompted by discussion with John Gatewood Ham).
511	+ add be@latin.po, th.po and update zh_TW.po from
512		http://translationproject.org/latest/dialog/
513	> patches by Peter Astrand:
514	  + modify dlg_auto_sizefile() to ensure the computed height and width
515	    do not extend beyond the screen size.
516	  + use unctrl() to make inputstr.c work with Solaris curses.
517	> patches by Yura Kalinichenko:
518	  + extend pause widget to use ok/cancel buttons (the former giving the
519	    same result as a timeout), rather than an exit-button.
520	  + fix initialization parameter of inputbox for multibyte characters.
521
5222007/10/28
523	+ improve layout of checklist.c, menubox.c, ensuring that the list fits
524	  within the available space (report by Gordon Schumacher).
525	+ undo removal of redundant chunk from checklist.c in 2007/02/27,
526	  since some scripts depend on this (Debian #443077).
527	+ update nl.po from
528		http://translationproject.org/latest/dialog/
529
5302007/09/30
531	+ correct cursor position in editbox after deleting past left margin
532	  (report by Joe McDonagh).
533	+ add "--no-ok" option (patch by Klaus Knopper).
534	+ modify "--file" option to allow it to read from sources other than
535	  a regular file (patch by Pieter van Beek).
536	+ improved hi.po (Hindi) (from Klaus Knopper).
537	+ fix masking of attributes in dlg_draw_shadow() which lost
538	  line-drawing bit (report by David Everly).
539	+ fix editbox widget to handle zero-length files (report by Joe
540	  McDonagh).
541	+ update "po" files eu.po ga.po it.po ms.po sv.po vi.po wa.po zh_CN.po
542	  from
543		http://translationproject.org/latest/dialog/
544
5452007/07/04
546	+ revise the resizable shadows so textbox's search dialog has text
547	  visible in the shadow again.
548	+ improve the prefixing of autoconf-related symbols in the installed
549	  header files, taking into account symbols which are not mentioned in
550	  dlg_config.h
551	+ add a check when ERR returned from wgetch() to ensure that the
552	  input/output streams are still valid.  If that happens, force
553	  ESC to be returned, quitting dialog (report by Reiner Huober).
554	+ add extern "C" declarations to dlg_keys.h so the corresponding
555	  function declarations are exported to C++ as C symbols.
556	+ update config.guess, config.sub
557
5582007/06/04
559	+ fix a memory leak in editbox.c
560	+ revise change from 2007/02/27 which moved the logic for trimming
561	  option text out of the loop because that moved it before
562	  initialization of the "--trim" option.  Put it back in the loop, but
563	  limit the tokens which are trimmed to cover only those for the
564	  current widget.  Also ensure that all tokens for a widget are
565	  trimmed, rather than only the first, which is usually text (report by
566	  Lai Zit Seng).
567	+ add _FILE_OFFSET_BITS definition in CF_LARGEFILE configure macro.
568
5692007/05/28
570	+ revise changes needed to make textbox's searchbox handle ncurses
571	  resizing events, e.g., by handling the ERR in that code rather than
572	  in dlg_getc() (Debian #423732).
573
5742007/05/14
575	+ supply a repaint_text() call in tailbox.c which was bypassed because
576	  dlg_getc() now retries on ERR (Debian #423732, cf: 2007/02/27).
577	+ modify dlg_getc() to fix regression in 2007/02/27 for use of
578	  timeouts, broken by fixes to allow resizing of textbox (patch by
579	  Arnaud Fontaine, Debian #418905).
580	+ modify dlg_getc() to fix regression in use of TAB for traversal of
581	  tailboxbg widgets due to changes for user-definable key bindings
582	  (Debian #418917, cf:  2005/12/07).
583
5842007/04/09
585	+ add case in dlg_getc() to handle tab for traversing between widgets
586	  as in the samples/tailboxbg1 script.  Normally the key binding
587	  overrides, except for the special case where multiple widgets are
588	  available.
589	+ add configure --with-libtool-opts, which passes its value to the
590	  library creation and linkage passes, e.g.,
591	  	--with-libtool-opts=-static
592	  to force the result to be static libraries (prompted by a related
593	  request by Santiago Vila).
594	> several fixes based on Coverity scan:
595	+ fix memory leak in timebox, calendar widgets if the widget cannot
596	  be created.
597	+ fix memory leak in dlg_key.c if a user binding's storage cannot
598	  be allocated.
599	+ fix improperly delinked entry in dlg_del_window().
600
6012007/03/25
602	+ improve mkdirs.sh to ignore error from mkdir if the target directory
603	  happens to already exist (suggested by Harald van Dijk).
604	+ amend documentation for --gauge to reflect longstanding quirk which
605	  allows it to read percentage from the first line after an "XXX"
606	  (Debian #415596).
607	+ fix makefile dependency so "configure && make install-lib" works.
608	+ fix resizing of msgbox; the message was not repainted (Debian
609	  #415022, patch by Brian Rolfe).
610	+ fix typo in makefile LIB_OBJECT symbol from 2007/02/27 changes.
611	+ improve CF_MBSTATE_T by including stdio.h, needed on Tru64 to make
612	  the test-compile work.
613	+ change makefile to install dialog.3 as part of install-lib rather
614	  than install-man (report by Thomas Klausner).
615	+ use $(INSTALL_SCRIPT) for installing dialog-config (report by
616	  Santiago Vila).
617
6182007/02/27 - release 1.1
619	+ mark as "dialog 1.1"
620	+ add dialog-config script, which provides applications with compile-
621	  and link-information for using the dialog library.
622	+ move calls to dlg_trim_string() out of loop in dialog.c, so each
623	  string is trimmed once (report by Ivanov Makcim).
624	+ modify textbox.c to allow resizing while the search box is presented.
625	  This relies on bug-fix in ncurses 5.6 20070224.
626	+ use dgettext() rather than gettext() to allow libdialog to use the
627	  messages installed for dialog (patch by Vajna Miklos).
628	+ modify inputbox to position the cursor initially at the end of any
629	  initial-text (request by Klaus Knopper).
630	+ add configure --with-valgrind for testing.
631	+ add --trace option, for debugging.
632	+ add --ascii-lines and --no-lines options to control the way the
633	  line-drawing characters are rendered (request by Klaus Knopper).
634	+ add --keep-tite option, to override suppression of smcup/rmcup
635	  (termcap ti/te) strings which would switch to xterm's alternate
636	  screen (Debian #380665).
637	+ modify fselect/dselect to use space-character as a completion
638	  operator like tab in shells (patch by Yoram Bar Haim).
639	+ remove a redundant chunk from checklist.c which reported status a
640	  second time if the help-button was pressed but no item-help option
641	  was in effect (Andre C Barros).
642	+ fix return-status from "dialog --pause" (Debian #409254).
643	+ add --mixedform and --mixedgauge dialogs based on patch from
644	  Kiran Cherupally.
645	+ add some notes on compatibility to the manpage.
646	+ add editbox dialog (compatible with Xdialog, Debian #368478).
647	+ add dselect dialog (compatible with Xdialog).
648	+ remove an incorrect initialization of .text_flen from 2005/12/07
649	  changes, which made all fields in a form editable (Debian #404045).
650	+ report error and exit if a filename given for the --file option
651	  cannot be opened (report by "Dog Walker").
652	+ make --program-prefix, etc., work in configure script, e.g., to make
653	  program install as "cdialog".  This does not alter the library name.
654	+ add install-bin, install-man (and uninstall) rules to makefile.
655	+ updates for configure script macros (originally vile, lynx, xterm):
656	  AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, CF_CURSES_CPPFLAGS,
657	  CF_CURSES_LIBS, CF_INCLUDE_DIRS, CF_LARGEFILE, CF_MAKEFLAGS,
658	  CF_PATH_SYNTAX, CF_SUBDIR_PATH, CF_SUBST, CF_WITH_DBMALLOC,
659	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL and CF_XOPEN_SOURCE.
660	+ update config.guess, config.sub
661	> adapted fixes from SuSE package (Werner Fink):
662	  + add some limit-checks in dlg_draw_shadow().
663	  + make shadows resizable, using new dlg_move_window() in msgbox.c
664	    and yesno.c
665	  + add dialog_state.input, use this in end_dialog() to decide whether
666	    to close pipe inputs and call _exit(), or simply call exit().
667	  + modify dlg_ctl_size() to check if the reason for failure is because
668	    shadows were used; retry in that case without shadows.
669	  + add signal catcher for SIGSEGV.
670
6712006/02/21
672	+ fix logic in split-out dlg_menu() to separate inputmenu and menu
673	  handling (report by Auke Kok).
674
6752006/01/26
676	+ fix fselect.c to compile properly with Intel compiler and largefile
677	  option.
678	+ improve configure script checks for curses headers to work around
679	  breakage in some packages, e.g., cygwin.
680	+ amend correction to menubox, fixes normal menus (Debian #349969).
681
6822006/01/19
683	+ completed dialog.3 manpage
684	+ modify configure script option --with-gauge to cover all flavors of
685	  the gauge (gauge, pause, progressbox).
686	+ add progressbox widget, a hybrid of gauge and tailbox (Reznic Valery).
687	+ fix a comparison in checklist.c to avoid unneeded arrows when the
688	  list happens to fit in the window (patch by Peter Postma).
689	+ correct wrapping computation in print_line() from 2005/11/07 changes
690	  (report by Barry Kauler).
691	+ update sv.po (comments only).
692		http://www.iro.umontreal.ca/translation/maint/dialog/
693	+ correct logic that passes the callback for menubox to do inputmenu
694	  operations from 2005/12/7 changes (report by Reznic Valery).
695
6962006/01/01
697	+ add a null-pointer check in dlg_register_buttons(), needed for the
698	  tailboxbg (Debian #345524).
699	+ fix a few memory leaks reported by valgrind.
700
7012005/12/19
702	+ correct return-values of new functions dlg_default_listitem() and
703	  dlg_default_formitem() (Debian #344002).
704	+ add Swedish translation (Debian #343303, by Daniel Nylander)
705	+ begin function-summaries in dialog.3
706	+ update config.guess, config.sub
707
7082005/12/07
709	+ change license to LGPL.
710	+ change naming convention in dlg_colors.h to make it easier to read,
711	  and incidentally remove the last chunk of code preventing relicense.
712	+ add --passwordform (request by Reznic Valery).
713	+ modify pause.c, msgbox.c to work with --help-button.
714	+ modify formbox.c, inputbox.c, textbox.c, yesno.c to work with extra
715	  button (adapted from Reznic Valery patch).
716	+ modify dlg_exit_label(), dlg_yes_labels() and dlg_ok_label() to allow
717	  help-button (prompted by Reznic Valery patch).
718	+ add zh_CN.po file from
719		http://www.iro.umontreal.ca/translation/maint/dialog/
720	+ provide alternate interfaces for dialog_checklist(), dialog_menu()
721	  and dialog_form():  dlg_checklist(), dlg_menu() and dlg_form()
722	  (discussion with Michael Gebetsroither).
723	+ add/use dlg_result_key() to allow binding function keys to the
724	  buttons.
725	+ implement user-definable key bindings in the rc-file.
726	+ modify inline cases for KEY_xxx values to use binding tables in new
727	  module dlg_keys.c
728	+ add several DIALOG_STATE items to the rc file:  aspect,
729	  separate_widget, tab_len and visit_links
730	+ add a tab-adjustment to dlg_print_text() to improve solution from
731	  2005/10/30, e.g., in the samples/form* scripts.
732	+ fix an off-by-one which made mouse-selection not work for menu items
733	  past the first page (GenToo #112024, patch by Harald van Dijk).
734
7352005/11/07
736	+ extend dlg_add_result() to allow caller to pass a null pointer
737	  for dialog_vars.input_result (Debian #336986).
738	+ correct length used for text portion of radio/checkboxes (report by
739	  Valentin Stoykov).
740	+ modify msgbox, textbox and center_label() to work properly for
741	  LANG=bg_BG.utf8 examples by Valentin Stoykov.
742	+ modify use of freopen() to work with opaque FILE type on DragonFly
743	  (report by Jeremy C Reed).
744	+ modify print_line() to compute columns, use that for the call to
745	  dlg_print_line().  Fix a few places where strlen() was used instead
746	  of dlg_count_columns() (reports by Valentin Stoykov).
747
7482005/10/30
749	+ reviewed changes since beginning development in 1999, decided that
750	  there are no appreciable portions of original code remaining.
751	  Marked sources to correspond.
752	+ improve cache performance for inputstr.c using tsearch() rather than
753	  a linked-list search (Debian #294853).
754	+ remove a special case for darwin in CF_XOPEN_SOURCE configure macro.
755	+ add ms.po file from
756		http://www.iro.umontreal.ca/translation/maint/dialog/
757	+ remove an assignment that caused the cursor to appear initially on a
758	  form field rather than button (Debian #333506).
759	+ modify buttons.c to count columns rather than bytes, fixing case
760	  where buttons were laid out incorrectly (report by Valentin Stoykov).
761	+ change dlg_print_text() to count columns rather than bytes, fixing
762	  case where fewer columns were displayed in menu than expected
763	  (report by Valentin Stoykov).
764
7652005/10/05
766	+ improve fix for dlg_does_output(), eliminating redundant leading
767	  separator.
768	+ fill background color for item-help text (report by Peter Postma).
769	+ correct interaction between --separate-output and --output-separator
770	  broken in 2005/09/11 fix for Debian #326918 (Debian #331440).
771	+ update config.guess, config.sub
772
7732005/09/11
774	+ undo doubled adjustment for left/right margins when wrapping text
775	  for msgbox, gauge and pause (report by Xyba).
776	+ correct position of scrolled text in formbox broken by 2004/12/19
777	  changes (report by Konrad Jelen).
778	+ call dlg_does_output() from dlg_add_result(), ensuring that
779	  separators are used when combining widgets such as formbox (report by
780	  John Suykerbuyk).
781	+ fix marker in textbox.c to make it disappear at the top of the file
782	  (report by Patrick J. Volkerding).
783	+ fix marker shown in arrows.c for checklists, etc., which was "(+)"
784	  where it should have been "(-)" (report/patch by Patrick J.
785	  Volkerding).
786	+ fix --input-fd (changes in glibc since 2003 made dialog hang on exit
787	  due to the way dialog updated stdin).
788	+ restore default value (a tab) for --separator or --separate-widget
789	  lost in 2003/11/26 changes (Debian #326918).
790	+ make several widgets handle SIGWINCH (calendar, checklist, formbox,
791	  fselect, inputbox, menubox, pause, tailbox, textbox, timebox).  Only
792	  msgbox and yesno had been done before.  Note that some still have
793	  fixed geometry requirements, so they cannot be shrunk below a given
794	  threshold.  Also, these changes do not address traversal, e.g., for
795	  tailboxbg.
796	+ make gauge widget handle SIGWINCH with ncurses (Debian #305705).
797	+ add configure option to control whether largefile support is
798	  compiled-in (Debian #298882).
799	+ update eu.po (Debian #312622, patch by Piarres Egana).
800	+ add/update po files from
801		http://www.iro.umontreal.ca/translation/maint/dialog/
802	  fi.po, rw.po, sr.po, tr.po, zh_TW.po
803	+ fixes for configure script:
804	  + improve script for determining gcc version
805	  + improve checks for Intel compiler and related warning options
806	  + improve checks for defining _XOPEN_SOURCE (or alternatives) and
807	    _POSIX_C_SOURCE
808	+ update config.guess, config.sub
809
8102005/03/06
811	+ add/update po files from
812		http://www.iro.umontreal.ca/translation/maint/dialog/
813	  ga.po, it.po
814	+ revert last change for da.po; it was from an older version (report by
815	  Morten Brix Pedersen).
816
8172005/02/06
818	+ modify makefile.in so --disable-echo applies to libtool builds.
819	+ corrected malloc size used for editable fields in formbox widget to
820	  match the function which updates the corresponding buffer.
821	+ modify formbox widget's use of flen to allow negative values to be
822	  used to limit the length of the displayed field.
823	+ improve description in manpage of output from formbox widget
824	  (Debian #292418).
825	+ modify formbox widget to allow fields with flen==0 to display
826	  (Debian #292417).
827	+ improved configure macros CF_POSIX_C_SOURCE and CF_XOPEN_SOURCE, to
828	  avoid redefinition warnings on cygwin.
829	+ fix a typo in inputmenu-stdout found via "sh -n" (report by Steve
830	  Grubb).
831	+ add/update po files from
832		http://www.iro.umontreal.ca/translation/maint/dialog/
833	  ca.po, da.po, hu.po, nl.po, rm.po, ro.po, vi.po
834
8352005/01/16
836	+ add --args option to help with debugging scripts.
837	+ adapted some new po files from Debian package for whiptail:  ar.po,
838	  bg.po, gl.po, hi.po, hr.po, mg.po, mk.po, ro.po, sq.po and zh_TW.po
839	+ update da.po (Morten Brix Pedersen).
840	+ add configure check for Intel 8.0 compiler, to set appropriate
841	  warning options.
842	+ update config.guess, config.sub
843
8442004/12/22
845	+ correct a typo in 2004/12/19 changes which caused width of multibyte
846	  characters to be incorrectly computed in some locales.
847	+ modify --version and --help options to write consistently to the
848	  standard output (report by Santiago Vila).
849	+ modify tailboxbg by resetting tty modes at the point where it forks a
850	  process to update the screen, rather than waiting until that process
851	  exits.  This improves user feedback by making it apparent that dialog
852	  is no longer processing input after that point (Redhat #142538).
853	+ minor updates to some .po files using Babel Fish, comparing with lynx.
854	+ update es.po (Santiago Vila).
855	+ work around bug in NetBSD 1.6 curses which seems to be confused by
856	  reusing color pairs with different video attributes.  The problem
857	  does not appear in NetBSD 2.0 curses (but its headers do not provide
858	  version info, so color-caching is not available for that
859	  configuration).
860	+ modify pause and gauge widgets to ensure that reverse-video progress
861	  bar is visible when the background is reversed, e.g., using the
862	  default non-color attributes.
863	+ use chtype rather than attr_t, to build with old Solaris curses,
864	  used in save/restore operation from 2004/09/20.
865
8662004/12/19
867	+ add pause-widget (patch by Yura Kalinichenko).
868	+ modify exit-code returned on selecting the "Help"-button when the
869	  --item-help option is given.  Previously this returned the same code
870	  as "OK", since it combines output for "OK" with the help status.  It
871	  now returns the help-code, but this can be overridden by setting the
872	  environment variable $DIALOG_ITEM_HELP (reports by Erika Pacholleck
873	  and Sebastian Muesch).
874	+ modify formbox widget so input-length is not limited to field-length
875	  (report by David Liebermann).
876	+ localize the label on the search box for textbox widget (report by
877	  Erika Pacholleck).
878	+ correct usage message detail for fselect, which listed an extra
879	  parameter (Debian #284008).
880	+ add include for <sys/select.h> in ui_getc.c to build with QNX 4.25
881	  using Watcom 10.6 (patch by Len Meakin).
882	+ modify behavior when no locale (or POSIX locale) is set to allow
883	  legacy interpretation of Latin-1 character set (Debian #284795).
884
8852004/11/18
886	+ correct computation of column width for menubox/checkbox tags, for
887	  multicolumn characters, e.g., the menubox-utf8 example.
888	+ correct calls to wbkgdset(), which set the background attribute but
889	  not the corresponding character (ncurses uses blank if none is given).
890	+ improve configure script check for _XOPEN_SOURCE and _POSIX_C_SOURCE.
891	+ improved limit-computation in show_message() to allow for scrolling
892	  very long messages.
893	+ adjust scrolling logic in msgbox to account for the one-line offset
894	  used by the logic which wraps text in a box, thus avoiding leaving
895	  an extra blank line (report by Maxim Sobolev).
896
8972004/09/20
898	+ add samples/whiptail.rc
899	+ add samples/dialog.py (noting that a later version of this exists
900	  as pythondialog, but this is relatively self-contained).  Modified
901	  the script to accept the $DIALOG environment variable like the other
902	  sample scripts, to specify the path of the program to use.
903	+ modify the install rule for header-files so the autoconf names in
904	  dlg_config.h (and corresponding usage in dialog.h, etc), are altered
905	  from "HAVE_xxx" to "DLG_HAVE_xxx", etc.
906	+ add a check for getenv("HOME") in rc.c
907	+ add a call to end_dialog() in signal_handler for tailboxbg (from
908	  patch by Werner Fink).
909	+ correct initialization in checklist and radiobox for --default-item,
910	  scrolling as needed.
911	+ modify --visit-items option so that it puts the cursor initially on
912	  the list (in menubox, checklist and radiobox), accepts abbreviations
913	  for the buttons when the cursor is on the button-row, and otherwise
914	  (when --visit-items is given) abbreviations apply only to the list
915	  (report by Erika Pacholleck).
916	+ modify a few widgets (inputbox, textbox, yesno) to beep on unexpected
917	  input.
918	+ modify some msgbox widget to accept abbreviations of its button
919	  label, for consistency with other widgets (request by Erika
920	  Pacholleck).
921	+ corrected logic of dlg_char_to_button(), making it check only the
922	  first uppercase letter in each button label rather than all uppercase
923	  letters (report by Erika Pacholleck, cf: 2003/09/10).
924	+ improved description of --clear and --keep-window options (adapted
925	  from Erika Pacholleck).
926	+ move discussion of --beep and --beep-signal options to Obsolete
927	  Options section of manpage, remove these from the help-message
928	  (report by Erika Pacholleck).
929	+ bracket extern's in dialog.h with C++ extern "C" declaration, in case
930	  the library is used from a C++ application.
931	+ modify inputmenu examples to allow ESC to cancel the script.
932	+ modify inputmenu widget to cancel edit on a TAB or ESC.
933	+ modify inputmenu widget to use the same color scheme for the editable
934	  text as the inputbox widget.
935	+ modify samples/killall to work around differences in "cut" versions.
936	+ use the color-caching from the \Z logic when loading the ".rc" file,
937	  thereby reducing the number of color pairs required, and making it
938	  less likely that deriving color pairs for drawing arrows on a given
939	  background will run out of colors.
940	+ save/restore window attributes in dlg_draw_arrows() and similar
941	  functions, to allow widgets to draw arrows using the widget's
942	  background rather than a common/fixed value (request by Erika
943	  Pacholleck).
944	+ modify textbox widget so the down-arrow will be hidden when at the
945	  end of the file.  (Modifying the up-arrow to be hidden is harder -
946	  will do this when implementing scrollbars).
947	+ correct off-by-one in fselect.c which left down-arrows showing at
948	  the bottom of directory- and file-lists (report by Erika Pacholleck).
949	+ improve display of percentages by omitting blanks where lines should
950	  be shown.
951	+ modify logic for \Z escapes to make those that set video attributes
952	  not clear the colors (report by Erika Pacholleck).
953	+ modify logic for \Z escapes to allow foreground and background
954	  colors to be the same, provided that bold attribute is set.
955	  Also improved the logic for choosing a background color when the
956	  foreground and background are the same (report by Erika Pacholleck).
957	+ updated configure script macro CF_XOPEN_SOURCE, ensuring that the
958	  _POSIX_C_SOURCE value is defined with a specific value (bug report
959	  originally for lynx).
960	+ fix configure script so that po/makefile is generated properly when
961	  the configure --srcdir --enable-nls options are used.
962	+ modify makefile.in to allow build/install from another directory,
963	  i.e., using configure --srcdir (patch by Mike Castle).
964	+ updated da.po (Debian #262587, Morten Brix Pedersen).
965	+ modify some sample scripts to avoid using grave quotes nested within
966	  double quotes with multiple file redirection, which does not work
967	  with Solaris /bin/sh (report/analysis by Eric Haller).
968	+ check for end of string immediately after a \Z escape to avoid
969	  displaying the null terminator as a ^@ (report by Erika Pacholleck).
970	> patches by Erika Pacholleck:
971	+ modify calendar.c, fselect.c and timebox.c to use color scheme like
972	  other lists, using menubox colors rather than dialog colors.
973	+ correct charset for po/de.po, translate messages for "Help" and
974	  "Rename".
975	+ omit parentheses around percentage in textbox.c
976	+ correct a few mismatched attributes, e.g., searchbox_attr in textbox.c,
977	  percentage in msgbox.c,
978
979
9802004/07/31
981	+ add test scripts to cover zero-width column case.
982	+ remove limit checks from checklist.c and menubox.c (cf: 2004/07/28),
983	  since some scripts use zero-width columns (Debian #262411 and report
984	  by Kyle Sallee).
985
9862004/07/29
987	+ modify msgbox.c to only reserve space for percentage shown as part
988	  of scrollable text for the msgbox widget.  This makes infobox look
989	  as it did before 2004/06/06 changes (report by Vinesh Christopher)
990
9912004/07/28
992	+ remove redundant calls to wtimeout() from widgets since wtimeout()
993	  is properly called from ui_getc() where it is controlled by the
994	  --timeout option (bug report by juanjo).
995	+ add limit checks in checklist.c and menubox.c for very narrow screens
996	  (prompted by Steve Grubb patch).
997	+ initialize step in dlg_draw_buttons() in case it is used to draw
998	  a vertical list of buttons (prompted by Steve Grubb patch).
999	> fixes by Steve Grubb:
1000	+ correct logic in checklist.c (cf: 2003/11/26 changes) which turned
1001	  quoting on unnecessarily for radiobox, breaking some old scripts.
1002	+ increase size of array in dlg_ok_labels() to avoid overrun if extra
1003	  and help buttons are used (cf: 2002/06/12 changes).
1004	+ initialize fkey variable in menubox.c and textbox.c (cf: 2003/07/12).
1005
10062004/07/21 - release 1.0
1007	+ minor updates for configure script, i.e., CF_XOPEN_SOURCE,
1008	  CF_NCURSES_LIBS macros.
1009	+ update config.guess, config.sub
1010	+ add nl.po (Jacques Weewer).
1011
10122004/06/06
1013	+ add --visit-items option, which allows the user to tab to the item
1014	  list in the checklist/radiobox and menubox widgets (request by
1015	  Ari Moisio).
1016	+ use wide-character line-drawing for up/down arrows when configured
1017	  for wide-characters, gives better results with uxterm.
1018	+ limit the number of times a --file option can be used, to prevent
1019	  runaway recursion if a --file option is embedded within a file which
1020	  is included.
1021	+ improve discussion of wrapping in the manpage (Debian #251937).
1022	+ modify msgbox to allow it to scroll vertically like textbox (Debian
1023	  #233276).  This only works with ncurses.
1024	+ implement $DIALOGVARS environment variable to apply common options to
1025	  dialog_vars when it is reset before processing other common options.
1026	+ add --single-quoted option to control whether output is double-quoted
1027	  with '"' or single-quoted with single-quotes.
1028	+ revert the default quoting behavior of checklists to use
1029	  double-quotes (report by Mark K Post regarding Slackware scripts).
1030	+ add eu.po (Basque) (Piarres Beobide Egaa).
1031	+ add ca.po (Catalan) (Jordi Mallach).
1032
10332004/04/21
1034	+ add a call to flushinp() to init_dialog(), to discard any typeahead
1035	  before dialog is invoked (Debian #244746).
1036	+ correct dlg_match_char() function, which was broken during rewrite
1037	  to support wide-characters (Debian #244777).
1038	+ improved ru.po, uses UTF-8 charset (Leonid Kanter, Redhat #119200).
1039	+ correct position of shadow drawn for dialogs, which appeared to work
1040	  for most versions of curses (other than NetBSD) but would have been
1041	  visible for certain color schemes (discussion with Julian Coleman).
1042	+ correct loop-exit in longest_word() (Tomas Heredia, forwarded by
1043	  Santiago Vila).
1044	+ add cy.po (Welsh) (Dafydd Harries).
1045
10462004/03/16
1047	+ modify quoting of results to use single-quote rather than double
1048	  quote, and ensure that results containing a quote or backslash
1049	  character are escaped (report by Florent Rougon)
1050	+ remove an incorrect comparison from checklist which made cursor
1051	  stick on the last line, from 2004/03/01 changes.
1052
10532004/03/14
1054	+ add a dependency to install library if "--with-libtool" is used.
1055	+ add manpage for the library.
1056	+ add "--file"
1057	+ modify formbox.c to support "--help-status" like menubox.
1058	+ modify checklist.c to add item name to the "HELP" string when
1059	  "--help-button" is used and no --item-help option is given (Debian
1060	  #236841, report/patch by Jorg Sommer).
1061	+ rename colors.h to dlg_colors.h, install that when the library is
1062	  installed.
1063	+ add copyright notice to usage ("--help") message.
1064	+ correct a missing bounds check for mouse-clicks in menubox (prompted
1065	  by Debian #233044).
1066	+ updated several configure-script macros:  AM_GNU_GETTEXT,
1067	  AM_WITH_NLS, CF_OUR_MESSAGES, CF_PROG_EXT, CF_WITH_DBMALLOC,
1068	  CF_WITH_DMALLOC, CF_WITH_LIBTOOL, CF_XOPEN_SOURCE.
1069
10702004/03/01
1071	+ improve layout of calendar widget to allow for very long button
1072	  labels (report by Santiago Vila).
1073	+ correct logic for $DIALOG_TTY, broken in 2003/11/30.  The environment
1074	  variable must evaluate to a nonzero integer (report by Florent
1075	  Rougon).
1076	+ document interaction between "--default-no" and "--no-cancel" options
1077	  in manpage (Debian #223488).
1078	+ change configure script to use autoconf 2.52+patch, to work around
1079	  issues with Estonian locale (report by Seemant Kulleen).
1080	+ add uk.po (Ukrainian) (Debian #232441).
1081	+ make --default-item apply to checklist widget (Debian #225255).
1082	+ correct a missing check for --item-help when --help-status was given
1083	  for checklist (Debian #232921).
1084	+ correct a missing bounds check for mouse-clicks in checklist (Debian
1085	  #233044).
1086	+ update config.guess, config.sub
1087
10882003/12/07
1089	+ correct infinite loop in yesno widget when "--defaultno" option is
1090	  combined with "--no-cancel" (Debian #223077).
1091
10922003/11/30
1093	+ suppress double-quotes added for "--help-status" option if the
1094	  string does not contain any special characters.
1095
10962003/11/26
1097	+ add samples/sourcemage.rc, for comparison with slackware.rc
1098	+ add "--insecure" option (request by Sean Mathews (DrWho@f34r.com)).
1099	+ make "--defaultno" option apply to widgets which use OK/Cancel
1100	  buttons as well (Debian #209030).
1101	+ improve documentation of exit-codes for each widget in the manpage
1102	  (Debian #217926).
1103	+ add option "--keep-window" to suppress repainting after completing
1104	  each widget (request by Ingo van Lil).
1105	+ add options "--yes-label" and "--no-label" to allow override of the
1106	  "Yes" and "No" strings (request by Christoph Zwerschke).
1107	+ add option "--help-status" to allow script to restore a checklist
1108	  or radiolist after processing an item-help string (Debian #209031).
1109	+ modify width-calculation for non-formatted text to ensure it is
1110	  wide enough for the longest word in the text (patch by Andrew Gaul).
1111	+ modify dlg_index_columns() to count a newline as a single cell rather
1112	  than 2 for the normal curses case.  This fixes an off-by-one for
1113	  the text-justification, shown in screen 2 of msgbox1 sample script.
1114	+ fix dlg_char_to_button(); 2003/09/10 changes made it incorrectly
1115	  ignore case of the labels.
1116	+ change calendar's use of arrow keys so they are (as before 2002/06/22)
1117	  interpreted within the day-grid as movement within that grid (request
1118	  by David Anders).
1119	+ correct missing initialization of last_getc variable in dlg_getc()
1120	  (report/analysis by Victor Wodecki).
1121	+ modify main program to make
1122		dialog --no-shadow --print-maxsize
1123	  work.  Normally dialog prints the screen size after subtracting the
1124	  area reserved for shadows, but some applications may need the actual
1125	  screen size (Debian #213424).
1126	+ several related changes (Debian #213425):
1127	  + separate the examples using "--stdout" and "--output-fd" from the
1128	    normal usage examples.
1129	  + add "--input-fd" option, provide a sample of its use.
1130	  + modify init_dialog() to use initscr() unless a "--stdout" option
1131	    was used.  Some scripts relied on the coincidence that redirecting
1132	    standard output from dialog would "work".  Before this change
1133	    init_dialog() assumed that redirected standard output was
1134	    synonymous with "--stdout" option (not the intended behavior).
1135	  + modify command-line parsing to look for "--stdout" and "--stderr"
1136	    options first, allowing only one.
1137	  + add a check for an environment variable $DIALOG_TTY which provides
1138	    the older behavior, i.e., try to open the terminal directly if
1139	    stdout is redirected.
1140	+ interface changes, to make libdialog simpler to use:
1141	  + rename all of the internal functions to begin with "dlg_", but
1142	    provide compatibility with older names if the application defines
1143	    __DIALOG_OLD_NAMES__.
1144	  + add dialog_version() function, and corresponding DIALOG_VERSION and
1145	    DIALOG_PATCHDATE definitions to dlg_config.h
1146	  + eliminate remaining global variables such as screen_initialized in
1147	    favor of dialog_state and dialog_vars.
1148	  + move some data such as dialog_vars.output to dialog_state, since
1149	    they are normally not reset between widgets.
1150	  + change interfaces of dialog_yesno() and dialog_checklist() to use
1151	    dialog_state.defaultno and dialog_vars.separate_output, making it
1152	    simpler and more consistent.
1153	+ improve configure script and related definitions:
1154	  + add "--with-libtool" option to provide shared library support by
1155	    libtool.
1156	  + rename generated "config.h" to "dlg_config.h", so it can be
1157	    installed without naming conflict.  Added "dlg_config.h" to
1158	    install-lib rule.
1159	  + modify configure script and makefile to use EXEEXT and OBJEXT.
1160	  + add "--enable-widec" option to control whether wide-curses features
1161	    are compiled-in, rather than check for the existence of those in
1162	    the curses library.  This allows building with HPUX curses, which
1163	    has abandoned legacy features while not quite supporting X/Open
1164	    curses.
1165	  + add configure check for getbegx(), etc., which are not provided on
1166	    all platforms.
1167	+ update config.guess, config.sub
1168
11692003/10/02
1170	+ update hu.po (Arpad Biro).
1171	+ revert part of the 2003/08/18 change to "--stdout" option.  Using
1172	  stderr for screen output does not work well on several platforms
1173	  since stdout's settings are affected (report by Kent Robotti).
1174
11752003/09/24
1176	+ modify tailbox to allow it to display files with arbitrarily long
1177	  lines.
1178	+ fix an infinite loop in tailbox, broken when making interface changes
1179	  to dlg_getc() (report by Ingo van Lil).
1180	+ amend fix for "--and-widget" to not treat "---" as an option (report
1181	  by Kent Robotti).
1182	+ updated es.po (Santiago Vila).
1183
11842003/09/10
1185	+ correct "RENAMED" result from inputmenu widget, which did not reset
1186	  the result buffer, and did not account for scroll-offset (Debian
1187	  #209336).
1188	+ modify button, menu and checklist logic that matches a character to
1189	  the beginning of a text field to support wide-characters (completes
1190	  Debian #195674).
1191	+ modify configure script to not use "head -1".
1192
11932003/08/30
1194	+ modify searchbox popup in textbox widget so one can simply press
1195	  return on an empty input to cancel the popup.
1196	+ modify error reporting to avoid clearing screen if a problem is
1197	  found in the ".rc" file.
1198	+ add color/attribute combinations for form widget (based on patch by
1199	  Reznic Valery).
1200	+ combine rc-file colors, attribute- and color-tables to obtain a
1201	  single table for color values, which requires less work to add new
1202	  entries.
1203	+ modify fselect widget to make back-tab work again, since it was
1204	  broken by the rewrite of dlg_edit_string().
1205	+ modify howmany_tags() so it will quit searching when it finds any
1206	  option, not only "--and-widget" (Debian #206636).
1207	+ correct call to dlg_print_text() in print_line(), which did not
1208	  account for hidden characters (report/patch by David Poole).
1209	+ modify print_button() to display properly if locale defines ok/cancel
1210	  or yes/no buttons that contain multibyte characters.
1211
12122003/08/20
1213	+ correct an indexing error when deleting from the end of a line using
1214	  KEY_DC; it happened to work on Linux because malloc() clears memory
1215	  like calloc().
1216	+ add '\r' to case statement where '\n' is translated to KEY_ENTER to
1217	  work around defect in NetBSD curses.
1218	+ modify configure check for getparyx(), etc., which are implemented
1219	  by NetBSD curses as functions rather than macros.
1220	+ correct configure check for term.h, which may be <ncursesw/term.h>
1221	  if ncursesw development headers are installed, but not ncurses
1222	  development headers.  Or they may not coincide (Debian #206287).
1223
12242003/08/18
1225	+ modify checklist.c and menubox.c to display tags properly if they
1226	  contain wide-characters.
1227	+ better solution for initializing curses when "--stdout" option is
1228	  used, e.g., use stderr for the output if it is a tty.  Also correct
1229	  the error handling, so dialog exits with an error if it cannot
1230	  find a way to do output (Debian #205509).
1231	+ modify sample scripts to use consistent definition of $DIALOG
1232	  (Debian #205508).
1233	+ add UTF-8 examples inputbox6-utf8, inputbox6-utf8 (from Tomohiro
1234	  Kubota, Debian #195674).
1235	+ modify print_line() to work with wide-characters, e.g., so it handles
1236	  wrapping for double-width characters.
1237	+ cache results from multibyte character indices, speeds up cursor
1238	  movement.
1239	+ modify form widget to support scrolling and mouse-selection.
1240	+ add form widget (based on patch by Reznic Valery).
1241	+ correct mouse-handling for inputmenu widget.
1242	+ corrections to menu.c: location of clearing operation, and height of
1243	  rows in code for older ncurses versions (patch by Reznic Valery).
1244	+ improve logic that compensates for xterm's alternate-screen by
1245	  cancelling the rmcup/smcup strings after the rmcup has been issued.
1246	  That ensures that dialog will not clear the screen on exit (report
1247	  by Javier Kohen).
1248	+ modify initialization between widgets to retain the values for the
1249	  --aspect, --separate-widget and --tab-len options.
1250	+ add --separator as an alias for --separate-widget (compatible with
1251	  Xdialog).
1252	+ correct handling of Xdialog's --icon and --wmclass options, whose
1253	  parameter was not ignored.
1254	+ correct logic for --separate-widget so its string is written before
1255	  each output, rather than only for --and-widget option (report by
1256	  Javier Kohen).
1257	+ improve limit-check in center_label() for buttons.c (report by Tor
1258	  Vidar Havstad).
1259	+ correct layout of --menu widget, which reduced display width due to
1260	  logic for --inputmenu being applied whether or not that configuration
1261	  was used (reports by Javier Kohen, Dimitar Zhekov and MAL
1262	  <mal@komcept.com>).  Fixes Debian #201215.
1263	+ modify gauge widget to support --begin option (Hans-Joachim Baader).
1264	+ updated pl.po (Jaroslaw Swierczynski).
1265	+ hide cursor while painting gauge.
1266	+ add auto-sizing logic to gauge widget (reports by Javier Kohen and
1267	  Robert Schubert).
1268
12692003/07/20
1270	+ rewrote inputstr.c, allowing it to enter and display wide-characters.
1271	  Some nonprinting characters such as control/B can be edited as well.
1272	+ modify timebox to allow user to type numbers into the fields.
1273	+ change interfaces of dlg_getc(), mouse_wgetch(), etc., to add
1274	  parameter that returns whether the result is really a function-key.
1275	  This is needed to work with wide-character curses.
1276	+ correct computation of week-number in calendar widget (report by
1277	  Heiner Lamann).
1278	+ updated configure script macros:
1279	  + suppress -Winline with gcc 3.3, since it is broken.
1280	  + fix caching bug in CF_UTF8_LIB
1281	  + improved script for CF_BUNDLED_INTL.
1282	+ update config.guess, config.sub
1283
12842003/03/08
1285	+ add null-pointer checks to some malloc calls which were overlooked.
1286	+ correct logic in dlg_add_result(), which did not copy content of
1287	  non-allocated buffer to the first allocation (report by Daniel
1288	  Dupont).
1289
12902003/03/02
1291	+ correct an uninitialized value in dlg_add_result() (Debian #182683).
1292
12932003/01/30
1294	+ corrected print_line(), which subtracted the margin twice from the
1295	  right-limit, making a string wrap unnecessarily (Debian #168823).
1296	+ correct initial limit-check for arrows in checklist.c, which used
1297	  the wrong variable, showing the bottom arrow when it should not
1298	  (Debian #168823).
1299	+ modify driver to always call show_result(), to simplify updates.
1300	+ fix several memory leaks, important if dialog is run with a large
1301	  number of widgets (report by albert.veli@telia.com forwarded by
1302	  Santiago Vila).
1303	+ check if the screen output is actually to the terminal before trying
1304	  to suppress xterm's alternate screen mode (see 2000/01/18) (report by
1305	  David Oliveira).
1306	+ use dialog_vars.input_result consistently to return the text which is
1307	  printed after a widget completes.  In many cases, dialog now
1308	  allocates enough space to hold the text, rather than use a fixed
1309	  buffer.  The checklist widget was writing directly to the output to
1310	  avoid limits of the fixed buffer.
1311	+ modify dialog.c to also write dialog_vars.input_result if the
1312	  Help-button was pressed (request by Amon Ott).
1313	+ add hu.po (Arpad Biro).
1314	+ update fr.po, pt.po, pt_BR.po to add strings for "Help" button (patch
1315	  by Frederic L W Meunier).
1316	+ fix off-by-one error in menu.c, checklist.c (reported by
1317	  Tomasz Wasiak 2002/09/15 and others:
1318	  Andrew Gaul 2002/11/12,
1319	  Tobias C Rittweiler 2002/11/19,
1320	  Arpad Biro 2003/01/21).
1321	+ updated configure script, improving checks for ncurses in various
1322	  locations, updated NLS script to match lynx.  Added --with-curses-dir
1323	  option.
1324	> Tobias C Rittweiler:
1325	+ make ifdef in mousewget.c consistent with usage in dialog.h
1326	+ use beep() rather than flash() in dlg_edit_string(), for consistency
1327	  with the other functions.
1328	+ change order of buttons so extra button falls between Ok/Cancel.
1329	+ fix so "dialog --print-maxsize" exits from curses.
1330	+ add --inputmenu option.
1331
13322002/08/14
1333	+ modify checklist.c and menubox.c to treat the extra button like the
1334	  "Ok" button by making dialog print the chosen items (request by
1335	  Tobias C Rittweiler).
1336	+ add examples checklist6 and menubox6 to illustrate the --colors
1337	  option.
1338	+ implement -colors option, which allows one to highlight words in the
1339	  titles and most text areas with color or video attributes (adapted
1340	  from patch by Tobias C Rittweiler).
1341	+ add examples inputbox4, inputbox5 to illustrate how to use the
1342	  --output-fd option, and how to use dialog without any temporary
1343	  file at all.
1344	+ add --output-fd option (Debian #153984).
1345	+ documented vi-style keys for calendar, textbox widgets in manpage.
1346
13472002/06/22
1348	+ improve mouse handling, e.g., for up/down scrolling in calendar,
1349	  checklist, etc.
1350	+ add --extra-button and --extra-label options (adapted from patch
1351	  by Tobias C Rittweiler).
1352	+ correct displayed cursor position in inputbox when returning to the
1353	  input area after traversing the buttons with tabs, etc.
1354	+ add left/right arrows for traversal in calendar and timebox dialogs.
1355	+ implement two new functions dlg_next_ok_buttonindex() and
1356	  dlg_prev_ok_buttonindex(), using these to hide details about the
1357	  traversal over buttons in several widgets.
1358	+ modify checklist.c and menubox.c to verify if both --help-button and
1359	  --item-help are specified before assuming that selecting the help
1360	  button should cause the "HELP {item-help}" message to be printed
1361	  (reported by Marcel Ritter).
1362	+ modify init_dialog() to work around HP's broken tty driver (report by
1363	  John Mudd).  Specifically, the problem is that when opening /dev/tty
1364	  directly (to support the --stdout option), the terminal does not
1365	  change to raw mode.  The workaround opens /dev/tty only as needed;
1366	  the --stdout option does not work on HPUX but otherwise dialog works.
1367	+ updated el.po (patch by kromJx <kromJx@crosswinds.net>).
1368
13692002/05/19 - release 0.9b
1370	+ add --no-collapse option to allow one to retain tabs and repeated
1371	  blanks in a message box (request by Roberto Simoni).
1372	+ use DLG_EXIT_ESC constant rather than -1's in several places.  This
1373	  has the effect of changing some exit-with-error cases to denote that
1374	  the exit was because ESC was pressed (patch by Diego Alvarez,
1375	  forward by Santiago Vila).
1376	+ bump package version to 0.9b (with patch-date, as usual).
1377	+ add --exit-label option (request by Roberto Simoni).
1378	+ updated de.po to correct translation for "Cancel" (from Michael
1379	  Piefel, Debian #146402).
1380	+ use definitions from autoconf macro AC_HEADER_TIME to ensure that
1381	  time() is properly prototyped.
1382	+ update pl.po, adding translation for "Help" (patch by Jaroslaw
1383	  Swierczynski <swiergot@hacking.pl>).
1384	+ update COPYING file, to reflect address change of FSF (reported by
1385	  Santiago Vila).
1386	+ update some configuration script macros:  CF_CHECK_CACHE,
1387	  CF_CURSES_CPPFLAGS, CF_HEADER_PATH and CF_MAKEFLAGS.
1388	+ correct misuse of "$with_XXX" variables in the configure script,
1389	  which prevented configuration against curses library as opposed to
1390	  ncurses.
1391	+ update config.guess, config.sub
1392
13932002/03/09 (a)
1394	+ modify geometry of samples/fselect scripts to allow them to run in
1395	  a 24x80 screen (report/patch by Santiago Vila).
1396	+ correct exit-code for menubox.c when Cancel is pressed.  This was
1397	  unintentionally altered when adding --help-button (reported by
1398	  Patrick J Volkerding)
1399
14002002/03/09
1401	+ add --timeout option, which forces the program to exit with an error
1402	  if no user response is given within the specified number of seconds
1403	  (request by <andrew@argoncorp.com>).
1404	+ modify calendar widget to allow day/month/year values to default to
1405	  the current date (request by <Ron.Perrella@bellsouth.com>).
1406	+ modify display of buttons in checklist.c and menubox.c to handle the
1407	  case where the button label is empty (Debian #134388).
1408	+ extended logic for ok/cancel/help to make this work with checklist
1409	  widget.
1410	+ revert pt_BT.po, apply changes to pt.po (report by Frederic L W
1411	  Meunier).
1412	> several changes from Stanislav Ievlev:
1413	+ add options --help-button and --help-label to make menubox display a
1414	  third button which can be used to return an exit code causing the
1415	  calling script to show extended help information.
1416	+ use home/end keys in input string-editing, e.g., inputbox.
1417	+ add option --max-input to limit length of string returned by inputbox
1418	  and other widgets which allow the user to edit a string.
1419
14202001/12/02
1421	+ add --ok-label and --cancel-label options (request by Kyle Sallee).
1422	+ correct usage message for --fselect option (reported by Patrick J
1423	  Volkerding).
1424	+ add samples/debian.rc, for comparison with slackware.rc
1425	+ corrected samples/slackware.rc, which was just the compiled-in
1426	  default values (patch by Patrick J Volkerding).
1427	+ modify search rule for rc-file to add a global rc file /etc/dialogrc
1428	  (patch by Patrick J Volkerding).
1429	+ updated pt_BR.po with modified entries for fselect.c (Frederic L W
1430	  Meunier).
1431	+ add pl.po (Swiergot <swiergot@l02.ids.czest.pl>).
1432
14332001/11/11
1434	+ modify command-line parsing to allow a "--" argument to act as an
1435	  escape, so the next argument is not recognized as an option if it
1436	  begins with "--".  This is apparently one of popt's undocumented
1437	  features, upon which some Debian scripts depend (Debian #116642).
1438	+ add da.po (Morten Brix Pedersen <morten@wtf.dk>).
1439	+ add an install-strip rule to makefile, changing the normal install
1440	  rule to not strip the installed executable (based on discussion with
1441	  Santiago Vila).
1442	+ initialize my_output variable if user cannot open /dev/tty, e.g., if
1443	  su'd to another user (patch by Richard Braakman (<dark@ssh.com>), Debian
1444	  #117177).
1445	+ add configure option --with-ncursesw, to allow configure/build with
1446	  wide-character version of ncurses.
1447
14482001/10/14
1449	+ add option --ignore, to make dialog be ignore options that it does
1450	  not recognize.
1451	+ add option --trim, to trim literal newlines and repeated spaces from
1452	  text that will be displayed.  Add samples/msgbox2, which is the
1453	  same as msgbox1, but using --trim (cf: change for Debian #102942).
1454	+ minor correction to attributes for buttons.c to use active_attr on
1455	  the right-side of a button.
1456	+ add a sample dialog rc-file slackware.rc based on diffs in hdasetup
1457	  package at
1458		http://ftp1.sourceforge.net/pub/mirrors/slackware/slackware/source/a/hdsetup/
1459	  (discussion with Frederic L W Meunier).
1460	+ modify dialog.pl to avoid using a statically-named tempfile, allowing
1461	  multiple processes to use this script (patch by James Ranson
1462	  (<euclid80@yahoo.com>), Debian #110609).
1463	+ correct fprintf() call in j_menu() function, i.e., "--menu" option,
1464	  which did not guard against expanding '%' embedded in the parameters
1465	  (Stavros Chatzistefanidis <sxatz@yahoo.com>).
1466	+ add et.po (Ivar Smolin <okul@trenet.ee>).
1467	+ update fr.po (Frederic L W Meunier).
1468	+ modify to allow scripts to alter the exit codes, mainly to
1469	  distinguish ESC and ERROR exits.  This is done by setting a shell
1470	  variable such as DIALOG_ESC to a new value (request by Petr Vandrovec
1471	  (<vandrove@vc.cvut.cz>), Debian #99264)
1472
14732001/08/27
1474	+ use VPATH in makefile to support build with configure --srcdir, if
1475	  the make program supports that.  Note that samples/install/makefile
1476	  is not generated, due to awkward limitation of autoconf script
1477	  (reported by Frederic L W Meunier <0@pervalidus.net>).
1478	+ add po/pt_BR.po (Frederic L W Meunier <0@pervalidus.net>).
1479	+ correct sense of --enable/--disable shown in configure --help (report
1480	  by Frederic L W Meunier <0@pervalidus.net>).
1481	+ correct logic for --clear option, broken in 2000/07/02 (fixes Debian
1482	  #110254).
1483
14842001/08/11
1485	+ porting fixes to work on AIX: flush output to work around bug in
1486	  curses library, use ./killall in scripts to avoid conflict with
1487	  AIX program by that name.
1488	+ modify dlg_trim_string() to retain literal newlines if the string
1489	  does not contain "\\n" strings, and to retain leading blanks on the
1490	  resulting lines, for compatibility with older scripts (Debian
1491	  #102942).
1492	+ add charset specification to cs.po
1493	+ change dates in CHANGES to consistent format, add el.po for Greek
1494	  (patch by kromJx <kromJx@crosswinds.net>).
1495	+ eliminate static globals (bss, data) from modules rc, tailbox,
1496	  textbox using better parameter-passing convention, and const.
1497	+ cleanup temporary files in a few of the sample scripts.
1498	+ rewrote tailboxbg using select() rather than fork(), thereby
1499	  eliminating lock-files.  Only one process should be trying to display
1500	  on the screen at any given time.
1501	+ add error check to ensure that numeric parameters are really numbers.
1502	+ correct off-by-one in error messages reporting too-few or too-many
1503	  tokens for a given option (reported by George Mirchev).
1504	+ fix typo in manpage, "textboxbg" where "tailboxbg" was meant
1505	  (reported by George Mirchev <la@mail.techno-link.com>).
1506	+ use DLG_EXIT_xxx symbols consistently for all exit codes.
1507	+ updated es.po (patch by Santiago Vila).
1508	+ updates for some configure script macros from lynx:  CF_MAKEFLAGS,
1509	  CF_NCURSES_VERSION, CF_PROG_EXT.
1510	+ fixes to compile if <term.h> is included, e.g., when building with
1511	  AIX curses (report by Suzi Dowson <Suzi.Dowson@capgemini.co.uk>).
1512
15132001/05/27
1514	+ updated dialog.pot
1515	+ modify fselect.c to work with autosize, i.e., given height and width
1516	  zero (report by Martin Povolny).
1517	+ add a null-pointer check in justify_text(), needed by fselect.c
1518	+ add several more options which dialog can safely ignore, from
1519	  Xdialog 2.0.2
1520	+ refinements for configure macros checking for $CPPFLAGS, from lynx.
1521	+ update config.guess, config.sub to match autoconf 2.50
1522	> Martin Povolny <martin@solnet.cz>:
1523	+ add cs.po
1524	+ use nl_langinfo() to customize names for day-of-week, and month
1525
15262001/05/11
1527	> Vincent Stemen <dialog@AdvancedResearch.org>:
1528          Fixed dialog.c to not pass menu items through dlg_trim_string().
1529          Stripping extra spaces out of the menu items broke some of my
1530          scripts by altering the string that it compared to know which menu
1531          item was selected.  There should be no need to do justification on
1532          the menu items, which are always one line, anyway.
1533
15342001/04/29
1535	> Vincent Stemen <dialog@AdvancedResearch.org>:
1536	+ rewrote the text justification code to be able to have preformatted
1537	  text in the prompts with extra spaces like the older versions of
1538	  dialog.  If there are "\n" strings in the text, then extra spaces are
1539	  preserved.  Lines are always wrapped on word boundaries.
1540        + fixed --cr-wrap to break lines on '\n' (newline) characters and not
1541          add an extra line at the top and bottom of the text.  It now works
1542          as the manual says it should.
1543	+ it is no longer necessary to use "\n\" at the end of lines to escape
1544	  the '\n' character.  "\n" now works.  However, the old way, "\n\"
1545	  still works.
1546        + the fixes involved the following changes:
1547          - rewrote dlg_trim_string() to recognize preformatted text (know
1548            when not to strip extra spaces) and to pay attention to --cr-wrap.
1549          - rewrote justify_text() which now calls a new function in util.c,
1550            print_line(), to print each line and end it on a word boundary.
1551	  - modified real_auto_size() to call a new function
1552	    auto_size_preformated() to calculate the box size for preformatted
1553	    text.
1554          - removed skip_blanks() and skip_text() since they are not used by
1555            the new justify_text().
1556          - modified dialog.c to not call dlg_trim_string() on title strings
1557            so that titles retain their spaces.
1558        + modified the following demo files in the sample directory:
1559          - inputbox
1560	      changed all "\n\" strings to "\n" to demonstrate the extra
1561	      backslash is no longer needed.
1562          - inputbox1
1563              removed all the "\n\" strings from the end of the lines to
1564              properly demonstrate --cr-wrap.
1565          - msgbox1
1566	      this sample was using "--aspect 9 --cr-wrap".  Rewrote it to
1567	      properly demonstrate --aspect.  9 is already dialog's default
1568	      aspect ratio.  It now creates several dialogs in sequence,
1569	      demonstrating aspect ratios of 9, 12 and 6 and properly
1570	      demonstrates --cr-wrap.
1571        + made the following changes to the manual (dialog.1).
1572          - rewrote the description of --aspect to be more understandable.
1573          - rewrote the description of --cr-wrap to be more correct and more
1574            detailed.  It did say, "Otherwise, the text for each dialog will
1575            display on a single line.", which is not correct.  It wraps the
1576            text to fit in the box.
1577	> T.Dickey:
1578	+ use logic from menubox dialog in checklist to handle autosizing when
1579	  list height is given as zero (fixes problem reported by Eric Veltman
1580	  <eveltman@baan.nl>).
1581	+ modify checklist and menubox dialogs to check for too-wide data, and
1582	  truncate one or both of the name and text fields to fit (also
1583	  reported by Eric Veltman).
1584	+ corrected a few items from Vincent's patch:
1585	  - use C89-style comments rather than C++
1586	  - restore logic in justify_text() which checks for win==0, needed to
1587	    work with standard curses implementations other than ncurses.
1588	    The first call on justify_text() passes a null pointer as a flag
1589	    to indicate that checking should be done, but no screen updates.
1590	  - avoid modifying the buffer in decode_percent(), otherwise a message
1591	    containing a space or newline would be truncated at the whitespace.
1592	  - modify dlg_button_x_step() and dlg_button_layout() slightly to
1593	    work with altered print_autowrap(), etc.
1594	+ fixes to build/work with SunOS 4.x 5lib curses
1595
15962001/04/15
1597	+ fix a memory leak in mouse_region().
1598	+ simplify handling of optional parameters with new functions
1599	  optional_str() and optional_num().
1600	+ add calendar and timebox dialogs (compatible with Xdialog).
1601	+ correct typo in fallback definition for getparyx, and remove void
1602	  cast for mouse_open and mouse_close which prevented build with
1603	  Sun's Solaris compiler.
1604	+ rename --enable-lxdialog configure option to --enable-Xdialog
1605	+ modify CF_NCURSES_CPPFLAGS macro to match more variations of ncurses
1606	  header files.
1607	+ update config.guess, config.sub
1608	+ modify some configure script macros to avoid problems with buggy
1609	  autoconf 2.49c which breaks changequote().
1610
16112001/01/15
1612	+ small fix to revised real_auto_size() and justify_text() to avoid
1613	  adding origin to box-width, which broke samples/wheel.
1614	+ apply 1999/12/25 tempfile change to wheel and copismall samples.
1615	+ add sample script for tailboxbg.
1616	+ revised lock-file management to better ensure that locks are actually
1617	  created by the tailbox subprocess(es).
1618	+ correct hardcoded signal 15 in tailbox to SIGHUP to match
1619	  documentation.  Signal 15 is usually SIGTERM, which cannot be caught.
1620	+ correct off-by-one comparison of return-value for arg_rest() which
1621	  made
1622		dialog --gauge test 10 50
1623	  dump core because it expected a 4th parameter (fixes Debian #80641).
1624	+ resync config.sub, config.guess from
1625	  http://subversions.gnu.org/cgi-bin/cvsweb/config/ (which finally have
1626	  cases for OS/2 EMX), minor tweaks to related configure script macros.
1627
16282000/12/17
1629	+ restore treatment of predefined height/width in real_auto_size()
1630	  which was lost in 2000/12/12 rewrite (report by Raphael Halimi
1631	  <raphaelh@easynet.fr>).
1632	+ updates for configure script macros AM_PATH_PROG_WITH_TEST,
1633	  CF_CURSES_LIBS, CF_LIB_PREFIX, CF_PROG_EXT for $PATHSEP and $CFLAGS
1634	  fixes.
1635
16362000/12/13
1637	+ correct change for create_lock(), which resulted in an infinite loop
1638	  (patch by Chris Butler, <chrisb@debian.org>).
1639
16402000/12/12
1641	+ rewrote print_autowrap() and real_auto_size() to share common code
1642	  justify_text(), which now does text flow even when the string
1643	  contains newlines (fixes Debian #77199).
1644	+ improve create_lock() function using open() with O_EXCL rather than
1645	  fopen() (patch by Matt Kraai (<kraai@debian.org>), Debian #78951).
1646	+ correct description of --fselect in man page (patch by Tomas Pospisek
1647	  (<tpo@spin.ch>), Debian #77200).
1648	+ add --no-cancel as alias for --nocancel for compatibility with
1649	  Xdialog (report by Luis E Limon <luisl@abriasoft.com>).
1650
16512000/10/27
1652	+ some lint fixes using lclint (mostly void-casts, but some
1653	  sign-extension fixes e.g., for ctype.h macros, and loop in
1654	  dlg_char_to_button()).
1655	+ modified to build/run on OS/2 EMX with ncurses.
1656	+ minor changes to po/*.po (trim trailing blanks, provide explicit
1657	  translation for "OK"), to work with Solaris gettext.
1658	+ modified to allow this to build with archaic version (1.8.6)
1659	  of ncurses on FreeBSD 3.1 (does not run).
1660	+ update config.guess, config.sub from subversions.gnu.org
1661
16622000/10/17
1663	+ use new function sub_window() to check success/failure of calls to
1664	  subwin(), printing an error message if it fails (fixes Debian #74903).
1665	+ use combination of isatty/ttyname to look for workable tty device
1666	  on systems which have no /dev/tty, e.g., BeOS.
1667
16682000/10/08
1669	+ change exiterr() to use stdarg.h, make some messages easier to
1670	  understand.
1671	+ add dialog_clear()
1672	+ make samples/install/setup build.
1673	+ implemented mouse support for buttons, e.g., in yesno dialog using
1674	  ncurses (the gpm support no longer works, but is useful for reference)
1675	+ add a configure check for chtype.
1676	+ updates for configure script macros (CF_BUNDLED_INTL, CF_CURSES_LIBS,
1677	  CF_GCC_ATTRIBUTES, CF_GCC_WARNINGS, CF_INCLUDE_DIRS), and scripts
1678	  config.guess, config.sub
1679	+ cleanup of item-help change, integrate with checklist and radiobox.
1680	+ add ja.po, from Hirofumi Takeda <takepin@turbolinux.co.jp>.
1681	> patch by Marco Mariani <marcom@sferacarta.com>
1682	+ add --item-help option, which makes menubox data interpreted as
1683	  3 columns rather than 2.  The third column is displayed on the
1684	  last line of the screen as a help/status message for the currently
1685	  selected item.
1686	+ add it.po, pt.po
1687	+ change TAG_KEY_HL to FALSE, making unselected items in checklist
1688	  easier to read on Linux console.
1689
16902000/07/30
1691	+ change real_auto_size() to allow it to be used for dialogs that have
1692	  no prompt, e.g., fselect.  Also, rather than requiring both height
1693	  and width to be given as -1 for maximizing the dialog, allow either
1694	  alone.
1695	+ increase minimum height needed for autosized yesno dialog.
1696	+ add --version as an alias for --print-version.
1697	+ fix for build on Solaris without NLS (cannot redefine 'gettext()').
1698	+ add fselect dialog (compatible with Xdialog).
1699	+ add --enable-lxdialog configure option.
1700	+ use new configure macro CF_ARG_MSG_ENABLE to show progress with
1701	  enable/disable switches.
1702
17032000/07/02
1704	+ implement --stdout and --stderr options as in Xdialog.
1705	+ move logic that translates "\\n" into '\n' into main program to
1706	  simplify logic that formats text.
1707	+ make ifdef's for rc-file not specific to ncurses.
1708	+ correct logic making percent parameter of gauge optional.
1709
17102000/06/29
1711	+ add alternate test-script for gauge, adapted from Xdialog.
1712	+ modify gauge to make optional a percentage which was read at the
1713	  beginning of the XXX-delimited message text, since clones of dialog
1714	  are written to assume this is text.  If the line is not a simple
1715	  integer, dialog will treat it as text.
1716	+ make the percent parameter of gauge optional, as in Xdialog.
1717	+ undo one use of CharOf() in guage.c, an error.
1718	+ fix configure macro AM_WITH_NLS to refrain from attempting to make a
1719	  symbolic link into/libintl.h if we are not using the bundled intl
1720	  directory from gettext (reported by Julian Coleman
1721	  <J.D.Coleman@newcastle.ac.uk>).
1722	+ add ru.po, from Michael Sobolev <mss@transas.com>
1723	+ updates for config.guess, config.sub from tin.
1724	+ updates for configure script macros:  CF_MATH_LIB (improperly nested
1725	  brackets/parenthesis) and CF_XOPEN_CURSES (make include of
1726	  <*curses.h> depend on configure tests).
1727
17282000/04/25
1729	+ repaint screen when a control/L is pressed.
1730	+ apply CharOf() macro to avoid sign-extension on calls to waddch(),
1731	  fixes a problem with accented characters (reported by Santiago Vila).
1732	+ add es.po, from Santiago Vila <sanvila@unex.es>
1733
17342000/04/23
1735	+ modified to use gettext (configure option --enable-nls).  This uses
1736	  gettext 0.10.35, which must be previously installed.  (It can also
1737	  use an included intl library, but I consider that to be a waste of
1738	  disk space).
1739	+ remove code in checklist/radiobox, menubox that try to use
1740	  abbreviations for the OK/Cancel buttons since those conflict with the
1741	  check for abbreviations in list entries, which are more useful.
1742	+ moved padding of button labels out of string literals, into the
1743	  logic of dlg_draw_buttons().
1744	+ resync/update with configure macros CF_CURSES_LIBS, CF_FIND_LIBRARY,
1745	  CF_HEADER_PATH, CF_LIBRARY_PATH and CF_NCURSES_LIBS, as well as
1746	  mkdirs.sh and config.guess.
1747
17482000/02/22
1749	+ add --default-item option, for menubox to set the default selection
1750	  (fixes Debian #49796).
1751	+ add sample scripts for --nocancel and --fb options with inputbox.
1752	+ modify inputbox* sample scripts to show application errors, if any.
1753	+ add --nocancel option, and ignore --noitem, --fb, --fullbutton, to
1754	  make this compatible with whiptail scripts.  (whiptail does not
1755	  handle many dialog scripts however).
1756	+ modify checklist/radiobox to handle home, end, nextpage, prevpage
1757	  keys, as well as make the abbreviation search work for the whole
1758	  list, not only the current page.
1759	+ treat KEY_LL the same as KEY_END in checklist and textbox.
1760	+ add logic for KEY_BTAB.
1761	+ use new function dlg_draw_buttons() to better manage the layout of
1762	  yes/no/ok/cancel buttons.
1763	+ another pass of cleanup of dialog.c, makes it use a single table for
1764	  lookup of option names and help-message.  Eliminated numerous
1765	  adjustments to 'offset' variable.
1766	+ on initialization, check if standard input is from a terminal.  If
1767	  not, open /dev/tty (fixes Debian #57771)
1768
17692000/02/05
1770	+ implement inline editing in textbox.c search dialog.
1771	+ revise inputbox.c, allowing inline editing with arrow-keys.  removed
1772	  redundant logic in that module.
1773	+ correct a typo that prevented rc-file configuration from building.
1774	+ correct ifdef's to compile/run if the curses implementation does not
1775	  support color.
1776
17772000/01/23
1778	+ improve test-case for gauge.
1779	+ change gauge.c to show progress in reverse-video, add a check for
1780	  end-of-file in the loop for reading new messages.
1781	+ use curses whline() function to simplify print_arrows() logic in
1782	  checklist.c and menubox.c
1783	+ use curses beep() function rather than hardcoded strings.
1784	+ correct several compiler warnings for gcc -pedantic (mismatch of
1785	  const, signed/unsigned).
1786	+ modify exiterr() to avoid possible expansion of '%'.
1787	+ change CF_MATH_LIB configure macro to allow specifying a particular
1788	  test-function.  For dialog, this should be sqrt().  The macro was
1789	  originally written for ncurses, which needs sin().  However, that is
1790	  a builtin function on the m68k port (reported by Roman Hodek
1791	  <Roman.Hodek@informatik.uni-erlangen.de>, this fixes Debian #55553).
1792
17932000/01/18
1794	+ update manpage (Debian #25648).
1795	+ modify configure test for math library to avoid using a constant
1796	  parameter to the test function, lest gcc optimize the call away
1797	  (fixes Debian #55553).
1798	+ restructure help-message so actual problem is indicated.  The original
1799	  help-message is shown if no parameters are given, or if the --help
1800	  option is specified alone.
1801	+ suppress xterm's alternate screen mode by sending an exit_ca_mode
1802	  after initscr if the terminal looks like xterm, e.g., has key_mouse
1803	  defined, and has private-mode escapes in both enter_ca_mode and
1804	  exit_ca_mode (fixes Debian #55181).
1805	+ change yellow lettering on white to blue on white, since it offers
1806	  better contrast (fixes Debian #51196).
1807	+ use napms() rather than sleep().
1808	+ some cleanup/simplification of main program.  Indent'd dialog.c and
1809	  util.c
1810	+ eliminate several places where repeated options are treated as
1811	  an error, since they are really executed once anyway.
1812
18132000/01/15
1814	+ remove pre-autoconf Makefile
1815	+ remove sleep's from a few of the sample scripts, which left users
1816	  thinking that dialog was slow to complete an action.
1817	+ rewrote infobox sample script, using dialog's --sleep option and
1818	  a loop in the script.
1819	+ change 'ch' variable in tailbox.c to an integer, because it is
1820	  compared against EOF (fixes Debian #53157).
1821	+ corrected mandir variable in makefile.in (reported by Santiago Vila).
1822	+ small changes to sample scripts, from Debian: rename "guage" script
1823	  to "gauge", change path to copy of GPL used in textbox.
1824	+ add uninstall rule to makefile.in, fixed some dependencies so
1825	  "make install" works without first doing "make all".
1826
18271999/12/25
1828	+ use more portable scheme for tempfile generation in samples.
1829	+ add a configure script, prefer to not use the original Makefile
1830	  because it works only with GNU make.
1831	+ correct prototype of 'main()', which misused const.
1832	+ modify guage.c to use fgets() rather than gets().
1833	+ merge changes from Debian package maintainer
1834	  Santiago Vila <sanvila@ctv.es>:
1835
1836	  1999/10/07
1837		+ add a password dialog box (Debian #45964, patch by Joey Hess).
1838		+ implement "--defaultno" option to specify if the default for
1839		  the yes/no box is "No" (Debian #46076, patch by Joey Hess).
1840	  1999/03/10
1841		+ modify input.c to clear the input field to the right of the
1842		  given string, to help with screen-refresh
1843	  1998/12/08
1844		+ check for list_height less than one in checklist.c (Debian
1845		  #22239).
1846	  1998/10/21
1847		+ use function wscrl() in preference to scroll() in checklist.c
1848		  and menubox.c (unclear: in ncurses, scroll() is a macro that
1849		  uses wscrl()).
1850		+ remove the "-I/usr/include/ncurses" option from Makefile
1851		  since Debian does not install ncurses' header files into
1852		  that directory.
1853	  1998/09/12
1854		+ simplify menubox.c using new functions print_arrows() and
1855		  print_items().  add logic to handle KEY_NPAGE and KEY_PPAGE
1856		  (Debian #26326).
1857		+ modifications to provide sample scripts (Debian #26211):
1858		  + change sample scripts to use Debian tempfile utility rather
1859		    than putting files into /tmp.
1860		  + change sample scripts to use 'dialog' from user's path
1861		    rather than in the parent directory as in the build
1862		    directory.
1863		+ use the system copy of GPL rather than that in the build
1864		  directory as an example for the textbox script.
1865
18661999/11/27
1867	+ fix some gcc warnings about ambiguous use of "else"
1868
18691999/05/01
1870	+ cleaned up some of the redundant code with new functions:
1871		box_x_ordinate
1872		box_y_ordinate
1873		draw_title
1874		draw_bottom_box
1875		new_window
1876
1877	+ modified msgbox.c and yesno.c to work with the KEY_RESIZE sigwinch
1878	  handling in ncurses 4.2
1879
1880	+ corrected spelling of "gauge"
1881
1882The relevant portions of the Debian change log for the original version
1883(dialog-0.9a-12) are abstracted here, omitting details of their packaging:
1884
18851998/05/24
1886
1887	+ Replaced guage.c by the one in dialog 0.6z, which is known to work.
1888	  Fixes Debian #18284: unstable dialog.
1889
18901997/12/16
1891
1892	+ dialog.c:  dialog_input_result printed with "%s" format.  This was
1893	  Debian #9913, fixed by Bill Mitchell, but the change was lost.
1894	+ Pristine source, .depend is not removed in clean target.  Instead, it
1895	  is made zero length (otherwise it would not work *without* fakeroot).
1896	+ Added '^U' support in input box (Debian #9915, patch by Joey Hess).
1897	+ Wrote patch to fix core-dumping problem (Debian #13170).  Sven Rudolph
1898	  <sr1@inf.tu-dresden.de>:
1899
1900-- vile:fk=8bit
1901