From: Thomas E. Dickey Date: Sun, 19 Jan 2020 02:49:58 +0000 (+0000) Subject: ncurses 6.1 - patch 20200118 X-Git-Tag: v6.2~1 X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff_plain;h=c55d387cebf1cee4757ca2c2ef4fbeae59ee4175 ncurses 6.1 - patch 20200118 + expanded description of XM in user_caps.5 + improve xm example for xterm+x11mouse, xterm+sm+1006 -TD + add history section to curs_slk.3x and curs_terminfo.3x manpages. + update alacritty entries for 0.4.0 (prompted by patch by Christian Durr) -TD + correct spelling errors found with codespell. + fix for test/configure, from xterm #352. --- diff --git a/Ada95/samples/ncurses2-demo_pad.adb b/Ada95/samples/ncurses2-demo_pad.adb index 062ec538..781e3a00 100644 --- a/Ada95/samples/ncurses2-demo_pad.adb +++ b/Ada95/samples/ncurses2-demo_pad.adb @@ -7,7 +7,7 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2011,2014 Free Software Foundation, Inc. -- +-- Copyright (c) 2000-2014,2020 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -35,8 +35,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.9 $ --- $Date: 2014/09/13 19:10:18 $ +-- $Revision: 1.10 $ +-- $Date: 2020/01/18 17:02:13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with ncurses2.util; use ncurses2.util; @@ -488,7 +488,7 @@ procedure ncurses2.demo_pad is -- more writing off the screen. -- Interestingly, the exception is not handled if -- we put a block around this. - -- delcare --begin + -- declare --begin if top_y /= 0 and top_x /= 0 then Add (Line => top_y - 1, Column => top_x - 1, Ch => ACS_Map (ACS_Upper_Left_Corner)); @@ -579,7 +579,7 @@ procedure ncurses2.demo_pad is declare -- the C version allows the panel to have a zero height - -- wich raise the exception + -- which raise the exception begin Refresh_Without_Update ( diff --git a/Ada95/samples/ncurses2-m.adb b/Ada95/samples/ncurses2-m.adb index 7ce969ce..1e53b3fe 100644 --- a/Ada95/samples/ncurses2-m.adb +++ b/Ada95/samples/ncurses2-m.adb @@ -7,7 +7,7 @@ -- B O D Y -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 2000-2008,2018 Free Software Foundation, Inc. -- +-- Copyright (c) 2000-2018,2020 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -35,8 +35,8 @@ ------------------------------------------------------------------------------ -- Author: Eugene V. Melaragno 2000 -- Version Control --- $Revision: 1.9 $ --- $Date: 2018/07/07 23:33:16 $ +-- $Revision: 1.10 $ +-- $Date: 2020/01/18 17:02:13 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ -- TODO use Default_Character where appropriate @@ -186,7 +186,7 @@ package body ncurses2.m is Erase (Win); Move_Cursor (Win, 0, 0); Add (Win, "header:" & Columns'Img & " columns"); - -- 'Img is a GNAT extention + -- 'Img is a GNAT extension Refresh_Without_Update (Win); return 0; -- Curses_OK; end rip_header; diff --git a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads index 4759fc14..52a35caa 100644 --- a/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads +++ b/Ada95/src/terminal_interface-curses-forms-field_types-enumeration.ads @@ -7,7 +7,7 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2018 Free Software Foundation, Inc. -- +-- Copyright (c) 1998-2018,2020 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -35,7 +35,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- $Revision: 1.13 $ +-- $Revision: 1.14 $ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C.Strings; @@ -78,7 +78,7 @@ package Terminal_Interface.Curses.Forms.Field_Types.Enumeration is -- But we may want to release the field to release the memory allocated -- by it internally. After that the Enumeration field is no longer usable. - -- The next type defintions are all ncurses extensions. They are typically + -- The next type definitions are all ncurses extensions. They are typically -- not available in other curses implementations. procedure Set_Field_Type (Fld : Field; diff --git a/INSTALL b/INSTALL index 8ba778a1..98849355 100644 --- a/INSTALL +++ b/INSTALL @@ -1,5 +1,5 @@ ------------------------------------------------------------------------------- --- Copyright (c) 1998-2018,2019 Free Software Foundation, Inc. -- +-- Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: INSTALL,v 1.214 2019/09/07 22:44:40 tom Exp $ +-- $Id: INSTALL,v 1.215 2020/01/18 17:02:13 tom Exp $ --------------------------------------------------------------------- How to install Ncurses/Terminfo on your system --------------------------------------------------------------------- @@ -492,7 +492,7 @@ SUMMARY OF CONFIGURE OPTIONS: --disable-wattr-macros The 6.0 ABI adds support for extended colors and for extended mouse. - The former is a noticeable problem when developers inadvertantly + The former is a noticeable problem when developers inadvertently compile using the ncurses6 header files and link with an ncurses5 library, because the wattr* macros use a new field in the WINDOW structure. These macros are used in several applications. @@ -2158,7 +2158,7 @@ CONFIGURING FALLBACK ENTRIES: >fallback.c The overhead for an empty fallback list is one trivial stub function. - Any non-empty fallback list is const-ed and therefore lives in sharable + Any non-empty fallback list is const'd and therefore lives in shareable text space. You can look at the comment trailing each initializer in the generated ncurses/fallback.c file to see the core cost of the fallbacks. A good rule of thumb for modern vt100-like entries is that diff --git a/NEWS b/NEWS index 835da346..6dab01c4 100644 --- a/NEWS +++ b/NEWS @@ -25,7 +25,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3428 2020/01/12 00:20:47 tom Exp $ +-- $Id: NEWS,v 1.3431 2020/01/19 02:02:44 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -45,6 +45,15 @@ See the AUTHORS file for the corresponding full names. Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20200118 + + expanded description of XM in user_caps.5 + + improve xm example for xterm+x11mouse, xterm+sm+1006 -TD + + add history section to curs_slk.3x and curs_terminfo.3x manpages. + + update alacritty entries for 0.4.0 (prompted by patch by + Christian Durr) -TD + + correct spelling errors found with codespell. + + fix for test/configure, from xterm #352. + 20200111 + improve configure macros which check for the X11/Intrinsic.h header, to accommodate recent MacOS changes. @@ -1080,7 +1089,7 @@ it is not possible to add this information. + modify several test-programs which call use_default_colors() to consistently do this only if "-d" option is given. + additional changes to test with non-standard variants of curses: - + modify a loop limit in firework.c to work around absense of limit + + modify a loop limit in firework.c to work around absence of limit checks in some libraries. + fill the last row of a window with "?" in firstlast if waddch does not return ERR on the lower-right corner. @@ -3191,7 +3200,7 @@ it is not possible to add this information. + updated termcap manpage to document legacy termcap behavior for matching capability names. + modify name-comparison for tgetstr, etc., to accommodate legacy - applications as well as to improve compatbility with BSD 4.2 + applications as well as to improve compatibility with BSD 4.2 termcap implementations (Debian #698299) (cf: 980725). 20130112 @@ -3709,7 +3718,7 @@ it is not possible to add this information. + modify stat() calls to ignore the st_size member + drop mk-dlls.sh script. + change recommended regular expression library. - + modify rain.c to allow for threaded configuraton. + + modify rain.c to allow for threaded configuration. + modify tset.c to allow for case when size-change logic is not used. 20111231 @@ -4329,7 +4338,7 @@ it is not possible to add this information. when weak-symbols are used, allowing the pthread configuration to more closely match the non-thread naming (report by Werner Fink). + modify configure check for tic program, used for fallbacks, to a - warning if not found. This makes it simpler to use additonal + warning if not found. This makes it simpler to use additional scripts to bootstrap the fallbacks code using tic from the build tree (report by Werner Fink). + fix several places in configure script using ${variable-value} form. @@ -10061,7 +10070,7 @@ it is not possible to add this information. current directory (reported by Mike Castle ). + modify terminfo/termcap translation to suppress acsc before trying sgr if the entry would be too large (patch by Todd C Miller). - + document a special case of incompatiblity between ncurses 4.2 and + + document a special case of incompatibility between ncurses 4.2 and 5.0, add a section for this in INSTALL. + add TRACE_DATABASE flag for trace(). @@ -10635,7 +10644,7 @@ it is not possible to add this information. + resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in xterm and ncsa terminfo entries by removing the unneeded ones. Note that some entries will return kend & khome versus kslt and kfnd, for - PC-style keyboards versus strict vt220 compatiblity - TD + PC-style keyboards versus strict vt220 compatibility - TD + add function keybound(), which returns the definition associated with a given keycode. + modify define_key() to undefine the given string when no keycode is @@ -10722,7 +10731,7 @@ it is not possible to add this information. + add configure --with-shlib-version option to allow installing shared libraries named according to release or ABI versions. This parameterizes some existing logic in the configure script, and is - intended for compatiblity upgrades on Digital Unix, which used + intended for compatibility upgrades on Digital Unix, which used versioned libraries in ncurses 4.2, but no longer does (cf: 980425). + resync configure script against autoconf 2.13 + patches + minor improvements for teraterm terminfo entry based on the program's @@ -11203,7 +11212,7 @@ it is not possible to add this information. 980523 + correct maxx/maxy expression for num_columns/num_lines in derwin (patch by Alexander V Lukyanov). - + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibilty + + add /usr/share/lib/terminfo and /usr/lib/terminfo as compatibility fallbacks to _nc_read_entry(), along with --with-terminfo-dirs configure option (suggested by Mike Hopkirk). + modify config.guess to recognize Unixware 2.1 and 7 (patch by Mike @@ -11289,7 +11298,7 @@ it is not possible to add this information. + remove spurious trailing blanks in glibc addon-scripts (patch by H.J.Lu). + insert a few braces at locations where gcc-2.8.x asks to use them to - avoid ambigous else's, use -fpic rather than -fPIC for Linux (patch + avoid ambiguous else's, use -fpic rather than -fPIC for Linux (patch by Juergen Pfeifer). 980404 @@ -11739,7 +11748,7 @@ it is not possible to add this information. > patch by Juergen Pfeifer: + factor lib_menu and lib_form into smaller modules + clean up the interface between panel and SCREEN - + minor changes to the Ada95 mouse support implemenation + + minor changes to the Ada95 mouse support implementation + minor bugfix in C++ binding to ripoff windows + fix a few Ada95 html documentation pages @@ -11950,7 +11959,7 @@ it is not possible to add this information. + Enhance form/frm_driver.c: Allow growth of dynamic fields also on navigation requests. + Fixed a bug in form/fty_enum.c: wrong position of postincrement in - case-insensitiva comparision routine. + case-insensitiva comparison routine. + Enhanced form/lib_adabind.c with function _nc_get_field() to get a forms field by index. + Enhanced menu/m_adabind.c with function _nc_get_item() to get a menus @@ -12061,7 +12070,7 @@ it is not possible to add this information. 4. correctly handle input errors (i.e., EINTR) without loss of raw keys 5. recognize ESC KEY_LEFT and similar - 6. correctly handle the case of receiption of KEY_MOUSE from gpm + 6. correctly handle the case of reception of KEY_MOUSE from gpm + correct off-by-one indexing error in _nc_mouse_parse(), that caused single mouse events (press/release) to be ignored in favor of composed events (click). Improves on a fix from integrating gpm @@ -12302,7 +12311,7 @@ it is not possible to add this information. than total lines (patch by Alexander V. Lukyanov). + correct loop limits for table-lookup of enumerated value in form (patch by Juergen Pfeifer). - + improve threshhold computation for determining when to call ClrToEOL + + improve threshold computation for determining when to call ClrToEOL (patch by Alexander V. Lukyanov). 970531 @@ -13537,7 +13546,7 @@ it is not possible to add this information. * tset(1) added * mouse support for xterm. * most data tables are now const and accordingly live in shareable text space. -* Obey the XPG4/SVr4 practice that echo() is initally off. +* Obey the XPG4/SVr4 practice that echo() is initially off. * tic is much better at translating XENIX and AIX termcap entries now. * tic can interpret ko capabilities now. * integrated Juergen Pfeifer's forms library. @@ -13553,7 +13562,7 @@ it is not possible to add this information. * Fixed a ^Z-handling bug that was tanking lynx(1). * HJ Lu's patches for ELF shared libraries under Linux * terminfo.src 9.8.2 -* tweaks for compiling in seperate directories. +* tweaks for compiling in separate directories. * Thomas Dickey's patches to support NeXT's brain-dead linker * Eric Raymond's patches to fix problems with long termcap entries. * more support for shared libraries under SunOS and IRIX. @@ -13634,7 +13643,7 @@ it is not possible to add this information. * tic can understand termcap now, especially if it is called captoinfo. * The Linux Standard Console terminfo entry is called linux insead of console. It also uses the kernel's new method of changing charsets. -* initscr() will EXIT upon error (as the docs say) This wil mostly happen if +* initscr() will EXIT upon error (as the docs say) This will mostly happen if you try to run on an undefined terminal. * I can get things running on AIX but tic can't compile terminfo. I have to compile entries on another machine. Volunteers to hunt this bug are welcome. @@ -13873,7 +13882,7 @@ Other changes and notes from 1.8.2 include: * cleaned up vidputs() * general cleanup of the code * more attention to portability to other systems -* added terminfos for hp70092 (wont work until changes to lib_update.c are +* added terminfos for hp70092 (won't work until changes to lib_update.c are made) and 386BSD pcvt drivers. Thanks to Hellmuth Michaelis for his help. diff --git a/VERSION b/VERSION index 5857092b..006d9c08 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5:0:10 6.1 20200111 +5:0:10 6.1 20200118 diff --git a/aclocal.m4 b/aclocal.m4 index 84975a6c..338a35ec 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -28,7 +28,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: aclocal.m4,v 1.892 2020/01/12 00:10:43 tom Exp $ +dnl $Id: aclocal.m4,v 1.893 2020/01/18 17:30:44 tom Exp $ dnl Macros used in NCURSES auto-configuration script. dnl dnl These macros are maintained separately from NCURSES. The copyright on @@ -7029,9 +7029,9 @@ done fi ])dnl dnl --------------------------------------------------------------------------- -dnl CF_SIG_ATOMIC_T version: 3 updated: 2012/10/04 20:12:20 +dnl CF_SIG_ATOMIC_T version: 4 updated: 2020/01/18 12:30:44 dnl --------------- -dnl signal handler, but there are some gcc depedencies in that recommendation. +dnl signal handler, but there are some gcc dependencies in that recommendation. dnl Try anyway. AC_DEFUN([CF_SIG_ATOMIC_T], [ diff --git a/c++/cursesf.h b/c++/cursesf.h index 746b222a..19bdc8eb 100644 --- a/c++/cursesf.h +++ b/c++/cursesf.h @@ -1,6 +1,6 @@ // * This makes emacs happy -*-Mode: C++;-*- /**************************************************************************** - * Copyright (c) 1998-2014,2019 Free Software Foundation, Inc. * + * Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -31,7 +31,7 @@ * Author: Juergen Pfeifer, 1997 * ****************************************************************************/ -// $Id: cursesf.h,v 1.33 2019/07/28 19:55:27 tom Exp $ +// $Id: cursesf.h,v 1.34 2020/01/18 17:02:13 tom Exp $ #ifndef NCURSES_CURSESF_H_incl #define NCURSES_CURSESF_H_incl 1 @@ -47,7 +47,7 @@ extern "C" { } // // ------------------------------------------------------------------------- -// The abstract base class for buitin and user defined Fieldtypes. +// The abstract base class for builtin and user defined Fieldtypes. // ------------------------------------------------------------------------- // class NCURSES_IMPEXP NCursesFormField; // forward declaration diff --git a/c++/cursesm.h b/c++/cursesm.h index 239941d8..e207ceb1 100644 --- a/c++/cursesm.h +++ b/c++/cursesm.h @@ -1,6 +1,6 @@ // * This makes emacs happy -*-Mode: C++;-*- /**************************************************************************** - * Copyright (c) 1998-2014,2019 Free Software Foundation, Inc. * + * Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -31,7 +31,7 @@ * Author: Juergen Pfeifer, 1997 * ****************************************************************************/ -// $Id: cursesm.h,v 1.31 2019/07/28 19:55:27 tom Exp $ +// $Id: cursesm.h,v 1.32 2020/01/18 17:02:13 tom Exp $ #ifndef NCURSES_CURSESM_H_incl #define NCURSES_CURSESM_H_incl 1 @@ -358,7 +358,7 @@ public: flag ? OnError (::post_menu(menu)) : OnError (::unpost_menu (menu)); } - // Get the numer of rows and columns for this menu + // Get the number of rows and columns for this menu inline void scale (int& mrows, int& mcols) const { OnError (::scale_menu (menu, &mrows, &mcols)); } diff --git a/c++/cursesw.h b/c++/cursesw.h index 03528cc5..a2ffe68c 100644 --- a/c++/cursesw.h +++ b/c++/cursesw.h @@ -1,7 +1,7 @@ // * This makes emacs happy -*-Mode: C++;-*- // vile:cppmode /**************************************************************************** - * Copyright (c) 1998-2017,2019 Free Software Foundation, Inc. * + * Copyright (c) 1998-2019,2020 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -31,7 +31,7 @@ #ifndef NCURSES_CURSESW_H_incl #define NCURSES_CURSESW_H_incl 1 -// $Id: cursesw.h,v 1.54 2019/07/28 19:55:27 tom Exp $ +// $Id: cursesw.h,v 1.55 2020/01/18 17:02:13 tom Exp $ extern "C" { # include @@ -1255,7 +1255,7 @@ public: // Return TRUE if window is marked as changed, FALSE otherwise int leaveok(bool bf) { return ::leaveok(w, bf); } - // If bf is TRUE, curses will leave the cursor after an update whereever + // If bf is TRUE, curses will leave the cursor after an update wherever // it is after the update. int redrawln(int from, int n) { return ::wredrawln(w, from, n); } diff --git a/dist.mk b/dist.mk index c9e8e91e..6b015317 100644 --- a/dist.mk +++ b/dist.mk @@ -25,7 +25,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1324 2020/01/11 10:59:50 tom Exp $ +# $Id: dist.mk,v 1.1325 2020/01/18 10:27:03 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -37,7 +37,7 @@ SHELL = /bin/sh # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 NCURSES_MINOR = 1 -NCURSES_PATCH = 20200111 +NCURSES_PATCH = 20200118 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) diff --git a/doc/html/ada/funcs/T.htm b/doc/html/ada/funcs/T.htm index 782d38b7..098d0da7 100644 --- a/doc/html/ada/funcs/T.htm +++ b/doc/html/ada/funcs/T.htm @@ -20,8 +20,8 @@
  • tgetnum
  • tgetstr - terminal_interface-curses-termcap.adb:108
  • tgetstr - terminal_interface-curses-termcap.adb:129 -
  • tgoto
  • TGoto +
  • tgoto
  • tigetflag
  • tigetstr - terminal_interface-curses-terminfo.adb:87
  • tigetstr - terminal_interface-curses-terminfo.adb:108 diff --git a/doc/html/ada/terminal_interface-curses-forms-field_types-enumeration__ads.htm b/doc/html/ada/terminal_interface-curses-forms-field_types-enumeration__ads.htm index c16e302a..90e86ad1 100644 --- a/doc/html/ada/terminal_interface-curses-forms-field_types-enumeration__ads.htm +++ b/doc/html/ada/terminal_interface-curses-forms-field_types-enumeration__ads.htm @@ -24,7 +24,7 @@ -- S P E C -- -- -- ------------------------------------------------------------------------------ --- Copyright (c) 1998-2009,2018 Free Software Foundation, Inc. -- +-- Copyright (c) 1998-2018,2020 Free Software Foundation, Inc. -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this software and associated documentation files (the -- @@ -52,7 +52,7 @@ ------------------------------------------------------------------------------ -- Author: Juergen Pfeifer, 1996 -- Version Control: --- @Revision: 1.13 @ +-- @Revision: 1.14 @ -- Binding Version 01.00 ------------------------------------------------------------------------------ with Interfaces.C.Strings; @@ -95,7 +95,7 @@ -- But we may want to release the field to release the memory allocated -- by it internally. After that the Enumeration field is no longer usable. - -- The next type defintions are all ncurses extensions. They are typically + -- The next type definitions are all ncurses extensions. They are typically -- not available in other curses implementations. procedure Set_Field_Type (Fld : Field; diff --git a/doc/html/man/adacurses6-config.1.html b/doc/html/man/adacurses6-config.1.html index 8a13fd2b..92d3f2e1 100644 --- a/doc/html/man/adacurses6-config.1.html +++ b/doc/html/man/adacurses6-config.1.html @@ -125,7 +125,7 @@

    SEE ALSO

            curses(3x)
     
    -       This describes ncurses version 6.1 (patch 20191214).
    +       This describes ncurses version 6.1 (patch 20200118).
     
     
     
    diff --git a/doc/html/man/captoinfo.1m.html b/doc/html/man/captoinfo.1m.html
    index a06b8708..7228f73f 100644
    --- a/doc/html/man/captoinfo.1m.html
    +++ b/doc/html/man/captoinfo.1m.html
    @@ -198,7 +198,7 @@
     

    SEE ALSO

            infocmp(1m), curses(3x), terminfo(5)
     
    -       This describes ncurses version 6.1 (patch 20191214).
    +       This describes ncurses version 6.1 (patch 20200118).
     
     
     

    AUTHOR

    diff --git a/doc/html/man/clear.1.html b/doc/html/man/clear.1.html
    index 6538189e..1130989c 100644
    --- a/doc/html/man/clear.1.html
    +++ b/doc/html/man/clear.1.html
    @@ -148,7 +148,7 @@
     

    SEE ALSO

            tput(1), terminfo(5)
     
    -       This describes ncurses version 6.1 (patch 20191214).
    +       This describes ncurses version 6.1 (patch 20200118).
     
     
     
    diff --git a/doc/html/man/curs_memleaks.3x.html b/doc/html/man/curs_memleaks.3x.html
    index 4835d3c1..252a9807 100644
    --- a/doc/html/man/curs_memleaks.3x.html
    +++ b/doc/html/man/curs_memleaks.3x.html
    @@ -26,7 +26,7 @@
       * sale, use or other dealings in this Software without prior written       *
       * authorization.                                                           *
       ****************************************************************************
    -  * @Id: curs_memleaks.3x,v 1.6 2017/08/22 08:35:37 Sven.Joachim Exp @
    +  * @Id: curs_memleaks.3x,v 1.7 2019/12/14 23:21:32 tom Exp @
     -->
     
     
    diff --git a/doc/html/man/curs_slk.3x.html b/doc/html/man/curs_slk.3x.html
    index 4fc3d596..c1dad6e5 100644
    --- a/doc/html/man/curs_slk.3x.html
    +++ b/doc/html/man/curs_slk.3x.html
    @@ -1,6 +1,6 @@
     
     
     
    @@ -203,6 +203,31 @@
                    or if memory for the labels cannot be allocated.
     
     
    +

    HISTORY

    +       SVr3 introduced these functions:
    +         slk_clear
    +         slk_init
    +         slk_label
    +         slk_noutrefresh
    +         slk_refresh
    +         slk_restore
    +         slk_set
    +         slk_touch
    +
    +       SVr4 added these functions:
    +         slk_attroff
    +         slk_attron
    +         slk_attrset
    +         slk_start
    +
    +       X/Open Curses added these:
    +         slk_attr_off
    +         slk_attr_on
    +         slk_attr_set
    +         slk_color
    +         slk_wset
    +
    +
     

    EXTENSIONS

            X/Open  Curses  documents the opts argument as reserved for future use,
            saying that it must be null.  This implementation uses  that  parameter
    @@ -270,6 +295,7 @@
     
     
  • RETURN VALUE
  • +
  • HISTORY
  • EXTENSIONS
  • NOTES
  • PORTABILITY
  • diff --git a/doc/html/man/curs_terminfo.3x.html b/doc/html/man/curs_terminfo.3x.html index e2ec949f..0e33754b 100644 --- a/doc/html/man/curs_terminfo.3x.html +++ b/doc/html/man/curs_terminfo.3x.html @@ -1,6 +1,6 @@ @@ -237,6 +237,72 @@ XM string, override ncurses's built-in string which enables/disables xterm mouse mode. + ncurses sends a character sequence to the terminal to initialize + mouse mode, and when the user clicks the mouse buttons or (in + certain modes) moves the mouse, handles the characters sent back + by the terminal to tell it what was done with the mouse. + + The mouse protocol is enabled when the mask passed in the mouse- + mask function is nonzero. By default, ncurses handles the + responses for the X11 xterm mouse protocol. It also knows about + the SGR 1006 xterm mouse protocol, but must to be told to look + for this specifically. It will not be able to guess which mode + is used, because the responses are enough alike that only confu- + sion would result. + + The XM capability has a single parameter. If nonzero, the mouse + protocol should be enabled. If zero, the mouse protocol should + be disabled. ncurses inspects this capability if it is present, + to see whether the 1006 protocol is used. If so, it expects the + responses to use the SGR 1006 xterm mouse protocol. + + The xterm mouse protocol is used by other terminal emulators. + The terminal database uses building-blocks for the various xterm + mouse protocols which can be used in customized terminal descrip- + tions. + + The terminal database building blocks for this mouse feature also + have an experimental capability xm. The "xm" capability + describes the mouse response. Currently there is no interpreter + which would use this information to make the mouse support com- + pletely data-driven. + + xm shows the format of the mouse responses. In this experimental + capability, the parameters are + + p1 y-ordinate + + p2 x-ordinate + + p3 button + + p4 state, e.g., pressed or released + + p5 y-ordinate starting region + + p6 x-ordinate starting region + + p7 y-ordinate ending region + + p8 x-ordinate ending region + + Here are examples from the terminal database for the most com- + monly used xterm mouse protocols: + + xterm+x11mouse|X11 xterm mouse protocol, + kmous=\E[M, XM=\E[?1000%?%p1%{1}%=%th%el%;, + xm=\E[M + %?%p4%t%p3%e%{3}%;%' '%+%c + %p2%'!'%+%c + %p1%'!'%+%c, + + xterm+sm+1006|xterm SGR-mouse, + kmous=\E[<, XM=\E[?1006;1000%?%p1%{1}%=%th%el%;, + xm=\E[<%i%p3%d; + %p1%d; + %p2%d; + %?%p4%tM%em%;, +

    Extended key-definitions

            Several terminals provide the ability to send distinct strings for com-
    diff --git a/form/frm_post.c b/form/frm_post.c
    index 31568b2a..0a07ee79 100644
    --- a/form/frm_post.c
    +++ b/form/frm_post.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 1998-2010,2012 Free Software Foundation, Inc.              *
    + * Copyright (c) 1998-2012,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -32,12 +32,12 @@
     
     #include "form.priv.h"
     
    -MODULE_ID("$Id: frm_post.c,v 1.11 2012/06/10 00:27:49 tom Exp $")
    +MODULE_ID("$Id: frm_post.c,v 1.12 2020/01/18 17:05:03 tom Exp $")
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnform  
    +|   Facility      :  libnform
     |   Function      :  int post_form(FORM * form)
    -|   
    +|
     |   Description   :  Writes the form into its associated subwindow.
     |
     |   Return Values :  E_OK              - success
    @@ -69,7 +69,7 @@ post_form(FORM *form)
       if ((form->cols > getmaxx(formwin)) || (form->rows > getmaxy(formwin)))
         RETURN(E_NO_ROOM);
     
    -  /* reset form->curpage to an invald value. This forces Set_Form_Page
    +  /* reset form->curpage to an invalid value. This forces Set_Form_Page
          to do the page initialization which is required by post_form.
        */
       page = form->curpage;
    @@ -87,9 +87,9 @@ post_form(FORM *form)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnform  
    +|   Facility      :  libnform
     |   Function      :  int unpost_form(FORM * form)
    -|   
    +|
     |   Description   :  Erase form from its associated subwindow.
     |
     |   Return Values :  E_OK            - success
    diff --git a/form/fty_generic.c b/form/fty_generic.c
    index 62e5c52f..83d18f03 100644
    --- a/form/fty_generic.c
    +++ b/form/fty_generic.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 2008-2016,2018 Free Software Foundation, Inc.              *
    + * Copyright (c) 2008-2018,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -34,7 +34,7 @@
     
     #include "form.priv.h"
     
    -MODULE_ID("$Id: fty_generic.c,v 1.8 2018/12/16 00:14:02 tom Exp $")
    +MODULE_ID("$Id: fty_generic.c,v 1.9 2020/01/18 17:08:04 tom Exp $")
     
     /*
      * This is not a full implementation of a field type, but adds some
    @@ -55,15 +55,15 @@ MODULE_ID("$Id: fty_generic.c,v 1.8 2018/12/16 00:14:02 tom Exp $")
      * fieldtype they register with the forms library using this call.
      *
      * For that purpose we have extended the fieldtype struc by a new element
    - * that gets the arguments from a single struct passed by the caller. 
    - * 
    + * that gets the arguments from a single struct passed by the caller.
    + *
      */
     #if NCURSES_INTEROP_FUNCS
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnform  
    +|   Facility      :  libnform
     |   Function      :  static void *Generic_This_Type( void * arg )
    -|   
    +|
     |   Description   :  We interpret the passed arg just as a handle the
     |                    calling language uses to keep track of its allocated
     |                    argument structures. We can simply copy it back.
    @@ -89,7 +89,7 @@ Generic_This_Type(void *arg)
     |                    write a field_check and a char_check function and give
     |                    them as input to this call. A callback to allow the
     |                    release of the allocated memory must also be provided.
    -|                    For generic field types, we provide some more 
    +|                    For generic field types, we provide some more
     |                    information about the field as parameters.
     |
     |                    If an error occurs, errno is set to
    @@ -145,16 +145,16 @@ _nc_generic_fieldtype(bool (*const field_check) (FORM *, FIELD *, const void *),
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnform  
    +|   Facility      :  libnform
     |   Function      :  static TypeArgument *GenericArgument(
     |                      const FIELDTYPE* typ,
     |                      int (*argiterator)(void**),
     |                      int* err)
    -|   
    +|
     |   Description   :  The iterator callback must browse through all fieldtype
     |                    parameters that have an argument associated with the
     |                    type. The iterator returns 1 if the operation to get
    -|                    the next element was successfull, 0 otherwise. If the
    +|                    the next element was successful, 0 otherwise. If the
     |                    iterator could move to the next argument, it fills
     |                    the void* pointer representing the argument into the
     |                    location provided as argument to the iterator.
    @@ -206,14 +206,14 @@ GenericArgument(const FIELDTYPE *typ,
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnform  
    +|   Facility      :  libnform
     |   Function      :  int _nc_set_generic_fieldtype(
     |                      FIELD* field,
     |                      FIELDTYPE* ftyp,
     |                      int (*argiterator)(void**))
    -|   
    +|
     |   Description   :  Assign the fieldtype to the field and use the iterator
    -|                    mechanism to get the arguments when a check is 
    +|                    mechanism to get the arguments when a check is
     |                    performed.
     |
     |   Return Values :  E_OK if all went well
    @@ -264,11 +264,11 @@ _nc_set_generic_fieldtype(FIELD *field,
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnform  
    +|   Facility      :  libnform
     |   Function      :  WINDOW* _nc_form_cursor(
     |                      FORM* form,
     |                      int *pRow, int *pCol)
    -|   
    +|
     |   Description   :  Get the current position of the form cursor position
     |                    We also return the field window
     |
    diff --git a/man/curs_slk.3x b/man/curs_slk.3x
    index 6d5a8175..6d7a2aa3 100644
    --- a/man/curs_slk.3x
    +++ b/man/curs_slk.3x
    @@ -1,5 +1,5 @@
     .\"***************************************************************************
    -.\" Copyright (c) 1998-2017,2018 Free Software Foundation, Inc.              *
    +.\" Copyright (c) 1998-2018,2020 Free Software Foundation, Inc.              *
     .\"                                                                          *
     .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     .\" copy of this software and associated documentation files (the            *
    @@ -26,7 +26,7 @@
     .\" authorization.                                                           *
     .\"***************************************************************************
     .\"
    -.\" $Id: curs_slk.3x,v 1.34 2018/07/28 22:20:54 tom Exp $
    +.\" $Id: curs_slk.3x,v 1.35 2020/01/18 22:49:38 tom Exp $
     .TH curs_slk 3X ""
     .de bP
     .ie n  .IP \(bu 4
    @@ -242,6 +242,29 @@ the \fIlabnum\fP parameter is outside the range of label counts, or
     if the format parameter is outside the range 0..2, or if
     memory for the labels cannot be allocated.
     .RE
    +.SH HISTORY
    +SVr3 introduced these functions:
    +  slk_clear
    +  slk_init
    +  slk_label
    +  slk_noutrefresh
    +  slk_refresh
    +  slk_restore
    +  slk_set
    +  slk_touch
    +.PP
    +SVr4 added these functions:
    +  slk_attroff
    +  slk_attron
    +  slk_attrset
    +  slk_start
    +.PP
    +X/Open Curses added these:
    +  slk_attr_off
    +  slk_attr_on
    +  slk_attr_set
    +  slk_color
    +  slk_wset
     .SH EXTENSIONS
     .PP
     X/Open Curses documents the \fIopts\fP argument as reserved for future use,
    diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x
    index bd3bb6a4..c6eac6e3 100644
    --- a/man/curs_terminfo.3x
    +++ b/man/curs_terminfo.3x
    @@ -1,5 +1,5 @@
     .\"***************************************************************************
    -.\" Copyright (c) 1999-2017,2018 Free Software Foundation, Inc.              *
    +.\" Copyright (c) 1999-2018,2020 Free Software Foundation, Inc.              *
     .\"                                                                          *
     .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     .\" copy of this software and associated documentation files (the            *
    @@ -26,7 +26,7 @@
     .\" authorization.                                                           *
     .\"***************************************************************************
     .\"
    -.\" $Id: curs_terminfo.3x,v 1.60 2018/07/28 22:08:59 tom Exp $
    +.\" $Id: curs_terminfo.3x,v 1.63 2020/01/18 23:55:46 tom Exp $
     .TH curs_terminfo 3X ""
     .ie \n(.g .ds `` \(lq
     .el       .ds `` ``
    @@ -432,6 +432,104 @@ It does not detect I/O errors:
     X/Open states that \fBtputs\fP ignores the return value
     of the output function \fIputc\fP.
     .RE
    +.SH HISTORY
    +.PP
    +SVr2 introduced the terminfo feature.
    +Its programming manual mentioned these low-level functions:
    +.TS
    +l l
    +_ _
    +l l.
    +\fBFunction\fR	\fBDescription\fR
    +fixterm	restore tty to \*(``in curses\*('' state
    +gettmode	establish current tty modes
    +mvcur	low level cursor motion
    +putp	T{
    +utility function that uses \fBtputs\fP to send characters via \fBputchar\fP.
    +T}
    +resetterm	set tty modes to \*(``out of curses\*('' state
    +resetty	reset tty flags to stored value
    +saveterm	save current modes as \*(``in curses\*('' state
    +savetty	store current tty flags
    +setterm	establish terminal with given type
    +setupterm	establish terminal with given type
    +tparm	instantiate a string expression with parameters
    +tputs	apply padding information to a string
    +vidattr	like \fBvidputs\fP, but outputs through \fBputchar\fP
    +vidputs	T{
    +output a string to put terminal in a specified video attribute mode
    +T}
    +.TE
    +.PP
    +The programming manual also mentioned
    +functions provided for termcap compatibility
    +(commenting that they \*(``may go away at a later date\*(''):
    +.TS
    +l l
    +_ _
    +l l.
    +\fBFunction\fR	\fBDescription\fR
    +tgetent	look up termcap entry for given \fIname\fP
    +tgetflag	get boolean entry for given \fIid\fP
    +tgetnum	get numeric entry for given \fIid\fP
    +tgetstr	get string entry for given \fIid\fP
    +tgoto	apply parameters to given capability
    +tputs	T{
    +apply padding to capability, calling a function to put characters
    +T}
    +.TE
    +.PP
    +Early terminfo programs obtained capability values from the
    +\fBTERMINAL\fP structure initialized by \fBsetupterm\fR.
    +.PP
    +SVr3 extended terminfo by adding functions to retrieve capability values
    +(like the termcap interface),
    +and reusing tgoto and tputs:
    +.TS
    +l l
    +_ _
    +l l.
    +\fBFunction\fR	\fBDescription\fR
    +tigetflag	get boolean entry for given \fIid\fP
    +tigetnum	get numeric entry for given \fIid\fP
    +tigetstr	get string entry for given \fIid\fP
    +.TE
    +.PP
    +SVr3 also replaced several of the SVr2 terminfo functions
    +which had no counterpart in the termcap interface,
    +documenting them as obsolete:
    +.TS
    +l l
    +_ _
    +l l.
    +\fBFunction\fR	\fBReplaced by\fP
    +crmode	cbreak	
    +fixterm	reset_prog_mode	
    +gettmode	N/A	
    +nocrmode	nocbreak	
    +resetterm	reset_shell_mode	
    +saveterm	def_prog_mode	
    +setterm	setupterm	
    +.TE
    +.PP
    +SVr3 kept the \fBmvcur\fP, \fBvidattr\fP and \fBvidputs\fP functions,
    +along with \fBputp\fP, \fBtparm\fP and \fBtputs\fP.
    +The latter were needed to support padding,
    +and handling functions such as \fBvidattr\fP
    +(which used more than the two parameters supported by \fBtgoto\fP).
    +.PP
    +SVr3 introduced the functions for switching between terminal
    +descriptions, e.g., \fBset_curterm\fP.
    +The various global variables such as \fBboolnames\fP were mentioned
    +in the programming manual at this point.
    +.PP
    +SVr4 added the \fBvid_attr\fP and \fBvid_puts\fP functions.
    +.PP
    +There are other low-level functions declared in the curses header files
    +on Unix systems,
    +but none were documented.
    +The functions marked \*(``obsolete\*('' remained in use
    +by the Unix \fBvi\fP editor.
     .SH PORTABILITY
     .SS Legacy functions
     .PP
    diff --git a/man/user_caps.5 b/man/user_caps.5
    index d819f729..b07504c3 100644
    --- a/man/user_caps.5
    +++ b/man/user_caps.5
    @@ -1,5 +1,5 @@
     .\"***************************************************************************
    -.\" Copyright (c) 2017-2018,2019 Free Software Foundation, Inc.              *
    +.\" Copyright (c) 2017-2019,2020 Free Software Foundation, Inc.              *
     .\"                                                                          *
     .\" Permission is hereby granted, free of charge, to any person obtaining a  *
     .\" copy of this software and associated documentation files (the            *
    @@ -26,7 +26,7 @@
     .\" authorization.                                                           *
     .\"***************************************************************************
     .\"
    -.\" $Id: user_caps.5,v 1.10 2019/05/18 22:48:40 tom Exp $
    +.\" $Id: user_caps.5,v 1.11 2020/01/19 02:01:39 tom Exp $
     .TH user_caps 5
     .ie \n(.g .ds `` \(lq
     .el       .ds `` ``
    @@ -258,6 +258,84 @@ XM
     \fIstring\fP,
     override ncurses's built-in string which
     enables/disables \fBxterm\fP mouse mode.
    +.IP
    +ncurses sends a character sequence to the terminal to initialize mouse mode,
    +and when the user clicks the mouse buttons or (in certain modes) moves the
    +mouse, handles the characters sent back by the terminal to tell it what
    +was done with the mouse.
    +.IP
    +The mouse protocol is enabled when
    +the \fImask\fP passed in the \fBmousemask\fP function is nonzero.
    +By default, ncurses handles the responses for the X11 xterm mouse protocol.
    +It also knows about the \fISGR 1006\fP xterm mouse protocol,
    +but must to be told to look for this specifically.
    +It will not be able to guess which mode is used,
    +because the responses are enough alike that only confusion would result.
    +.IP
    +The \fBXM\fP capability has a single parameter.
    +If nonzero, the mouse protocol should be enabled.
    +If zero, the mouse protocol should be disabled.
    +ncurses inspects this capability if it is present,
    +to see whether the 1006 protocol is used.
    +If so, it expects the responses to use the \fISGR 1006\fP xterm mouse protocol.
    +.IP
    +The xterm mouse protocol is used by other terminal emulators.
    +The terminal database uses building-blocks for the various xterm mouse
    +protocols which can be used in customized terminal descriptions.
    +.IP
    +The terminal database building blocks for this mouse
    +feature also have an experimental capability \fIxm\fP.
    +The \*(``xm\*('' capability describes the mouse response.
    +Currently there is no interpreter which would use this
    +information to make the mouse support completely data-driven.
    +.IP
    +\fIxm\fP shows the format of the mouse responses.
    +In this experimental capability, the parameters are
    +.RS 5
    +.TP 5
    +.I p1
    +y-ordinate
    +.TP 5
    +.I p2
    +x-ordinate
    +.TP 5
    +.I p3
    +button
    +.TP 5
    +.I p4
    +state, e.g., pressed or released
    +.TP 5
    +.I p5
    +y-ordinate starting region
    +.TP 5
    +.I p6
    +x-ordinate starting region
    +.TP 5
    +.I p7
    +y-ordinate ending region
    +.TP 5
    +.I p8
    +x-ordinate ending region
    +.RE
    +.IP
    +Here are examples from the terminal database for the most commonly used
    +xterm mouse protocols:
    +.IP
    +.nf
    +  xterm+x11mouse|X11 xterm mouse protocol,
    +          kmous=\\E[M, XM=\\E[?1000%?%p1%{1}%=%th%el%;,
    +          xm=\\E[M
    +             %?%p4%t%p3%e%{3}%;%'\ '%+%c
    +             %p2%'!'%+%c
    +             %p1%'!'%+%c,
    +
    +  xterm+sm+1006|xterm SGR-mouse,
    +          kmous=\\E[<, XM=\\E[?1006;1000%?%p1%{1}%=%th%el%;,
    +          xm=\\E[<%i%p3%d;
    +             %p1%d;
    +             %p2%d;
    +             %?%p4%tM%em%;,
    +.fi
     .
     .SS Extended key-definitions
     .PP
    diff --git a/menu/m_driver.c b/menu/m_driver.c
    index 8e72999b..6db94bf7 100644
    --- a/menu/m_driver.c
    +++ b/menu/m_driver.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 1998-2012,2016 Free Software Foundation, Inc.              *
    + * Copyright (c) 1998-2016,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -37,7 +37,7 @@
     
     #include "menu.priv.h"
     
    -MODULE_ID("$Id: m_driver.c,v 1.32 2016/03/26 21:51:52 tom Exp $")
    +MODULE_ID("$Id: m_driver.c,v 1.33 2020/01/18 17:02:13 tom Exp $")
     
     /* Macros */
     
    @@ -138,7 +138,7 @@ _nc_Match_Next_Character_In_Item_Name
           /* we artificially position one item back, because in the do...while
              loop we start with the next item. This means, that with a new
              pattern search we always start the scan with the actual item. If
    -         we do a NEXT_PATTERN oder PREV_PATTERN search, we start with the
    +         we do a NEXT_PATTERN or PREV_PATTERN search, we start with the
              one after or before the actual item. */
           if (--idx < 0)
     	idx = menu->nitems - 1;
    diff --git a/menu/m_global.c b/menu/m_global.c
    index fc4103c2..7b4517f3 100644
    --- a/menu/m_global.c
    +++ b/menu/m_global.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 1998-2012,2014 Free Software Foundation, Inc.              *
    + * Copyright (c) 1998-2014,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -37,7 +37,7 @@
     
     #include "menu.priv.h"
     
    -MODULE_ID("$Id: m_global.c,v 1.28 2014/03/15 20:37:22 tom Exp $")
    +MODULE_ID("$Id: m_global.c,v 1.29 2020/01/18 17:05:17 tom Exp $")
     
     static char mark[] = "-";
     /* *INDENT-OFF* */
    @@ -53,7 +53,7 @@ NCURSES_EXPORT_VAR(MENU) _nc_Default_Menu = {
       0,				  /* length of widest description */
       1,				  /* length of mark */
       1,				  /* length of one item */
    -  1,                              /* Spacing for descriptor */ 
    +  1,                              /* Spacing for descriptor */
       1,                              /* Spacing for columns */
       1,                              /* Spacing for rows */
       (char *)0,			  /* buffer used to store match chars */
    @@ -68,7 +68,7 @@ NCURSES_EXPORT_VAR(MENU) _nc_Default_Menu = {
       0,				  /* Top row of menu */
       (chtype)A_REVERSE,		  /* Attribute for selection */
       (chtype)A_NORMAL,		  /* Attribute for nonselection */
    -  (chtype)A_UNDERLINE,		  /* Attribute for inactive */	
    +  (chtype)A_UNDERLINE,		  /* Attribute for inactive */
       ' ',  			  /* Pad character */
       (Menu_Hook)0,			  /* Menu init */
       (Menu_Hook)0,			  /* Menu term */
    @@ -77,7 +77,7 @@ NCURSES_EXPORT_VAR(MENU) _nc_Default_Menu = {
       (void *)0,			  /* userptr */
       mark,				  /* mark */
       ALL_MENU_OPTS,                  /* options */
    -  0			          /* status */	    
    +  0			          /* status */
     };
     
     NCURSES_EXPORT_VAR(ITEM) _nc_Default_Item = {
    @@ -98,9 +98,9 @@ NCURSES_EXPORT_VAR(ITEM) _nc_Default_Item = {
     /* *INDENT-ON* */
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  static void ComputeMaximum_NameDesc_Lenths(MENU *menu)
    -|   
    +|
     |   Description   :  Calculates the maximum name and description lengths
     |                    of the items connected to the menu
     |
    @@ -132,10 +132,10 @@ ComputeMaximum_NameDesc_Lengths(MENU * menu)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  static void ResetConnectionInfo(MENU *, ITEM **)
    -|   
    -|   Description   :  Reset all informations in the menu and the items in
    +|
    +|   Description   :  Reset all information in the menu and the items in
     |                    the item array that indicates a connection
     |
     |   Return Values :  -
    @@ -160,7 +160,7 @@ ResetConnectionInfo(MENU * menu, ITEM ** items)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  bool _nc_Connect_Items(MENU *menu, ITEM **items)
     |
     |   Description   :  Connect the items in the item array to the menu.
    @@ -218,16 +218,16 @@ _nc_Connect_Items(MENU * menu, ITEM ** items)
     	}
         }
     
    -  /* If we fall through to this point, we have to reset all items connection 
    +  /* If we fall through to this point, we have to reset all items connection
          and inform about a reject connection */
       ResetConnectionInfo(menu, items);
       return (FALSE);
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  void _nc_Disconnect_Items(MENU *menu)
    -|   
    +|
     |   Description   :  Disconnect the menus item array from the menu
     |
     |   Return Values :  -
    @@ -240,9 +240,9 @@ _nc_Disconnect_Items(MENU * menu)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  int _nc_Calculate_Text_Width(const TEXT * item)
    -|   
    +|
     |   Description   :  Calculate the number of columns for a TEXT.
     |
     |   Return Values :  the width
    @@ -328,9 +328,9 @@ calculate_actual_width(MENU * menu, bool name)
     #endif
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  void _nc_Calculate_Item_Length_and_Width(MENU *menu)
    -|   
    +|
     |   Description   :  Calculate the length of an item and the width of the
     |                    whole menu.
     |
    @@ -366,9 +366,9 @@ _nc_Calculate_Item_Length_and_Width(MENU * menu)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  void _nc_Link_Item(MENU *menu)
    -|   
    +|
     |   Description   :  Statically calculate for every item its four neighbors.
     |                    This depends on the orientation of the menu. This
     |                    static approach simplifies navigation in the menu a lot.
    @@ -495,9 +495,9 @@ _nc_Link_Items(MENU * menu)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  void _nc_Show_Menu(const MENU* menu)
    -|   
    +|
     |   Description   :  Update the window that is associated with the menu
     |
     |   Return Values :  -
    @@ -530,12 +530,12 @@ _nc_Show_Menu(const MENU * menu)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  void _nc_New_TopRow_and_CurrentItem(
    -|                            MENU *menu, 
    -|                            int new_toprow, 
    +|                            MENU *menu,
    +|                            int new_toprow,
     |                            ITEM *new_current_item)
    -|   
    +|
     |   Description   :  Redisplay the menu so that the given row becomes the
     |                    top row and the given item becomes the new current
     |                    item.
    diff --git a/menu/m_item_use.c b/menu/m_item_use.c
    index 8cf294bc..7cea30c9 100644
    --- a/menu/m_item_use.c
    +++ b/menu/m_item_use.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
    + * Copyright (c) 1998-2010,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -37,14 +37,14 @@
     
     #include "menu.priv.h"
     
    -MODULE_ID("$Id: m_item_use.c,v 1.17 2010/01/23 21:20:10 tom Exp $")
    +MODULE_ID("$Id: m_item_use.c,v 1.18 2020/01/18 17:02:13 tom Exp $")
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  int set_item_userptr(ITEM *item, void *userptr)
    -|   
    +|
     |   Description   :  Set the pointer that is reserved in any item to store
    -|                    application relevant informations.  
    +|                    application relevant information.
     |
     |   Return Values :  E_OK               - success
     +--------------------------------------------------------------------------*/
    @@ -57,11 +57,11 @@ set_item_userptr(ITEM * item, void *userptr)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  void *item_userptr(const ITEM *item)
    -|   
    +|
     |   Description   :  Return the pointer that is reserved in any item to store
    -|                    application relevant informations.
    +|                    application relevant information.
     |
     |   Return Values :  Value of the pointer. If no such pointer has been set,
     |                    NULL is returned.
    diff --git a/menu/m_userptr.c b/menu/m_userptr.c
    index a7359c99..3172a57f 100644
    --- a/menu/m_userptr.c
    +++ b/menu/m_userptr.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 1998-2004,2010 Free Software Foundation, Inc.              *
    + * Copyright (c) 1998-2010,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -37,14 +37,14 @@
     
     #include "menu.priv.h"
     
    -MODULE_ID("$Id: m_userptr.c,v 1.17 2010/01/23 21:20:10 tom Exp $")
    +MODULE_ID("$Id: m_userptr.c,v 1.18 2020/01/18 17:04:37 tom Exp $")
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  int set_menu_userptr(MENU *menu, void *userptr)
    -|   
    +|
     |   Description   :  Set the pointer that is reserved in any menu to store
    -|                    application relevant informations.
    +|                    application relevant information.
     |
     |   Return Values :  E_OK         - success
     +--------------------------------------------------------------------------*/
    @@ -57,11 +57,11 @@ set_menu_userptr(MENU * menu, void *userptr)
     }
     
     /*---------------------------------------------------------------------------
    -|   Facility      :  libnmenu  
    +|   Facility      :  libnmenu
     |   Function      :  void *menu_userptr(const MENU *menu)
    -|   
    +|
     |   Description   :  Return the pointer that is reserved in any menu to
    -|                    store application relevant informations.
    +|                    store application relevant information.
     |
     |   Return Values :  Value of the pointer. If no such pointer has been set,
     |                    NULL is returned
    diff --git a/misc/emx.src b/misc/emx.src
    index 47200661..07a5d2d7 100644
    --- a/misc/emx.src
    +++ b/misc/emx.src
    @@ -1,5 +1,5 @@
     ##############################################################################
    -# Copyright (c) 1998-2003,2006 Free Software Foundation, Inc.                #
    +# Copyright (c) 1998-2006,2020 Free Software Foundation, Inc.                #
     #                                                                            #
     # Permission is hereby granted, free of charge, to any person obtaining a    #
     # copy of this software and associated documentation files (the "Software"), #
    @@ -25,7 +25,7 @@
     # use or other dealings in this Software without prior written               #
     # authorization.                                                             #
     ##############################################################################
    -# $Id: emx.src,v 1.9 2006/04/22 21:46:17 tom Exp $
    +# $Id: emx.src,v 1.11 2020/01/18 19:04:22 tom Exp $
     # This is a reformatted copy of the terminfo source for OS/2 EMX from
     # Juan Jose Garcia Ripoll .
     # http://www.arrakis.es/~worm/
    @@ -183,7 +183,7 @@ ansi-mini|any ansi terminal with pessimistic assumptions,
     #
     # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
     # documentation (except for the keyboard key reassignment feature, which
    -# doen't fit the  model well).  The klone+acs sequences were valid
    +# doesn't fit the  model well).  The klone+acs sequences were valid
     # though undocumented.  The  capability is untested but should work for
     # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
     # From: Eric S. Raymond  Nov 7 1995
    @@ -330,7 +330,7 @@ emx-base|DOS special keys,
     #	mb	<->	blink	turn on blinking
     #	md	<->	bold	turn on extra bright (bold) mode
     #	mr	<->	rev	turn on reverse video mode
    -#	me	<->	sgr0	turn off all atributes
    +#	me	<->	sgr0	turn off all attributes
     #
     # On my terminal, \E[4m looks dim.
     ansi-emx|ANSI.SYS color,
    diff --git a/misc/terminfo.src b/misc/terminfo.src
    index 4f45020c..70047be7 100644
    --- a/misc/terminfo.src
    +++ b/misc/terminfo.src
    @@ -6,8 +6,8 @@
     # Report bugs and new terminal descriptions to
     #	bug-ncurses@gnu.org
     #
    -#	$Revision: 1.773 $
    -#	$Date: 2019/11/09 23:52:28 $
    +#	$Revision: 1.779 $
    +#	$Date: 2020/01/19 01:09:38 $
     #
     # The original header is preserved below for reference.  It is noted that there
     # is a "newer" version which differs in some cosmetic details (but actually
    @@ -3453,7 +3453,7 @@ nsterm|nsterm-256color|Apple_Terminal|AppKit Terminal.app,
     #
     # According to its documentation, iTerm uses terminfo to obtain function key
     # definitions.  For example, if it is started with TERM=xterm, it uses key
    -# definitons from that terminal description from the local OSX machine.  Those
    +# definitions from that terminal description from the local OSX machine.  Those
     # $TERM settings may be augmented using the bookmark and profile dialogs.
     # However, the behavior seen with tack does not agree with either the terminfo
     # description or the function keys in its "xterm" profile.
    @@ -5192,7 +5192,7 @@ xterm-x10mouse|X10 xterm mouse,
     # no new information.
     xterm+x11mouse|X11 xterm mouse protocol,
     	kmous=\E[M, XM=\E[?1000%?%p1%{1}%=%th%el%;,
    -	xm=\E[M%?%p4%t3%e%p3%'\s'%+%c%;%p2%'!'%+%c%p1%'!'%+%c,
    +	xm=\E[M%?%p4%t%p3%e%{3}%;%'\s'%+%c%p2%'!'%+%c%p1%'!'%+%c,
     xterm-x11mouse|X11 mouse,
     	use=xterm+x11mouse, use=xterm,
     
    @@ -5255,10 +5255,11 @@ xterm-1005|xterm UTF-8 mouse,
     # from the non-1005 responses.
     #
     # As an alternative (and fixing the longstanding limitation of X11 mouse
    -# protocol regarding button-releases), I provided this:
    +# protocol regarding button-releases), I provided the 1006 mode, referring
    +# to it as "SGR 1006" since the replies resemble the SGR control string:
     xterm+sm+1006|xterm SGR-mouse,
     	kmous=\E[<, XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
    -	xm=\E[<%p1%d;%p2%d;%p3%d;%?%p4%tM%em%;,
    +	xm=\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;,
     xterm-1006|xterm SGR-mouse,
     	use=xterm+sm+1006, use=xterm,
     
    @@ -5287,7 +5288,7 @@ kterm-color|kterm-co|kterm with ANSI colors,
     # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
     # variant of xterm which is apparently no longer supported, but are interesting
     # because they illustrate SVr4 curses mouse controls - T.Dickey
    -xtermm|xterm terminal emulator (monocrome),
    +xtermm|xterm terminal emulator (monochrome),
     	OTbs, am, km, mir, msgr, xenl,
     	btns#3, cols#80, it#8, lines#24,
     	acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
    @@ -6890,6 +6891,7 @@ terminology|EFL-based terminal emulator,
     
     #### Alacritty
     # https://github.com/jwilm/alacritty
    +# Version 0.4.0 (2019/11/25)
     # Version 0.3.3 (2019/08/03)
     # Version 0.2.1 (2018/10/03)
     # Project started in 2016/02, uses Rust and OpenGL, and in contrast to (most X
    @@ -6902,9 +6904,10 @@ terminology|EFL-based terminal emulator,
     #	otherwise, passes wrapping test
     #	no DECSCNM
     #	identifies as a vt102
    +#	numeric keypad does not send expected codes (seen in 0.4.0)
     #	passes bce test
     #	vt220:
    -#		ECH works (0.2.1 left text on right margin)
    +#		ECH works in 0.3.3 (0.2.1 left text on right margin)
     #		no SRM, DECSCA
     #	vt320:
     #		fails DECXCPR
    @@ -6920,12 +6923,16 @@ terminology|EFL-based terminal emulator,
     #		no X10 mouse
     #		has normal and highlight mouse
     #		has any-event and button-event mouse
    -#		cursor-position wrong after alternate-screen
    +#		+ does support SGR-mouse
    +#		+ does not correctly support focus in/out events (seen in 0.4.0)
    +#		cursor-position wrong after alternate-screen (fixed in 0.4.0)
     #		none of the dtterm controls work
     # tack:
     #	bell and flash do not work
    +#	blink does not work
     #	italics and crossed-out work (latter did not work in 0.2.1)
    -#	function-keys work up to kf36; those using two modifiers do not work
    +#	function-keys work up (tested combinations which window manager allows)
    +#	treats meta as escape-prefix
     #
     # The program sources include "alacritty" and "alacritty-direct", which are
     # copied from "xterm-256color" and "xterm-direct" (but using semicolon for
    @@ -6937,14 +6944,14 @@ alacritty|alacritty terminal emulator,
     alacritty-direct|alacritty with direct color indexing,
     	use=xterm+indirect, use=alacritty+common,
     
    -# removed ech, since it fails vttest -TD
    +# cancel km, since it is not actually meta mode -TD
     # added ecma+strikeout in 0.3.3 -TD
     # added xterm+sl-twm in 0.3.3 -TD
     alacritty+common|base fragment for alacritty,
    -	npc,
    -	ech@, kb2=\EOE, kbs=^?, kcbt=\E[Z, kent=\EOM, Se=\E[0 q,
    -	use=ecma+index, use=xterm-basic, use=xterm+app,
    -	use=ansi+rep, use=xterm+sm+1006, use=xterm+tmux,
    +	km@, npc,
    +	kb2=\EOE, kbs=^?, kcbt=\E[Z, kent=\EOM, Se=\E[0 q,
    +	use=ecma+index, use=xterm+sm+1006, use=xterm-basic,
    +	use=xterm+app, use=ansi+rep, use=xterm+tmux,
     	use=ecma+strikeout, use=xterm+sl-twm, use=ecma+italics,
     	use=xterm+pce2, use=xterm+pcc2, use=xterm+pcf2,
     
    @@ -23140,8 +23147,8 @@ fos|fortune|Fortune system,
     
     #### Masscomp consoles
     #
    -# Masscomp has gone out of business.  Their product line was purchased by
    -# comany in Georgia (US) called "XS International", parts and service may
    +# Masscomp has gone out of business.  Their product line was purchased by a
    +# company in Georgia (US) called "XS International", parts and service may
     # still be available through them.
     #
     
    @@ -24477,7 +24484,7 @@ v3220|LANPAR Vision II model 3220/3221/3222,
     #    goes to the first column of the "status line".
     # XM is a string capability which overrides ncurses's built-in string which
     #    enables/disables xterm mouse mode.
    -# xm shows the format of the mouse responses.  Parameters are (from zero):
    +# xm shows the format of the mouse responses.  Parameters:
     #	p1 = y-ordinate
     #	p2 = x-ordinate
     #	p3 = button
    @@ -26420,4 +26427,12 @@ v3220|LANPAR Vision II model 3220/3221/3222,
     #	+ reviewed st 0.8.2, updated some details -TD
     #	+ use ansi+rep several places -TD
     #
    +# 2020-01-12
    +#	+ update alacritty entries for 0.4.0 (prompted by patch by
    +#	  Christian Durr) -TD
    +#
    +# 2020-01-18
    +#	+ spelling fixes per codespell -TD
    +#	+ improve xm example for xterm+x11mouse, xterm+sm+1006 -TD
    +#
     ######## SHANTIH!  SHANTIH!  SHANTIH!
    diff --git a/ncurses/README.IZ b/ncurses/README.IZ
    index 78206cdf..aad1710d 100644
    --- a/ncurses/README.IZ
    +++ b/ncurses/README.IZ
    @@ -1,5 +1,5 @@
     -------------------------------------------------------------------------------
    --- Copyright (c) 2002,2006 Free Software Foundation, Inc.                    --
    +-- Copyright (c) 2002-2006,2020 Free Software Foundation, Inc.               --
     --                                                                           --
     -- Permission is hereby granted, free of charge, to any person obtaining a   --
     -- copy of this software and associated documentation files (the             --
    @@ -25,11 +25,11 @@
     -- sale, use or other dealings in this Software without prior written        --
     -- authorization.                                                            --
     -------------------------------------------------------------------------------
    --- $Id: README.IZ,v 1.2 2006/04/22 23:13:05 tom Exp $
    +-- $Id: README.IZ,v 1.3 2020/01/18 17:02:13 tom Exp $
     ---------------------------------------------------------------------
     
     Here is the patch.  I did no testing whatsoever with event watching
    -requests present (I need some applications which exersize this before
    +requests present (I need some applications which exercise this before
     this, probably lynx ;-), but the code looks working "the normal way".
     
     I had no way to test that the poll() branch compiles/works...
    diff --git a/ncurses/build.priv.h b/ncurses/build.priv.h
    index 84e4c52a..b175faf7 100644
    --- a/ncurses/build.priv.h
    +++ b/ncurses/build.priv.h
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 2010-2012,2019 Free Software Foundation, Inc.              *
    + * Copyright (c) 2010-2019,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -31,11 +31,11 @@
      ****************************************************************************/
     
     /*
    - * $Id: build.priv.h,v 1.10 2019/05/11 14:14:00 tom Exp $
    + * $Id: build.priv.h,v 1.11 2020/01/18 17:03:32 tom Exp $
      *
      *	build.priv.h
      *
    - *	This is a reduced version of curses.priv.h, for build-time utilties.
    + *	This is a reduced version of curses.priv.h, for build-time utilities.
      *	Because it has fewer dependencies, this simplifies cross-compiling.
      *
      */
    @@ -54,7 +54,7 @@ extern "C" {
     #if USE_RCS_IDS
     #define MODULE_ID(id) static const char Ident[] = id;
     #else
    -#define MODULE_ID(id) /*nothing*/
    +#define MODULE_ID(id)		/*nothing */
     #endif
     
     #include 
    @@ -66,7 +66,7 @@ extern "C" {
     
     #include 
     
    -#include 	/* we'll use -Ipath directive to get the right one! */
    +#include 		/* we'll use -Ipath directive to get the right one! */
     
     /* usually in  */
     #ifndef EXIT_SUCCESS
    @@ -89,20 +89,19 @@ extern "C" {
     #define NCURSES_ARRAY(name) \
     	NCURSES_WRAPPED_VAR(NCURSES_CONST char * const *, name)
     
    -NCURSES_ARRAY(boolnames);
    -NCURSES_ARRAY(boolfnames);
    -NCURSES_ARRAY(numnames);
    -NCURSES_ARRAY(numfnames);
    -NCURSES_ARRAY(strnames);
    -NCURSES_ARRAY(strfnames);
    +    NCURSES_ARRAY(boolnames);
    +    NCURSES_ARRAY(boolfnames);
    +    NCURSES_ARRAY(numnames);
    +    NCURSES_ARRAY(numfnames);
    +    NCURSES_ARRAY(strnames);
    +    NCURSES_ARRAY(strfnames);
     #endif
     
     #if NO_LEAKS
    -NCURSES_EXPORT(void) _nc_names_leaks(void);
    +    NCURSES_EXPORT(void) _nc_names_leaks(void);
     #endif
     
     #ifdef __cplusplus
     }
     #endif
    -
    -#endif /* CURSES_PRIV_H */
    +#endif				/* CURSES_PRIV_H */
    diff --git a/ncurses/tinfo/make_hash.c b/ncurses/tinfo/make_hash.c
    index 906dfafa..11a10546 100644
    --- a/ncurses/tinfo/make_hash.c
    +++ b/ncurses/tinfo/make_hash.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 1998-2018,2019 Free Software Foundation, Inc.              *
    + * Copyright (c) 1998-2019,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -43,7 +43,7 @@
     
     #include 
     
    -MODULE_ID("$Id: make_hash.c,v 1.29 2019/10/19 21:02:19 tom Exp $")
    +MODULE_ID("$Id: make_hash.c,v 1.30 2020/01/18 17:02:38 tom Exp $")
     
     /*
      *	_nc_make_hash_table()
    @@ -89,7 +89,7 @@ strmalloc(char *s)
      *
      *	Computes the hashing function on the given string.
      *
    - *	The current hash function is the sum of each consectutive pair
    + *	The current hash function is the sum of each consecutive pair
      *	of characters, taken as two-byte integers, mod HASHTABSIZE.
      *
      */
    diff --git a/ncurses/tinfo/obsolete.c b/ncurses/tinfo/obsolete.c
    index 2724fe53..37f9de34 100644
    --- a/ncurses/tinfo/obsolete.c
    +++ b/ncurses/tinfo/obsolete.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 2013-2014,2016 Free Software Foundation, Inc.              *
    + * Copyright (c) 2013-2016,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -36,10 +36,10 @@
     
     #include 
     
    -MODULE_ID("$Id: obsolete.c,v 1.4 2016/09/10 18:39:51 tom Exp $")
    +MODULE_ID("$Id: obsolete.c,v 1.5 2020/01/18 17:02:38 tom Exp $")
     
     /*
    - * Obsolete entrypoint retained for binary compatbility.
    + * Obsolete entrypoint retained for binary compatibility.
      */
     NCURSES_EXPORT(void)
     NCURSES_SP_NAME(_nc_set_buffer) (NCURSES_SP_DCLx FILE *ofp, int buffered)
    diff --git a/ncurses/win32con/win_driver.c b/ncurses/win32con/win_driver.c
    index 1f48b2c2..1b38f6a4 100644
    --- a/ncurses/win32con/win_driver.c
    +++ b/ncurses/win32con/win_driver.c
    @@ -1,5 +1,5 @@
     /****************************************************************************
    - * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc.              *
    + * Copyright (c) 1998-2018,2020 Free Software Foundation, Inc.              *
      *                                                                          *
      * Permission is hereby granted, free of charge, to any person obtaining a  *
      * copy of this software and associated documentation files (the            *
    @@ -54,7 +54,7 @@
     
     #define CUR TerminalType(my_term).
     
    -MODULE_ID("$Id: win_driver.c,v 1.61 2018/06/23 21:35:06 tom Exp $")
    +MODULE_ID("$Id: win_driver.c,v 1.62 2020/01/18 17:02:38 tom Exp $")
     
     #ifndef __GNUC__
     #  error We need GCC to compile for MinGW
    @@ -1973,7 +1973,7 @@ _nc_mingw_isatty(int fd)
     
     /*   This is used when running in terminfo mode to discover,
          whether or not the "terminal" is actually a Windows
    -     Console. It's the responsibilty of the console to deal
    +     Console. It's the responsibility of the console to deal
          with the terminal escape sequences that are sent by
          terminfo.
      */
    @@ -2162,7 +2162,7 @@ _nc_mingw_console_read(
     static bool
     InitConsole(void)
     {
    -    /* initalize once, or not at all */
    +    /* initialize once, or not at all */
         if (!console_initialized) {
     	int i;
     	DWORD num_buttons;
    diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog
    index c06d6d5f..cbd950df 100644
    --- a/package/debian-mingw/changelog
    +++ b/package/debian-mingw/changelog
    @@ -1,8 +1,8 @@
    -ncurses6 (6.1+20200111) unstable; urgency=low
    +ncurses6 (6.1+20200118) unstable; urgency=low
     
       * latest weekly patch
     
    - -- Thomas E. Dickey   Sat, 11 Jan 2020 05:59:50 -0500
    + -- Thomas E. Dickey   Sat, 18 Jan 2020 05:27:03 -0500
     
     ncurses6 (5.9-20131005) unstable; urgency=low
     
    diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog
    index c06d6d5f..cbd950df 100644
    --- a/package/debian-mingw64/changelog
    +++ b/package/debian-mingw64/changelog
    @@ -1,8 +1,8 @@
    -ncurses6 (6.1+20200111) unstable; urgency=low
    +ncurses6 (6.1+20200118) unstable; urgency=low
     
       * latest weekly patch
     
    - -- Thomas E. Dickey   Sat, 11 Jan 2020 05:59:50 -0500
    + -- Thomas E. Dickey   Sat, 18 Jan 2020 05:27:03 -0500
     
     ncurses6 (5.9-20131005) unstable; urgency=low
     
    diff --git a/package/debian/changelog b/package/debian/changelog
    index 6237a5ba..2a30cabe 100644
    --- a/package/debian/changelog
    +++ b/package/debian/changelog
    @@ -1,8 +1,8 @@
    -ncurses6 (6.1+20200111) unstable; urgency=low
    +ncurses6 (6.1+20200118) unstable; urgency=low
     
       * latest weekly patch
     
    - -- Thomas E. Dickey   Sat, 11 Jan 2020 05:59:50 -0500
    + -- Thomas E. Dickey   Sat, 18 Jan 2020 05:27:03 -0500
     
     ncurses6 (5.9-20120608) unstable; urgency=low
     
    diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi
    index cf5b442e..0c89bccc 100644
    --- a/package/mingw-ncurses.nsi
    +++ b/package/mingw-ncurses.nsi
    @@ -1,4 +1,4 @@
    -; $Id: mingw-ncurses.nsi,v 1.369 2020/01/11 10:59:50 tom Exp $
    +; $Id: mingw-ncurses.nsi,v 1.370 2020/01/18 10:27:03 tom Exp $
     
     ; TODO add examples
     ; TODO bump ABI to 6
    @@ -10,7 +10,7 @@
     !define VERSION_MAJOR "6"
     !define VERSION_MINOR "1"
     !define VERSION_YYYY  "2020"
    -!define VERSION_MMDD  "0111"
    +!define VERSION_MMDD  "0118"
     !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
     
     !define MY_ABI   "5"
    diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec
    index 921088e9..e663c489 100644
    --- a/package/mingw-ncurses.spec
    +++ b/package/mingw-ncurses.spec
    @@ -3,7 +3,7 @@
     Summary: shared libraries for terminal handling
     Name: mingw32-ncurses6
     Version: 6.1
    -Release: 20200111
    +Release: 20200118
     License: X11
     Group: Development/Libraries
     Source: ncurses-%{version}-%{release}.tgz
    diff --git a/package/ncurses.spec b/package/ncurses.spec
    index 281618d5..b030cab6 100644
    --- a/package/ncurses.spec
    +++ b/package/ncurses.spec
    @@ -1,7 +1,7 @@
     Summary: shared libraries for terminal handling
     Name: ncurses6
     Version: 6.1
    -Release: 20200111
    +Release: 20200118
     License: X11
     Group: Development/Libraries
     Source: ncurses-%{version}-%{release}.tgz
    diff --git a/package/ncursest.spec b/package/ncursest.spec
    index 6087786e..1aca0c67 100644
    --- a/package/ncursest.spec
    +++ b/package/ncursest.spec
    @@ -1,7 +1,7 @@
     Summary: Curses library with POSIX thread support.
     Name: ncursest6
     Version: 6.1
    -Release: 20200111
    +Release: 20200118
     License: X11
     Group: Development/Libraries
     Source: ncurses-%{version}-%{release}.tgz
    diff --git a/progs/capconvert b/progs/capconvert
    index 25c5c45c..a3535bd4 100755
    --- a/progs/capconvert
    +++ b/progs/capconvert
    @@ -1,6 +1,6 @@
     #!/bin/sh
     ##############################################################################
    -# Copyright (c) 1998-2017,2019 Free Software Foundation, Inc.                #
    +# Copyright (c) 1998-2019,2020 Free Software Foundation, Inc.                #
     #                                                                            #
     # Permission is hereby granted, free of charge, to any person obtaining a    #
     # copy of this software and associated documentation files (the "Software"), #
    @@ -26,7 +26,7 @@
     # use or other dealings in this Software without prior written               #
     # authorization.                                                             #
     ##############################################################################
    -# $Id: capconvert,v 1.7 2019/03/02 22:51:42 tom Exp $
    +# $Id: capconvert,v 1.8 2020/01/18 17:02:38 tom Exp $
     #
     # capconvert -- automated conversion from termcap to terminfo
     #
    @@ -179,7 +179,7 @@ else
     		echo "I am going to assume this is the terminfo source included with"
     		echo "the ncurses distribution.  If this assumption is wrong, please"
     		echo "interrupt me now!  OK to continue?"
    -		read ans;
    +		read answer;
     	;;
     	2)
     		echo "I see more than one possible terminfo source.  Here they are:"
    @@ -251,7 +251,7 @@ else
     	echo "Done."
     	echo "Note that editing TERMCAP will no longer change the data curses sees."
     fi
    -echo "To do that, decompile the terminal decription you want with infocmp(1),"
    +echo "To do that, decompile the terminal description you want with infocmp(1),"
     echo "edit to taste, and recompile using tic(1)."
     
     # capconvert ends here
    diff --git a/test/aclocal.m4 b/test/aclocal.m4
    index 682787da..42374487 100644
    --- a/test/aclocal.m4
    +++ b/test/aclocal.m4
    @@ -26,7 +26,7 @@ dnl sale, use or other dealings in this Software without prior written       *
     dnl authorization.                                                           *
     dnl***************************************************************************
     dnl
    -dnl $Id: aclocal.m4,v 1.169 2020/01/12 00:01:40 tom Exp $
    +dnl $Id: aclocal.m4,v 1.172 2020/01/18 17:30:44 tom Exp $
     dnl
     dnl Author: Thomas E. Dickey
     dnl
    @@ -3350,9 +3350,9 @@ done
     fi
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_SIG_ATOMIC_T version: 3 updated: 2012/10/04 20:12:20
    +dnl CF_SIG_ATOMIC_T version: 4 updated: 2020/01/18 12:30:44
     dnl ---------------
    -dnl signal handler, but there are some gcc depedencies in that recommendation.
    +dnl signal handler, but there are some gcc dependencies in that recommendation.
     dnl Try anyway.
     AC_DEFUN([CF_SIG_ATOMIC_T],
     [
    @@ -4216,7 +4216,7 @@ if test -z "$cf_x_athena_lib" ; then
     fi
     ])dnl
     dnl ---------------------------------------------------------------------------
    -dnl CF_X_ATHENA_CPPFLAGS version: 7 updated: 2020/01/11 17:15:41
    +dnl CF_X_ATHENA_CPPFLAGS version: 8 updated: 2020/01/16 05:21:56
     dnl --------------------
     dnl Normally invoked by CF_X_ATHENA, with $1 set to the appropriate flavor of
     dnl the Athena widgets, e.g., Xaw, Xaw3d, neXtaw.
    @@ -4249,15 +4249,15 @@ do
     		AC_MSG_RESULT($cf_result)
     		CF_RESTORE_XTRA_FLAGS([CF_X_ATHENA_CPPFLAGS])
     		if test "$cf_result" = yes ; then
    -			cf_x_athena_inc=$cf_path
    +			test "$cf_path"  = default && cf_x_athena_inc=default
    +			test "$cf_path" != default && cf_x_athena_inc=$cf_path/include
     			break
     		fi
     	fi
     done
     
     if test -z "$cf_x_athena_inc" ; then
    -	AC_MSG_WARN(
    -[Unable to successfully find Athena header files with test program])
    +	AC_MSG_WARN([Unable to find Athena header files])
     elif test "$cf_x_athena_inc" != default ; then
     	CF_APPEND_TEXT(CPPFLAGS,-I$cf_x_athena_inc)
     fi
    diff --git a/test/configure b/test/configure
    index f95bd28a..23502348 100755
    --- a/test/configure
    +++ b/test/configure
    @@ -14712,15 +14712,16 @@ CFLAGS="$cf_save_CFLAGS_CF_X_ATHENA_CPPFLAGS"
     CPPFLAGS="$cf_save_CPPFLAGS_CF_X_ATHENA_CPPFLAGS"
     
     		if test "$cf_result" = yes ; then
    -			cf_x_athena_inc=$cf_path
    +			test "$cf_path"  = default && cf_x_athena_inc=default
    +			test "$cf_path" != default && cf_x_athena_inc=$cf_path/include
     			break
     		fi
     	fi
     done
     
     if test -z "$cf_x_athena_inc" ; then
    -	{ echo "$as_me:14722: WARNING: Unable to successfully find Athena header files with test program" >&5
    -echo "$as_me: WARNING: Unable to successfully find Athena header files with test program" >&2;}
    +	{ echo "$as_me:14723: WARNING: Unable to find Athena header files" >&5
    +echo "$as_me: WARNING: Unable to find Athena header files" >&2;}
     elif test "$cf_x_athena_inc" != default ; then
     
     	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
    @@ -14784,10 +14785,10 @@ for cf_add_1lib in $cf_add_0lib; do
     done
     LIBS="$cf_add_libs"
     
    -		echo "$as_me:14787: checking for $cf_test in $cf_libs" >&5
    +		echo "$as_me:14788: checking for $cf_test in $cf_libs" >&5
     echo $ECHO_N "checking for $cf_test in $cf_libs... $ECHO_C" >&6
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 14790 "configure"
    +#line 14791 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -14803,16 +14804,16 @@ $cf_test((XtAppContext) 0)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:14806: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:14807: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:14809: \$? = $ac_status" >&5
    +  echo "$as_me:14810: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:14812: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:14813: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:14815: \$? = $ac_status" >&5
    +  echo "$as_me:14816: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -14821,7 +14822,7 @@ cat conftest.$ac_ext >&5
     cf_result=no
     fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    -		echo "$as_me:14824: result: $cf_result" >&5
    +		echo "$as_me:14825: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     
     LIBS="$cf_save_LIBS_CF_X_ATHENA_LIBS"
    @@ -14838,7 +14839,7 @@ CPPFLAGS="$cf_save_CPPFLAGS_CF_X_ATHENA_LIBS"
     done
     
     if test -z "$cf_x_athena_lib" ; then
    -	{ { echo "$as_me:14841: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5
    +	{ { echo "$as_me:14842: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&5
     echo "$as_me: error: Unable to successfully link Athena library (-l$cf_x_athena_root) with test program" >&2;}
        { (exit 1); exit 1; }; }
     fi
    @@ -14872,7 +14873,7 @@ if test -n "$ac_tool_prefix"; then
       do
         # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    -echo "$as_me:14875: checking for $ac_word" >&5
    +echo "$as_me:14876: checking for $ac_word" >&5
     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     if test "${ac_cv_prog_XCURSES_CONFIG+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -14887,7 +14888,7 @@ for ac_dir in $ac_dummy; do
       test -z "$ac_dir" && ac_dir=.
       $as_executable_p "$ac_dir/$ac_word" || continue
     ac_cv_prog_XCURSES_CONFIG="$ac_tool_prefix$ac_prog"
    -echo "$as_me:14890: found $ac_dir/$ac_word" >&5
    +echo "$as_me:14891: found $ac_dir/$ac_word" >&5
     break
     done
     
    @@ -14895,10 +14896,10 @@ fi
     fi
     XCURSES_CONFIG=$ac_cv_prog_XCURSES_CONFIG
     if test -n "$XCURSES_CONFIG"; then
    -  echo "$as_me:14898: result: $XCURSES_CONFIG" >&5
    +  echo "$as_me:14899: result: $XCURSES_CONFIG" >&5
     echo "${ECHO_T}$XCURSES_CONFIG" >&6
     else
    -  echo "$as_me:14901: result: no" >&5
    +  echo "$as_me:14902: result: no" >&5
     echo "${ECHO_T}no" >&6
     fi
     
    @@ -14911,7 +14912,7 @@ if test -z "$XCURSES_CONFIG"; then
     do
       # Extract the first word of "$ac_prog", so it can be a program name with args.
     set dummy $ac_prog; ac_word=$2
    -echo "$as_me:14914: checking for $ac_word" >&5
    +echo "$as_me:14915: checking for $ac_word" >&5
     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     if test "${ac_cv_prog_ac_ct_XCURSES_CONFIG+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -14926,7 +14927,7 @@ for ac_dir in $ac_dummy; do
       test -z "$ac_dir" && ac_dir=.
       $as_executable_p "$ac_dir/$ac_word" || continue
     ac_cv_prog_ac_ct_XCURSES_CONFIG="$ac_prog"
    -echo "$as_me:14929: found $ac_dir/$ac_word" >&5
    +echo "$as_me:14930: found $ac_dir/$ac_word" >&5
     break
     done
     
    @@ -14934,10 +14935,10 @@ fi
     fi
     ac_ct_XCURSES_CONFIG=$ac_cv_prog_ac_ct_XCURSES_CONFIG
     if test -n "$ac_ct_XCURSES_CONFIG"; then
    -  echo "$as_me:14937: result: $ac_ct_XCURSES_CONFIG" >&5
    +  echo "$as_me:14938: result: $ac_ct_XCURSES_CONFIG" >&5
     echo "${ECHO_T}$ac_ct_XCURSES_CONFIG" >&6
     else
    -  echo "$as_me:14940: result: no" >&5
    +  echo "$as_me:14941: result: no" >&5
     echo "${ECHO_T}no" >&6
     fi
     
    @@ -15072,7 +15073,7 @@ LDFLAGS="$LDFLAGS $X_LIBS"
     
     test -n "$verbose" && echo "	checking additions to CFLAGS" 1>&6
     
    -echo "${as_me:-configure}:15075: testing checking additions to CFLAGS ..." 1>&5
    +echo "${as_me:-configure}:15076: testing checking additions to CFLAGS ..." 1>&5
     
     cf_check_cflags="$CFLAGS"
     cf_check_cppflags="$CPPFLAGS"
    @@ -15157,7 +15158,7 @@ done
     if test -n "$cf_new_cflags" ; then
     	test -n "$verbose" && echo "	add to \$CFLAGS $cf_new_cflags" 1>&6
     
    -echo "${as_me:-configure}:15160: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
    +echo "${as_me:-configure}:15161: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5
     
     	test -n "$CFLAGS" && CFLAGS="$CFLAGS "
     	CFLAGS="${CFLAGS}$cf_new_cflags"
    @@ -15167,7 +15168,7 @@ fi
     if test -n "$cf_new_cppflags" ; then
     	test -n "$verbose" && echo "	add to \$CPPFLAGS $cf_new_cppflags" 1>&6
     
    -echo "${as_me:-configure}:15170: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
    +echo "${as_me:-configure}:15171: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5
     
     	test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS "
     	CPPFLAGS="${CPPFLAGS}$cf_new_cppflags"
    @@ -15177,7 +15178,7 @@ fi
     if test -n "$cf_new_extra_cppflags" ; then
     	test -n "$verbose" && echo "	add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags" 1>&6
     
    -echo "${as_me:-configure}:15180: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
    +echo "${as_me:-configure}:15181: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5
     
     	test -n "$EXTRA_CPPFLAGS" && EXTRA_CPPFLAGS="$EXTRA_CPPFLAGS "
     	EXTRA_CPPFLAGS="${EXTRA_CPPFLAGS}$cf_new_extra_cppflags"
    @@ -15186,7 +15187,7 @@ fi
     
     if test "x$cf_check_cflags" != "x$CFLAGS" ; then
     cat >conftest.$ac_ext <<_ACEOF
    -#line 15189 "configure"
    +#line 15190 "configure"
     #include "confdefs.h"
     #include 
     int
    @@ -15198,16 +15199,16 @@ printf("Hello world");
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:15201: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:15202: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:15204: \$? = $ac_status" >&5
    +  echo "$as_me:15205: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:15207: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:15208: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:15210: \$? = $ac_status" >&5
    +  echo "$as_me:15211: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       :
     else
    @@ -15215,12 +15216,12 @@ else
     cat conftest.$ac_ext >&5
     test -n "$verbose" && echo "	test-compile failed.  Undoing change to \$CFLAGS" 1>&6
     
    -echo "${as_me:-configure}:15218: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
    +echo "${as_me:-configure}:15219: testing test-compile failed.  Undoing change to \$CFLAGS ..." 1>&5
     
     	 if test "x$cf_check_cppflags" != "x$CPPFLAGS" ; then
     		 test -n "$verbose" && echo "	but keeping change to \$CPPFLAGS" 1>&6
     
    -echo "${as_me:-configure}:15223: testing but keeping change to \$CPPFLAGS ..." 1>&5
    +echo "${as_me:-configure}:15224: testing but keeping change to \$CPPFLAGS ..." 1>&5
     
     	 fi
     	 CFLAGS="$cf_check_flags"
    @@ -15228,7 +15229,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     fi
     
    -echo "$as_me:15231: checking for XOpenDisplay in -lX11" >&5
    +echo "$as_me:15232: checking for XOpenDisplay in -lX11" >&5
     echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
     if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -15236,7 +15237,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-lX11 $X_PRE_LIBS $LIBS $X_EXTRA_LIBS $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 15239 "configure"
    +#line 15240 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -15255,16 +15256,16 @@ XOpenDisplay ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:15258: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:15259: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:15261: \$? = $ac_status" >&5
    +  echo "$as_me:15262: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:15264: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:15265: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:15267: \$? = $ac_status" >&5
    +  echo "$as_me:15268: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       ac_cv_lib_X11_XOpenDisplay=yes
     else
    @@ -15275,7 +15276,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:15278: result: $ac_cv_lib_X11_XOpenDisplay" >&5
    +echo "$as_me:15279: result: $ac_cv_lib_X11_XOpenDisplay" >&5
     echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
     if test $ac_cv_lib_X11_XOpenDisplay = yes; then
     
    @@ -15297,7 +15298,7 @@ LIBS="$cf_add_libs"
     
     fi
     
    -echo "$as_me:15300: checking for XCurses library" >&5
    +echo "$as_me:15301: checking for XCurses library" >&5
     echo $ECHO_N "checking for XCurses library... $ECHO_C" >&6
     if test "${cf_cv_lib_XCurses+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -15320,7 +15321,7 @@ done
     LIBS="$cf_add_libs"
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 15323 "configure"
    +#line 15324 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -15335,16 +15336,16 @@ XCursesExit();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:15338: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:15339: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:15341: \$? = $ac_status" >&5
    +  echo "$as_me:15342: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:15344: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:15345: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:15347: \$? = $ac_status" >&5
    +  echo "$as_me:15348: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_lib_XCurses=yes
     else
    @@ -15355,7 +15356,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     
     fi
    -echo "$as_me:15358: result: $cf_cv_lib_XCurses" >&5
    +echo "$as_me:15359: result: $cf_cv_lib_XCurses" >&5
     echo "${ECHO_T}$cf_cv_lib_XCurses" >&6
     
     fi
    @@ -15370,23 +15371,23 @@ cat >>confdefs.h <<\EOF
     #define XCURSES 1
     EOF
     
    -	echo "$as_me:15373: checking for xcurses.h" >&5
    +	echo "$as_me:15374: checking for xcurses.h" >&5
     echo $ECHO_N "checking for xcurses.h... $ECHO_C" >&6
     if test "${ac_cv_header_xcurses_h+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 15379 "configure"
    +#line 15380 "configure"
     #include "confdefs.h"
     #include 
     _ACEOF
    -if { (eval echo "$as_me:15383: \"$ac_cpp conftest.$ac_ext\"") >&5
    +if { (eval echo "$as_me:15384: \"$ac_cpp conftest.$ac_ext\"") >&5
       (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
       ac_status=$?
       egrep -v '^ *\+' conftest.er1 >conftest.err
       rm -f conftest.er1
       cat conftest.err >&5
    -  echo "$as_me:15389: \$? = $ac_status" >&5
    +  echo "$as_me:15390: \$? = $ac_status" >&5
       (exit $ac_status); } >/dev/null; then
       if test -s conftest.err; then
         ac_cpp_err=$ac_c_preproc_warn_flag
    @@ -15405,7 +15406,7 @@ else
     fi
     rm -f conftest.err conftest.$ac_ext
     fi
    -echo "$as_me:15408: result: $ac_cv_header_xcurses_h" >&5
    +echo "$as_me:15409: result: $ac_cv_header_xcurses_h" >&5
     echo "${ECHO_T}$ac_cv_header_xcurses_h" >&6
     if test $ac_cv_header_xcurses_h = yes; then
     
    @@ -15416,14 +15417,14 @@ EOF
     fi
     
     else
    -	{ { echo "$as_me:15419: error: Cannot link with XCurses" >&5
    +	{ { echo "$as_me:15420: error: Cannot link with XCurses" >&5
     echo "$as_me: error: Cannot link with XCurses" >&2;}
        { (exit 1); exit 1; }; }
     fi
     
     	;;
     (*)
    -	{ { echo "$as_me:15426: error: unexpected screen-value: $cf_cv_screen" >&5
    +	{ { echo "$as_me:15427: error: unexpected screen-value: $cf_cv_screen" >&5
     echo "$as_me: error: unexpected screen-value: $cf_cv_screen" >&2;}
        { (exit 1); exit 1; }; }
     	;;
    @@ -15431,7 +15432,7 @@ esac
     
     : ${cf_nculib_root:=$cf_cv_screen}
     as_ac_Lib=`echo "ac_cv_lib_$cf_nculib_root''__nc_init_pthreads" | $as_tr_sh`
    -echo "$as_me:15434: checking for _nc_init_pthreads in -l$cf_nculib_root" >&5
    +echo "$as_me:15435: checking for _nc_init_pthreads in -l$cf_nculib_root" >&5
     echo $ECHO_N "checking for _nc_init_pthreads in -l$cf_nculib_root... $ECHO_C" >&6
     if eval "test \"\${$as_ac_Lib+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -15439,7 +15440,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-l$cf_nculib_root  $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 15442 "configure"
    +#line 15443 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -15458,16 +15459,16 @@ _nc_init_pthreads ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:15461: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:15462: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:15464: \$? = $ac_status" >&5
    +  echo "$as_me:15465: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:15467: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:15468: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:15470: \$? = $ac_status" >&5
    +  echo "$as_me:15471: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       eval "$as_ac_Lib=yes"
     else
    @@ -15478,7 +15479,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:15481: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    +echo "$as_me:15482: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
     if test `eval echo '${'$as_ac_Lib'}'` = yes; then
       cf_cv_ncurses_pthreads=yes
    @@ -15513,7 +15514,7 @@ case $cf_cv_screen in
     	;;
     esac
     
    -echo "$as_me:15516: checking for X11 rgb file" >&5
    +echo "$as_me:15517: checking for X11 rgb file" >&5
     echo $ECHO_N "checking for X11 rgb file... $ECHO_C" >&6
     
     # Check whether --with-x11-rgb or --without-x11-rgb was given.
    @@ -15577,7 +15578,7 @@ case ".$cf_path" in
     	cf_path=`echo $cf_path | sed -e s%NONE%$cf_path_syntax%`
     	;;
     (*)
    -	{ { echo "$as_me:15580: error: expected a pathname, not \"$cf_path\"" >&5
    +	{ { echo "$as_me:15581: error: expected a pathname, not \"$cf_path\"" >&5
     echo "$as_me: error: expected a pathname, not \"$cf_path\"" >&2;}
        { (exit 1); exit 1; }; }
     	;;
    @@ -15585,7 +15586,7 @@ esac
     
     fi
     
    -echo "$as_me:15588: result: $RGB_PATH" >&5
    +echo "$as_me:15589: result: $RGB_PATH" >&5
     echo "${ECHO_T}$RGB_PATH" >&6
     
     cat >>confdefs.h <&5
    +echo "$as_me:15630: checking if you want to check for panel functions" >&5
     echo $ECHO_N "checking if you want to check for panel functions... $ECHO_C" >&6
     
     # Check whether --enable-panel or --disable-panel was given.
    @@ -15643,7 +15644,7 @@ else
     	cf_enable_panel=$cf_default_panel
     
     fi;
    -echo "$as_me:15646: result: $cf_enable_panel" >&5
    +echo "$as_me:15647: result: $cf_enable_panel" >&5
     echo "${ECHO_T}$cf_enable_panel" >&6
     if test $cf_enable_panel = yes
     then
    @@ -15654,13 +15655,13 @@ cf_have_curses_lib=no
     if test "x${NCURSES_CONFIG_PKG}" = xnone; then
     	:
     elif test "x${PKG_CONFIG:=none}" != xnone; then
    -	echo "$as_me:15657: checking pkg-config for panel$cf_cv_libtype" >&5
    +	echo "$as_me:15658: checking pkg-config for panel$cf_cv_libtype" >&5
     echo $ECHO_N "checking pkg-config for panel$cf_cv_libtype... $ECHO_C" >&6
     	if "$PKG_CONFIG" --exists panel$cf_cv_libtype ; then
    -		echo "$as_me:15660: result: yes" >&5
    +		echo "$as_me:15661: result: yes" >&5
     echo "${ECHO_T}yes" >&6
     
    -		echo "$as_me:15663: checking if the panel$cf_cv_libtype package files work" >&5
    +		echo "$as_me:15664: checking if the panel$cf_cv_libtype package files work" >&5
     echo $ECHO_N "checking if the panel$cf_cv_libtype package files work... $ECHO_C" >&6
     
     		cf_save_CPPFLAGS="$CPPFLAGS"
    @@ -15781,7 +15782,7 @@ done
     LIBS="$cf_add_libs"
     
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 15784 "configure"
    +#line 15785 "configure"
     #include "confdefs.h"
     #include 
     int
    @@ -15793,37 +15794,37 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:15796: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:15797: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:15799: \$? = $ac_status" >&5
    +  echo "$as_me:15800: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:15802: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:15803: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:15805: \$? = $ac_status" >&5
    +  echo "$as_me:15806: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       if test "$cross_compiling" = yes; then
       cf_have_curses_lib=maybe
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 15811 "configure"
    +#line 15812 "configure"
     #include "confdefs.h"
     #include 
     				int main(void)
     				{ (void) new_panel ( 0 ); return 0; }
     _ACEOF
     rm -f conftest$ac_exeext
    -if { (eval echo "$as_me:15818: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:15819: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:15821: \$? = $ac_status" >&5
    +  echo "$as_me:15822: \$? = $ac_status" >&5
       (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    -  { (eval echo "$as_me:15823: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:15824: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:15826: \$? = $ac_status" >&5
    +  echo "$as_me:15827: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_have_curses_lib=yes
     else
    @@ -15840,7 +15841,7 @@ cat conftest.$ac_ext >&5
     cf_have_curses_lib=no
     fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    -		echo "$as_me:15843: result: $cf_have_curses_lib" >&5
    +		echo "$as_me:15844: result: $cf_have_curses_lib" >&5
     echo "${ECHO_T}$cf_have_curses_lib" >&6
     		test "$cf_have_curses_lib" = maybe && cf_have_curses_lib=yes
     		if test "$cf_have_curses_lib" != "yes"
    @@ -15860,7 +15861,7 @@ EOF
     fi
     if test "$cf_have_curses_lib" = no; then
     	as_ac_Lib=`echo "ac_cv_lib_panel$cf_cv_libtype''_new_panel" | $as_tr_sh`
    -echo "$as_me:15863: checking for new_panel in -lpanel$cf_cv_libtype" >&5
    +echo "$as_me:15864: checking for new_panel in -lpanel$cf_cv_libtype" >&5
     echo $ECHO_N "checking for new_panel in -lpanel$cf_cv_libtype... $ECHO_C" >&6
     if eval "test \"\${$as_ac_Lib+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -15868,7 +15869,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-lpanel$cf_cv_libtype  $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 15871 "configure"
    +#line 15872 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -15887,16 +15888,16 @@ new_panel ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:15890: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:15891: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:15893: \$? = $ac_status" >&5
    +  echo "$as_me:15894: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:15896: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:15897: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:15899: \$? = $ac_status" >&5
    +  echo "$as_me:15900: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       eval "$as_ac_Lib=yes"
     else
    @@ -15907,7 +15908,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:15910: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    +echo "$as_me:15911: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
     if test `eval echo '${'$as_ac_Lib'}'` = yes; then
     
    @@ -15940,7 +15941,7 @@ fi
     	cf_curses_headers="$cf_curses_headers panel.h"
     fi
     
    -echo "$as_me:15943: checking if you want to check for menu functions" >&5
    +echo "$as_me:15944: checking if you want to check for menu functions" >&5
     echo $ECHO_N "checking if you want to check for menu functions... $ECHO_C" >&6
     
     # Check whether --enable-menu or --disable-menu was given.
    @@ -15957,7 +15958,7 @@ else
     	cf_enable_menu=$cf_default_menu
     
     fi;
    -echo "$as_me:15960: result: $cf_enable_menu" >&5
    +echo "$as_me:15961: result: $cf_enable_menu" >&5
     echo "${ECHO_T}$cf_enable_menu" >&6
     if test $cf_enable_menu = yes
     then
    @@ -15966,14 +15967,14 @@ then
     		;;
     	(curses*)
     
    -echo "$as_me:15969: checking for NetBSD menu.h" >&5
    +echo "$as_me:15970: checking for NetBSD menu.h" >&5
     echo $ECHO_N "checking for NetBSD menu.h... $ECHO_C" >&6
     if test "${cf_cv_netbsd_menu_h+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 15976 "configure"
    +#line 15977 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -15991,16 +15992,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:15994: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:15995: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:15997: \$? = $ac_status" >&5
    +  echo "$as_me:15998: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:16000: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16001: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16003: \$? = $ac_status" >&5
    +  echo "$as_me:16004: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_netbsd_menu_h=yes
     
    @@ -16012,7 +16013,7 @@ fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     
     fi
    -echo "$as_me:16015: result: $cf_cv_netbsd_menu_h" >&5
    +echo "$as_me:16016: result: $cf_cv_netbsd_menu_h" >&5
     echo "${ECHO_T}$cf_cv_netbsd_menu_h" >&6
     
     test "$cf_cv_netbsd_menu_h" = yes &&
    @@ -16029,13 +16030,13 @@ cf_have_curses_lib=no
     if test "x${NCURSES_CONFIG_PKG}" = xnone; then
     	:
     elif test "x${PKG_CONFIG:=none}" != xnone; then
    -	echo "$as_me:16032: checking pkg-config for menu$cf_cv_libtype" >&5
    +	echo "$as_me:16033: checking pkg-config for menu$cf_cv_libtype" >&5
     echo $ECHO_N "checking pkg-config for menu$cf_cv_libtype... $ECHO_C" >&6
     	if "$PKG_CONFIG" --exists menu$cf_cv_libtype ; then
    -		echo "$as_me:16035: result: yes" >&5
    +		echo "$as_me:16036: result: yes" >&5
     echo "${ECHO_T}yes" >&6
     
    -		echo "$as_me:16038: checking if the menu$cf_cv_libtype package files work" >&5
    +		echo "$as_me:16039: checking if the menu$cf_cv_libtype package files work" >&5
     echo $ECHO_N "checking if the menu$cf_cv_libtype package files work... $ECHO_C" >&6
     
     		cf_save_CPPFLAGS="$CPPFLAGS"
    @@ -16156,7 +16157,7 @@ done
     LIBS="$cf_add_libs"
     
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 16159 "configure"
    +#line 16160 "configure"
     #include "confdefs.h"
     #include 
     int
    @@ -16168,37 +16169,37 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:16171: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:16172: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:16174: \$? = $ac_status" >&5
    +  echo "$as_me:16175: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:16177: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16178: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16180: \$? = $ac_status" >&5
    +  echo "$as_me:16181: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       if test "$cross_compiling" = yes; then
       cf_have_curses_lib=maybe
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16186 "configure"
    +#line 16187 "configure"
     #include "confdefs.h"
     #include 
     				int main(void)
     				{ (void) menu_driver ( 0,0 ); return 0; }
     _ACEOF
     rm -f conftest$ac_exeext
    -if { (eval echo "$as_me:16193: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:16194: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:16196: \$? = $ac_status" >&5
    +  echo "$as_me:16197: \$? = $ac_status" >&5
       (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    -  { (eval echo "$as_me:16198: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16199: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16201: \$? = $ac_status" >&5
    +  echo "$as_me:16202: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_have_curses_lib=yes
     else
    @@ -16215,7 +16216,7 @@ cat conftest.$ac_ext >&5
     cf_have_curses_lib=no
     fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    -		echo "$as_me:16218: result: $cf_have_curses_lib" >&5
    +		echo "$as_me:16219: result: $cf_have_curses_lib" >&5
     echo "${ECHO_T}$cf_have_curses_lib" >&6
     		test "$cf_have_curses_lib" = maybe && cf_have_curses_lib=yes
     		if test "$cf_have_curses_lib" != "yes"
    @@ -16235,7 +16236,7 @@ EOF
     fi
     if test "$cf_have_curses_lib" = no; then
     	as_ac_Lib=`echo "ac_cv_lib_menu$cf_cv_libtype''_menu_driver" | $as_tr_sh`
    -echo "$as_me:16238: checking for menu_driver in -lmenu$cf_cv_libtype" >&5
    +echo "$as_me:16239: checking for menu_driver in -lmenu$cf_cv_libtype" >&5
     echo $ECHO_N "checking for menu_driver in -lmenu$cf_cv_libtype... $ECHO_C" >&6
     if eval "test \"\${$as_ac_Lib+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -16243,7 +16244,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-lmenu$cf_cv_libtype  $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 16246 "configure"
    +#line 16247 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -16262,16 +16263,16 @@ menu_driver ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:16265: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:16266: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:16268: \$? = $ac_status" >&5
    +  echo "$as_me:16269: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:16271: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16272: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16274: \$? = $ac_status" >&5
    +  echo "$as_me:16275: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       eval "$as_ac_Lib=yes"
     else
    @@ -16282,7 +16283,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:16285: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    +echo "$as_me:16286: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
     if test `eval echo '${'$as_ac_Lib'}'` = yes; then
     
    @@ -16315,7 +16316,7 @@ fi
     	cf_curses_headers="$cf_curses_headers menu.h"
     fi
     
    -echo "$as_me:16318: checking if you want to check for form functions" >&5
    +echo "$as_me:16319: checking if you want to check for form functions" >&5
     echo $ECHO_N "checking if you want to check for form functions... $ECHO_C" >&6
     
     # Check whether --enable-form or --disable-form was given.
    @@ -16332,7 +16333,7 @@ else
     	cf_enable_form=$cf_default_form
     
     fi;
    -echo "$as_me:16335: result: $cf_enable_form" >&5
    +echo "$as_me:16336: result: $cf_enable_form" >&5
     echo "${ECHO_T}$cf_enable_form" >&6
     if test $cf_enable_form = yes
     then
    @@ -16341,14 +16342,14 @@ then
     		;;
     	(curses*)
     
    -echo "$as_me:16344: checking for NetBSD form.h" >&5
    +echo "$as_me:16345: checking for NetBSD form.h" >&5
     echo $ECHO_N "checking for NetBSD form.h... $ECHO_C" >&6
     if test "${cf_cv_netbsd_form_h+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 16351 "configure"
    +#line 16352 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -16367,16 +16368,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:16370: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:16371: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:16373: \$? = $ac_status" >&5
    +  echo "$as_me:16374: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:16376: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16377: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16379: \$? = $ac_status" >&5
    +  echo "$as_me:16380: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_netbsd_form_h=yes
     
    @@ -16388,7 +16389,7 @@ fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     
     fi
    -echo "$as_me:16391: result: $cf_cv_netbsd_form_h" >&5
    +echo "$as_me:16392: result: $cf_cv_netbsd_form_h" >&5
     echo "${ECHO_T}$cf_cv_netbsd_form_h" >&6
     
     test "$cf_cv_netbsd_form_h" = yes &&
    @@ -16405,13 +16406,13 @@ cf_have_curses_lib=no
     if test "x${NCURSES_CONFIG_PKG}" = xnone; then
     	:
     elif test "x${PKG_CONFIG:=none}" != xnone; then
    -	echo "$as_me:16408: checking pkg-config for form$cf_cv_libtype" >&5
    +	echo "$as_me:16409: checking pkg-config for form$cf_cv_libtype" >&5
     echo $ECHO_N "checking pkg-config for form$cf_cv_libtype... $ECHO_C" >&6
     	if "$PKG_CONFIG" --exists form$cf_cv_libtype ; then
    -		echo "$as_me:16411: result: yes" >&5
    +		echo "$as_me:16412: result: yes" >&5
     echo "${ECHO_T}yes" >&6
     
    -		echo "$as_me:16414: checking if the form$cf_cv_libtype package files work" >&5
    +		echo "$as_me:16415: checking if the form$cf_cv_libtype package files work" >&5
     echo $ECHO_N "checking if the form$cf_cv_libtype package files work... $ECHO_C" >&6
     
     		cf_save_CPPFLAGS="$CPPFLAGS"
    @@ -16532,7 +16533,7 @@ done
     LIBS="$cf_add_libs"
     
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 16535 "configure"
    +#line 16536 "configure"
     #include "confdefs.h"
     #include 
     int
    @@ -16544,37 +16545,37 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:16547: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:16548: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:16550: \$? = $ac_status" >&5
    +  echo "$as_me:16551: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:16553: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16554: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16556: \$? = $ac_status" >&5
    +  echo "$as_me:16557: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       if test "$cross_compiling" = yes; then
       cf_have_curses_lib=maybe
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16562 "configure"
    +#line 16563 "configure"
     #include "confdefs.h"
     #include 
     				int main(void)
     				{ (void) form_driver ( 0,0 ); return 0; }
     _ACEOF
     rm -f conftest$ac_exeext
    -if { (eval echo "$as_me:16569: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:16570: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:16572: \$? = $ac_status" >&5
    +  echo "$as_me:16573: \$? = $ac_status" >&5
       (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    -  { (eval echo "$as_me:16574: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16575: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16577: \$? = $ac_status" >&5
    +  echo "$as_me:16578: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_have_curses_lib=yes
     else
    @@ -16591,7 +16592,7 @@ cat conftest.$ac_ext >&5
     cf_have_curses_lib=no
     fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    -		echo "$as_me:16594: result: $cf_have_curses_lib" >&5
    +		echo "$as_me:16595: result: $cf_have_curses_lib" >&5
     echo "${ECHO_T}$cf_have_curses_lib" >&6
     		test "$cf_have_curses_lib" = maybe && cf_have_curses_lib=yes
     		if test "$cf_have_curses_lib" != "yes"
    @@ -16611,7 +16612,7 @@ EOF
     fi
     if test "$cf_have_curses_lib" = no; then
     	as_ac_Lib=`echo "ac_cv_lib_form$cf_cv_libtype''_form_driver" | $as_tr_sh`
    -echo "$as_me:16614: checking for form_driver in -lform$cf_cv_libtype" >&5
    +echo "$as_me:16615: checking for form_driver in -lform$cf_cv_libtype" >&5
     echo $ECHO_N "checking for form_driver in -lform$cf_cv_libtype... $ECHO_C" >&6
     if eval "test \"\${$as_ac_Lib+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -16619,7 +16620,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-lform$cf_cv_libtype  $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 16622 "configure"
    +#line 16623 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -16638,16 +16639,16 @@ form_driver ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:16641: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:16642: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:16644: \$? = $ac_status" >&5
    +  echo "$as_me:16645: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:16647: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16648: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16650: \$? = $ac_status" >&5
    +  echo "$as_me:16651: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       eval "$as_ac_Lib=yes"
     else
    @@ -16658,7 +16659,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:16661: result: `eval echo '${'$as_ac_Lib'}'`" >&5
    +echo "$as_me:16662: result: `eval echo '${'$as_ac_Lib'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
     if test `eval echo '${'$as_ac_Lib'}'` = yes; then
     
    @@ -16696,23 +16697,23 @@ fi
     for ac_header in $cf_curses_headers
     do
     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    -echo "$as_me:16699: checking for $ac_header" >&5
    +echo "$as_me:16700: checking for $ac_header" >&5
     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     if eval "test \"\${$as_ac_Header+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16705 "configure"
    +#line 16706 "configure"
     #include "confdefs.h"
     #include <$ac_header>
     _ACEOF
    -if { (eval echo "$as_me:16709: \"$ac_cpp conftest.$ac_ext\"") >&5
    +if { (eval echo "$as_me:16710: \"$ac_cpp conftest.$ac_ext\"") >&5
       (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
       ac_status=$?
       egrep -v '^ *\+' conftest.er1 >conftest.err
       rm -f conftest.er1
       cat conftest.err >&5
    -  echo "$as_me:16715: \$? = $ac_status" >&5
    +  echo "$as_me:16716: \$? = $ac_status" >&5
       (exit $ac_status); } >/dev/null; then
       if test -s conftest.err; then
         ac_cpp_err=$ac_c_preproc_warn_flag
    @@ -16731,7 +16732,7 @@ else
     fi
     rm -f conftest.err conftest.$ac_ext
     fi
    -echo "$as_me:16734: result: `eval echo '${'$as_ac_Header'}'`" >&5
    +echo "$as_me:16735: result: `eval echo '${'$as_ac_Header'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     if test `eval echo '${'$as_ac_Header'}'` = yes; then
       cat >>confdefs.h <&5
    +echo "$as_me:16745: checking for ANSI C header files" >&5
     echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     if test "${ac_cv_header_stdc+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16750 "configure"
    +#line 16751 "configure"
     #include "confdefs.h"
     #include 
     #include 
    @@ -16755,13 +16756,13 @@ else
     #include 
     
     _ACEOF
    -if { (eval echo "$as_me:16758: \"$ac_cpp conftest.$ac_ext\"") >&5
    +if { (eval echo "$as_me:16759: \"$ac_cpp conftest.$ac_ext\"") >&5
       (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
       ac_status=$?
       egrep -v '^ *\+' conftest.er1 >conftest.err
       rm -f conftest.er1
       cat conftest.err >&5
    -  echo "$as_me:16764: \$? = $ac_status" >&5
    +  echo "$as_me:16765: \$? = $ac_status" >&5
       (exit $ac_status); } >/dev/null; then
       if test -s conftest.err; then
         ac_cpp_err=$ac_c_preproc_warn_flag
    @@ -16783,7 +16784,7 @@ rm -f conftest.err conftest.$ac_ext
     if test $ac_cv_header_stdc = yes; then
       # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16786 "configure"
    +#line 16787 "configure"
     #include "confdefs.h"
     #include 
     
    @@ -16801,7 +16802,7 @@ fi
     if test $ac_cv_header_stdc = yes; then
       # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16804 "configure"
    +#line 16805 "configure"
     #include "confdefs.h"
     #include 
     
    @@ -16822,7 +16823,7 @@ if test $ac_cv_header_stdc = yes; then
       :
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16825 "configure"
    +#line 16826 "configure"
     #include "confdefs.h"
     #include 
     #if ((' ' & 0x0FF) == 0x020)
    @@ -16848,15 +16849,15 @@ main (void)
     }
     _ACEOF
     rm -f conftest$ac_exeext
    -if { (eval echo "$as_me:16851: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:16852: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:16854: \$? = $ac_status" >&5
    +  echo "$as_me:16855: \$? = $ac_status" >&5
       (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    -  { (eval echo "$as_me:16856: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16857: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16859: \$? = $ac_status" >&5
    +  echo "$as_me:16860: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       :
     else
    @@ -16869,7 +16870,7 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     fi
     fi
     fi
    -echo "$as_me:16872: result: $ac_cv_header_stdc" >&5
    +echo "$as_me:16873: result: $ac_cv_header_stdc" >&5
     echo "${ECHO_T}$ac_cv_header_stdc" >&6
     if test $ac_cv_header_stdc = yes; then
     
    @@ -16879,13 +16880,13 @@ EOF
     
     fi
     
    -echo "$as_me:16882: checking whether time.h and sys/time.h may both be included" >&5
    +echo "$as_me:16883: checking whether time.h and sys/time.h may both be included" >&5
     echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
     if test "${ac_cv_header_time+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16888 "configure"
    +#line 16889 "configure"
     #include "confdefs.h"
     #include 
     #include 
    @@ -16901,16 +16902,16 @@ return 0;
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:16904: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:16905: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:16907: \$? = $ac_status" >&5
    +  echo "$as_me:16908: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:16910: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:16911: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:16913: \$? = $ac_status" >&5
    +  echo "$as_me:16914: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       ac_cv_header_time=yes
     else
    @@ -16920,7 +16921,7 @@ ac_cv_header_time=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     fi
    -echo "$as_me:16923: result: $ac_cv_header_time" >&5
    +echo "$as_me:16924: result: $ac_cv_header_time" >&5
     echo "${ECHO_T}$ac_cv_header_time" >&6
     if test $ac_cv_header_time = yes; then
     
    @@ -16944,23 +16945,23 @@ unistd.h \
     
     do
     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    -echo "$as_me:16947: checking for $ac_header" >&5
    +echo "$as_me:16948: checking for $ac_header" >&5
     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     if eval "test \"\${$as_ac_Header+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 16953 "configure"
    +#line 16954 "configure"
     #include "confdefs.h"
     #include <$ac_header>
     _ACEOF
    -if { (eval echo "$as_me:16957: \"$ac_cpp conftest.$ac_ext\"") >&5
    +if { (eval echo "$as_me:16958: \"$ac_cpp conftest.$ac_ext\"") >&5
       (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
       ac_status=$?
       egrep -v '^ *\+' conftest.er1 >conftest.err
       rm -f conftest.er1
       cat conftest.err >&5
    -  echo "$as_me:16963: \$? = $ac_status" >&5
    +  echo "$as_me:16964: \$? = $ac_status" >&5
       (exit $ac_status); } >/dev/null; then
       if test -s conftest.err; then
         ac_cpp_err=$ac_c_preproc_warn_flag
    @@ -16979,7 +16980,7 @@ else
     fi
     rm -f conftest.err conftest.$ac_ext
     fi
    -echo "$as_me:16982: result: `eval echo '${'$as_ac_Header'}'`" >&5
    +echo "$as_me:16983: result: `eval echo '${'$as_ac_Header'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     if test `eval echo '${'$as_ac_Header'}'` = yes; then
       cat >>confdefs.h <&5
    +echo "$as_me:16996: checking for $ac_header" >&5
     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     if eval "test \"\${$as_ac_Header+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 17001 "configure"
    +#line 17002 "configure"
     #include "confdefs.h"
     #include <$ac_header>
     _ACEOF
    -if { (eval echo "$as_me:17005: \"$ac_cpp conftest.$ac_ext\"") >&5
    +if { (eval echo "$as_me:17006: \"$ac_cpp conftest.$ac_ext\"") >&5
       (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
       ac_status=$?
       egrep -v '^ *\+' conftest.er1 >conftest.err
       rm -f conftest.er1
       cat conftest.err >&5
    -  echo "$as_me:17011: \$? = $ac_status" >&5
    +  echo "$as_me:17012: \$? = $ac_status" >&5
       (exit $ac_status); } >/dev/null; then
       if test -s conftest.err; then
         ac_cpp_err=$ac_c_preproc_warn_flag
    @@ -17027,7 +17028,7 @@ else
     fi
     rm -f conftest.err conftest.$ac_ext
     fi
    -echo "$as_me:17030: result: `eval echo '${'$as_ac_Header'}'`" >&5
    +echo "$as_me:17031: result: `eval echo '${'$as_ac_Header'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     if test `eval echo '${'$as_ac_Header'}'` = yes; then
       cat >>confdefs.h <&5
    +echo "$as_me:17041: checking for header declaring getopt variables" >&5
     echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6
     if test "${cf_cv_getopt_header+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -17047,7 +17048,7 @@ cf_cv_getopt_header=none
     for cf_header in stdio.h stdlib.h unistd.h getopt.h
     do
     cat >conftest.$ac_ext <<_ACEOF
    -#line 17050 "configure"
    +#line 17051 "configure"
     #include "confdefs.h"
     
     #include <$cf_header>
    @@ -17060,16 +17061,16 @@ int x = optind; char *y = optarg
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:17063: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:17064: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:17066: \$? = $ac_status" >&5
    +  echo "$as_me:17067: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:17069: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17070: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17072: \$? = $ac_status" >&5
    +  echo "$as_me:17073: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_getopt_header=$cf_header
      break
    @@ -17081,7 +17082,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     done
     
     fi
    -echo "$as_me:17084: result: $cf_cv_getopt_header" >&5
    +echo "$as_me:17085: result: $cf_cv_getopt_header" >&5
     echo "${ECHO_T}$cf_cv_getopt_header" >&6
     if test $cf_cv_getopt_header != none ; then
     
    @@ -17106,13 +17107,13 @@ tsearch \
     
     do
     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    -echo "$as_me:17109: checking for $ac_func" >&5
    +echo "$as_me:17110: checking for $ac_func" >&5
     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     if eval "test \"\${$as_ac_var+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 17115 "configure"
    +#line 17116 "configure"
     #include "confdefs.h"
     #define $ac_func autoconf_temporary
     #include 	/* least-intrusive standard header which defines gcc2 __stub macros */
    @@ -17143,16 +17144,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:17146: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:17147: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:17149: \$? = $ac_status" >&5
    +  echo "$as_me:17150: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:17152: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17153: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17155: \$? = $ac_status" >&5
    +  echo "$as_me:17156: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       eval "$as_ac_var=yes"
     else
    @@ -17162,7 +17163,7 @@ eval "$as_ac_var=no"
     fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     fi
    -echo "$as_me:17165: result: `eval echo '${'$as_ac_var'}'`" >&5
    +echo "$as_me:17166: result: `eval echo '${'$as_ac_var'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     if test `eval echo '${'$as_ac_var'}'` = yes; then
       cat >>confdefs.h <&5
    +echo "$as_me:17177: checking if we can use termcap.h" >&5
     echo $ECHO_N "checking if we can use termcap.h... $ECHO_C" >&6
     if test "${cf_cv_have_termcap_h+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 17183 "configure"
    +#line 17184 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -17201,16 +17202,16 @@ return 0;
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:17204: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:17205: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:17207: \$? = $ac_status" >&5
    +  echo "$as_me:17208: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:17210: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17211: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17213: \$? = $ac_status" >&5
    +  echo "$as_me:17214: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_have_termcap_h=yes
     else
    @@ -17220,7 +17221,7 @@ cf_cv_have_termcap_h=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     fi
    -echo "$as_me:17223: result: $cf_cv_have_termcap_h" >&5
    +echo "$as_me:17224: result: $cf_cv_have_termcap_h" >&5
     echo "${ECHO_T}$cf_cv_have_termcap_h" >&6
     if test "x$cf_cv_have_termcap_h" = xyes
     then
    @@ -17230,14 +17231,14 @@ cat >>confdefs.h <<\EOF
     EOF
     
     else
    -echo "$as_me:17233: checking if we can use ncurses/termcap.h" >&5
    +echo "$as_me:17234: checking if we can use ncurses/termcap.h" >&5
     echo $ECHO_N "checking if we can use ncurses/termcap.h... $ECHO_C" >&6
     if test "${cf_cv_have_ncurses_termcap_h+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 17240 "configure"
    +#line 17241 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -17258,16 +17259,16 @@ return 0;
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:17261: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:17262: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:17264: \$? = $ac_status" >&5
    +  echo "$as_me:17265: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:17267: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17268: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17270: \$? = $ac_status" >&5
    +  echo "$as_me:17271: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_have_ncurses_termcap_h=yes
     else
    @@ -17277,7 +17278,7 @@ cf_cv_have_ncurses_termcap_h=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     fi
    -echo "$as_me:17280: result: $cf_cv_have_ncurses_termcap_h" >&5
    +echo "$as_me:17281: result: $cf_cv_have_ncurses_termcap_h" >&5
     echo "${ECHO_T}$cf_cv_have_ncurses_termcap_h" >&6
     test "x$cf_cv_have_ncurses_termcap_h" = xyes &&
     cat >>confdefs.h <<\EOF
    @@ -17287,7 +17288,7 @@ EOF
     fi
     
     if test "x$ac_cv_func_getopt" = xno; then
    -	{ { echo "$as_me:17290: error: getopt is required for building programs" >&5
    +	{ { echo "$as_me:17291: error: getopt is required for building programs" >&5
     echo "$as_me: error: getopt is required for building programs" >&2;}
        { (exit 1); exit 1; }; }
     fi
    @@ -17306,13 +17307,13 @@ wcstombs \
     
     do
     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    -echo "$as_me:17309: checking for $ac_func" >&5
    +echo "$as_me:17310: checking for $ac_func" >&5
     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     if eval "test \"\${$as_ac_var+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 17315 "configure"
    +#line 17316 "configure"
     #include "confdefs.h"
     #define $ac_func autoconf_temporary
     #include 	/* least-intrusive standard header which defines gcc2 __stub macros */
    @@ -17343,16 +17344,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:17346: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:17347: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:17349: \$? = $ac_status" >&5
    +  echo "$as_me:17350: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:17352: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17353: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17355: \$? = $ac_status" >&5
    +  echo "$as_me:17356: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       eval "$as_ac_var=yes"
     else
    @@ -17362,7 +17363,7 @@ eval "$as_ac_var=no"
     fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     fi
    -echo "$as_me:17365: result: `eval echo '${'$as_ac_var'}'`" >&5
    +echo "$as_me:17366: result: `eval echo '${'$as_ac_var'}'`" >&5
     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     if test `eval echo '${'$as_ac_var'}'` = yes; then
       cat >>confdefs.h <&5
    +echo "$as_me:17378: checking definition to turn on extended curses functions" >&5
     echo $ECHO_N "checking definition to turn on extended curses functions... $ECHO_C" >&6
     if test "${cf_cv_need_xopen_extension+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -17382,7 +17383,7 @@ else
     
     cf_cv_need_xopen_extension=unknown
     cat >conftest.$ac_ext <<_ACEOF
    -#line 17385 "configure"
    +#line 17386 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -17408,16 +17409,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:17411: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:17412: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:17414: \$? = $ac_status" >&5
    +  echo "$as_me:17415: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:17417: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17418: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17420: \$? = $ac_status" >&5
    +  echo "$as_me:17421: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_need_xopen_extension=none
     else
    @@ -17427,7 +17428,7 @@ cat conftest.$ac_ext >&5
     	for cf_try_xopen_extension in _XOPEN_SOURCE_EXTENDED NCURSES_WIDECHAR
     	do
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 17430 "configure"
    +#line 17431 "configure"
     #include "confdefs.h"
     
     #define $cf_try_xopen_extension 1
    @@ -17449,16 +17450,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:17452: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:17453: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:17455: \$? = $ac_status" >&5
    +  echo "$as_me:17456: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:17458: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17459: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17461: \$? = $ac_status" >&5
    +  echo "$as_me:17462: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_need_xopen_extension=$cf_try_xopen_extension; break
     else
    @@ -17472,7 +17473,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     
     fi
    -echo "$as_me:17475: result: $cf_cv_need_xopen_extension" >&5
    +echo "$as_me:17476: result: $cf_cv_need_xopen_extension" >&5
     echo "${ECHO_T}$cf_cv_need_xopen_extension" >&6
     
     case $cf_cv_need_xopen_extension in
    @@ -17484,7 +17485,7 @@ case $cf_cv_need_xopen_extension in
     	;;
     esac
     
    -echo "$as_me:17487: checking for term.h" >&5
    +echo "$as_me:17488: checking for term.h" >&5
     echo $ECHO_N "checking for term.h... $ECHO_C" >&6
     if test "${cf_cv_term_header+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -17505,7 +17506,7 @@ esac
     for cf_header in $cf_header_list
     do
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 17508 "configure"
    +#line 17509 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -17519,16 +17520,16 @@ WINDOW *x
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:17522: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:17523: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:17525: \$? = $ac_status" >&5
    +  echo "$as_me:17526: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:17528: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17529: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17531: \$? = $ac_status" >&5
    +  echo "$as_me:17532: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_term_header=$cf_header
     	 break
    @@ -17547,7 +17548,7 @@ case $cf_cv_term_header in
     	for cf_header in ncurses/term.h ncursesw/term.h
     	do
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 17550 "configure"
    +#line 17551 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -17565,16 +17566,16 @@ WINDOW *x
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:17568: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:17569: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:17571: \$? = $ac_status" >&5
    +  echo "$as_me:17572: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:17574: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17575: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17577: \$? = $ac_status" >&5
    +  echo "$as_me:17578: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_term_header=$cf_header
     			 break
    @@ -17589,7 +17590,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     esac
     
     fi
    -echo "$as_me:17592: result: $cf_cv_term_header" >&5
    +echo "$as_me:17593: result: $cf_cv_term_header" >&5
     echo "${ECHO_T}$cf_cv_term_header" >&6
     
     case $cf_cv_term_header in
    @@ -17616,7 +17617,7 @@ EOF
     	;;
     esac
     
    -echo "$as_me:17619: checking for unctrl.h" >&5
    +echo "$as_me:17620: checking for unctrl.h" >&5
     echo $ECHO_N "checking for unctrl.h... $ECHO_C" >&6
     if test "${cf_cv_unctrl_header+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -17637,7 +17638,7 @@ esac
     for cf_header in $cf_header_list
     do
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 17640 "configure"
    +#line 17641 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -17651,16 +17652,16 @@ WINDOW *x
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:17654: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:17655: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:17657: \$? = $ac_status" >&5
    +  echo "$as_me:17658: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:17660: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17661: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17663: \$? = $ac_status" >&5
    +  echo "$as_me:17664: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_unctrl_header=$cf_header
     	 break
    @@ -17673,12 +17674,12 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     done
     
     fi
    -echo "$as_me:17676: result: $cf_cv_unctrl_header" >&5
    +echo "$as_me:17677: result: $cf_cv_unctrl_header" >&5
     echo "${ECHO_T}$cf_cv_unctrl_header" >&6
     
     case $cf_cv_unctrl_header in
     (no)
    -	{ echo "$as_me:17681: WARNING: unctrl.h header not found" >&5
    +	{ echo "$as_me:17682: WARNING: unctrl.h header not found" >&5
     echo "$as_me: WARNING: unctrl.h header not found" >&2;}
     	;;
     esac
    @@ -17767,10 +17768,10 @@ do
     
     cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
     
    -	echo "$as_me:17770: checking for ${cf_func}" >&5
    +	echo "$as_me:17771: checking for ${cf_func}" >&5
     echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6
     
    -echo "${as_me:-configure}:17773: testing ${cf_func} ..." 1>&5
    +echo "${as_me:-configure}:17774: testing ${cf_func} ..." 1>&5
     
     	if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -17779,7 +17780,7 @@ else
     		eval cf_result='$ac_cv_func_'$cf_func
     		if test ".$cf_result" != ".no"; then
     			cat >conftest.$ac_ext <<_ACEOF
    -#line 17782 "configure"
    +#line 17783 "configure"
     #include "confdefs.h"
     
     #ifdef HAVE_XCURSES
    @@ -17812,16 +17813,16 @@ if (foo + 1234L > 5678L)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:17815: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:17816: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:17818: \$? = $ac_status" >&5
    +  echo "$as_me:17819: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:17821: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17822: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17824: \$? = $ac_status" >&5
    +  echo "$as_me:17825: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -17837,7 +17838,7 @@ fi
     
     	# use the computed/retrieved cache-value:
     	eval 'cf_result=$cf_cv_func_'$cf_func
    -	echo "$as_me:17840: result: $cf_result" >&5
    +	echo "$as_me:17841: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     	if test $cf_result != no; then
     		cat >>confdefs.h <&5
    +	echo "$as_me:17856: checking for ${cf_func}" >&5
     echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6
     
    -echo "${as_me:-configure}:17858: testing ${cf_func} ..." 1>&5
    +echo "${as_me:-configure}:17859: testing ${cf_func} ..." 1>&5
     
     	if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -17864,7 +17865,7 @@ else
     		eval cf_result='$ac_cv_func_'$cf_func
     		if test ".$cf_result" != ".no"; then
     			cat >conftest.$ac_ext <<_ACEOF
    -#line 17867 "configure"
    +#line 17868 "configure"
     #include "confdefs.h"
     
     #ifdef HAVE_XCURSES
    @@ -17897,16 +17898,16 @@ if (foo + 1234L > 5678L)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:17900: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:17901: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:17903: \$? = $ac_status" >&5
    +  echo "$as_me:17904: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:17906: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17907: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17909: \$? = $ac_status" >&5
    +  echo "$as_me:17910: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -17922,7 +17923,7 @@ fi
     
     	# use the computed/retrieved cache-value:
     	eval 'cf_result=$cf_cv_func_'$cf_func
    -	echo "$as_me:17925: result: $cf_result" >&5
    +	echo "$as_me:17926: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     	if test $cf_result != no; then
     		cat >>confdefs.h <conftest.$ac_ext <<_ACEOF
    -#line 17949 "configure"
    +#line 17950 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -17966,21 +17967,21 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:17969: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:17970: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:17972: \$? = $ac_status" >&5
    +  echo "$as_me:17973: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:17975: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:17976: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:17978: \$? = $ac_status" >&5
    +  echo "$as_me:17979: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
     
     		test -n "$verbose" && echo "	prototype $cf_ret func($cf_arg value)" 1>&6
     
    -echo "${as_me:-configure}:17983: testing prototype $cf_ret func($cf_arg value) ..." 1>&5
    +echo "${as_me:-configure}:17984: testing prototype $cf_ret func($cf_arg value) ..." 1>&5
     
     		cat >>confdefs.h <&5
    +echo "$as_me:18004: checking for ncurses extended functions" >&5
     echo $ECHO_N "checking for ncurses extended functions... $ECHO_C" >&6
     if test "${cf_cv_ncurses_ext_funcs+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18010 "configure"
    +#line 18011 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18022,16 +18023,16 @@ int x = NCURSES_EXT_FUNCS
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18025: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18026: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18028: \$? = $ac_status" >&5
    +  echo "$as_me:18029: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18031: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18032: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18034: \$? = $ac_status" >&5
    +  echo "$as_me:18035: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_ncurses_ext_funcs=defined
     else
    @@ -18039,7 +18040,7 @@ else
     cat conftest.$ac_ext >&5
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18042 "configure"
    +#line 18043 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18064,16 +18065,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18067: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18068: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18070: \$? = $ac_status" >&5
    +  echo "$as_me:18071: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18073: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18074: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18076: \$? = $ac_status" >&5
    +  echo "$as_me:18077: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_ncurses_ext_funcs=yes
     else
    @@ -18087,7 +18088,7 @@ fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     
     fi
    -echo "$as_me:18090: result: $cf_cv_ncurses_ext_funcs" >&5
    +echo "$as_me:18091: result: $cf_cv_ncurses_ext_funcs" >&5
     echo "${ECHO_T}$cf_cv_ncurses_ext_funcs" >&6
     test "$cf_cv_ncurses_ext_funcs" = yes &&
     cat >>confdefs.h <<\EOF
    @@ -18101,11 +18102,11 @@ then
     	if test -n "$cf_cv_ncurses_version" && test "x$cf_cv_ncurses_version" != xno
     	then
     		cf_define_xpg5=no
    -		echo "$as_me:18104: checking if _XPG5 should be defined to enable wide-characters" >&5
    +		echo "$as_me:18105: checking if _XPG5 should be defined to enable wide-characters" >&5
     echo $ECHO_N "checking if _XPG5 should be defined to enable wide-characters... $ECHO_C" >&6
     
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 18108 "configure"
    +#line 18109 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18118,16 +18119,16 @@ int x = _XPG5
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18121: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18122: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18124: \$? = $ac_status" >&5
    +  echo "$as_me:18125: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18127: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18128: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18130: \$? = $ac_status" >&5
    +  echo "$as_me:18131: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       :
     else
    @@ -18136,7 +18137,7 @@ cat conftest.$ac_ext >&5
     cf_save_cppflags="$CPPFLAGS"
     			 CPPFLAGS="$CPPFLAGS -D_XPG5"
     			 cat >conftest.$ac_ext <<_ACEOF
    -#line 18139 "configure"
    +#line 18140 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18149,16 +18150,16 @@ int x = _XPG5
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18152: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18153: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18155: \$? = $ac_status" >&5
    +  echo "$as_me:18156: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18158: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18159: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18161: \$? = $ac_status" >&5
    +  echo "$as_me:18162: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_define_xpg5=yes
     else
    @@ -18169,7 +18170,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     			 CPPFLAGS="$cf_save_cppflags"
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
    -		echo "$as_me:18172: result: $cf_define_xpg5" >&5
    +		echo "$as_me:18173: result: $cf_define_xpg5" >&5
     echo "${ECHO_T}$cf_define_xpg5" >&6
     
     		if test "$cf_define_xpg5" = yes
    @@ -18178,14 +18179,14 @@ echo "${ECHO_T}$cf_define_xpg5" >&6
     		fi
     	fi
     
    -	echo "$as_me:18181: checking for wide-character functions" >&5
    +	echo "$as_me:18182: checking for wide-character functions" >&5
     echo $ECHO_N "checking for wide-character functions... $ECHO_C" >&6
     if test "${cf_cv_widechar_funcs+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 18188 "configure"
    +#line 18189 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18202,16 +18203,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18205: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18206: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18208: \$? = $ac_status" >&5
    +  echo "$as_me:18209: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18211: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18212: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18214: \$? = $ac_status" >&5
    +  echo "$as_me:18215: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_widechar_funcs=yes
     else
    @@ -18222,7 +18223,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     
     fi
    -echo "$as_me:18225: result: $cf_cv_widechar_funcs" >&5
    +echo "$as_me:18226: result: $cf_cv_widechar_funcs" >&5
     echo "${ECHO_T}$cf_cv_widechar_funcs" >&6
     	if test "$cf_cv_widechar_funcs" != no ; then
     
    @@ -18243,14 +18244,14 @@ EOF
     
     fi
     
    -echo "$as_me:18246: checking if $cf_cv_screen library uses pthreads" >&5
    +echo "$as_me:18247: checking if $cf_cv_screen library uses pthreads" >&5
     echo $ECHO_N "checking if $cf_cv_screen library uses pthreads... $ECHO_C" >&6
     if test "${cf_cv_use_pthreads+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18253 "configure"
    +#line 18254 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18268,16 +18269,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18271: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18272: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18274: \$? = $ac_status" >&5
    +  echo "$as_me:18275: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18277: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18278: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18280: \$? = $ac_status" >&5
    +  echo "$as_me:18281: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_use_pthreads=yes
     else
    @@ -18288,21 +18289,21 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     
     fi
    -echo "$as_me:18291: result: $cf_cv_use_pthreads" >&5
    +echo "$as_me:18292: result: $cf_cv_use_pthreads" >&5
     echo "${ECHO_T}$cf_cv_use_pthreads" >&6
     test $cf_cv_use_pthreads = yes &&
     cat >>confdefs.h <<\EOF
     #define USE_PTHREADS 1
     EOF
     
    -echo "$as_me:18298: checking if sys/time.h works with sys/select.h" >&5
    +echo "$as_me:18299: checking if sys/time.h works with sys/select.h" >&5
     echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6
     if test "${cf_cv_sys_time_select+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18305 "configure"
    +#line 18306 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -18322,16 +18323,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18325: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18326: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18328: \$? = $ac_status" >&5
    +  echo "$as_me:18329: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18331: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18332: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18334: \$? = $ac_status" >&5
    +  echo "$as_me:18335: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_sys_time_select=yes
     else
    @@ -18343,7 +18344,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     
     fi
     
    -echo "$as_me:18346: result: $cf_cv_sys_time_select" >&5
    +echo "$as_me:18347: result: $cf_cv_sys_time_select" >&5
     echo "${ECHO_T}$cf_cv_sys_time_select" >&6
     test "$cf_cv_sys_time_select" = yes &&
     cat >>confdefs.h <<\EOF
    @@ -18352,7 +18353,7 @@ EOF
     
     # special check for test/ditto.c
     
    -echo "$as_me:18355: checking for openpty in -lutil" >&5
    +echo "$as_me:18356: checking for openpty in -lutil" >&5
     echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
     if test "${ac_cv_lib_util_openpty+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -18360,7 +18361,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-lutil  $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18363 "configure"
    +#line 18364 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -18379,16 +18380,16 @@ openpty ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18382: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18383: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18385: \$? = $ac_status" >&5
    +  echo "$as_me:18386: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18388: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18389: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18391: \$? = $ac_status" >&5
    +  echo "$as_me:18392: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       ac_cv_lib_util_openpty=yes
     else
    @@ -18399,7 +18400,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:18402: result: $ac_cv_lib_util_openpty" >&5
    +echo "$as_me:18403: result: $ac_cv_lib_util_openpty" >&5
     echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
     if test $ac_cv_lib_util_openpty = yes; then
       cf_cv_lib_util=yes
    @@ -18407,7 +18408,7 @@ else
       cf_cv_lib_util=no
     fi
     
    -echo "$as_me:18410: checking for openpty header" >&5
    +echo "$as_me:18411: checking for openpty header" >&5
     echo $ECHO_N "checking for openpty header... $ECHO_C" >&6
     if test "${cf_cv_func_openpty+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -18434,7 +18435,7 @@ LIBS="$cf_add_libs"
     	for cf_header in pty.h libutil.h util.h
     	do
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 18437 "configure"
    +#line 18438 "configure"
     #include "confdefs.h"
     
     #include <$cf_header>
    @@ -18451,16 +18452,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18454: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18455: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18457: \$? = $ac_status" >&5
    +  echo "$as_me:18458: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18460: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18461: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18463: \$? = $ac_status" >&5
    +  echo "$as_me:18464: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
     
     		cf_cv_func_openpty=$cf_header
    @@ -18478,7 +18479,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     	LIBS="$cf_save_LIBS"
     
     fi
    -echo "$as_me:18481: result: $cf_cv_func_openpty" >&5
    +echo "$as_me:18482: result: $cf_cv_func_openpty" >&5
     echo "${ECHO_T}$cf_cv_func_openpty" >&6
     
     if test "$cf_cv_func_openpty" != no ; then
    @@ -18512,7 +18513,7 @@ TEST_LIBS="$cf_add_libs"
     	fi
     fi
     
    -echo "$as_me:18515: checking for function curses_version" >&5
    +echo "$as_me:18516: checking for function curses_version" >&5
     echo $ECHO_N "checking for function curses_version... $ECHO_C" >&6
     if test "${cf_cv_func_curses_version+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -18522,7 +18523,7 @@ if test "$cross_compiling" = yes; then
       cf_cv_func_curses_version=unknown
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 18525 "configure"
    +#line 18526 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18535,15 +18536,15 @@ int main(void)
     
     _ACEOF
     rm -f conftest$ac_exeext
    -if { (eval echo "$as_me:18538: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18539: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18541: \$? = $ac_status" >&5
    +  echo "$as_me:18542: \$? = $ac_status" >&5
       (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    -  { (eval echo "$as_me:18543: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18544: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18546: \$? = $ac_status" >&5
    +  echo "$as_me:18547: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_func_curses_version=yes
     
    @@ -18558,14 +18559,14 @@ rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     fi
     rm -f core
     fi
    -echo "$as_me:18561: result: $cf_cv_func_curses_version" >&5
    +echo "$as_me:18562: result: $cf_cv_func_curses_version" >&5
     echo "${ECHO_T}$cf_cv_func_curses_version" >&6
     test "$cf_cv_func_curses_version" = yes &&
     cat >>confdefs.h <<\EOF
     #define HAVE_CURSES_VERSION 1
     EOF
     
    -echo "$as_me:18568: checking for alternate character set array" >&5
    +echo "$as_me:18569: checking for alternate character set array" >&5
     echo $ECHO_N "checking for alternate character set array... $ECHO_C" >&6
     if test "${cf_cv_curses_acs_map+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -18575,7 +18576,7 @@ cf_cv_curses_acs_map=unknown
     for name in acs_map _acs_map __acs_map ${NCURSES_WRAP_PREFIX}acs_map
     do
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18578 "configure"
    +#line 18579 "configure"
     #include "confdefs.h"
     
     #include <${cf_cv_ncurses_header:-curses.h}>
    @@ -18591,16 +18592,16 @@ $name['k'] = ACS_PLUS
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18594: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18595: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18597: \$? = $ac_status" >&5
    +  echo "$as_me:18598: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18600: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18601: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18603: \$? = $ac_status" >&5
    +  echo "$as_me:18604: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_curses_acs_map=$name; break
     else
    @@ -18611,7 +18612,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     done
     
     fi
    -echo "$as_me:18614: result: $cf_cv_curses_acs_map" >&5
    +echo "$as_me:18615: result: $cf_cv_curses_acs_map" >&5
     echo "${ECHO_T}$cf_cv_curses_acs_map" >&6
     
     test "$cf_cv_curses_acs_map" != unknown &&
    @@ -18621,7 +18622,7 @@ EOF
     
     if test "$cf_enable_widec" = yes; then
     
    -echo "$as_me:18624: checking for wide alternate character set array" >&5
    +echo "$as_me:18625: checking for wide alternate character set array" >&5
     echo $ECHO_N "checking for wide alternate character set array... $ECHO_C" >&6
     if test "${cf_cv_curses_wacs_map+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -18631,7 +18632,7 @@ else
     	for name in wacs_map _wacs_map __wacs_map _nc_wacs _wacs_char
     	do
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 18634 "configure"
    +#line 18635 "configure"
     #include "confdefs.h"
     
     #ifndef _XOPEN_SOURCE_EXTENDED
    @@ -18647,16 +18648,16 @@ void *foo = &($name['k'])
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18650: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18651: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18653: \$? = $ac_status" >&5
    +  echo "$as_me:18654: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18656: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18657: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18659: \$? = $ac_status" >&5
    +  echo "$as_me:18660: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_curses_wacs_map=$name
     	 break
    @@ -18667,7 +18668,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     	done
     fi
    -echo "$as_me:18670: result: $cf_cv_curses_wacs_map" >&5
    +echo "$as_me:18671: result: $cf_cv_curses_wacs_map" >&5
     echo "${ECHO_T}$cf_cv_curses_wacs_map" >&6
     
     test "$cf_cv_curses_wacs_map" != unknown &&
    @@ -18675,7 +18676,7 @@ cat >>confdefs.h <&5
    +echo "$as_me:18679: checking for wide alternate character constants" >&5
     echo $ECHO_N "checking for wide alternate character constants... $ECHO_C" >&6
     if test "${cf_cv_curses_wacs_symbols+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -18685,7 +18686,7 @@ cf_cv_curses_wacs_symbols=no
     if test "$cf_cv_curses_wacs_map" != unknown
     then
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 18688 "configure"
    +#line 18689 "configure"
     #include "confdefs.h"
     
     #ifndef _XOPEN_SOURCE_EXTENDED
    @@ -18702,16 +18703,16 @@ cchar_t *foo = WACS_PLUS;
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18705: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18706: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18708: \$? = $ac_status" >&5
    +  echo "$as_me:18709: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18711: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18712: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18714: \$? = $ac_status" >&5
    +  echo "$as_me:18715: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_curses_wacs_symbols=yes
     else
    @@ -18721,7 +18722,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     else
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 18724 "configure"
    +#line 18725 "configure"
     #include "confdefs.h"
     
     #ifndef _XOPEN_SOURCE_EXTENDED
    @@ -18737,16 +18738,16 @@ cchar_t *foo = WACS_PLUS
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:18740: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:18741: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:18743: \$? = $ac_status" >&5
    +  echo "$as_me:18744: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:18746: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18747: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18749: \$? = $ac_status" >&5
    +  echo "$as_me:18750: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_curses_wacs_symbols=yes
     else
    @@ -18757,7 +18758,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     fi
     
     fi
    -echo "$as_me:18760: result: $cf_cv_curses_wacs_symbols" >&5
    +echo "$as_me:18761: result: $cf_cv_curses_wacs_symbols" >&5
     echo "${ECHO_T}$cf_cv_curses_wacs_symbols" >&6
     
     test "$cf_cv_curses_wacs_symbols" != no &&
    @@ -18767,10 +18768,10 @@ EOF
     
     fi
     
    -echo "$as_me:18770: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    +echo "$as_me:18771: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     echo $ECHO_N "checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18773 "configure"
    +#line 18774 "configure"
     #include "confdefs.h"
     
     #ifndef _XOPEN_SOURCE_EXTENDED
    @@ -18788,16 +18789,16 @@ attr_t foo
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18791: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18792: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18794: \$? = $ac_status" >&5
    +  echo "$as_me:18795: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18797: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18798: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18800: \$? = $ac_status" >&5
    +  echo "$as_me:18801: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -18806,7 +18807,7 @@ cat conftest.$ac_ext >&5
     cf_result=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
    -echo "$as_me:18809: result: $cf_result" >&5
    +echo "$as_me:18810: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     if test $cf_result = yes ; then
     
    @@ -18827,14 +18828,14 @@ fi
     if test "$cf_enable_widec" = yes; then
     
     # This is needed on Tru64 5.0 to declare mbstate_t
    -echo "$as_me:18830: checking if we must include wchar.h to declare mbstate_t" >&5
    +echo "$as_me:18831: checking if we must include wchar.h to declare mbstate_t" >&5
     echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6
     if test "${cf_cv_mbstate_t+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18837 "configure"
    +#line 18838 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -18852,23 +18853,23 @@ mbstate_t state
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18855: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18856: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18858: \$? = $ac_status" >&5
    +  echo "$as_me:18859: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18861: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18862: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18864: \$? = $ac_status" >&5
    +  echo "$as_me:18865: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_mbstate_t=no
     else
       echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18871 "configure"
    +#line 18872 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -18887,16 +18888,16 @@ mbstate_t value
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18890: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18891: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18893: \$? = $ac_status" >&5
    +  echo "$as_me:18894: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18896: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18897: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18899: \$? = $ac_status" >&5
    +  echo "$as_me:18900: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_mbstate_t=yes
     else
    @@ -18908,7 +18909,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     fi
    -echo "$as_me:18911: result: $cf_cv_mbstate_t" >&5
    +echo "$as_me:18912: result: $cf_cv_mbstate_t" >&5
     echo "${ECHO_T}$cf_cv_mbstate_t" >&6
     
     if test "$cf_cv_mbstate_t" = yes ; then
    @@ -18931,14 +18932,14 @@ if test "$cf_cv_mbstate_t" != unknown ; then
     fi
     
     # This is needed on Tru64 5.0 to declare wchar_t
    -echo "$as_me:18934: checking if we must include wchar.h to declare wchar_t" >&5
    +echo "$as_me:18935: checking if we must include wchar.h to declare wchar_t" >&5
     echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6
     if test "${cf_cv_wchar_t+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18941 "configure"
    +#line 18942 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -18956,23 +18957,23 @@ wchar_t state
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18959: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18960: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18962: \$? = $ac_status" >&5
    +  echo "$as_me:18963: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:18965: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:18966: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:18968: \$? = $ac_status" >&5
    +  echo "$as_me:18969: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_wchar_t=no
     else
       echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     cat >conftest.$ac_ext <<_ACEOF
    -#line 18975 "configure"
    +#line 18976 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -18991,16 +18992,16 @@ wchar_t value
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:18994: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:18995: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:18997: \$? = $ac_status" >&5
    +  echo "$as_me:18998: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19000: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19001: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19003: \$? = $ac_status" >&5
    +  echo "$as_me:19004: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_wchar_t=yes
     else
    @@ -19012,7 +19013,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     fi
    -echo "$as_me:19015: result: $cf_cv_wchar_t" >&5
    +echo "$as_me:19016: result: $cf_cv_wchar_t" >&5
     echo "${ECHO_T}$cf_cv_wchar_t" >&6
     
     if test "$cf_cv_wchar_t" = yes ; then
    @@ -19035,14 +19036,14 @@ if test "$cf_cv_wchar_t" != unknown ; then
     fi
     
     # This is needed on Tru64 5.0 to declare wint_t
    -echo "$as_me:19038: checking if we must include wchar.h to declare wint_t" >&5
    +echo "$as_me:19039: checking if we must include wchar.h to declare wint_t" >&5
     echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6
     if test "${cf_cv_wint_t+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 19045 "configure"
    +#line 19046 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -19060,23 +19061,23 @@ wint_t state
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19063: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19064: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19066: \$? = $ac_status" >&5
    +  echo "$as_me:19067: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19069: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19070: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19072: \$? = $ac_status" >&5
    +  echo "$as_me:19073: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_wint_t=no
     else
       echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     cat >conftest.$ac_ext <<_ACEOF
    -#line 19079 "configure"
    +#line 19080 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -19095,16 +19096,16 @@ wint_t value
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19098: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19099: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19101: \$? = $ac_status" >&5
    +  echo "$as_me:19102: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19104: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19105: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19107: \$? = $ac_status" >&5
    +  echo "$as_me:19108: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_cv_wint_t=yes
     else
    @@ -19116,7 +19117,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     fi
    -echo "$as_me:19119: result: $cf_cv_wint_t" >&5
    +echo "$as_me:19120: result: $cf_cv_wint_t" >&5
     echo "${ECHO_T}$cf_cv_wint_t" >&6
     
     if test "$cf_cv_wint_t" = yes ; then
    @@ -19140,10 +19141,10 @@ fi
     
     	if test "$NCURSES_OK_MBSTATE_T" = 0 ; then
     
    -echo "$as_me:19143: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    +echo "$as_me:19144: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     echo $ECHO_N "checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
     cat >conftest.$ac_ext <<_ACEOF
    -#line 19146 "configure"
    +#line 19147 "configure"
     #include "confdefs.h"
     
     #ifndef _XOPEN_SOURCE_EXTENDED
    @@ -19161,16 +19162,16 @@ mbstate_t foo
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19164: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19165: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19167: \$? = $ac_status" >&5
    +  echo "$as_me:19168: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19170: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19171: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19173: \$? = $ac_status" >&5
    +  echo "$as_me:19174: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -19179,7 +19180,7 @@ cat conftest.$ac_ext >&5
     cf_result=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
    -echo "$as_me:19182: result: $cf_result" >&5
    +echo "$as_me:19183: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     if test $cf_result = yes ; then
     
    @@ -19201,10 +19202,10 @@ fi
     
     	if test "$NCURSES_OK_WCHAR_T" = 0 ; then
     
    -echo "$as_me:19204: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    +echo "$as_me:19205: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     echo $ECHO_N "checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
     cat >conftest.$ac_ext <<_ACEOF
    -#line 19207 "configure"
    +#line 19208 "configure"
     #include "confdefs.h"
     
     #ifndef _XOPEN_SOURCE_EXTENDED
    @@ -19222,16 +19223,16 @@ wchar_t foo
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19225: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19226: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19228: \$? = $ac_status" >&5
    +  echo "$as_me:19229: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19231: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19232: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19234: \$? = $ac_status" >&5
    +  echo "$as_me:19235: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -19240,7 +19241,7 @@ cat conftest.$ac_ext >&5
     cf_result=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
    -echo "$as_me:19243: result: $cf_result" >&5
    +echo "$as_me:19244: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     if test $cf_result = yes ; then
     
    @@ -19262,10 +19263,10 @@ fi
     
     	if test "$NCURSES_OK_WINT_T" = 0 ; then
     
    -echo "$as_me:19265: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5
    +echo "$as_me:19266: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5
     echo $ECHO_N "checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
     cat >conftest.$ac_ext <<_ACEOF
    -#line 19268 "configure"
    +#line 19269 "configure"
     #include "confdefs.h"
     
     #ifndef _XOPEN_SOURCE_EXTENDED
    @@ -19283,16 +19284,16 @@ wint_t foo
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19286: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19287: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19289: \$? = $ac_status" >&5
    +  echo "$as_me:19290: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19292: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19293: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19295: \$? = $ac_status" >&5
    +  echo "$as_me:19296: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -19301,7 +19302,7 @@ cat conftest.$ac_ext >&5
     cf_result=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
    -echo "$as_me:19304: result: $cf_result" >&5
    +echo "$as_me:19305: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     if test $cf_result = yes ; then
     
    @@ -19330,11 +19331,11 @@ boolnames \
     boolfnames \
     ttytype
     do
    -echo "$as_me:19333: checking for data $cf_data declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
    +echo "$as_me:19334: checking for data $cf_data declaration in ${cf_cv_ncurses_header:-curses.h}" >&5
     echo $ECHO_N "checking for data $cf_data declaration in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 19337 "configure"
    +#line 19338 "configure"
     #include "confdefs.h"
     
     #ifdef HAVE_XCURSES
    @@ -19362,16 +19363,16 @@ void *foo = &($cf_data)
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19365: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19366: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19368: \$? = $ac_status" >&5
    +  echo "$as_me:19369: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19371: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19372: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19374: \$? = $ac_status" >&5
    +  echo "$as_me:19375: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     
    @@ -19381,7 +19382,7 @@ cat conftest.$ac_ext >&5
     cf_result=no
     fi
     rm -f conftest.$ac_objext conftest.$ac_ext
    -echo "$as_me:19384: result: $cf_result" >&5
    +echo "$as_me:19385: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     
     if test $cf_result = yes ; then
    @@ -19393,14 +19394,14 @@ cf_result=`echo "have_curses_data_$cf_data" | sed y%abcdefghijklmnopqrstuvwxyz./
     EOF
     
     else
    -	echo "$as_me:19396: checking for data $cf_data in library" >&5
    +	echo "$as_me:19397: checking for data $cf_data in library" >&5
     echo $ECHO_N "checking for data $cf_data in library... $ECHO_C" >&6
     	# BSD linkers insist on making weak linkage, but resolve at runtime.
     	if test "$cross_compiling" = yes; then
     
     	# cross-compiling
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 19403 "configure"
    +#line 19404 "configure"
     #include "confdefs.h"
     
     #ifdef HAVE_XCURSES
    @@ -19433,16 +19434,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:19436: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:19437: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:19439: \$? = $ac_status" >&5
    +  echo "$as_me:19440: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:19442: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19443: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19445: \$? = $ac_status" >&5
    +  echo "$as_me:19446: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     else
    @@ -19454,7 +19455,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 19457 "configure"
    +#line 19458 "configure"
     #include "confdefs.h"
     
     #ifdef HAVE_XCURSES
    @@ -19480,15 +19481,15 @@ int main(void)
     }
     _ACEOF
     rm -f conftest$ac_exeext
    -if { (eval echo "$as_me:19483: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:19484: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:19486: \$? = $ac_status" >&5
    +  echo "$as_me:19487: \$? = $ac_status" >&5
       (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    -  { (eval echo "$as_me:19488: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19489: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19491: \$? = $ac_status" >&5
    +  echo "$as_me:19492: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_result=yes
     
    @@ -19500,7 +19501,7 @@ cf_result=no
     fi
     rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     fi
    -	echo "$as_me:19503: result: $cf_result" >&5
    +	echo "$as_me:19504: result: $cf_result" >&5
     echo "${ECHO_T}$cf_result" >&6
     	if test $cf_result = yes ; then
     
    @@ -19517,7 +19518,7 @@ done
     
     if ( test "$GCC" = yes || test "$GXX" = yes )
     then
    -echo "$as_me:19520: checking if you want to turn on gcc warnings" >&5
    +echo "$as_me:19521: checking if you want to turn on gcc warnings" >&5
     echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6
     
     # Check whether --enable-warnings or --disable-warnings was given.
    @@ -19534,7 +19535,7 @@ else
     	with_warnings=no
     
     fi;
    -echo "$as_me:19537: result: $with_warnings" >&5
    +echo "$as_me:19538: result: $with_warnings" >&5
     echo "${ECHO_T}$with_warnings" >&6
     if test "$with_warnings" = "yes"
     then
    @@ -19557,10 +19558,10 @@ cat > conftest.i <&5
    +	{ echo "$as_me:19561: checking for $CC __attribute__ directives..." >&5
     echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
     cat > conftest.$ac_ext <&5
    +		if { (eval echo "$as_me:19613: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19615: \$? = $ac_status" >&5
    +  echo "$as_me:19616: \$? = $ac_status" >&5
       (exit $ac_status); }; then
    -			test -n "$verbose" && echo "$as_me:19617: result: ... $cf_attribute" >&5
    +			test -n "$verbose" && echo "$as_me:19618: result: ... $cf_attribute" >&5
     echo "${ECHO_T}... $cf_attribute" >&6
     			cat conftest.h >>confdefs.h
     			case $cf_attribute in
    @@ -19692,7 +19693,7 @@ do
     done
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 19695 "configure"
    +#line 19696 "configure"
     #include "confdefs.h"
     
     #include 
    @@ -19707,26 +19708,26 @@ String foo = malloc(1)
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19710: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19711: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19713: \$? = $ac_status" >&5
    +  echo "$as_me:19714: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19716: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19717: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19719: \$? = $ac_status" >&5
    +  echo "$as_me:19720: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
     
    -echo "$as_me:19722: checking for X11/Xt const-feature" >&5
    +echo "$as_me:19723: checking for X11/Xt const-feature" >&5
     echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6
     if test "${cf_cv_const_x_string+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
     
     	cat >conftest.$ac_ext <<_ACEOF
    -#line 19729 "configure"
    +#line 19730 "configure"
     #include "confdefs.h"
     
     #define _CONST_X_STRING	/* X11R7.8 (perhaps) */
    @@ -19743,16 +19744,16 @@ String foo = malloc(1); *foo = 0
     }
     _ACEOF
     rm -f conftest.$ac_objext
    -if { (eval echo "$as_me:19746: \"$ac_compile\"") >&5
    +if { (eval echo "$as_me:19747: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19749: \$? = $ac_status" >&5
    +  echo "$as_me:19750: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest.$ac_objext'
    -  { (eval echo "$as_me:19752: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:19753: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:19755: \$? = $ac_status" >&5
    +  echo "$as_me:19756: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
     
     			cf_cv_const_x_string=no
    @@ -19767,7 +19768,7 @@ fi
     rm -f conftest.$ac_objext conftest.$ac_ext
     
     fi
    -echo "$as_me:19770: result: $cf_cv_const_x_string" >&5
    +echo "$as_me:19771: result: $cf_cv_const_x_string" >&5
     echo "${ECHO_T}$cf_cv_const_x_string" >&6
     
     LIBS="$cf_save_LIBS_CF_CONST_X_STRING"
    @@ -19796,7 +19797,7 @@ fi
     rm -f conftest.$ac_objext conftest.$ac_ext
      fi
     cat > conftest.$ac_ext <&5
    +	{ echo "$as_me:19816: checking for $CC warning options..." >&5
     echo "$as_me: checking for $CC warning options..." >&6;}
     	cf_save_CFLAGS="$CFLAGS"
     	EXTRA_CFLAGS="-Wall"
    @@ -19828,12 +19829,12 @@ echo "$as_me: checking for $CC warning options..." >&6;}
     		wd981
     	do
     		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    -		if { (eval echo "$as_me:19831: \"$ac_compile\"") >&5
    +		if { (eval echo "$as_me:19832: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19834: \$? = $ac_status" >&5
    +  echo "$as_me:19835: \$? = $ac_status" >&5
       (exit $ac_status); }; then
    -			test -n "$verbose" && echo "$as_me:19836: result: ... -$cf_opt" >&5
    +			test -n "$verbose" && echo "$as_me:19837: result: ... -$cf_opt" >&5
     echo "${ECHO_T}... -$cf_opt" >&6
     			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
     		fi
    @@ -19841,7 +19842,7 @@ echo "${ECHO_T}... -$cf_opt" >&6
     	CFLAGS="$cf_save_CFLAGS"
     elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown"
     then
    -	{ echo "$as_me:19844: checking for $CC warning options..." >&5
    +	{ echo "$as_me:19845: checking for $CC warning options..." >&5
     echo "$as_me: checking for $CC warning options..." >&6;}
     	cf_save_CFLAGS="$CFLAGS"
     	EXTRA_CFLAGS=
    @@ -19865,12 +19866,12 @@ echo "$as_me: checking for $CC warning options..." >&6;}
     		Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas
     	do
     		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
    -		if { (eval echo "$as_me:19868: \"$ac_compile\"") >&5
    +		if { (eval echo "$as_me:19869: \"$ac_compile\"") >&5
       (eval $ac_compile) 2>&5
       ac_status=$?
    -  echo "$as_me:19871: \$? = $ac_status" >&5
    +  echo "$as_me:19872: \$? = $ac_status" >&5
       (exit $ac_status); }; then
    -			test -n "$verbose" && echo "$as_me:19873: result: ... -$cf_opt" >&5
    +			test -n "$verbose" && echo "$as_me:19874: result: ... -$cf_opt" >&5
     echo "${ECHO_T}... -$cf_opt" >&6
     			case $cf_opt in
     			(Winline)
    @@ -19878,7 +19879,7 @@ echo "${ECHO_T}... -$cf_opt" >&6
     				([34].*)
     					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6
     
    -echo "${as_me:-configure}:19881: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    +echo "${as_me:-configure}:19882: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     
     					continue;;
     				esac
    @@ -19888,7 +19889,7 @@ echo "${as_me:-configure}:19881: testing feature is broken in gcc $GCC_VERSION .
     				([12].*)
     					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6
     
    -echo "${as_me:-configure}:19891: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
    +echo "${as_me:-configure}:19892: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
     
     					continue;;
     				esac
    @@ -19904,7 +19905,7 @@ rm -rf conftest*
     fi
     fi
     
    -echo "$as_me:19907: checking if you want to use dmalloc for testing" >&5
    +echo "$as_me:19908: checking if you want to use dmalloc for testing" >&5
     echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6
     
     # Check whether --with-dmalloc or --without-dmalloc was given.
    @@ -19921,7 +19922,7 @@ EOF
     else
       with_dmalloc=
     fi;
    -echo "$as_me:19924: result: ${with_dmalloc:-no}" >&5
    +echo "$as_me:19925: result: ${with_dmalloc:-no}" >&5
     echo "${ECHO_T}${with_dmalloc:-no}" >&6
     
     case .$with_cflags in
    @@ -20035,23 +20036,23 @@ fi
     esac
     
     if test "$with_dmalloc" = yes ; then
    -	echo "$as_me:20038: checking for dmalloc.h" >&5
    +	echo "$as_me:20039: checking for dmalloc.h" >&5
     echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
     if test "${ac_cv_header_dmalloc_h+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 20044 "configure"
    +#line 20045 "configure"
     #include "confdefs.h"
     #include 
     _ACEOF
    -if { (eval echo "$as_me:20048: \"$ac_cpp conftest.$ac_ext\"") >&5
    +if { (eval echo "$as_me:20049: \"$ac_cpp conftest.$ac_ext\"") >&5
       (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
       ac_status=$?
       egrep -v '^ *\+' conftest.er1 >conftest.err
       rm -f conftest.er1
       cat conftest.err >&5
    -  echo "$as_me:20054: \$? = $ac_status" >&5
    +  echo "$as_me:20055: \$? = $ac_status" >&5
       (exit $ac_status); } >/dev/null; then
       if test -s conftest.err; then
         ac_cpp_err=$ac_c_preproc_warn_flag
    @@ -20070,11 +20071,11 @@ else
     fi
     rm -f conftest.err conftest.$ac_ext
     fi
    -echo "$as_me:20073: result: $ac_cv_header_dmalloc_h" >&5
    +echo "$as_me:20074: result: $ac_cv_header_dmalloc_h" >&5
     echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
     if test $ac_cv_header_dmalloc_h = yes; then
     
    -echo "$as_me:20077: checking for dmalloc_debug in -ldmalloc" >&5
    +echo "$as_me:20078: checking for dmalloc_debug in -ldmalloc" >&5
     echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
     if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -20082,7 +20083,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-ldmalloc  $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 20085 "configure"
    +#line 20086 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -20101,16 +20102,16 @@ dmalloc_debug ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:20104: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:20105: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:20107: \$? = $ac_status" >&5
    +  echo "$as_me:20108: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:20110: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:20111: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:20113: \$? = $ac_status" >&5
    +  echo "$as_me:20114: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       ac_cv_lib_dmalloc_dmalloc_debug=yes
     else
    @@ -20121,7 +20122,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:20124: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
    +echo "$as_me:20125: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
     echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
     if test $ac_cv_lib_dmalloc_dmalloc_debug = yes; then
       cat >>confdefs.h <&5
    +echo "$as_me:20140: checking if you want to use dbmalloc for testing" >&5
     echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
     
     # Check whether --with-dbmalloc or --without-dbmalloc was given.
    @@ -20153,7 +20154,7 @@ EOF
     else
       with_dbmalloc=
     fi;
    -echo "$as_me:20156: result: ${with_dbmalloc:-no}" >&5
    +echo "$as_me:20157: result: ${with_dbmalloc:-no}" >&5
     echo "${ECHO_T}${with_dbmalloc:-no}" >&6
     
     case .$with_cflags in
    @@ -20267,23 +20268,23 @@ fi
     esac
     
     if test "$with_dbmalloc" = yes ; then
    -	echo "$as_me:20270: checking for dbmalloc.h" >&5
    +	echo "$as_me:20271: checking for dbmalloc.h" >&5
     echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
     if test "${ac_cv_header_dbmalloc_h+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
     else
       cat >conftest.$ac_ext <<_ACEOF
    -#line 20276 "configure"
    +#line 20277 "configure"
     #include "confdefs.h"
     #include 
     _ACEOF
    -if { (eval echo "$as_me:20280: \"$ac_cpp conftest.$ac_ext\"") >&5
    +if { (eval echo "$as_me:20281: \"$ac_cpp conftest.$ac_ext\"") >&5
       (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
       ac_status=$?
       egrep -v '^ *\+' conftest.er1 >conftest.err
       rm -f conftest.er1
       cat conftest.err >&5
    -  echo "$as_me:20286: \$? = $ac_status" >&5
    +  echo "$as_me:20287: \$? = $ac_status" >&5
       (exit $ac_status); } >/dev/null; then
       if test -s conftest.err; then
         ac_cpp_err=$ac_c_preproc_warn_flag
    @@ -20302,11 +20303,11 @@ else
     fi
     rm -f conftest.err conftest.$ac_ext
     fi
    -echo "$as_me:20305: result: $ac_cv_header_dbmalloc_h" >&5
    +echo "$as_me:20306: result: $ac_cv_header_dbmalloc_h" >&5
     echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
     if test $ac_cv_header_dbmalloc_h = yes; then
     
    -echo "$as_me:20309: checking for debug_malloc in -ldbmalloc" >&5
    +echo "$as_me:20310: checking for debug_malloc in -ldbmalloc" >&5
     echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
     if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -20314,7 +20315,7 @@ else
       ac_check_lib_save_LIBS=$LIBS
     LIBS="-ldbmalloc  $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
    -#line 20317 "configure"
    +#line 20318 "configure"
     #include "confdefs.h"
     
     /* Override any gcc2 internal prototype to avoid an error.  */
    @@ -20333,16 +20334,16 @@ debug_malloc ();
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:20336: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:20337: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:20339: \$? = $ac_status" >&5
    +  echo "$as_me:20340: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:20342: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:20343: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:20345: \$? = $ac_status" >&5
    +  echo "$as_me:20346: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       ac_cv_lib_dbmalloc_debug_malloc=yes
     else
    @@ -20353,7 +20354,7 @@ fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$ac_check_lib_save_LIBS
     fi
    -echo "$as_me:20356: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
    +echo "$as_me:20357: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
     echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
     if test $ac_cv_lib_dbmalloc_debug_malloc = yes; then
       cat >>confdefs.h <&5
    +echo "$as_me:20372: checking if you want to use valgrind for testing" >&5
     echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
     
     # Check whether --with-valgrind or --without-valgrind was given.
    @@ -20385,7 +20386,7 @@ EOF
     else
       with_valgrind=
     fi;
    -echo "$as_me:20388: result: ${with_valgrind:-no}" >&5
    +echo "$as_me:20389: result: ${with_valgrind:-no}" >&5
     echo "${ECHO_T}${with_valgrind:-no}" >&6
     
     case .$with_cflags in
    @@ -20498,7 +20499,7 @@ fi
     	;;
     esac
     
    -echo "$as_me:20501: checking if you want to perform memory-leak testing" >&5
    +echo "$as_me:20502: checking if you want to perform memory-leak testing" >&5
     echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
     
     # Check whether --enable-leaks or --disable-leaks was given.
    @@ -20508,7 +20509,7 @@ if test "${enable_leaks+set}" = set; then
     else
       : ${with_no_leaks:=no}
     fi;
    -echo "$as_me:20511: result: $with_no_leaks" >&5
    +echo "$as_me:20512: result: $with_no_leaks" >&5
     echo "${ECHO_T}$with_no_leaks" >&6
     
     if test "$with_no_leaks" = yes ; then
    @@ -20526,7 +20527,7 @@ fi
     LD_RPATH_OPT=
     if test "x$cf_cv_enable_rpath" != xno
     then
    -	echo "$as_me:20529: checking for an rpath option" >&5
    +	echo "$as_me:20530: checking for an rpath option" >&5
     echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6
     	case $cf_cv_system_name in
     	(irix*)
    @@ -20557,12 +20558,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6
     	(*)
     		;;
     	esac
    -	echo "$as_me:20560: result: $LD_RPATH_OPT" >&5
    +	echo "$as_me:20561: result: $LD_RPATH_OPT" >&5
     echo "${ECHO_T}$LD_RPATH_OPT" >&6
     
     	case "x$LD_RPATH_OPT" in
     	(x-R*)
    -		echo "$as_me:20565: checking if we need a space after rpath option" >&5
    +		echo "$as_me:20566: checking if we need a space after rpath option" >&5
     echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6
     		cf_save_LIBS="$LIBS"
     
    @@ -20583,7 +20584,7 @@ done
     LIBS="$cf_add_libs"
     
     		cat >conftest.$ac_ext <<_ACEOF
    -#line 20586 "configure"
    +#line 20587 "configure"
     #include "confdefs.h"
     
     int
    @@ -20595,16 +20596,16 @@ main (void)
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:20598: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:20599: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:20601: \$? = $ac_status" >&5
    +  echo "$as_me:20602: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:20604: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:20605: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:20607: \$? = $ac_status" >&5
    +  echo "$as_me:20608: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_rpath_space=no
     else
    @@ -20614,14 +20615,14 @@ cf_rpath_space=yes
     fi
     rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     		LIBS="$cf_save_LIBS"
    -		echo "$as_me:20617: result: $cf_rpath_space" >&5
    +		echo "$as_me:20618: result: $cf_rpath_space" >&5
     echo "${ECHO_T}$cf_rpath_space" >&6
     		test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT "
     		;;
     	esac
     fi
     
    -echo "$as_me:20624: checking if rpath-hack should be disabled" >&5
    +echo "$as_me:20625: checking if rpath-hack should be disabled" >&5
     echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6
     
     # Check whether --enable-rpath-hack or --disable-rpath-hack was given.
    @@ -20638,21 +20639,21 @@ else
     	cf_disable_rpath_hack=no
     
     fi;
    -echo "$as_me:20641: result: $cf_disable_rpath_hack" >&5
    +echo "$as_me:20642: result: $cf_disable_rpath_hack" >&5
     echo "${ECHO_T}$cf_disable_rpath_hack" >&6
     if test "$cf_disable_rpath_hack" = no ; then
     
    -echo "$as_me:20645: checking for updated LDFLAGS" >&5
    +echo "$as_me:20646: checking for updated LDFLAGS" >&5
     echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6
     if test -n "$LD_RPATH_OPT" ; then
    -	echo "$as_me:20648: result: maybe" >&5
    +	echo "$as_me:20649: result: maybe" >&5
     echo "${ECHO_T}maybe" >&6
     
     	for ac_prog in ldd
     do
       # Extract the first word of "$ac_prog", so it can be a program name with args.
     set dummy $ac_prog; ac_word=$2
    -echo "$as_me:20655: checking for $ac_word" >&5
    +echo "$as_me:20656: checking for $ac_word" >&5
     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then
       echo $ECHO_N "(cached) $ECHO_C" >&6
    @@ -20667,7 +20668,7 @@ for ac_dir in $ac_dummy; do
       test -z "$ac_dir" && ac_dir=.
       $as_executable_p "$ac_dir/$ac_word" || continue
     ac_cv_prog_cf_ldd_prog="$ac_prog"
    -echo "$as_me:20670: found $ac_dir/$ac_word" >&5
    +echo "$as_me:20671: found $ac_dir/$ac_word" >&5
     break
     done
     
    @@ -20675,10 +20676,10 @@ fi
     fi
     cf_ldd_prog=$ac_cv_prog_cf_ldd_prog
     if test -n "$cf_ldd_prog"; then
    -  echo "$as_me:20678: result: $cf_ldd_prog" >&5
    +  echo "$as_me:20679: result: $cf_ldd_prog" >&5
     echo "${ECHO_T}$cf_ldd_prog" >&6
     else
    -  echo "$as_me:20681: result: no" >&5
    +  echo "$as_me:20682: result: no" >&5
     echo "${ECHO_T}no" >&6
     fi
     
    @@ -20692,7 +20693,7 @@ test -n "$cf_ldd_prog" || cf_ldd_prog="no"
     		cf_rpath_oops=
     
     cat >conftest.$ac_ext <<_ACEOF
    -#line 20695 "configure"
    +#line 20696 "configure"
     #include "confdefs.h"
     #include 
     int
    @@ -20704,16 +20705,16 @@ printf("Hello");
     }
     _ACEOF
     rm -f conftest.$ac_objext conftest$ac_exeext
    -if { (eval echo "$as_me:20707: \"$ac_link\"") >&5
    +if { (eval echo "$as_me:20708: \"$ac_link\"") >&5
       (eval $ac_link) 2>&5
       ac_status=$?
    -  echo "$as_me:20710: \$? = $ac_status" >&5
    +  echo "$as_me:20711: \$? = $ac_status" >&5
       (exit $ac_status); } &&
              { ac_try='test -s conftest$ac_exeext'
    -  { (eval echo "$as_me:20713: \"$ac_try\"") >&5
    +  { (eval echo "$as_me:20714: \"$ac_try\"") >&5
       (eval $ac_try) 2>&5
       ac_status=$?
    -  echo "$as_me:20716: \$? = $ac_status" >&5
    +  echo "$as_me:20717: \$? = $ac_status" >&5
       (exit $ac_status); }; }; then
       cf_rpath_oops=`$cf_ldd_prog conftest$ac_exeext | fgrep ' not found' | sed -e 's% =>.*$%%' |sort | uniq`
     		 cf_rpath_list=`$cf_ldd_prog conftest$ac_exeext | fgrep / | sed -e 's%^.*[ 	]/%/%' -e 's%/[^/][^/]*$%%' |sort | uniq`
    @@ -20741,7 +20742,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     					then
     						test -n "$verbose" && echo "	...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6
     
    -echo "${as_me:-configure}:20744: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
    +echo "${as_me:-configure}:20745: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5
     
     						LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib"
     						break
    @@ -20753,11 +20754,11 @@ echo "${as_me:-configure}:20744: testing ...adding -L$cf_rpath_dir/lib to LDFLAG
     
     	test -n "$verbose" && echo "	...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
     
    -echo "${as_me:-configure}:20756: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    +echo "${as_me:-configure}:20757: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
     
     test -n "$verbose" && echo "	...checking LDFLAGS $LDFLAGS" 1>&6
     
    -echo "${as_me:-configure}:20760: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
    +echo "${as_me:-configure}:20761: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5
     
     cf_rpath_dst=
     for cf_rpath_src in $LDFLAGS
    @@ -20794,7 +20795,7 @@ do
     			then
     				test -n "$verbose" && echo "	...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
     
    -echo "${as_me:-configure}:20797: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    +echo "${as_me:-configure}:20798: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
     
     				EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
     			fi
    @@ -20807,11 +20808,11 @@ LDFLAGS=$cf_rpath_dst
     
     test -n "$verbose" && echo "	...checked LDFLAGS $LDFLAGS" 1>&6
     
    -echo "${as_me:-configure}:20810: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
    +echo "${as_me:-configure}:20811: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5
     
     test -n "$verbose" && echo "	...checking LIBS $LIBS" 1>&6
     
    -echo "${as_me:-configure}:20814: testing ...checking LIBS $LIBS ..." 1>&5
    +echo "${as_me:-configure}:20815: testing ...checking LIBS $LIBS ..." 1>&5
     
     cf_rpath_dst=
     for cf_rpath_src in $LIBS
    @@ -20848,7 +20849,7 @@ do
     			then
     				test -n "$verbose" && echo "	...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6
     
    -echo "${as_me:-configure}:20851: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
    +echo "${as_me:-configure}:20852: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5
     
     				EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS"
     			fi
    @@ -20861,14 +20862,14 @@ LIBS=$cf_rpath_dst
     
     test -n "$verbose" && echo "	...checked LIBS $LIBS" 1>&6
     
    -echo "${as_me:-configure}:20864: testing ...checked LIBS $LIBS ..." 1>&5
    +echo "${as_me:-configure}:20865: testing ...checked LIBS $LIBS ..." 1>&5
     
     	test -n "$verbose" && echo "	...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6
     
    -echo "${as_me:-configure}:20868: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
    +echo "${as_me:-configure}:20869: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5
     
     else
    -	echo "$as_me:20871: result: no" >&5
    +	echo "$as_me:20872: result: no" >&5
     echo "${ECHO_T}no" >&6
     fi
     
    @@ -20958,7 +20959,7 @@ DEFS=-DHAVE_CONFIG_H
     : ${CONFIG_STATUS=./config.status}
     ac_clean_files_save=$ac_clean_files
     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    -{ echo "$as_me:20961: creating $CONFIG_STATUS" >&5
    +{ echo "$as_me:20962: creating $CONFIG_STATUS" >&5
     echo "$as_me: creating $CONFIG_STATUS" >&6;}
     cat >$CONFIG_STATUS <<_ACEOF
     #! $SHELL
    @@ -21134,7 +21135,7 @@ cat >>$CONFIG_STATUS <<\EOF
         echo "$ac_cs_version"; exit 0 ;;
       --he | --h)
         # Conflict between --help and --header
    -    { { echo "$as_me:21137: error: ambiguous option: $1
    +    { { echo "$as_me:21138: error: ambiguous option: $1
     Try \`$0 --help' for more information." >&5
     echo "$as_me: error: ambiguous option: $1
     Try \`$0 --help' for more information." >&2;}
    @@ -21153,7 +21154,7 @@ Try \`$0 --help' for more information." >&2;}
         ac_need_defaults=false;;
     
       # This is an error.
    -  -*) { { echo "$as_me:21156: error: unrecognized option: $1
    +  -*) { { echo "$as_me:21157: error: unrecognized option: $1
     Try \`$0 --help' for more information." >&5
     echo "$as_me: error: unrecognized option: $1
     Try \`$0 --help' for more information." >&2;}
    @@ -21203,7 +21204,7 @@ do
       "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
       "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
       "ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS ncurses_cfg.h:ncurses_tst.hin" ;;
    -  *) { { echo "$as_me:21206: error: invalid argument: $ac_config_target" >&5
    +  *) { { echo "$as_me:21207: error: invalid argument: $ac_config_target" >&5
     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
        { (exit 1); exit 1; }; };;
       esac
    @@ -21499,7 +21500,7 @@ done; }
       esac
     
       if test x"$ac_file" != x-; then
    -    { echo "$as_me:21502: creating $ac_file" >&5
    +    { echo "$as_me:21503: creating $ac_file" >&5
     echo "$as_me: creating $ac_file" >&6;}
         rm -f "$ac_file"
       fi
    @@ -21517,7 +21518,7 @@ echo "$as_me: creating $ac_file" >&6;}
           -) echo $tmp/stdin ;;
           [\\/$]*)
              # Absolute (can't be DOS-style, as IFS=:)
    -         test -f "$f" || { { echo "$as_me:21520: error: cannot find input file: $f" >&5
    +         test -f "$f" || { { echo "$as_me:21521: error: cannot find input file: $f" >&5
     echo "$as_me: error: cannot find input file: $f" >&2;}
        { (exit 1); exit 1; }; }
              echo $f;;
    @@ -21530,7 +21531,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
                echo $srcdir/$f
              else
                # /dev/null tree
    -           { { echo "$as_me:21533: error: cannot find input file: $f" >&5
    +           { { echo "$as_me:21534: error: cannot find input file: $f" >&5
     echo "$as_me: error: cannot find input file: $f" >&2;}
        { (exit 1); exit 1; }; }
              fi;;
    @@ -21546,7 +21547,7 @@ cat >>$CONFIG_STATUS <<\EOF
           if test -n "$ac_seen"; then
             ac_used=`grep '@datarootdir@' $ac_item`
             if test -z "$ac_used"; then
    -          { echo "$as_me:21549: WARNING: datarootdir was used implicitly but not set:
    +          { echo "$as_me:21550: WARNING: datarootdir was used implicitly but not set:
     $ac_seen" >&5
     echo "$as_me: WARNING: datarootdir was used implicitly but not set:
     $ac_seen" >&2;}
    @@ -21555,7 +21556,7 @@ $ac_seen" >&2;}
           fi
           ac_seen=`grep '${datarootdir}' $ac_item`
           if test -n "$ac_seen"; then
    -        { echo "$as_me:21558: WARNING: datarootdir was used explicitly but not set:
    +        { echo "$as_me:21559: WARNING: datarootdir was used explicitly but not set:
     $ac_seen" >&5
     echo "$as_me: WARNING: datarootdir was used explicitly but not set:
     $ac_seen" >&2;}
    @@ -21592,7 +21593,7 @@ s,@INSTALL@,$ac_INSTALL,;t t
                 ac_init=`egrep '[ 	]*'$ac_name'[ 	]*=' $ac_file`
                 if test -z "$ac_init"; then
                   ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'`
    -              { echo "$as_me:21595: WARNING: Variable $ac_name is used but was not set:
    +              { echo "$as_me:21596: WARNING: Variable $ac_name is used but was not set:
     $ac_seen" >&5
     echo "$as_me: WARNING: Variable $ac_name is used but was not set:
     $ac_seen" >&2;}
    @@ -21603,7 +21604,7 @@ $ac_seen" >&2;}
         egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out
         if test -s $tmp/out; then
           ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out`
    -      { echo "$as_me:21606: WARNING: Some variables may not be substituted:
    +      { echo "$as_me:21607: WARNING: Some variables may not be substituted:
     $ac_seen" >&5
     echo "$as_me: WARNING: Some variables may not be substituted:
     $ac_seen" >&2;}
    @@ -21652,7 +21653,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
       * )   ac_file_in=$ac_file.in ;;
       esac
     
    -  test x"$ac_file" != x- && { echo "$as_me:21655: creating $ac_file" >&5
    +  test x"$ac_file" != x- && { echo "$as_me:21656: creating $ac_file" >&5
     echo "$as_me: creating $ac_file" >&6;}
     
       # First look for the input files in the build tree, otherwise in the
    @@ -21663,7 +21664,7 @@ echo "$as_me: creating $ac_file" >&6;}
           -) echo $tmp/stdin ;;
           [\\/$]*)
              # Absolute (can't be DOS-style, as IFS=:)
    -         test -f "$f" || { { echo "$as_me:21666: error: cannot find input file: $f" >&5
    +         test -f "$f" || { { echo "$as_me:21667: error: cannot find input file: $f" >&5
     echo "$as_me: error: cannot find input file: $f" >&2;}
        { (exit 1); exit 1; }; }
              echo $f;;
    @@ -21676,7 +21677,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
                echo $srcdir/$f
              else
                # /dev/null tree
    -           { { echo "$as_me:21679: error: cannot find input file: $f" >&5
    +           { { echo "$as_me:21680: error: cannot find input file: $f" >&5
     echo "$as_me: error: cannot find input file: $f" >&2;}
        { (exit 1); exit 1; }; }
              fi;;
    @@ -21734,7 +21735,7 @@ cat >>$CONFIG_STATUS <<\EOF
       rm -f $tmp/in
       if test x"$ac_file" != x-; then
         if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
    -      { echo "$as_me:21737: $ac_file is unchanged" >&5
    +      { echo "$as_me:21738: $ac_file is unchanged" >&5
     echo "$as_me: $ac_file is unchanged" >&6;}
         else
           ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    diff --git a/test/tclock.c b/test/tclock.c
    index 2b2046c8..6460c314 100644
    --- a/test/tclock.c
    +++ b/test/tclock.c
    @@ -1,4 +1,4 @@
    -/* $Id: tclock.c,v 1.40 2019/12/14 23:25:29 tom Exp $ */
    +/* $Id: tclock.c,v 1.41 2020/01/18 16:46:35 tom Exp $ */
     
     #define NEED_TIME_H
     #include 
    @@ -48,7 +48,7 @@ plot(int x, int y, int col)
         MvAddCh(y, x, (chtype) col);
     }
     
    -/* Draw a diagonal(arbitrary) line using Bresenham's alogrithm. */
    +/* Draw a diagonal(arbitrary) line using Bresenham's algorithm. */
     static void
     dline(int pair, int from_x, int from_y, int x2, int y2, int ch)
     {