diff options
Diffstat (limited to 'packages/ncurses/6.5/ncurses-6.5-20240601.patch')
-rw-r--r-- | packages/ncurses/6.5/ncurses-6.5-20240601.patch | 9288 |
1 files changed, 9288 insertions, 0 deletions
diff --git a/packages/ncurses/6.5/ncurses-6.5-20240601.patch b/packages/ncurses/6.5/ncurses-6.5-20240601.patch new file mode 100644 index 00000000..6d74125b --- /dev/null +++ b/packages/ncurses/6.5/ncurses-6.5-20240601.patch @@ -0,0 +1,9288 @@ +# ncurses 6.5 - patch 20240601 - Thomas E. Dickey +# +# ------------------------------------------------------------------------------ +# +# Ncurses 6.5 is at +# https://invisible-island.net/archives/ncurses/ +# https://invisible-mirror.net/archives/ncurses/ +# https://ftp.gnu.org/gnu/ncurses/ +# +# Patches for ncurses 6.5 can be found at +# https://invisible-island.net/archives/ncurses/6.5 +# https://invisible-mirror.net/archives/ncurses/6.5 +# +# ------------------------------------------------------------------------------ +# https://invisible-island.net/archives/ncurses/6.5/ncurses-6.5-20240601.patch.gz +# patch by Thomas E. Dickey <dickey@invisible-island.net> +# created Sun Jun 2 00:21:13 UTC 2024 +# ------------------------------------------------------------------------------ +# Ada95/aclocal.m4 | 106 - +# Ada95/configure | 1969 +++++++++++++++++------------------ +# Ada95/package/AdaCurses.spec | 3 +# Ada95/package/debian/rules | 1 +# NEWS | 7 +# VERSION | 2 +# dist.mk | 4 +# doc/html/man/curs_add_wch.3x.html | 90 - +# doc/html/man/curs_addch.3x.html | 129 +- +# doc/html/man/curs_addchstr.3x.html | 8 +# doc/html/man/curs_addstr.3x.html | 8 +# doc/html/man/curs_addwstr.3x.html | 21 +# doc/html/man/curs_getch.3x.html | 24 +# doc/html/man/curs_getstr.3x.html | 8 +# doc/html/man/curs_inch.3x.html | 8 +# doc/html/man/curs_initscr.3x.html | 22 +# doc/html/man/curs_inopts.3x.html | 67 - +# doc/html/man/curs_instr.3x.html | 8 +# doc/html/man/curs_scr_dump.3x.html | 85 - +# doc/html/man/curs_terminfo.3x.html | 8 +# doc/html/man/curs_util.3x.html | 24 +# doc/html/man/curs_window.3x.html | 8 +# doc/html/man/ncurses.3x.html | 78 - +# doc/html/man/terminfo.5.html | 2 +# doc/ncurses-intro.doc | 5 +# man/curs_add_wch.3x | 41 +# man/curs_addch.3x | 45 +# man/curs_addchstr.3x | 6 +# man/curs_addstr.3x | 6 +# man/curs_addwstr.3x | 24 +# man/curs_getch.3x | 29 +# man/curs_getstr.3x | 6 +# man/curs_inch.3x | 6 +# man/curs_initscr.3x | 25 +# man/curs_inopts.3x | 19 +# man/curs_instr.3x | 6 +# man/curs_scr_dump.3x | 150 +- +# man/curs_terminfo.3x | 6 +# man/curs_util.3x | 10 +# man/curs_window.3x | 6 +# man/ncurses.3x | 70 - +# package/debian-mingw/changelog | 4 +# package/debian-mingw64/changelog | 4 +# package/debian/changelog | 4 +# package/mingw-ncurses.nsi | 4 +# package/mingw-ncurses.spec | 2 +# package/ncurses.spec | 2 +# package/ncursest.spec | 2 +# test/package/debian/rules | 4 +# 49 files changed, 1668 insertions(+), 1508 deletions(-) +# ------------------------------------------------------------------------------ +Index: Ada95/aclocal.m4 +Prereq: 1.212 +--- ncurses-6.5-20240525+/Ada95/aclocal.m4 2024-05-18 19:51:00.000000000 +0000 ++++ ncurses-6.5-20240601/Ada95/aclocal.m4 2024-06-01 21:38:29.000000000 +0000 +@@ -29,7 +29,7 @@ + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.212 2024/05/18 19:51:00 tom Exp $ ++dnl $Id: aclocal.m4,v 1.216 2024/06/01 21:38:29 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -962,67 +962,6 @@ + ]) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_CONST_X_STRING version: 8 updated: 2023/12/01 17:22:50 +-dnl ----------------- +-dnl The X11R4-X11R6 Xt specification uses an ambiguous String type for most +-dnl character-strings. +-dnl +-dnl It is ambiguous because the specification accommodated the pre-ANSI +-dnl compilers bundled by more than one vendor in lieu of providing a standard C +-dnl compiler other than by costly add-ons. Because of this, the specification +-dnl did not take into account the use of const for telling the compiler that +-dnl string literals would be in readonly memory. +-dnl +-dnl As a workaround, one could (starting with X11R5) define XTSTRINGDEFINES, to +-dnl let the compiler decide how to represent Xt's strings which were #define'd. +-dnl That does not solve the problem of using the block of Xt's strings which +-dnl are compiled into the library (and is less efficient than one might want). +-dnl +-dnl Xt specification 7 introduces the _CONST_X_STRING symbol which is used both +-dnl when compiling the library and compiling using the library, to tell the +-dnl compiler that String is const. +-AC_DEFUN([CF_CONST_X_STRING], +-[ +-AC_REQUIRE([AC_PATH_XTRA]) +- +-CF_SAVE_XTRA_FLAGS([CF_CONST_X_STRING]) +- +-AC_TRY_COMPILE( +-[ +-#include <stdlib.h> +-#include <X11/Intrinsic.h> +-], +-[String foo = malloc(1); free((void*)foo)],[ +- +-AC_CACHE_CHECK(for X11/Xt const-feature,cf_cv_const_x_string,[ +- AC_TRY_COMPILE( +- [ +-#undef _CONST_X_STRING +-#define _CONST_X_STRING /* X11R7.8 (perhaps) */ +-#undef XTSTRINGDEFINES /* X11R5 and later */ +-#include <stdlib.h> +-#include <X11/Intrinsic.h> +- ],[String foo = malloc(1); *foo = 0],[ +- cf_cv_const_x_string=no +- ],[ +- cf_cv_const_x_string=yes +- ]) +-]) +- +-CF_RESTORE_XTRA_FLAGS([CF_CONST_X_STRING]) +- +-case "$cf_cv_const_x_string" in +-(no) +- CF_APPEND_TEXT(CPPFLAGS,-DXTSTRINGDEFINES) +- ;; +-(*) +- CF_APPEND_TEXT(CPPFLAGS,-D_CONST_X_STRING) +- ;; +-esac +- +-]) +-])dnl +-dnl --------------------------------------------------------------------------- + dnl CF_CURSES_HEADER version: 6 updated: 2022/12/02 20:06:52 + dnl ---------------- + dnl Find a "curses" header file, e.g,. "curses.h", or one of the more common +@@ -2938,7 +2877,7 @@ + echo "${as_me:-configure}:__oline__: testing $* ..." 1>&AC_FD_CC + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_NCURSES_ADDON version: 6 updated: 2021/01/04 19:33:05 ++dnl CF_NCURSES_ADDON version: 7 updated: 2024/06/01 17:37:13 + dnl ---------------- + dnl Configure an ncurses add-on, built outside the ncurses tree. + AC_DEFUN([CF_NCURSES_ADDON],[ +@@ -2946,18 +2885,29 @@ + + AC_PROVIDE([CF_SUBST_NCURSES_VERSION]) + +-AC_MSG_CHECKING(if you want wide-character code) +-AC_ARG_ENABLE(widec, +- [ --enable-widec compile with wide-char/UTF-8 code], +- [with_widec=$enableval], +- [with_widec=no]) +-AC_MSG_RESULT($with_widec) +-if test "$with_widec" = yes ; then ++AC_MSG_CHECKING(for specified curses library type) ++AC_ARG_WITH(screen, ++ [ --with-screen=XXX use specified curses-libraries], ++ [cf_cv_screen=$withval], ++ [cf_cv_screen=ncurses]) ++ ++case $cf_cv_screen in ++(curses|curses_*) ++ CF_CURSES_CONFIG ++ ;; ++(ncursesw*) + CF_UTF8_LIB +- CF_NCURSES_CONFIG(ncursesw) +-else +- CF_NCURSES_CONFIG(ncurses) +-fi ++ CF_NCURSES_CONFIG($cf_cv_screen) ++ ;; ++(ncurses*) ++ CF_NCURSES_CONFIG($cf_cv_screen) ++ ;; ++(*) ++ AC_MSG_ERROR(unexpected screen-value: $cf_cv_screen) ++ ;; ++esac ++ ++AC_SUBST(cf_cv_screen) + + if test "$NCURSES_CONFIG_PKG" != none ; then + cf_version=`$PKG_CONFIG --modversion $NCURSES_CONFIG_PKG 2>/dev/null` +@@ -3026,6 +2976,14 @@ + AC_SUBST(cf_cv_header_stdbool_h) + AC_SUBST(cf_cv_type_of_bool)dnl + ++AC_CACHE_CHECK(if KEY_RESIZE is supported,cf_cv_curses_resizes,[ ++ AC_TRY_COMPILE([#include <${cf_cv_ncurses_header:-curses.h}>], ++ [int key = KEY_RESIZE; (void)key], ++ cf_cv_curses_resizes=yes, ++ cf_cv_curses_resizes=no)]) ++cf_cv_enable_sigwinch=0 ++test "$cf_cv_curses_resizes" = yes && cf_cv_enable_sigwinch=1 ++AC_SUBST(cf_cv_enable_sigwinch) + ]) + dnl --------------------------------------------------------------------------- + dnl CF_NCURSES_CC_CHECK version: 6 updated: 2023/02/18 17:47:58 +Index: Ada95/configure +--- ncurses-6.5-20240525+/Ada95/configure 2024-05-19 09:14:43.000000000 +0000 ++++ ncurses-6.5-20240601/Ada95/configure 2024-06-01 21:38:47.000000000 +0000 +@@ -721,7 +721,7 @@ + Options to Specify the Libraries Built/Used: + --with-shared generate shared C-objects (needed for --with-ada-sharedlib) + --with-curses-dir=DIR directory in which (n)curses is installed +- --enable-widec compile with wide-char/UTF-8 code ++ --with-screen=XXX use specified curses-libraries + --with-lib-prefix override library-prefix + --with-shlib-version[={rel|abi}] use release or ABI version in shared library file names + --enable-rpath-link link sample programs with rpath option +@@ -7029,40 +7029,43 @@ + NCURSES_CONFIG=none + fi + +-echo "$as_me:7032: checking if you want wide-character code" >&5 +-echo $ECHO_N "checking if you want wide-character code... $ECHO_C" >&6 ++echo "$as_me:7032: checking for specified curses library type" >&5 ++echo $ECHO_N "checking for specified curses library type... $ECHO_C" >&6 + +-# Check whether --enable-widec or --disable-widec was given. +-if test "${enable_widec+set}" = set; then +- enableval="$enable_widec" +- with_widec=$enableval ++# Check whether --with-screen or --without-screen was given. ++if test "${with_screen+set}" = set; then ++ withval="$with_screen" ++ cf_cv_screen=$withval + else +- with_widec=no ++ cf_cv_screen=ncurses + fi; +-echo "$as_me:7042: result: $with_widec" >&5 +-echo "${ECHO_T}$with_widec" >&6 +-if test "$with_widec" = yes ; then ++ ++case $cf_cv_screen in ++(curses|curses_*) ++ CF_CURSES_CONFIG ++ ;; ++(ncursesw*) + + for ac_header in wchar.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:7049: checking for $ac_header" >&5 ++echo "$as_me:7052: 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 7055 "configure" ++#line 7058 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:7059: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:7062: \"$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:7065: \$? = $ac_status" >&5 ++ echo "$as_me:7068: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -7081,7 +7084,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:7084: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:7087: 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 <<EOF +@@ -7091,7 +7094,7 @@ + fi + done + +-echo "$as_me:7094: checking for multibyte character support" >&5 ++echo "$as_me:7097: checking for multibyte character support" >&5 + echo $ECHO_N "checking for multibyte character support... $ECHO_C" >&6 + if test "${cf_cv_utf8_lib+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -7099,7 +7102,7 @@ + + cf_save_LIBS="$LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7102 "configure" ++#line 7105 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -7116,16 +7119,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7119: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7122: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7122: \$? = $ac_status" >&5 ++ echo "$as_me:7125: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7125: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7128: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7128: \$? = $ac_status" >&5 ++ echo "$as_me:7131: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_utf8_lib=yes + else +@@ -7137,12 +7140,12 @@ + cf_cv_header_path_utf8= + cf_cv_library_path_utf8= + +-echo "${as_me:-configure}:7140: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:7143: testing Starting FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7145 "configure" ++#line 7148 "configure" + #include "confdefs.h" + + #include <libutf8.h> +@@ -7155,16 +7158,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7158: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7161: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7161: \$? = $ac_status" >&5 ++ echo "$as_me:7164: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7164: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7167: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7167: \$? = $ac_status" >&5 ++ echo "$as_me:7170: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -7178,7 +7181,7 @@ + LIBS="-lutf8 $cf_save_LIBS" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7181 "configure" ++#line 7184 "configure" + #include "confdefs.h" + + #include <libutf8.h> +@@ -7191,16 +7194,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7194: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7197: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7197: \$? = $ac_status" >&5 ++ echo "$as_me:7200: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7200: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7203: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7203: \$? = $ac_status" >&5 ++ echo "$as_me:7206: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_find_linkage_utf8=yes +@@ -7217,9 +7220,9 @@ + + test -n "$verbose" && echo " find linkage for utf8 library" 1>&6 + +-echo "${as_me:-configure}:7220: testing find linkage for utf8 library ..." 1>&5 ++echo "${as_me:-configure}:7223: testing find linkage for utf8 library ..." 1>&5 + +-echo "${as_me:-configure}:7222: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:7225: testing Searching for headers in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_CPPFLAGS="$CPPFLAGS" + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -7310,7 +7313,7 @@ + if test -d "$cf_cv_header_path_utf8" ; then + test -n "$verbose" && echo " ... testing $cf_cv_header_path_utf8" 1>&6 + +-echo "${as_me:-configure}:7313: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7316: testing ... testing $cf_cv_header_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_save_CPPFLAGS" + +@@ -7318,7 +7321,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_cv_header_path_utf8" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7321 "configure" ++#line 7324 "configure" + #include "confdefs.h" + + #include <libutf8.h> +@@ -7331,21 +7334,21 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7334: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7337: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7337: \$? = $ac_status" >&5 ++ echo "$as_me:7340: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7340: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7343: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7343: \$? = $ac_status" >&5 ++ echo "$as_me:7346: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + test -n "$verbose" && echo " ... found utf8 headers in $cf_cv_header_path_utf8" 1>&6 + +-echo "${as_me:-configure}:7348: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7351: testing ... found utf8 headers in $cf_cv_header_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=maybe + cf_test_CPPFLAGS="$CPPFLAGS" +@@ -7363,7 +7366,7 @@ + + if test "$cf_cv_find_linkage_utf8" = maybe ; then + +-echo "${as_me:-configure}:7366: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 ++echo "${as_me:-configure}:7369: testing Searching for utf8 library in FIND_LINKAGE(utf8,) ..." 1>&5 + + cf_save_LIBS="$LIBS" + cf_save_LDFLAGS="$LDFLAGS" +@@ -7438,13 +7441,13 @@ + if test -d "$cf_cv_library_path_utf8" ; then + test -n "$verbose" && echo " ... testing $cf_cv_library_path_utf8" 1>&6 + +-echo "${as_me:-configure}:7441: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7444: testing ... testing $cf_cv_library_path_utf8 ..." 1>&5 + + CPPFLAGS="$cf_test_CPPFLAGS" + LIBS="-lutf8 $cf_save_LIBS" + LDFLAGS="$cf_save_LDFLAGS -L$cf_cv_library_path_utf8" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7447 "configure" ++#line 7450 "configure" + #include "confdefs.h" + + #include <libutf8.h> +@@ -7457,21 +7460,21 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7460: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7463: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7463: \$? = $ac_status" >&5 ++ echo "$as_me:7466: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7466: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7469: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7469: \$? = $ac_status" >&5 ++ echo "$as_me:7472: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + test -n "$verbose" && echo " ... found utf8 library in $cf_cv_library_path_utf8" 1>&6 + +-echo "${as_me:-configure}:7474: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 ++echo "${as_me:-configure}:7477: testing ... found utf8 library in $cf_cv_library_path_utf8 ..." 1>&5 + + cf_cv_find_linkage_utf8=yes + cf_cv_library_file_utf8="-lutf8" +@@ -7513,7 +7516,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:7516: result: $cf_cv_utf8_lib" >&5 ++echo "$as_me:7519: result: $cf_cv_utf8_lib" >&5 + echo "${ECHO_T}$cf_cv_utf8_lib" >&6 + + # HAVE_LIBUTF8_H is used by ncurses if curses.h is shared between +@@ -7551,7 +7554,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7554 "configure" ++#line 7557 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -7563,16 +7566,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:7566: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:7569: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:7569: \$? = $ac_status" >&5 ++ echo "$as_me:7572: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:7572: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7575: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7575: \$? = $ac_status" >&5 ++ echo "$as_me:7578: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -7589,7 +7592,7 @@ + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:7592: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:7595: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -7625,7 +7628,7 @@ + if test "$cf_have_libdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 + +-echo "${as_me:-configure}:7628: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:7631: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -7651,17 +7654,17 @@ + + fi + +-cf_ncuconfig_root=ncursesw ++cf_ncuconfig_root=$cf_cv_screen + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:7658: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:7661: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:7661: result: yes" >&5 ++ echo "$as_me:7664: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:7664: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:7667: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -7794,7 +7797,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7797 "configure" ++#line 7800 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -7806,37 +7809,37 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:7809: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7812: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7812: \$? = $ac_status" >&5 ++ echo "$as_me:7815: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:7815: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7818: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7818: \$? = $ac_status" >&5 ++ echo "$as_me:7821: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 7824 "configure" ++#line 7827 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:7831: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:7834: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:7834: \$? = $ac_status" >&5 ++ echo "$as_me:7837: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:7836: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:7839: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:7839: \$? = $ac_status" >&5 ++ echo "$as_me:7842: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -8010,7 +8013,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8013 "configure" ++#line 8016 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -8022,37 +8025,37 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:8025: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8028: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8028: \$? = $ac_status" >&5 ++ echo "$as_me:8031: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:8031: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8034: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8034: \$? = $ac_status" >&5 ++ echo "$as_me:8037: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8040 "configure" ++#line 8043 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:8047: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:8050: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:8050: \$? = $ac_status" >&5 ++ echo "$as_me:8053: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:8052: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8055: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8055: \$? = $ac_status" >&5 ++ echo "$as_me:8058: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -8069,7 +8072,7 @@ + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:8072: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:8075: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -8085,7 +8088,7 @@ + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:8088: checking for terminfo header" >&5 ++echo "$as_me:8091: checking for terminfo header" >&5 + echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 + if test "${cf_cv_term_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8103,7 +8106,7 @@ + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8106 "configure" ++#line 8109 "configure" + #include "confdefs.h" + #include <stdio.h> + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -8118,16 +8121,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8121: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8124: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8124: \$? = $ac_status" >&5 ++ echo "$as_me:8127: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8127: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8130: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8130: \$? = $ac_status" >&5 ++ echo "$as_me:8133: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -8143,7 +8146,7 @@ + done + + fi +-echo "$as_me:8146: result: $cf_cv_term_header" >&5 ++echo "$as_me:8149: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -8178,7 +8181,7 @@ + fi + + else +- echo "$as_me:8181: result: no" >&5 ++ echo "$as_me:8184: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -8194,7 +8197,7 @@ + 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:8197: checking for $ac_word" >&5 ++echo "$as_me:8200: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8209,7 +8212,7 @@ + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" +-echo "$as_me:8212: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8215: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8217,10 +8220,10 @@ + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:8220: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:8223: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:8223: result: no" >&5 ++ echo "$as_me:8226: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8233,7 +8236,7 @@ + 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:8236: checking for $ac_word" >&5 ++echo "$as_me:8239: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_NCURSES_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8248,7 +8251,7 @@ + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" +-echo "$as_me:8251: found $ac_dir/$ac_word" >&5 ++echo "$as_me:8254: found $ac_dir/$ac_word" >&5 + break + done + +@@ -8256,10 +8259,10 @@ + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:8259: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:8262: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:8262: result: no" >&5 ++ echo "$as_me:8265: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -8416,7 +8419,7 @@ + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:8419: checking if we have identified curses headers" >&5 ++echo "$as_me:8422: checking if we have identified curses headers" >&5 + echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 + if test "${cf_cv_ncurses_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8424,11 +8427,11 @@ + + cf_cv_ncurses_header=none + for cf_header in \ +- ncurses.h ncursesw/ncurses.h \ +- curses.h ncursesw/curses.h ++ ncurses.h $cf_cv_screen/ncurses.h \ ++ curses.h $cf_cv_screen/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8431 "configure" ++#line 8434 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -8440,16 +8443,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8443: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8446: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8446: \$? = $ac_status" >&5 ++ echo "$as_me:8449: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8449: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8452: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8452: \$? = $ac_status" >&5 ++ echo "$as_me:8455: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -8460,11 +8463,11 @@ + done + + fi +-echo "$as_me:8463: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:8466: result: $cf_cv_ncurses_header" >&5 + echo "${ECHO_T}$cf_cv_ncurses_header" >&6 + + if test "$cf_cv_ncurses_header" = none ; then +- { { echo "$as_me:8467: error: No curses header-files found" >&5 ++ { { echo "$as_me:8470: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -8474,23 +8477,23 @@ + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:8477: checking for $ac_header" >&5 ++echo "$as_me:8480: 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 8483 "configure" ++#line 8486 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:8487: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:8490: \"$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:8493: \$? = $ac_status" >&5 ++ echo "$as_me:8496: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -8509,7 +8512,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:8512: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:8515: 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 <<EOF +@@ -8533,7 +8536,7 @@ + + else + +-cf_ncuhdr_root=ncursesw ++cf_ncuhdr_root=$cf_cv_screen + + test -n "$cf_cv_curses_dir" && \ + test "$cf_cv_curses_dir" != "no" && { \ +@@ -8565,7 +8568,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8568 "configure" ++#line 8571 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -8577,16 +8580,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8580: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8583: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8583: \$? = $ac_status" >&5 ++ echo "$as_me:8586: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8586: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8589: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8589: \$? = $ac_status" >&5 ++ echo "$as_me:8592: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8603,7 +8606,7 @@ + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8606: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8609: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8622,7 +8625,7 @@ + + } + +-echo "$as_me:8625: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:8628: checking for $cf_ncuhdr_root header in include-path" >&5 + echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 + if test "${cf_cv_ncurses_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8634,13 +8637,9 @@ + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8637 "configure" ++#line 8640 "configure" + #include "confdefs.h" + +-#define _XOPEN_SOURCE_EXTENDED +-#undef HAVE_LIBUTF8_H /* in case we used CF_UTF8_LIB */ +-#define HAVE_LIBUTF8_H /* to force ncurses' header file to use cchar_t */ +- + #include <$cf_header> + int + main (void) +@@ -8648,10 +8647,6 @@ + + #ifdef NCURSES_VERSION + +-#ifndef WACS_BSSB +- #error WACS_BSSB is not defined +-#endif +- + printf("%s\\n", NCURSES_VERSION); + #else + #ifdef __NCURSES_H +@@ -8666,16 +8661,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8669: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8664: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8672: \$? = $ac_status" >&5 ++ echo "$as_me:8667: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8675: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8670: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8678: \$? = $ac_status" >&5 ++ echo "$as_me:8673: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -8690,14 +8685,14 @@ + done + + fi +-echo "$as_me:8693: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:8688: result: $cf_cv_ncurses_h" >&5 + echo "${ECHO_T}$cf_cv_ncurses_h" >&6 + + if test "$cf_cv_ncurses_h" != no ; then + cf_cv_ncurses_header=$cf_cv_ncurses_h + else + +-echo "$as_me:8700: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:8695: checking for $cf_ncuhdr_root include-path" >&5 + echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 + if test "${cf_cv_ncurses_h2+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -8818,7 +8813,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8821 "configure" ++#line 8816 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -8830,16 +8825,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8833: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8828: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8836: \$? = $ac_status" >&5 ++ echo "$as_me:8831: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8839: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8834: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8842: \$? = $ac_status" >&5 ++ echo "$as_me:8837: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -8856,7 +8851,7 @@ + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:8859: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:8854: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -8879,7 +8874,7 @@ + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8882 "configure" ++#line 8877 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -8903,16 +8898,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8906: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8901: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8909: \$? = $ac_status" >&5 ++ echo "$as_me:8904: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8912: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8907: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8915: \$? = $ac_status" >&5 ++ echo "$as_me:8910: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -8933,12 +8928,12 @@ + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8936: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:8931: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:8941: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:8936: result: $cf_cv_ncurses_h2" >&5 + echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 + + cf_1st_incdir=`echo "$cf_cv_ncurses_h2" | sed -e 's%/[^/]*$%%'` +@@ -8974,7 +8969,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 8977 "configure" ++#line 8972 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -8986,16 +8981,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:8989: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:8984: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:8992: \$? = $ac_status" >&5 ++ echo "$as_me:8987: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:8995: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:8990: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:8998: \$? = $ac_status" >&5 ++ echo "$as_me:8993: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -9012,7 +9007,7 @@ + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:9015: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:9010: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -9060,7 +9055,7 @@ + ;; + esac + +-echo "$as_me:9063: checking for terminfo header" >&5 ++echo "$as_me:9058: checking for terminfo header" >&5 + echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 + if test "${cf_cv_term_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9078,7 +9073,7 @@ + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9081 "configure" ++#line 9076 "configure" + #include "confdefs.h" + #include <stdio.h> + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -9093,16 +9088,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:9096: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:9091: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:9099: \$? = $ac_status" >&5 ++ echo "$as_me:9094: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:9102: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9097: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9105: \$? = $ac_status" >&5 ++ echo "$as_me:9100: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -9118,7 +9113,7 @@ + done + + fi +-echo "$as_me:9121: result: $cf_cv_term_header" >&5 ++echo "$as_me:9116: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -9156,7 +9151,7 @@ + #define NCURSES 1 + EOF + +-echo "$as_me:9159: checking for ncurses version" >&5 ++echo "$as_me:9154: checking for ncurses version" >&5 + echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 + if test "${cf_cv_ncurses_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9182,10 +9177,10 @@ + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:9185: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:9180: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:9188: \$? = $ac_status" >&5 ++ echo "$as_me:9183: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -9195,7 +9190,7 @@ + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9198 "configure" ++#line 9193 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -9222,15 +9217,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9225: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9220: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9228: \$? = $ac_status" >&5 ++ echo "$as_me:9223: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9230: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9225: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9233: \$? = $ac_status" >&5 ++ echo "$as_me:9228: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -9244,20 +9239,20 @@ + rm -f "$cf_tempfile" + + fi +-echo "$as_me:9247: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:9242: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-cf_nculib_root=ncursesw ++cf_nculib_root=$cf_cv_screen + # This works, except for the special case where we find gpm, but + # ncurses is in a nonstandard location via $LIBS, and we really want + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:9260: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:9255: checking for Gpm_Open in -lgpm" >&5 + echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 + if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9265,7 +9260,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9268 "configure" ++#line 9263 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -9284,16 +9279,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9287: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9282: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9290: \$? = $ac_status" >&5 ++ echo "$as_me:9285: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9293: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9288: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9296: \$? = $ac_status" >&5 ++ echo "$as_me:9291: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -9304,10 +9299,10 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:9307: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:9302: result: $ac_cv_lib_gpm_Gpm_Open" >&5 + echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 + if test "$ac_cv_lib_gpm_Gpm_Open" = yes; then +- echo "$as_me:9310: checking for initscr in -lgpm" >&5 ++ echo "$as_me:9305: checking for initscr in -lgpm" >&5 + echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 + if test "${ac_cv_lib_gpm_initscr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9315,7 +9310,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9318 "configure" ++#line 9313 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -9334,16 +9329,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9337: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9332: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9340: \$? = $ac_status" >&5 ++ echo "$as_me:9335: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9343: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9338: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9346: \$? = $ac_status" >&5 ++ echo "$as_me:9341: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -9354,7 +9349,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:9357: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:9352: result: $ac_cv_lib_gpm_initscr" >&5 + echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 + if test "$ac_cv_lib_gpm_initscr" = yes; then + LIBS="$cf_ncurses_SAVE" +@@ -9369,7 +9364,7 @@ + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:9372: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:9367: checking for tgoto in -lmytinfo" >&5 + echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 + if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -9377,7 +9372,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9380 "configure" ++#line 9375 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -9396,16 +9391,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9399: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9394: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9402: \$? = $ac_status" >&5 ++ echo "$as_me:9397: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9405: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9400: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9408: \$? = $ac_status" >&5 ++ echo "$as_me:9403: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -9416,7 +9411,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:9419: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:9414: result: $ac_cv_lib_mytinfo_tgoto" >&5 + echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 + if test "$ac_cv_lib_mytinfo_tgoto" = yes; then + cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" +@@ -9465,13 +9460,13 @@ + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:9468: checking for initscr" >&5 ++ echo "$as_me:9463: checking for initscr" >&5 + echo $ECHO_N "checking for initscr... $ECHO_C" >&6 + if test "${ac_cv_func_initscr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9474 "configure" ++#line 9469 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -9502,16 +9497,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9505: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9500: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9508: \$? = $ac_status" >&5 ++ echo "$as_me:9503: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9511: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9506: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9514: \$? = $ac_status" >&5 ++ echo "$as_me:9509: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -9521,18 +9516,18 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:9524: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:9519: result: $ac_cv_func_initscr" >&5 + echo "${ECHO_T}$ac_cv_func_initscr" >&6 + if test "$ac_cv_func_initscr" = yes; then + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' + else + + cf_save_LIBS="$LIBS" +- echo "$as_me:9531: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:9526: checking for initscr in -l$cf_nculib_root" >&5 + echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 + LIBS="-l$cf_nculib_root $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9535 "configure" ++#line 9530 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9544,25 +9539,25 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9547: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9542: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9550: \$? = $ac_status" >&5 ++ echo "$as_me:9545: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9553: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9548: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9556: \$? = $ac_status" >&5 ++ echo "$as_me:9551: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9558: result: yes" >&5 ++ echo "$as_me:9553: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' + + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:9565: result: no" >&5 ++echo "$as_me:9560: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -9630,11 +9625,11 @@ + + for cf_libdir in $cf_search + do +- echo "$as_me:9633: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:9628: checking for -l$cf_nculib_root in $cf_libdir" >&5 + echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 + LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9637 "configure" ++#line 9632 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9646,25 +9641,25 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9649: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9644: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9652: \$? = $ac_status" >&5 ++ echo "$as_me:9647: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9655: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9650: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9658: \$? = $ac_status" >&5 ++ echo "$as_me:9653: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9660: result: yes" >&5 ++ echo "$as_me:9655: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' + break + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:9667: result: no" >&5 ++echo "$as_me:9662: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -9679,7 +9674,7 @@ + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:9682: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:9677: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -9687,7 +9682,7 @@ + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:9690: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:9685: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 + echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 + cf_ncurses_SAVE="$LIBS" + for p in $cf_ncurses_LIBS ; do +@@ -9697,7 +9692,7 @@ + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9700 "configure" ++#line 9695 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9709,23 +9704,23 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9712: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9707: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9715: \$? = $ac_status" >&5 ++ echo "$as_me:9710: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9718: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9713: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9721: \$? = $ac_status" >&5 ++ echo "$as_me:9716: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:9723: result: yes" >&5 ++ echo "$as_me:9718: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:9728: result: no" >&5 ++echo "$as_me:9723: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -9743,19 +9738,20 @@ + NCURSES_CONFIG=none + fi + +-else ++ ;; ++(ncurses*) + +-cf_ncuconfig_root=ncurses ++cf_ncuconfig_root=$cf_cv_screen + cf_have_ncuconfig=no + + if test "x${PKG_CONFIG:=none}" != xnone; then +- echo "$as_me:9752: checking pkg-config for $cf_ncuconfig_root" >&5 ++ echo "$as_me:9748: checking pkg-config for $cf_ncuconfig_root" >&5 + echo $ECHO_N "checking pkg-config for $cf_ncuconfig_root... $ECHO_C" >&6 + if "$PKG_CONFIG" --exists $cf_ncuconfig_root ; then +- echo "$as_me:9755: result: yes" >&5 ++ echo "$as_me:9751: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + +- echo "$as_me:9758: checking if the $cf_ncuconfig_root package files work" >&5 ++ echo "$as_me:9754: checking if the $cf_ncuconfig_root package files work" >&5 + echo $ECHO_N "checking if the $cf_ncuconfig_root package files work... $ECHO_C" >&6 + cf_have_ncuconfig=unknown + +@@ -9888,7 +9884,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9891 "configure" ++#line 9887 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -9900,37 +9896,37 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:9903: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9899: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9906: \$? = $ac_status" >&5 ++ echo "$as_me:9902: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:9909: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9905: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9912: \$? = $ac_status" >&5 ++ echo "$as_me:9908: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_test_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 9918 "configure" ++#line 9914 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:9925: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:9921: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:9928: \$? = $ac_status" >&5 ++ echo "$as_me:9924: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:9930: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:9926: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:9933: \$? = $ac_status" >&5 ++ echo "$as_me:9929: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_test_ncuconfig=yes + else +@@ -10104,7 +10100,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10107 "configure" ++#line 10103 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -10116,37 +10112,37 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:10119: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10115: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10122: \$? = $ac_status" >&5 ++ echo "$as_me:10118: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:10125: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10121: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10128: \$? = $ac_status" >&5 ++ echo "$as_me:10124: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + if test "$cross_compiling" = yes; then + cf_have_ncuconfig=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10134 "configure" ++#line 10130 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int main(void) + { const char *xx = curses_version(); return (xx == 0); } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:10141: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:10137: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:10144: \$? = $ac_status" >&5 ++ echo "$as_me:10140: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:10146: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10142: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10149: \$? = $ac_status" >&5 ++ echo "$as_me:10145: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_ncuconfig=yes + else +@@ -10163,7 +10159,7 @@ + cf_have_ncuconfig=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:10166: result: $cf_have_ncuconfig" >&5 ++ echo "$as_me:10162: result: $cf_have_ncuconfig" >&5 + echo "${ECHO_T}$cf_have_ncuconfig" >&6 + test "$cf_have_ncuconfig" = maybe && cf_have_ncuconfig=yes + if test "$cf_have_ncuconfig" != "yes" +@@ -10179,7 +10175,7 @@ + + NCURSES_CONFIG_PKG=$cf_ncuconfig_root + +-echo "$as_me:10182: checking for terminfo header" >&5 ++echo "$as_me:10178: checking for terminfo header" >&5 + echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 + if test "${cf_cv_term_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10197,7 +10193,7 @@ + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10200 "configure" ++#line 10196 "configure" + #include "confdefs.h" + #include <stdio.h> + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -10212,16 +10208,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10215: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10211: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10218: \$? = $ac_status" >&5 ++ echo "$as_me:10214: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10221: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10217: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10224: \$? = $ac_status" >&5 ++ echo "$as_me:10220: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -10237,7 +10233,7 @@ + done + + fi +-echo "$as_me:10240: result: $cf_cv_term_header" >&5 ++echo "$as_me:10236: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -10272,7 +10268,7 @@ + fi + + else +- echo "$as_me:10275: result: no" >&5 ++ echo "$as_me:10271: result: no" >&5 + echo "${ECHO_T}no" >&6 + NCURSES_CONFIG_PKG=none + fi +@@ -10288,7 +10284,7 @@ + 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:10291: checking for $ac_word" >&5 ++echo "$as_me:10287: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_NCURSES_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10303,7 +10299,7 @@ + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_NCURSES_CONFIG="$ac_tool_prefix$ac_prog" +-echo "$as_me:10306: found $ac_dir/$ac_word" >&5 ++echo "$as_me:10302: found $ac_dir/$ac_word" >&5 + break + done + +@@ -10311,10 +10307,10 @@ + fi + NCURSES_CONFIG=$ac_cv_prog_NCURSES_CONFIG + if test -n "$NCURSES_CONFIG"; then +- echo "$as_me:10314: result: $NCURSES_CONFIG" >&5 ++ echo "$as_me:10310: result: $NCURSES_CONFIG" >&5 + echo "${ECHO_T}$NCURSES_CONFIG" >&6 + else +- echo "$as_me:10317: result: no" >&5 ++ echo "$as_me:10313: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -10327,7 +10323,7 @@ + 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:10330: checking for $ac_word" >&5 ++echo "$as_me:10326: checking for $ac_word" >&5 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 + if test "${ac_cv_prog_ac_ct_NCURSES_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10342,7 +10338,7 @@ + test -z "$ac_dir" && ac_dir=. + $as_executable_p "$ac_dir/$ac_word" || continue + ac_cv_prog_ac_ct_NCURSES_CONFIG="$ac_prog" +-echo "$as_me:10345: found $ac_dir/$ac_word" >&5 ++echo "$as_me:10341: found $ac_dir/$ac_word" >&5 + break + done + +@@ -10350,10 +10346,10 @@ + fi + ac_ct_NCURSES_CONFIG=$ac_cv_prog_ac_ct_NCURSES_CONFIG + if test -n "$ac_ct_NCURSES_CONFIG"; then +- echo "$as_me:10353: result: $ac_ct_NCURSES_CONFIG" >&5 ++ echo "$as_me:10349: result: $ac_ct_NCURSES_CONFIG" >&5 + echo "${ECHO_T}$ac_ct_NCURSES_CONFIG" >&6 + else +- echo "$as_me:10356: result: no" >&5 ++ echo "$as_me:10352: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -10510,7 +10506,7 @@ + + # even with config script, some packages use no-override for curses.h + +-echo "$as_me:10513: checking if we have identified curses headers" >&5 ++echo "$as_me:10509: checking if we have identified curses headers" >&5 + echo $ECHO_N "checking if we have identified curses headers... $ECHO_C" >&6 + if test "${cf_cv_ncurses_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10518,11 +10514,11 @@ + + cf_cv_ncurses_header=none + for cf_header in \ +- ncurses.h ncurses/ncurses.h \ +- curses.h ncurses/curses.h ++ ncurses.h $cf_cv_screen/ncurses.h \ ++ curses.h $cf_cv_screen/curses.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10525 "configure" ++#line 10521 "configure" + #include "confdefs.h" + #include <${cf_header}> + int +@@ -10534,16 +10530,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10537: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10533: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10540: \$? = $ac_status" >&5 ++ echo "$as_me:10536: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10543: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10539: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10546: \$? = $ac_status" >&5 ++ echo "$as_me:10542: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_header=$cf_header; break + else +@@ -10554,11 +10550,11 @@ + done + + fi +-echo "$as_me:10557: result: $cf_cv_ncurses_header" >&5 ++echo "$as_me:10553: result: $cf_cv_ncurses_header" >&5 + echo "${ECHO_T}$cf_cv_ncurses_header" >&6 + + if test "$cf_cv_ncurses_header" = none ; then +- { { echo "$as_me:10561: error: No curses header-files found" >&5 ++ { { echo "$as_me:10557: error: No curses header-files found" >&5 + echo "$as_me: error: No curses header-files found" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -10568,23 +10564,23 @@ + for ac_header in $cf_cv_ncurses_header + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:10571: checking for $ac_header" >&5 ++echo "$as_me:10567: 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 10577 "configure" ++#line 10573 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:10581: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:10577: \"$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:10587: \$? = $ac_status" >&5 ++ echo "$as_me:10583: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -10603,7 +10599,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:10606: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:10602: 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 <<EOF +@@ -10627,7 +10623,7 @@ + + else + +-cf_ncuhdr_root=ncurses ++cf_ncuhdr_root=$cf_cv_screen + + test -n "$cf_cv_curses_dir" && \ + test "$cf_cv_curses_dir" != "no" && { \ +@@ -10659,7 +10655,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10662 "configure" ++#line 10658 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -10671,16 +10667,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10674: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10670: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10677: \$? = $ac_status" >&5 ++ echo "$as_me:10673: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10680: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10676: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10683: \$? = $ac_status" >&5 ++ echo "$as_me:10679: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10697,7 +10693,7 @@ + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10700: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10696: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10716,7 +10712,7 @@ + + } + +-echo "$as_me:10719: checking for $cf_ncuhdr_root header in include-path" >&5 ++echo "$as_me:10715: checking for $cf_ncuhdr_root header in include-path" >&5 + echo $ECHO_N "checking for $cf_ncuhdr_root header in include-path... $ECHO_C" >&6 + if test "${cf_cv_ncurses_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10728,7 +10724,7 @@ + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10731 "configure" ++#line 10727 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10752,16 +10748,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10755: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10751: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10758: \$? = $ac_status" >&5 ++ echo "$as_me:10754: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10761: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10757: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10764: \$? = $ac_status" >&5 ++ echo "$as_me:10760: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h=$cf_header + +@@ -10776,14 +10772,14 @@ + done + + fi +-echo "$as_me:10779: result: $cf_cv_ncurses_h" >&5 ++echo "$as_me:10775: result: $cf_cv_ncurses_h" >&5 + echo "${ECHO_T}$cf_cv_ncurses_h" >&6 + + if test "$cf_cv_ncurses_h" != no ; then + cf_cv_ncurses_header=$cf_cv_ncurses_h + else + +-echo "$as_me:10786: checking for $cf_ncuhdr_root include-path" >&5 ++echo "$as_me:10782: checking for $cf_ncuhdr_root include-path" >&5 + echo $ECHO_N "checking for $cf_ncuhdr_root include-path... $ECHO_C" >&6 + if test "${cf_cv_ncurses_h2+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -10904,7 +10900,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10907 "configure" ++#line 10903 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -10916,16 +10912,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10919: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10915: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10922: \$? = $ac_status" >&5 ++ echo "$as_me:10918: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10925: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10921: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:10928: \$? = $ac_status" >&5 ++ echo "$as_me:10924: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -10942,7 +10938,7 @@ + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:10945: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:10941: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -10965,7 +10961,7 @@ + do + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 10968 "configure" ++#line 10964 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -10989,16 +10985,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:10992: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:10988: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:10995: \$? = $ac_status" >&5 ++ echo "$as_me:10991: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:10998: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:10994: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11001: \$? = $ac_status" >&5 ++ echo "$as_me:10997: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ncurses_h2=$cf_header + +@@ -11019,12 +11015,12 @@ + CPPFLAGS="$cf_save2_CPPFLAGS" + test "$cf_cv_ncurses_h2" != no && break + done +- test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:11022: error: not found" >&5 ++ test "$cf_cv_ncurses_h2" = no && { { echo "$as_me:11018: error: not found" >&5 + echo "$as_me: error: not found" >&2;} + { (exit 1); exit 1; }; } + + fi +-echo "$as_me:11027: result: $cf_cv_ncurses_h2" >&5 ++echo "$as_me:11023: result: $cf_cv_ncurses_h2" >&5 + echo "${ECHO_T}$cf_cv_ncurses_h2" >&6 + + cf_1st_incdir=`echo "$cf_cv_ncurses_h2" | sed -e 's%/[^/]*$%%'` +@@ -11060,7 +11056,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11063 "configure" ++#line 11059 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -11072,16 +11068,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11075: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11071: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11078: \$? = $ac_status" >&5 ++ echo "$as_me:11074: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11081: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11077: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11084: \$? = $ac_status" >&5 ++ echo "$as_me:11080: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -11098,7 +11094,7 @@ + if test "$cf_have_incdir" = no ; then + test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 + +-echo "${as_me:-configure}:11101: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:11097: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -11146,7 +11142,7 @@ + ;; + esac + +-echo "$as_me:11149: checking for terminfo header" >&5 ++echo "$as_me:11145: checking for terminfo header" >&5 + echo $ECHO_N "checking for terminfo header... $ECHO_C" >&6 + if test "${cf_cv_term_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11164,7 +11160,7 @@ + for cf_test in $cf_term_header "ncurses/term.h" "ncursesw/term.h" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11167 "configure" ++#line 11163 "configure" + #include "confdefs.h" + #include <stdio.h> + #include <${cf_cv_ncurses_header:-curses.h}> +@@ -11179,16 +11175,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:11182: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:11178: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:11185: \$? = $ac_status" >&5 ++ echo "$as_me:11181: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:11188: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11184: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11191: \$? = $ac_status" >&5 ++ echo "$as_me:11187: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_term_header="$cf_test" +@@ -11204,7 +11200,7 @@ + done + + fi +-echo "$as_me:11207: result: $cf_cv_term_header" >&5 ++echo "$as_me:11203: result: $cf_cv_term_header" >&5 + echo "${ECHO_T}$cf_cv_term_header" >&6 + + # Set definitions to allow ifdef'ing to accommodate subdirectories +@@ -11242,7 +11238,7 @@ + #define NCURSES 1 + EOF + +-echo "$as_me:11245: checking for ncurses version" >&5 ++echo "$as_me:11241: checking for ncurses version" >&5 + echo $ECHO_N "checking for ncurses version... $ECHO_C" >&6 + if test "${cf_cv_ncurses_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11268,10 +11264,10 @@ + #endif + EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | grep '^Autoconf ' >conftest.out" +- { (eval echo "$as_me:11271: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:11267: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:11274: \$? = $ac_status" >&5 ++ echo "$as_me:11270: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_out=`sed -e 's%^Autoconf %%' -e 's%^[^"]*"%%' -e 's%".*%%' conftest.out` +@@ -11281,7 +11277,7 @@ + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11284 "configure" ++#line 11280 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -11308,15 +11304,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:11311: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11307: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11314: \$? = $ac_status" >&5 ++ echo "$as_me:11310: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:11316: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11312: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11319: \$? = $ac_status" >&5 ++ echo "$as_me:11315: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_ncurses_version=`cat $cf_tempfile` +@@ -11330,20 +11326,20 @@ + rm -f "$cf_tempfile" + + fi +-echo "$as_me:11333: result: $cf_cv_ncurses_version" >&5 ++echo "$as_me:11329: result: $cf_cv_ncurses_version" >&5 + echo "${ECHO_T}$cf_cv_ncurses_version" >&6 + test "$cf_cv_ncurses_version" = no || + cat >>confdefs.h <<\EOF + #define NCURSES 1 + EOF + +-cf_nculib_root=ncurses ++cf_nculib_root=$cf_cv_screen + # This works, except for the special case where we find gpm, but + # ncurses is in a nonstandard location via $LIBS, and we really want + # to link gpm. + cf_ncurses_LIBS="" + cf_ncurses_SAVE="$LIBS" +-echo "$as_me:11346: checking for Gpm_Open in -lgpm" >&5 ++echo "$as_me:11342: checking for Gpm_Open in -lgpm" >&5 + echo $ECHO_N "checking for Gpm_Open in -lgpm... $ECHO_C" >&6 + if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11351,7 +11347,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11354 "configure" ++#line 11350 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -11370,16 +11366,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11373: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11369: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11376: \$? = $ac_status" >&5 ++ echo "$as_me:11372: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11379: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11375: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11382: \$? = $ac_status" >&5 ++ echo "$as_me:11378: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_Gpm_Open=yes + else +@@ -11390,10 +11386,10 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11393: result: $ac_cv_lib_gpm_Gpm_Open" >&5 ++echo "$as_me:11389: result: $ac_cv_lib_gpm_Gpm_Open" >&5 + echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 + if test "$ac_cv_lib_gpm_Gpm_Open" = yes; then +- echo "$as_me:11396: checking for initscr in -lgpm" >&5 ++ echo "$as_me:11392: checking for initscr in -lgpm" >&5 + echo $ECHO_N "checking for initscr in -lgpm... $ECHO_C" >&6 + if test "${ac_cv_lib_gpm_initscr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11401,7 +11397,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgpm $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11404 "configure" ++#line 11400 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -11420,16 +11416,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11423: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11419: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11426: \$? = $ac_status" >&5 ++ echo "$as_me:11422: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11429: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11425: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11432: \$? = $ac_status" >&5 ++ echo "$as_me:11428: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_gpm_initscr=yes + else +@@ -11440,7 +11436,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11443: result: $ac_cv_lib_gpm_initscr" >&5 ++echo "$as_me:11439: result: $ac_cv_lib_gpm_initscr" >&5 + echo "${ECHO_T}$ac_cv_lib_gpm_initscr" >&6 + if test "$ac_cv_lib_gpm_initscr" = yes; then + LIBS="$cf_ncurses_SAVE" +@@ -11455,7 +11451,7 @@ + # This is only necessary if you are linking against an obsolete + # version of ncurses (but it should do no harm, since it is static). + if test "$cf_nculib_root" = ncurses ; then +- echo "$as_me:11458: checking for tgoto in -lmytinfo" >&5 ++ echo "$as_me:11454: checking for tgoto in -lmytinfo" >&5 + echo $ECHO_N "checking for tgoto in -lmytinfo... $ECHO_C" >&6 + if test "${ac_cv_lib_mytinfo_tgoto+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -11463,7 +11459,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmytinfo $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11466 "configure" ++#line 11462 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -11482,16 +11478,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11485: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11481: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11488: \$? = $ac_status" >&5 ++ echo "$as_me:11484: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11491: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11487: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11494: \$? = $ac_status" >&5 ++ echo "$as_me:11490: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_mytinfo_tgoto=yes + else +@@ -11502,7 +11498,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:11505: result: $ac_cv_lib_mytinfo_tgoto" >&5 ++echo "$as_me:11501: result: $ac_cv_lib_mytinfo_tgoto" >&5 + echo "${ECHO_T}$ac_cv_lib_mytinfo_tgoto" >&6 + if test "$ac_cv_lib_mytinfo_tgoto" = yes; then + cf_ncurses_LIBS="-lmytinfo $cf_ncurses_LIBS" +@@ -11551,13 +11547,13 @@ + + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=no' + cf_libdir="" +- echo "$as_me:11554: checking for initscr" >&5 ++ echo "$as_me:11550: checking for initscr" >&5 + echo $ECHO_N "checking for initscr... $ECHO_C" >&6 + if test "${ac_cv_func_initscr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11560 "configure" ++#line 11556 "configure" + #include "confdefs.h" + #define initscr autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -11588,16 +11584,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11591: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11587: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11594: \$? = $ac_status" >&5 ++ echo "$as_me:11590: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11597: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11593: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11600: \$? = $ac_status" >&5 ++ echo "$as_me:11596: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_initscr=yes + else +@@ -11607,18 +11603,18 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:11610: result: $ac_cv_func_initscr" >&5 ++echo "$as_me:11606: result: $ac_cv_func_initscr" >&5 + echo "${ECHO_T}$ac_cv_func_initscr" >&6 + if test "$ac_cv_func_initscr" = yes; then + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' + else + + cf_save_LIBS="$LIBS" +- echo "$as_me:11617: checking for initscr in -l$cf_nculib_root" >&5 ++ echo "$as_me:11613: checking for initscr in -l$cf_nculib_root" >&5 + echo $ECHO_N "checking for initscr in -l$cf_nculib_root... $ECHO_C" >&6 + LIBS="-l$cf_nculib_root $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11621 "configure" ++#line 11617 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11630,25 +11626,25 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11633: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11629: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11636: \$? = $ac_status" >&5 ++ echo "$as_me:11632: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11639: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11635: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11642: \$? = $ac_status" >&5 ++ echo "$as_me:11638: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11644: result: yes" >&5 ++ echo "$as_me:11640: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' + + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:11651: result: no" >&5 ++echo "$as_me:11647: result: no" >&5 + echo "${ECHO_T}no" >&6 + + cf_search= +@@ -11716,11 +11712,11 @@ + + for cf_libdir in $cf_search + do +- echo "$as_me:11719: checking for -l$cf_nculib_root in $cf_libdir" >&5 ++ echo "$as_me:11715: checking for -l$cf_nculib_root in $cf_libdir" >&5 + echo $ECHO_N "checking for -l$cf_nculib_root in $cf_libdir... $ECHO_C" >&6 + LIBS="-L$cf_libdir -l$cf_nculib_root $cf_save_LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11723 "configure" ++#line 11719 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11732,25 +11728,25 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11735: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11731: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11738: \$? = $ac_status" >&5 ++ echo "$as_me:11734: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11741: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11737: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11744: \$? = $ac_status" >&5 ++ echo "$as_me:11740: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11746: result: yes" >&5 ++ echo "$as_me:11742: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + eval 'cf_cv_have_lib_'"$cf_nculib_root"'=yes' + break + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:11753: result: no" >&5 ++echo "$as_me:11749: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_save_LIBS" + fi +@@ -11765,7 +11761,7 @@ + eval 'cf_found_library="$cf_cv_have_lib_'"$cf_nculib_root"\" + + if test "$cf_found_library" = no ; then +- { { echo "$as_me:11768: error: Cannot link $cf_nculib_root library" >&5 ++ { { echo "$as_me:11764: error: Cannot link $cf_nculib_root library" >&5 + echo "$as_me: error: Cannot link $cf_nculib_root library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -11773,7 +11769,7 @@ + fi + + if test -n "$cf_ncurses_LIBS" ; then +- echo "$as_me:11776: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 ++ echo "$as_me:11772: checking if we can link $cf_nculib_root without $cf_ncurses_LIBS" >&5 + echo $ECHO_N "checking if we can link $cf_nculib_root without $cf_ncurses_LIBS... $ECHO_C" >&6 + cf_ncurses_SAVE="$LIBS" + for p in $cf_ncurses_LIBS ; do +@@ -11783,7 +11779,7 @@ + fi + done + cat >"conftest.$ac_ext" <<_ACEOF +-#line 11786 "configure" ++#line 11782 "configure" + #include "confdefs.h" + #include <${cf_cv_ncurses_header:-curses.h}> + int +@@ -11795,23 +11791,23 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:11798: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:11794: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:11801: \$? = $ac_status" >&5 ++ echo "$as_me:11797: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:11804: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:11800: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:11807: \$? = $ac_status" >&5 ++ echo "$as_me:11803: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- echo "$as_me:11809: result: yes" >&5 ++ echo "$as_me:11805: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-echo "$as_me:11814: result: no" >&5 ++echo "$as_me:11810: result: no" >&5 + echo "${ECHO_T}no" >&6 + LIBS="$cf_ncurses_SAVE" + fi +@@ -11829,7 +11825,13 @@ + NCURSES_CONFIG=none + fi + +-fi ++ ;; ++(*) ++ { { echo "$as_me:11830: error: unexpected screen-value: $cf_cv_screen" >&5 ++echo "$as_me: error: unexpected screen-value: $cf_cv_screen" >&2;} ++ { (exit 1); exit 1; }; } ++ ;; ++esac + + if test "$NCURSES_CONFIG_PKG" != none ; then + cf_version=`$PKG_CONFIG --modversion $NCURSES_CONFIG_PKG 2>/dev/null` +@@ -11864,10 +11866,10 @@ + AUTOCONF_$cf_name NCURSES_VERSION_$cf_name + CF_EOF + cf_try="$ac_cpp conftest.$ac_ext 2>&5 | fgrep AUTOCONF_$cf_name >conftest.out" +- { (eval echo "$as_me:11867: \"$cf_try\"") >&5 ++ { (eval echo "$as_me:11869: \"$cf_try\"") >&5 + (eval $cf_try) 2>&5 + ac_status=$? +- echo "$as_me:11870: \$? = $ac_status" >&5 ++ echo "$as_me:11872: \$? = $ac_status" >&5 + (exit "$ac_status"); } + if test -f conftest.out ; then + cf_result=`sed -e "s/^.*AUTOCONF_${cf_name}[ ][ ]*//" conftest.out` +@@ -11885,10 +11887,53 @@ + + cf_cv_timestamp=`date` + +-echo "$as_me:11888: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 ++echo "$as_me:11890: result: Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&5 + echo "${ECHO_T}Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp)" >&6 + +-echo "$as_me:11891: checking if you want to have a library-prefix" >&5 ++echo "$as_me:11893: checking if KEY_RESIZE is supported" >&5 ++echo $ECHO_N "checking if KEY_RESIZE is supported... $ECHO_C" >&6 ++if test "${cf_cv_curses_resizes+set}" = set; then ++ echo $ECHO_N "(cached) $ECHO_C" >&6 ++else ++ ++ cat >"conftest.$ac_ext" <<_ACEOF ++#line 11900 "configure" ++#include "confdefs.h" ++#include <${cf_cv_ncurses_header:-curses.h}> ++int ++main (void) ++{ ++int key = KEY_RESIZE; (void)key ++ ; ++ return 0; ++} ++_ACEOF ++rm -f "conftest.$ac_objext" ++if { (eval echo "$as_me:11912: \"$ac_compile\"") >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ echo "$as_me:11915: \$? = $ac_status" >&5 ++ (exit "$ac_status"); } && ++ { ac_try='test -s "conftest.$ac_objext"' ++ { (eval echo "$as_me:11918: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:11921: \$? = $ac_status" >&5 ++ (exit "$ac_status"); }; }; then ++ cf_cv_curses_resizes=yes ++else ++ echo "$as_me: failed program was:" >&5 ++cat "conftest.$ac_ext" >&5 ++cf_cv_curses_resizes=no ++fi ++rm -f "conftest.$ac_objext" "conftest.$ac_ext" ++fi ++echo "$as_me:11931: result: $cf_cv_curses_resizes" >&5 ++echo "${ECHO_T}$cf_cv_curses_resizes" >&6 ++cf_cv_enable_sigwinch=0 ++test "$cf_cv_curses_resizes" = yes && cf_cv_enable_sigwinch=1 ++ ++echo "$as_me:11936: checking if you want to have a library-prefix" >&5 + echo $ECHO_N "checking if you want to have a library-prefix... $ECHO_C" >&6 + + # Check whether --with-lib-prefix or --without-lib-prefix was given. +@@ -11898,7 +11943,7 @@ + else + with_lib_prefix=auto + fi; +-echo "$as_me:11901: result: $with_lib_prefix" >&5 ++echo "$as_me:11946: result: $with_lib_prefix" >&5 + echo "${ECHO_T}$with_lib_prefix" >&6 + + if test "$with_lib_prefix" = auto +@@ -11936,7 +11981,7 @@ + test -n "$GCC" && test "${ac_cv_prog_cc_g}" != yes && CC_G_OPT='' + fi + +-echo "$as_me:11939: checking for default loader flags" >&5 ++echo "$as_me:11984: checking for default loader flags" >&5 + echo $ECHO_N "checking for default loader flags... $ECHO_C" >&6 + case $DFT_LWR_MODEL in + (normal) LD_MODEL='' ;; +@@ -11944,13 +11989,13 @@ + (profile) LD_MODEL='-pg';; + (shared) LD_MODEL='' ;; + esac +-echo "$as_me:11947: result: $LD_MODEL" >&5 ++echo "$as_me:11992: result: $LD_MODEL" >&5 + echo "${ECHO_T}$LD_MODEL" >&6 + + LD_RPATH_OPT= + if test "x$cf_cv_enable_rpath" != xno + then +- echo "$as_me:11953: checking for an rpath option" >&5 ++ echo "$as_me:11998: checking for an rpath option" >&5 + echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 + case "$cf_cv_system_name" in + (irix*) +@@ -11981,12 +12026,12 @@ + (*) + ;; + esac +- echo "$as_me:11984: result: $LD_RPATH_OPT" >&5 ++ echo "$as_me:12029: result: $LD_RPATH_OPT" >&5 + echo "${ECHO_T}$LD_RPATH_OPT" >&6 + + case "x$LD_RPATH_OPT" in + (x-R*) +- echo "$as_me:11989: checking if we need a space after rpath option" >&5 ++ echo "$as_me:12034: 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" + +@@ -12007,7 +12052,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12010 "configure" ++#line 12055 "configure" + #include "confdefs.h" + + int +@@ -12019,16 +12064,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12022: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12067: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12025: \$? = $ac_status" >&5 ++ echo "$as_me:12070: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12028: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12073: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12031: \$? = $ac_status" >&5 ++ echo "$as_me:12076: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_rpath_space=no + else +@@ -12038,7 +12083,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:12041: result: $cf_rpath_space" >&5 ++ echo "$as_me:12086: result: $cf_rpath_space" >&5 + echo "${ECHO_T}$cf_rpath_space" >&6 + test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " + ;; +@@ -12060,7 +12105,7 @@ + cf_ld_rpath_opt= + test "$cf_cv_enable_rpath" = yes && cf_ld_rpath_opt="$LD_RPATH_OPT" + +- echo "$as_me:12063: checking whether to use release or ABI version in shared library file names" >&5 ++ echo "$as_me:12108: checking whether to use release or ABI version in shared library file names" >&5 + echo $ECHO_N "checking whether to use release or ABI version in shared library file names... $ECHO_C" >&6 + + # Check whether --with-shlib-version or --without-shlib-version was given. +@@ -12075,9 +12120,9 @@ + cf_cv_shlib_version=$withval + ;; + (*) +- echo "$as_me:12078: result: $withval" >&5 ++ echo "$as_me:12123: result: $withval" >&5 + echo "${ECHO_T}$withval" >&6 +- { { echo "$as_me:12080: error: option value must be one of: rel, abi, or auto" >&5 ++ { { echo "$as_me:12125: error: option value must be one of: rel, abi, or auto" >&5 + echo "$as_me: error: option value must be one of: rel, abi, or auto" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -12086,7 +12131,7 @@ + else + cf_cv_shlib_version=auto + fi; +- echo "$as_me:12089: result: $cf_cv_shlib_version" >&5 ++ echo "$as_me:12134: result: $cf_cv_shlib_version" >&5 + echo "${ECHO_T}$cf_cv_shlib_version" >&6 + + cf_cv_rm_so_locs=no +@@ -12109,14 +12154,14 @@ + + if test "$cf_try_fPIC" = yes + then +- echo "$as_me:12112: checking which $CC option to use" >&5 ++ echo "$as_me:12157: checking which $CC option to use" >&5 + echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 + cf_save_CFLAGS="$CFLAGS" + for CC_SHARED_OPTS in -fPIC -fpic '' + do + CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12119 "configure" ++#line 12164 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -12128,16 +12173,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12131: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12176: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12134: \$? = $ac_status" >&5 ++ echo "$as_me:12179: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12137: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12182: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12140: \$? = $ac_status" >&5 ++ echo "$as_me:12185: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -12146,7 +12191,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done +- echo "$as_me:12149: result: $CC_SHARED_OPTS" >&5 ++ echo "$as_me:12194: result: $CC_SHARED_OPTS" >&5 + echo "${ECHO_T}$CC_SHARED_OPTS" >&6 + CFLAGS="$cf_save_CFLAGS" + fi +@@ -12217,7 +12262,7 @@ + MK_SHARED_LIB='${CC} ${LDFLAGS} ${CFLAGS} -dynamiclib -install_name ${libdir}/`basename $@` -compatibility_version ${ABI_VERSION} -current_version ${ABI_VERSION} -o $@' + test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi + cf_cv_shlib_version_infix=yes +- echo "$as_me:12220: checking if ld -search_paths_first works" >&5 ++ echo "$as_me:12265: checking if ld -search_paths_first works" >&5 + echo $ECHO_N "checking if ld -search_paths_first works... $ECHO_C" >&6 + if test "${cf_cv_ldflags_search_paths_first+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12226,7 +12271,7 @@ + cf_save_LDFLAGS=$LDFLAGS + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12229 "configure" ++#line 12274 "configure" + #include "confdefs.h" + + int +@@ -12238,16 +12283,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:12241: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:12286: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:12244: \$? = $ac_status" >&5 ++ echo "$as_me:12289: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:12247: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12292: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12250: \$? = $ac_status" >&5 ++ echo "$as_me:12295: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_ldflags_search_paths_first=yes + else +@@ -12258,7 +12303,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LDFLAGS=$cf_save_LDFLAGS + fi +-echo "$as_me:12261: result: $cf_cv_ldflags_search_paths_first" >&5 ++echo "$as_me:12306: result: $cf_cv_ldflags_search_paths_first" >&5 + echo "${ECHO_T}$cf_cv_ldflags_search_paths_first" >&6 + if test "$cf_cv_ldflags_search_paths_first" = yes; then + LDFLAGS="$LDFLAGS -Wl,-search_paths_first" +@@ -12608,7 +12653,7 @@ + do + CFLAGS="$cf_shared_opts $cf_save_CFLAGS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12611 "configure" ++#line 12656 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -12620,16 +12665,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12623: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12668: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12626: \$? = $ac_status" >&5 ++ echo "$as_me:12671: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12629: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12674: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12632: \$? = $ac_status" >&5 ++ echo "$as_me:12677: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -12666,7 +12711,7 @@ + test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes + ;; + (*) +- { echo "$as_me:12669: WARNING: ignored --with-shlib-version" >&5 ++ { echo "$as_me:12714: WARNING: ignored --with-shlib-version" >&5 + echo "$as_me: WARNING: ignored --with-shlib-version" >&2;} + ;; + esac +@@ -12676,7 +12721,7 @@ + if test -n "$cf_try_cflags" + then + cat > conftest.$ac_ext <<EOF +-#line 12679 "${as_me:-configure}" ++#line 12724 "${as_me:-configure}" + #include <stdio.h> + int main(int argc, char *argv[]) + { +@@ -12688,18 +12733,18 @@ + for cf_opt in $cf_try_cflags + do + CFLAGS="$cf_save_CFLAGS -$cf_opt" +- echo "$as_me:12691: checking if CFLAGS option -$cf_opt works" >&5 ++ echo "$as_me:12736: checking if CFLAGS option -$cf_opt works" >&5 + echo $ECHO_N "checking if CFLAGS option -$cf_opt works... $ECHO_C" >&6 +- if { (eval echo "$as_me:12693: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:12738: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12696: \$? = $ac_status" >&5 ++ echo "$as_me:12741: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- echo "$as_me:12698: result: yes" >&5 ++ echo "$as_me:12743: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + cf_save_CFLAGS="$CFLAGS" + else +- echo "$as_me:12702: result: no" >&5 ++ echo "$as_me:12747: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + done +@@ -12714,17 +12759,17 @@ + + test -n "$verbose" && echo " CC_SHARED_OPTS: $CC_SHARED_OPTS" 1>&6 + +-echo "${as_me:-configure}:12717: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 ++echo "${as_me:-configure}:12762: testing CC_SHARED_OPTS: $CC_SHARED_OPTS ..." 1>&5 + + test -n "$verbose" && echo " MK_SHARED_LIB: $MK_SHARED_LIB" 1>&6 + +-echo "${as_me:-configure}:12721: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 ++echo "${as_me:-configure}:12766: testing MK_SHARED_LIB: $MK_SHARED_LIB ..." 1>&5 + + # The test/sample programs in the original tree link using rpath option. + # Make it optional for packagers. + if test -n "$LOCAL_LDFLAGS" + then +- echo "$as_me:12727: checking if you want to link sample programs with rpath option" >&5 ++ echo "$as_me:12772: checking if you want to link sample programs with rpath option" >&5 + echo $ECHO_N "checking if you want to link sample programs with rpath option... $ECHO_C" >&6 + + # Check whether --enable-rpath-link or --disable-rpath-link was given. +@@ -12734,7 +12779,7 @@ + else + with_rpath_link=yes + fi; +- echo "$as_me:12737: result: $with_rpath_link" >&5 ++ echo "$as_me:12782: result: $with_rpath_link" >&5 + echo "${ECHO_T}$with_rpath_link" >&6 + if test "$with_rpath_link" = no + then +@@ -12747,7 +12792,7 @@ + + ### use option --enable-broken-linker to force on use of broken-linker support + +-echo "$as_me:12750: checking if you want broken-linker support code" >&5 ++echo "$as_me:12795: checking if you want broken-linker support code" >&5 + echo $ECHO_N "checking if you want broken-linker support code... $ECHO_C" >&6 + + # Check whether --enable-broken_linker or --disable-broken_linker was given. +@@ -12757,7 +12802,7 @@ + else + with_broken_linker=no + fi; +-echo "$as_me:12760: result: $with_broken_linker" >&5 ++echo "$as_me:12805: result: $with_broken_linker" >&5 + echo "${ECHO_T}$with_broken_linker" >&6 + + : "${BROKEN_LINKER:=0}" +@@ -12772,14 +12817,14 @@ + + # Check to define _XOPEN_SOURCE "automatically" + +-echo "$as_me:12775: checking if the POSIX test-macros are already defined" >&5 ++echo "$as_me:12820: checking if the POSIX test-macros are already defined" >&5 + echo $ECHO_N "checking if the POSIX test-macros are already defined... $ECHO_C" >&6 + if test "${cf_cv_posix_visible+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12782 "configure" ++#line 12827 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -12798,16 +12843,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12801: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12846: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12804: \$? = $ac_status" >&5 ++ echo "$as_me:12849: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12807: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12852: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12810: \$? = $ac_status" >&5 ++ echo "$as_me:12855: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_visible=no + else +@@ -12818,7 +12863,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12821: result: $cf_cv_posix_visible" >&5 ++echo "$as_me:12866: result: $cf_cv_posix_visible" >&5 + echo "${ECHO_T}$cf_cv_posix_visible" >&6 + + if test "$cf_cv_posix_visible" = no; then +@@ -12860,14 +12905,14 @@ + + cf_gnu_xopen_source=$cf_XOPEN_SOURCE + +-echo "$as_me:12863: checking if this is the GNU C library" >&5 ++echo "$as_me:12908: checking if this is the GNU C library" >&5 + echo $ECHO_N "checking if this is the GNU C library... $ECHO_C" >&6 + if test "${cf_cv_gnu_library+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12870 "configure" ++#line 12915 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -12886,16 +12931,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12889: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12934: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12892: \$? = $ac_status" >&5 ++ echo "$as_me:12937: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12895: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12940: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12898: \$? = $ac_status" >&5 ++ echo "$as_me:12943: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library=yes + else +@@ -12906,7 +12951,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:12909: result: $cf_cv_gnu_library" >&5 ++echo "$as_me:12954: result: $cf_cv_gnu_library" >&5 + echo "${ECHO_T}$cf_cv_gnu_library" >&6 + + if test x$cf_cv_gnu_library = xyes; then +@@ -12914,7 +12959,7 @@ + # With glibc 2.19 (13 years after this check was begun), _DEFAULT_SOURCE + # was changed to help a little. newlib incorporated the change about 4 + # years later. +- echo "$as_me:12917: checking if _DEFAULT_SOURCE can be used as a basis" >&5 ++ echo "$as_me:12962: checking if _DEFAULT_SOURCE can be used as a basis" >&5 + echo $ECHO_N "checking if _DEFAULT_SOURCE can be used as a basis... $ECHO_C" >&6 + if test "${cf_cv_gnu_library_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -12926,7 +12971,7 @@ + CPPFLAGS="${CPPFLAGS}-D_DEFAULT_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 12929 "configure" ++#line 12974 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -12945,16 +12990,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:12948: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:12993: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:12951: \$? = $ac_status" >&5 ++ echo "$as_me:12996: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:12954: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:12999: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:12957: \$? = $ac_status" >&5 ++ echo "$as_me:13002: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_library_219=yes + else +@@ -12966,12 +13011,12 @@ + CPPFLAGS="$cf_save" + + fi +-echo "$as_me:12969: result: $cf_cv_gnu_library_219" >&5 ++echo "$as_me:13014: result: $cf_cv_gnu_library_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_library_219" >&6 + + if test "x$cf_cv_gnu_library_219" = xyes; then + cf_save="$CPPFLAGS" +- echo "$as_me:12974: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 ++ echo "$as_me:13019: checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE=$cf_gnu_xopen_source works with _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_dftsrc_219+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -13076,7 +13121,7 @@ + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13079 "configure" ++#line 13124 "configure" + #include "confdefs.h" + + #include <limits.h> +@@ -13096,16 +13141,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13099: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13144: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13102: \$? = $ac_status" >&5 ++ echo "$as_me:13147: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13105: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13150: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13108: \$? = $ac_status" >&5 ++ echo "$as_me:13153: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_dftsrc_219=yes + else +@@ -13116,7 +13161,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13119: result: $cf_cv_gnu_dftsrc_219" >&5 ++echo "$as_me:13164: result: $cf_cv_gnu_dftsrc_219" >&5 + echo "${ECHO_T}$cf_cv_gnu_dftsrc_219" >&6 + test "x$cf_cv_gnu_dftsrc_219" = "xyes" || CPPFLAGS="$cf_save" + else +@@ -13125,14 +13170,14 @@ + + if test "x$cf_cv_gnu_dftsrc_219" != xyes; then + +- echo "$as_me:13128: checking if we must define _GNU_SOURCE" >&5 ++ echo "$as_me:13173: checking if we must define _GNU_SOURCE" >&5 + echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_gnu_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13135 "configure" ++#line 13180 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13147,16 +13192,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13150: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13195: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13153: \$? = $ac_status" >&5 ++ echo "$as_me:13198: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13156: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13201: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13159: \$? = $ac_status" >&5 ++ echo "$as_me:13204: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -13263,7 +13308,7 @@ + fi + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13266 "configure" ++#line 13311 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13278,16 +13323,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13281: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13326: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13284: \$? = $ac_status" >&5 ++ echo "$as_me:13329: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13287: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13332: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13290: \$? = $ac_status" >&5 ++ echo "$as_me:13335: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gnu_source=no + else +@@ -13302,12 +13347,12 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13305: result: $cf_cv_gnu_source" >&5 ++echo "$as_me:13350: result: $cf_cv_gnu_source" >&5 + echo "${ECHO_T}$cf_cv_gnu_source" >&6 + + if test "$cf_cv_gnu_source" = yes + then +- echo "$as_me:13310: checking if we should also define _DEFAULT_SOURCE" >&5 ++ echo "$as_me:13355: checking if we should also define _DEFAULT_SOURCE" >&5 + echo $ECHO_N "checking if we should also define _DEFAULT_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_default_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -13317,7 +13362,7 @@ + CPPFLAGS="${CPPFLAGS}-D_GNU_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13320 "configure" ++#line 13365 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13332,16 +13377,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13335: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13380: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13338: \$? = $ac_status" >&5 ++ echo "$as_me:13383: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13341: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13386: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13344: \$? = $ac_status" >&5 ++ echo "$as_me:13389: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_default_source=no + else +@@ -13352,7 +13397,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13355: result: $cf_cv_default_source" >&5 ++echo "$as_me:13400: result: $cf_cv_default_source" >&5 + echo "${ECHO_T}$cf_cv_default_source" >&6 + if test "$cf_cv_default_source" = yes + then +@@ -13389,16 +13434,16 @@ + sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ + -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` + +-echo "$as_me:13392: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13437: checking if we should define _POSIX_C_SOURCE" >&5 + echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_posix_c_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + +-echo "${as_me:-configure}:13398: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13443: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13401 "configure" ++#line 13446 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13413,16 +13458,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13416: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13461: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13419: \$? = $ac_status" >&5 ++ echo "$as_me:13464: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13422: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13467: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13425: \$? = $ac_status" >&5 ++ echo "$as_me:13470: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13443,7 +13488,7 @@ + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13446 "configure" ++#line 13491 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13458,16 +13503,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13461: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13506: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13464: \$? = $ac_status" >&5 ++ echo "$as_me:13509: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13467: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13512: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13470: \$? = $ac_status" >&5 ++ echo "$as_me:13515: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13478,7 +13523,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:13481: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:13526: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -13486,10 +13531,10 @@ + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:13489: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:13534: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13492 "configure" ++#line 13537 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13504,16 +13549,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13507: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13552: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13510: \$? = $ac_status" >&5 ++ echo "$as_me:13555: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13513: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13558: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13516: \$? = $ac_status" >&5 ++ echo "$as_me:13561: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -13529,7 +13574,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13532: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:13577: result: $cf_cv_posix_c_source" >&5 + echo "${ECHO_T}$cf_cv_posix_c_source" >&6 + + if test "$cf_cv_posix_c_source" != no ; then +@@ -13646,7 +13691,7 @@ + # OpenBSD 6.x has broken locale support, both compile-time and runtime. + # see https://www.mail-archive.com/bugs@openbsd.org/msg13200.html + # Abusing the conformance level is a workaround. +- { echo "$as_me:13649: WARNING: this system does not provide usable locale support" >&5 ++ { echo "$as_me:13694: WARNING: this system does not provide usable locale support" >&5 + echo "$as_me: WARNING: this system does not provide usable locale support" >&2;} + cf_xopen_source="-D_BSD_SOURCE" + cf_XOPEN_SOURCE=700 +@@ -13678,14 +13723,14 @@ + ;; + (*) + +-echo "$as_me:13681: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:13726: checking if we should define _XOPEN_SOURCE" >&5 + echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_xopen_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13688 "configure" ++#line 13733 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -13703,16 +13748,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13706: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13751: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13709: \$? = $ac_status" >&5 ++ echo "$as_me:13754: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13712: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13757: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13715: \$? = $ac_status" >&5 ++ echo "$as_me:13760: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13724,7 +13769,7 @@ + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13727 "configure" ++#line 13772 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -13742,16 +13787,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13745: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13790: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13748: \$? = $ac_status" >&5 ++ echo "$as_me:13793: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13751: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:13796: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13754: \$? = $ac_status" >&5 ++ echo "$as_me:13799: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -13766,7 +13811,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:13769: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:13814: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -13926,16 +13971,16 @@ + sed -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?[ ]/ /g' \ + -e 's/-[UD]'"_POSIX_C_SOURCE"'\(=[^ ]*\)\?$//g'` + +-echo "$as_me:13929: checking if we should define _POSIX_C_SOURCE" >&5 ++echo "$as_me:13974: checking if we should define _POSIX_C_SOURCE" >&5 + echo $ECHO_N "checking if we should define _POSIX_C_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_posix_c_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + +-echo "${as_me:-configure}:13935: testing if the symbol is already defined go no further ..." 1>&5 ++echo "${as_me:-configure}:13980: testing if the symbol is already defined go no further ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13938 "configure" ++#line 13983 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13950,16 +13995,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13953: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:13998: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:13956: \$? = $ac_status" >&5 ++ echo "$as_me:14001: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:13959: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14004: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:13962: \$? = $ac_status" >&5 ++ echo "$as_me:14007: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_posix_c_source=no + else +@@ -13980,7 +14025,7 @@ + esac + if test "$cf_want_posix_source" = yes ; then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 13983 "configure" ++#line 14028 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -13995,16 +14040,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:13998: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14043: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14001: \$? = $ac_status" >&5 ++ echo "$as_me:14046: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14004: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14049: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14007: \$? = $ac_status" >&5 ++ echo "$as_me:14052: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -14015,7 +14060,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "${as_me:-configure}:14018: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:14063: testing ifdef from value $cf_POSIX_C_SOURCE ..." 1>&5 + + CFLAGS="$cf_trim_CFLAGS" + CPPFLAGS="$cf_trim_CPPFLAGS" +@@ -14023,10 +14068,10 @@ + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_cv_posix_c_source" + +-echo "${as_me:-configure}:14026: testing if the second compile does not leave our definition intact error ..." 1>&5 ++echo "${as_me:-configure}:14071: testing if the second compile does not leave our definition intact error ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14029 "configure" ++#line 14074 "configure" + #include "confdefs.h" + #include <sys/types.h> + int +@@ -14041,16 +14086,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14044: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14089: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14047: \$? = $ac_status" >&5 ++ echo "$as_me:14092: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14050: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14095: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14053: \$? = $ac_status" >&5 ++ echo "$as_me:14098: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -14066,7 +14111,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14069: result: $cf_cv_posix_c_source" >&5 ++echo "$as_me:14114: result: $cf_cv_posix_c_source" >&5 + echo "${ECHO_T}$cf_cv_posix_c_source" >&6 + + if test "$cf_cv_posix_c_source" != no ; then +@@ -14179,10 +14224,10 @@ + if test "$cf_cv_xopen_source" = no ; then + test -n "$verbose" && echo " checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE" 1>&6 + +-echo "${as_me:-configure}:14182: testing checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE ..." 1>&5 ++echo "${as_me:-configure}:14227: testing checking if _POSIX_C_SOURCE interferes with _XOPEN_SOURCE ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14185 "configure" ++#line 14230 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -14200,23 +14245,23 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14203: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14248: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14206: \$? = $ac_status" >&5 ++ echo "$as_me:14251: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14209: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14254: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14212: \$? = $ac_status" >&5 ++ echo "$as_me:14257: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + +- { echo "$as_me:14219: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 ++ { echo "$as_me:14264: WARNING: _POSIX_C_SOURCE definition is not usable" >&5 + echo "$as_me: WARNING: _POSIX_C_SOURCE definition is not usable" >&2;} + CPPFLAGS="$cf_save_xopen_cppflags" + fi +@@ -14239,7 +14284,7 @@ + test "$CFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CFLAGS" 1>&6 + +-echo "${as_me:-configure}:14242: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:14287: testing removing old option $cf_add_cflags from CFLAGS ..." 1>&5 + + CFLAGS="$cf_old_cflag" + done +@@ -14251,7 +14296,7 @@ + test "$CPPFLAGS" != "$cf_old_cflag" || break + test -n "$verbose" && echo " removing old option $cf_add_cflags from CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:14254: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:14299: testing removing old option $cf_add_cflags from CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_old_cflag" + done +@@ -14339,7 +14384,7 @@ + if test -n "$cf_new_cflags" ; then + test -n "$verbose" && echo " add to \$CFLAGS $cf_new_cflags" 1>&6 + +-echo "${as_me:-configure}:14342: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 ++echo "${as_me:-configure}:14387: testing add to \$CFLAGS $cf_new_cflags ..." 1>&5 + + test -n "$CFLAGS" && CFLAGS="$CFLAGS " + CFLAGS="${CFLAGS}$cf_new_cflags" +@@ -14349,7 +14394,7 @@ + if test -n "$cf_new_cppflags" ; then + test -n "$verbose" && echo " add to \$CPPFLAGS $cf_new_cppflags" 1>&6 + +-echo "${as_me:-configure}:14352: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 ++echo "${as_me:-configure}:14397: testing add to \$CPPFLAGS $cf_new_cppflags ..." 1>&5 + + test -n "$CPPFLAGS" && CPPFLAGS="$CPPFLAGS " + CPPFLAGS="${CPPFLAGS}$cf_new_cppflags" +@@ -14359,7 +14404,7 @@ + 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}:14362: testing add to \$EXTRA_CPPFLAGS $cf_new_extra_cppflags ..." 1>&5 ++echo "${as_me:-configure}:14407: 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" +@@ -14371,10 +14416,10 @@ + fi + + if test -n "$cf_XOPEN_SOURCE" && test -z "$cf_cv_xopen_source" ; then +- echo "$as_me:14374: checking if _XOPEN_SOURCE really is set" >&5 ++ echo "$as_me:14419: checking if _XOPEN_SOURCE really is set" >&5 + echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14377 "configure" ++#line 14422 "configure" + #include "confdefs.h" + #include <stdlib.h> + int +@@ -14389,16 +14434,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14392: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14437: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14395: \$? = $ac_status" >&5 ++ echo "$as_me:14440: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14398: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14443: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14401: \$? = $ac_status" >&5 ++ echo "$as_me:14446: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set=yes + else +@@ -14407,12 +14452,12 @@ + cf_XOPEN_SOURCE_set=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:14410: result: $cf_XOPEN_SOURCE_set" >&5 ++ echo "$as_me:14455: result: $cf_XOPEN_SOURCE_set" >&5 + echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6 + if test "$cf_XOPEN_SOURCE_set" = yes + then + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14415 "configure" ++#line 14460 "configure" + #include "confdefs.h" + #include <stdlib.h> + int +@@ -14427,16 +14472,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14430: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14475: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14433: \$? = $ac_status" >&5 ++ echo "$as_me:14478: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14436: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14481: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14439: \$? = $ac_status" >&5 ++ echo "$as_me:14484: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_XOPEN_SOURCE_set_ok=yes + else +@@ -14447,19 +14492,19 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + if test "$cf_XOPEN_SOURCE_set_ok" = no + then +- { echo "$as_me:14450: WARNING: _XOPEN_SOURCE is lower than requested" >&5 ++ { echo "$as_me:14495: WARNING: _XOPEN_SOURCE is lower than requested" >&5 + echo "$as_me: WARNING: _XOPEN_SOURCE is lower than requested" >&2;} + fi + else + +-echo "$as_me:14455: checking if we should define _XOPEN_SOURCE" >&5 ++echo "$as_me:14500: checking if we should define _XOPEN_SOURCE" >&5 + echo $ECHO_N "checking if we should define _XOPEN_SOURCE... $ECHO_C" >&6 + if test "${cf_cv_xopen_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14462 "configure" ++#line 14507 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -14477,16 +14522,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14480: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14525: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14483: \$? = $ac_status" >&5 ++ echo "$as_me:14528: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14486: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14531: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14489: \$? = $ac_status" >&5 ++ echo "$as_me:14534: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14498,7 +14543,7 @@ + CPPFLAGS="${CPPFLAGS}-D_XOPEN_SOURCE=$cf_XOPEN_SOURCE" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14501 "configure" ++#line 14546 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -14516,16 +14561,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14519: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14564: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14522: \$? = $ac_status" >&5 ++ echo "$as_me:14567: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14525: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14570: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14528: \$? = $ac_status" >&5 ++ echo "$as_me:14573: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_xopen_source=no + else +@@ -14540,7 +14585,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:14543: result: $cf_cv_xopen_source" >&5 ++echo "$as_me:14588: result: $cf_cv_xopen_source" >&5 + echo "${ECHO_T}$cf_cv_xopen_source" >&6 + + if test "$cf_cv_xopen_source" != no ; then +@@ -14687,13 +14732,13 @@ + fi + fi # cf_cv_posix_visible + +-echo "$as_me:14690: checking for ANSI C header files" >&5 ++echo "$as_me:14735: 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 14696 "configure" ++#line 14741 "configure" + #include "confdefs.h" + #include <stdlib.h> + #include <stdarg.h> +@@ -14701,13 +14746,13 @@ + #include <float.h> + + _ACEOF +-if { (eval echo "$as_me:14704: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:14749: \"$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:14710: \$? = $ac_status" >&5 ++ echo "$as_me:14755: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -14729,7 +14774,7 @@ + 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 14732 "configure" ++#line 14777 "configure" + #include "confdefs.h" + #include <string.h> + +@@ -14747,7 +14792,7 @@ + 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 14750 "configure" ++#line 14795 "configure" + #include "confdefs.h" + #include <stdlib.h> + +@@ -14768,7 +14813,7 @@ + : + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14771 "configure" ++#line 14816 "configure" + #include "confdefs.h" + #include <ctype.h> + #if ((' ' & 0x0FF) == 0x020) +@@ -14794,15 +14839,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:14797: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:14842: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:14800: \$? = $ac_status" >&5 ++ echo "$as_me:14845: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:14802: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14847: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14805: \$? = $ac_status" >&5 ++ echo "$as_me:14850: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -14815,7 +14860,7 @@ + fi + fi + fi +-echo "$as_me:14818: result: $ac_cv_header_stdc" >&5 ++echo "$as_me:14863: result: $ac_cv_header_stdc" >&5 + echo "${ECHO_T}$ac_cv_header_stdc" >&6 + if test $ac_cv_header_stdc = yes; then + +@@ -14831,28 +14876,28 @@ + inttypes.h stdint.h unistd.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:14834: checking for $ac_header" >&5 ++echo "$as_me:14879: 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 14840 "configure" ++#line 14885 "configure" + #include "confdefs.h" + $ac_includes_default + #include <$ac_header> + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14846: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14891: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14849: \$? = $ac_status" >&5 ++ echo "$as_me:14894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14852: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14855: \$? = $ac_status" >&5 ++ echo "$as_me:14900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -14862,7 +14907,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14865: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:14910: 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 <<EOF +@@ -14872,13 +14917,13 @@ + fi + done + +-echo "$as_me:14875: checking whether exit is declared" >&5 ++echo "$as_me:14920: checking whether exit is declared" >&5 + echo $ECHO_N "checking whether exit is declared... $ECHO_C" >&6 + if test "${ac_cv_have_decl_exit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14881 "configure" ++#line 14926 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -14893,16 +14938,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14896: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:14941: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14899: \$? = $ac_status" >&5 ++ echo "$as_me:14944: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14902: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:14947: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14905: \$? = $ac_status" >&5 ++ echo "$as_me:14950: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_have_decl_exit=yes + else +@@ -14912,7 +14957,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:14915: result: $ac_cv_have_decl_exit" >&5 ++echo "$as_me:14960: result: $ac_cv_have_decl_exit" >&5 + echo "${ECHO_T}$ac_cv_have_decl_exit" >&6 + + # Check whether --enable-largefile or --disable-largefile was given. +@@ -14922,7 +14967,7 @@ + fi; + if test "$enable_largefile" != no; then + +- echo "$as_me:14925: checking for special C compiler options needed for large files" >&5 ++ echo "$as_me:14970: checking for special C compiler options needed for large files" >&5 + echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 + if test "${ac_cv_sys_largefile_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -14934,7 +14979,7 @@ + # IRIX 6.2 and later do not support large files by default, + # so use the C compiler's -n32 option if that helps. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 14937 "configure" ++#line 14982 "configure" + #include "confdefs.h" + #include <sys/types.h> + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -14954,16 +14999,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14957: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15002: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14960: \$? = $ac_status" >&5 ++ echo "$as_me:15005: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14963: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15008: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14966: \$? = $ac_status" >&5 ++ echo "$as_me:15011: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -14973,16 +15018,16 @@ + rm -f "conftest.$ac_objext" + CC="$CC -n32" + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:14976: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15021: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:14979: \$? = $ac_status" >&5 ++ echo "$as_me:15024: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:14982: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15027: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:14985: \$? = $ac_status" >&5 ++ echo "$as_me:15030: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_CC=' -n32'; break + else +@@ -14996,13 +15041,13 @@ + rm -f "conftest.$ac_ext" + fi + fi +-echo "$as_me:14999: result: $ac_cv_sys_largefile_CC" >&5 ++echo "$as_me:15044: result: $ac_cv_sys_largefile_CC" >&5 + echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 + if test "$ac_cv_sys_largefile_CC" != no; then + CC=$CC$ac_cv_sys_largefile_CC + fi + +- echo "$as_me:15005: checking for _FILE_OFFSET_BITS value needed for large files" >&5 ++ echo "$as_me:15050: checking for _FILE_OFFSET_BITS value needed for large files" >&5 + echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 + if test "${ac_cv_sys_file_offset_bits+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -15010,7 +15055,7 @@ + while :; do + ac_cv_sys_file_offset_bits=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15013 "configure" ++#line 15058 "configure" + #include "confdefs.h" + #include <sys/types.h> + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -15030,16 +15075,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15033: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15078: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15036: \$? = $ac_status" >&5 ++ echo "$as_me:15081: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15039: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15084: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15042: \$? = $ac_status" >&5 ++ echo "$as_me:15087: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -15048,7 +15093,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15051 "configure" ++#line 15096 "configure" + #include "confdefs.h" + #define _FILE_OFFSET_BITS 64 + #include <sys/types.h> +@@ -15069,16 +15114,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15072: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15117: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15075: \$? = $ac_status" >&5 ++ echo "$as_me:15120: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15078: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15123: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15081: \$? = $ac_status" >&5 ++ echo "$as_me:15126: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_file_offset_bits=64; break + else +@@ -15089,7 +15134,7 @@ + break + done + fi +-echo "$as_me:15092: result: $ac_cv_sys_file_offset_bits" >&5 ++echo "$as_me:15137: result: $ac_cv_sys_file_offset_bits" >&5 + echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 + if test "$ac_cv_sys_file_offset_bits" != no; then + +@@ -15099,7 +15144,7 @@ + + fi + rm -rf conftest* +- echo "$as_me:15102: checking for _LARGE_FILES value needed for large files" >&5 ++ echo "$as_me:15147: checking for _LARGE_FILES value needed for large files" >&5 + echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 + if test "${ac_cv_sys_large_files+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -15107,7 +15152,7 @@ + while :; do + ac_cv_sys_large_files=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15110 "configure" ++#line 15155 "configure" + #include "confdefs.h" + #include <sys/types.h> + /* Check that off_t can represent 2**63 - 1 correctly. +@@ -15127,16 +15172,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15130: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15175: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15133: \$? = $ac_status" >&5 ++ echo "$as_me:15178: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15136: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15181: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15139: \$? = $ac_status" >&5 ++ echo "$as_me:15184: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -15145,7 +15190,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15148 "configure" ++#line 15193 "configure" + #include "confdefs.h" + #define _LARGE_FILES 1 + #include <sys/types.h> +@@ -15166,16 +15211,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15169: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15214: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15172: \$? = $ac_status" >&5 ++ echo "$as_me:15217: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15175: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15220: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15178: \$? = $ac_status" >&5 ++ echo "$as_me:15223: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_large_files=1; break + else +@@ -15186,7 +15231,7 @@ + break + done + fi +-echo "$as_me:15189: result: $ac_cv_sys_large_files" >&5 ++echo "$as_me:15234: result: $ac_cv_sys_large_files" >&5 + echo "${ECHO_T}$ac_cv_sys_large_files" >&6 + if test "$ac_cv_sys_large_files" != no; then + +@@ -15199,7 +15244,7 @@ + fi + + if test "$enable_largefile" != no ; then +- echo "$as_me:15202: checking for _LARGEFILE_SOURCE value needed for large files" >&5 ++ echo "$as_me:15247: checking for _LARGEFILE_SOURCE value needed for large files" >&5 + echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 + if test "${ac_cv_sys_largefile_source+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -15207,7 +15252,7 @@ + while :; do + ac_cv_sys_largefile_source=no + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15210 "configure" ++#line 15255 "configure" + #include "confdefs.h" + #include <stdio.h> + #include <sys/types.h> +@@ -15222,16 +15267,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15225: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15270: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15228: \$? = $ac_status" >&5 ++ echo "$as_me:15273: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15231: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15276: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15234: \$? = $ac_status" >&5 ++ echo "$as_me:15279: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + break + else +@@ -15240,7 +15285,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15243 "configure" ++#line 15288 "configure" + #include "confdefs.h" + #define _LARGEFILE_SOURCE 1 + #include <stdio.h> +@@ -15256,16 +15301,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15259: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15304: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15262: \$? = $ac_status" >&5 ++ echo "$as_me:15307: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15265: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15310: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15268: \$? = $ac_status" >&5 ++ echo "$as_me:15313: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sys_largefile_source=1; break + else +@@ -15276,7 +15321,7 @@ + break + done + fi +-echo "$as_me:15279: result: $ac_cv_sys_largefile_source" >&5 ++echo "$as_me:15324: result: $ac_cv_sys_largefile_source" >&5 + echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 + if test "$ac_cv_sys_largefile_source" != no; then + +@@ -15290,13 +15335,13 @@ + # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug + # in glibc 2.1.3, but that breaks too many other things. + # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. +-echo "$as_me:15293: checking for fseeko" >&5 ++echo "$as_me:15338: checking for fseeko" >&5 + echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 + if test "${ac_cv_func_fseeko+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15299 "configure" ++#line 15344 "configure" + #include "confdefs.h" + #include <stdio.h> + #include <sys/types.h> +@@ -15310,16 +15355,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15313: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15358: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15316: \$? = $ac_status" >&5 ++ echo "$as_me:15361: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15319: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15364: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15322: \$? = $ac_status" >&5 ++ echo "$as_me:15367: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fseeko=yes + else +@@ -15329,7 +15374,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15332: result: $ac_cv_func_fseeko" >&5 ++echo "$as_me:15377: result: $ac_cv_func_fseeko" >&5 + echo "${ECHO_T}$ac_cv_func_fseeko" >&6 + if test $ac_cv_func_fseeko = yes; then + +@@ -15368,14 +15413,14 @@ + + fi + +- echo "$as_me:15371: checking whether to use struct dirent64" >&5 ++ echo "$as_me:15416: checking whether to use struct dirent64" >&5 + echo $ECHO_N "checking whether to use struct dirent64... $ECHO_C" >&6 + if test "${cf_cv_struct_dirent64+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15378 "configure" ++#line 15423 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types" +@@ -15402,16 +15447,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15405: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15450: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15408: \$? = $ac_status" >&5 ++ echo "$as_me:15453: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15411: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15456: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15414: \$? = $ac_status" >&5 ++ echo "$as_me:15459: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_struct_dirent64=yes + else +@@ -15422,7 +15467,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15425: result: $cf_cv_struct_dirent64" >&5 ++echo "$as_me:15470: result: $cf_cv_struct_dirent64" >&5 + echo "${ECHO_T}$cf_cv_struct_dirent64" >&6 + test "$cf_cv_struct_dirent64" = yes && + cat >>confdefs.h <<\EOF +@@ -15432,7 +15477,7 @@ + fi + + ### Enable compiling-in rcs id's +-echo "$as_me:15435: checking if RCS identifiers should be compiled-in" >&5 ++echo "$as_me:15480: checking if RCS identifiers should be compiled-in" >&5 + echo $ECHO_N "checking if RCS identifiers should be compiled-in... $ECHO_C" >&6 + + # Check whether --with-rcs-ids or --without-rcs-ids was given. +@@ -15442,7 +15487,7 @@ + else + with_rcs_ids=no + fi; +-echo "$as_me:15445: result: $with_rcs_ids" >&5 ++echo "$as_me:15490: result: $with_rcs_ids" >&5 + echo "${ECHO_T}$with_rcs_ids" >&6 + test "$with_rcs_ids" = yes && + cat >>confdefs.h <<\EOF +@@ -15452,7 +15497,7 @@ + ############################################################################### + + ### Note that some functions (such as const) are normally disabled anyway. +-echo "$as_me:15455: checking if you want to build with function extensions" >&5 ++echo "$as_me:15500: checking if you want to build with function extensions" >&5 + echo $ECHO_N "checking if you want to build with function extensions... $ECHO_C" >&6 + + # Check whether --enable-ext-funcs or --disable-ext-funcs was given. +@@ -15462,7 +15507,7 @@ + else + with_ext_funcs=yes + fi; +-echo "$as_me:15465: result: $with_ext_funcs" >&5 ++echo "$as_me:15510: result: $with_ext_funcs" >&5 + echo "${ECHO_T}$with_ext_funcs" >&6 + if test "$with_ext_funcs" = yes ; then + NCURSES_EXT_FUNCS=1 +@@ -15480,7 +15525,7 @@ + fi + + ### use option --enable-const to turn on use of const beyond that in XSI. +-echo "$as_me:15483: checking for extended use of const keyword" >&5 ++echo "$as_me:15528: checking for extended use of const keyword" >&5 + echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6 + + # Check whether --enable-const or --disable-const was given. +@@ -15490,7 +15535,7 @@ + else + with_ext_const=no + fi; +-echo "$as_me:15493: result: $with_ext_const" >&5 ++echo "$as_me:15538: result: $with_ext_const" >&5 + echo "${ECHO_T}$with_ext_const" >&6 + NCURSES_CONST='/*nothing*/' + if test "$with_ext_const" = yes ; then +@@ -15500,7 +15545,7 @@ + ############################################################################### + # These options are relatively safe to experiment with. + +-echo "$as_me:15503: checking if you want all development code" >&5 ++echo "$as_me:15548: checking if you want all development code" >&5 + echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6 + + # Check whether --with-develop or --without-develop was given. +@@ -15510,7 +15555,7 @@ + else + with_develop=no + fi; +-echo "$as_me:15513: result: $with_develop" >&5 ++echo "$as_me:15558: result: $with_develop" >&5 + echo "${ECHO_T}$with_develop" >&6 + + ############################################################################### +@@ -15519,7 +15564,7 @@ + # This is still experimental (20080329), but should ultimately be moved to + # the script-block --with-normal, etc. + +-echo "$as_me:15522: checking if you want to link with the pthread library" >&5 ++echo "$as_me:15567: checking if you want to link with the pthread library" >&5 + echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6 + + # Check whether --with-pthread or --without-pthread was given. +@@ -15529,27 +15574,27 @@ + else + with_pthread=no + fi; +-echo "$as_me:15532: result: $with_pthread" >&5 ++echo "$as_me:15577: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + + if test "$with_pthread" != no ; then +- echo "$as_me:15536: checking for pthread.h" >&5 ++ echo "$as_me:15581: checking for pthread.h" >&5 + echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 + if test "${ac_cv_header_pthread_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15542 "configure" ++#line 15587 "configure" + #include "confdefs.h" + #include <pthread.h> + _ACEOF +-if { (eval echo "$as_me:15546: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:15591: \"$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:15552: \$? = $ac_status" >&5 ++ echo "$as_me:15597: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -15568,7 +15613,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:15571: result: $ac_cv_header_pthread_h" >&5 ++echo "$as_me:15616: result: $ac_cv_header_pthread_h" >&5 + echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 + if test "$ac_cv_header_pthread_h" = yes; then + +@@ -15578,7 +15623,7 @@ + + for cf_lib_pthread in pthread c_r + do +- echo "$as_me:15581: checking if we can link with the $cf_lib_pthread library" >&5 ++ echo "$as_me:15626: checking if we can link with the $cf_lib_pthread library" >&5 + echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6 + cf_save_LIBS="$LIBS" + +@@ -15599,7 +15644,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15602 "configure" ++#line 15647 "configure" + #include "confdefs.h" + + #include <pthread.h> +@@ -15616,16 +15661,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15619: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15664: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15622: \$? = $ac_status" >&5 ++ echo "$as_me:15667: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15625: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15670: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15628: \$? = $ac_status" >&5 ++ echo "$as_me:15673: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + with_pthread=yes + else +@@ -15635,7 +15680,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save_LIBS" +- echo "$as_me:15638: result: $with_pthread" >&5 ++ echo "$as_me:15683: result: $with_pthread" >&5 + echo "${ECHO_T}$with_pthread" >&6 + test "$with_pthread" = yes && break + done +@@ -15663,7 +15708,7 @@ + EOF + + else +- { { echo "$as_me:15666: error: Cannot link with pthread library" >&5 ++ { { echo "$as_me:15711: error: Cannot link with pthread library" >&5 + echo "$as_me: error: Cannot link with pthread library" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -15672,7 +15717,7 @@ + + fi + +-echo "$as_me:15675: checking if you want to use weak-symbols for pthreads" >&5 ++echo "$as_me:15720: checking if you want to use weak-symbols for pthreads" >&5 + echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6 + + # Check whether --enable-weak-symbols or --disable-weak-symbols was given. +@@ -15682,18 +15727,18 @@ + else + use_weak_symbols=no + fi; +-echo "$as_me:15685: result: $use_weak_symbols" >&5 ++echo "$as_me:15730: result: $use_weak_symbols" >&5 + echo "${ECHO_T}$use_weak_symbols" >&6 + if test "$use_weak_symbols" = yes ; then + +-echo "$as_me:15689: checking if $CC supports weak symbols" >&5 ++echo "$as_me:15734: checking if $CC supports weak symbols" >&5 + echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6 + if test "${cf_cv_weak_symbols+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15696 "configure" ++#line 15741 "configure" + #include "confdefs.h" + + #include <stdio.h> +@@ -15719,16 +15764,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15722: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:15767: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15725: \$? = $ac_status" >&5 ++ echo "$as_me:15770: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15728: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15773: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15731: \$? = $ac_status" >&5 ++ echo "$as_me:15776: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_weak_symbols=yes + else +@@ -15739,7 +15784,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15742: result: $cf_cv_weak_symbols" >&5 ++echo "$as_me:15787: result: $cf_cv_weak_symbols" >&5 + echo "${ECHO_T}$cf_cv_weak_symbols" >&6 + + else +@@ -15768,13 +15813,13 @@ + fi + + # OpenSUSE is installing ncurses6, using reentrant option. +-echo "$as_me:15771: checking for _nc_TABSIZE" >&5 ++echo "$as_me:15816: checking for _nc_TABSIZE" >&5 + echo $ECHO_N "checking for _nc_TABSIZE... $ECHO_C" >&6 + if test "${ac_cv_func__nc_TABSIZE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15777 "configure" ++#line 15822 "configure" + #include "confdefs.h" + #define _nc_TABSIZE autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -15805,16 +15850,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:15808: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:15853: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:15811: \$? = $ac_status" >&5 ++ echo "$as_me:15856: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:15814: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:15859: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15817: \$? = $ac_status" >&5 ++ echo "$as_me:15862: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func__nc_TABSIZE=yes + else +@@ -15824,7 +15869,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:15827: result: $ac_cv_func__nc_TABSIZE" >&5 ++echo "$as_me:15872: result: $ac_cv_func__nc_TABSIZE" >&5 + echo "${ECHO_T}$ac_cv_func__nc_TABSIZE" >&6 + if test "$ac_cv_func__nc_TABSIZE" = yes; then + assume_reentrant=yes +@@ -15836,7 +15881,7 @@ + # opaque outside of that, so there is no --enable-opaque option. We can use + # this option without --with-pthreads, but this will be always set for + # pthreads. +-echo "$as_me:15839: checking if you want experimental reentrant code" >&5 ++echo "$as_me:15884: checking if you want experimental reentrant code" >&5 + echo $ECHO_N "checking if you want experimental reentrant code... $ECHO_C" >&6 + + # Check whether --enable-reentrant or --disable-reentrant was given. +@@ -15846,7 +15891,7 @@ + else + with_reentrant=$assume_reentrant + fi; +-echo "$as_me:15849: result: $with_reentrant" >&5 ++echo "$as_me:15894: result: $with_reentrant" >&5 + echo "${ECHO_T}$with_reentrant" >&6 + if test "$with_reentrant" = yes ; then + cf_cv_enable_reentrant=1 +@@ -15869,7 +15914,7 @@ + + ### Allow using a different wrap-prefix + if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then +- echo "$as_me:15872: checking for prefix used to wrap public variables" >&5 ++ echo "$as_me:15917: checking for prefix used to wrap public variables" >&5 + echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6 + + # Check whether --with-wrap-prefix or --without-wrap-prefix was given. +@@ -15879,7 +15924,7 @@ + else + NCURSES_WRAP_PREFIX=_nc_ + fi; +- echo "$as_me:15882: result: $NCURSES_WRAP_PREFIX" >&5 ++ echo "$as_me:15927: result: $NCURSES_WRAP_PREFIX" >&5 + echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6 + else + NCURSES_WRAP_PREFIX=_nc_ +@@ -15893,7 +15938,7 @@ + + ### use option --disable-echo to suppress full display compiling commands + +-echo "$as_me:15896: checking if you want to see long compiling messages" >&5 ++echo "$as_me:15941: checking if you want to see long compiling messages" >&5 + echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6 + + # Check whether --enable-echo or --disable-echo was given. +@@ -15927,10 +15972,10 @@ + ECHO_CC='' + + fi; +-echo "$as_me:15930: result: $enableval" >&5 ++echo "$as_me:15975: result: $enableval" >&5 + echo "${ECHO_T}$enableval" >&6 + +-echo "$as_me:15933: checking if you want to use C11 _Noreturn feature" >&5 ++echo "$as_me:15978: checking if you want to use C11 _Noreturn feature" >&5 + echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6 + + # Check whether --enable-stdnoreturn or --disable-stdnoreturn was given. +@@ -15947,17 +15992,17 @@ + enable_stdnoreturn=no + + fi; +-echo "$as_me:15950: result: $enable_stdnoreturn" >&5 ++echo "$as_me:15995: result: $enable_stdnoreturn" >&5 + echo "${ECHO_T}$enable_stdnoreturn" >&6 + + if test $enable_stdnoreturn = yes; then +-echo "$as_me:15954: checking for C11 _Noreturn feature" >&5 ++echo "$as_me:15999: checking for C11 _Noreturn feature" >&5 + echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6 + if test "${cf_cv_c11_noreturn+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 15960 "configure" ++#line 16005 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -15973,16 +16018,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:15976: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16021: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:15979: \$? = $ac_status" >&5 ++ echo "$as_me:16024: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:15982: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16027: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:15985: \$? = $ac_status" >&5 ++ echo "$as_me:16030: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_c11_noreturn=yes + else +@@ -15993,7 +16038,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:15996: result: $cf_cv_c11_noreturn" >&5 ++echo "$as_me:16041: result: $cf_cv_c11_noreturn" >&5 + echo "${ECHO_T}$cf_cv_c11_noreturn" >&6 + else + cf_cv_c11_noreturn=no, +@@ -16049,16 +16094,16 @@ + then + test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16052: testing repairing CFLAGS: $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16097: testing repairing CFLAGS: $CFLAGS ..." 1>&5 + + CFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16057: testing ... fixed $CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16102: testing ... fixed $CFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16061: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16106: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16097,16 +16142,16 @@ + then + test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16100: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16145: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 + + CPPFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 + +-echo "${as_me:-configure}:16105: testing ... fixed $CPPFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16150: testing ... fixed $CPPFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16109: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16154: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; +@@ -16145,23 +16190,23 @@ + then + test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16148: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16193: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 + + LDFLAGS="$cf_temp_flags" + test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 + +-echo "${as_me:-configure}:16153: testing ... fixed $LDFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16198: testing ... fixed $LDFLAGS ..." 1>&5 + + test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 + +-echo "${as_me:-configure}:16157: testing ... extra $EXTRA_CFLAGS ..." 1>&5 ++echo "${as_me:-configure}:16202: testing ... extra $EXTRA_CFLAGS ..." 1>&5 + + fi + ;; + esac + fi + +-echo "$as_me:16164: checking if you want to turn on gcc warnings" >&5 ++echo "$as_me:16209: 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. +@@ -16178,7 +16223,7 @@ + enable_warnings=no + + fi; +-echo "$as_me:16181: result: $enable_warnings" >&5 ++echo "$as_me:16226: result: $enable_warnings" >&5 + echo "${ECHO_T}$enable_warnings" >&6 + if test "$enable_warnings" = "yes" + then +@@ -16202,7 +16247,7 @@ + done + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16205 "configure" ++#line 16250 "configure" + #include "confdefs.h" + + #include <stdlib.h> +@@ -16217,26 +16262,26 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16220: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16265: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16223: \$? = $ac_status" >&5 ++ echo "$as_me:16268: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16226: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16271: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16229: \$? = $ac_status" >&5 ++ echo "$as_me:16274: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + +-echo "$as_me:16232: checking for X11/Xt const-feature" >&5 ++echo "$as_me:16277: 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 16239 "configure" ++#line 16284 "configure" + #include "confdefs.h" + + #undef _CONST_X_STRING +@@ -16254,16 +16299,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:16257: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:16302: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16260: \$? = $ac_status" >&5 ++ echo "$as_me:16305: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:16263: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16308: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16266: \$? = $ac_status" >&5 ++ echo "$as_me:16311: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_const_x_string=no +@@ -16278,7 +16323,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:16281: result: $cf_cv_const_x_string" >&5 ++echo "$as_me:16326: result: $cf_cv_const_x_string" >&5 + echo "${ECHO_T}$cf_cv_const_x_string" >&6 + + LIBS="$cf_save_LIBS_CF_CONST_X_STRING" +@@ -16307,7 +16352,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + cat > "conftest.$ac_ext" <<EOF +-#line 16310 "${as_me:-configure}" ++#line 16355 "${as_me:-configure}" + int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; } + EOF + if test "$INTEL_COMPILER" = yes +@@ -16323,7 +16368,7 @@ + # remark #981: operands are evaluated in unspecified order + # warning #279: controlling expression is constant + +- { echo "$as_me:16326: checking for $CC warning options..." >&5 ++ { echo "$as_me:16371: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" +@@ -16339,12 +16384,12 @@ + wd981 + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:16342: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:16387: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16345: \$? = $ac_status" >&5 ++ echo "$as_me:16390: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:16347: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:16392: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" + fi +@@ -16352,7 +16397,7 @@ + CFLAGS="$cf_save_CFLAGS" + elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" + then +- { echo "$as_me:16355: checking for $CC warning options..." >&5 ++ { echo "$as_me:16400: checking for $CC warning options..." >&5 + echo "$as_me: checking for $CC warning options..." >&6;} + cf_save_CFLAGS="$CFLAGS" + cf_warn_CONST="" +@@ -16375,12 +16420,12 @@ + Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum + do + CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" +- if { (eval echo "$as_me:16378: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:16423: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16381: \$? = $ac_status" >&5 ++ echo "$as_me:16426: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:16383: result: ... -$cf_opt" >&5 ++ test -n "$verbose" && echo "$as_me:16428: result: ... -$cf_opt" >&5 + echo "${ECHO_T}... -$cf_opt" >&6 + case "$cf_opt" in + (Winline) +@@ -16388,7 +16433,7 @@ + ([34].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:16391: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:16436: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -16398,7 +16443,7 @@ + ([12].*) + test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 + +-echo "${as_me:-configure}:16401: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 ++echo "${as_me:-configure}:16446: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 + + continue;; + esac +@@ -16431,10 +16476,10 @@ + EOF + if test "$GCC" = yes + then +- { echo "$as_me:16434: checking for $CC __attribute__ directives..." >&5 ++ { echo "$as_me:16479: checking for $CC __attribute__ directives..." >&5 + echo "$as_me: checking for $CC __attribute__ directives..." >&6;} + cat > "conftest.$ac_ext" <<EOF +-#line 16437 "${as_me:-configure}" ++#line 16482 "${as_me:-configure}" + #include <stdio.h> + #include "confdefs.h" + #include "conftest.h" +@@ -16484,12 +16529,12 @@ + ;; + esac + +- if { (eval echo "$as_me:16487: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:16532: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:16490: \$? = $ac_status" >&5 ++ echo "$as_me:16535: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then +- test -n "$verbose" && echo "$as_me:16492: result: ... $cf_attribute" >&5 ++ test -n "$verbose" && echo "$as_me:16537: result: ... $cf_attribute" >&5 + echo "${ECHO_T}... $cf_attribute" >&6 + cat conftest.h >>confdefs.h + case "$cf_attribute" in +@@ -16557,7 +16602,7 @@ + fi + + ### use option --enable-assertions to turn on generation of assertion code +-echo "$as_me:16560: checking if you want to enable runtime assertions" >&5 ++echo "$as_me:16605: checking if you want to enable runtime assertions" >&5 + echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6 + + # Check whether --enable-assertions or --disable-assertions was given. +@@ -16567,7 +16612,7 @@ + else + with_assertions=no + fi; +-echo "$as_me:16570: result: $with_assertions" >&5 ++echo "$as_me:16615: result: $with_assertions" >&5 + echo "${ECHO_T}$with_assertions" >&6 + if test -n "$GCC" + then +@@ -16620,7 +16665,7 @@ + ;; + esac + +-echo "$as_me:16623: checking whether to add trace feature to all models" >&5 ++echo "$as_me:16668: checking whether to add trace feature to all models" >&5 + echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6 + + # Check whether --with-trace or --without-trace was given. +@@ -16630,7 +16675,7 @@ + else + cf_with_trace=$cf_all_traces + fi; +-echo "$as_me:16633: result: $cf_with_trace" >&5 ++echo "$as_me:16678: result: $cf_with_trace" >&5 + echo "${ECHO_T}$cf_with_trace" >&6 + + if test "$cf_with_trace" = yes ; then +@@ -16644,7 +16689,7 @@ + ADA_TRACE=FALSE + fi + +-echo "$as_me:16647: checking if we want to use GNAT projects" >&5 ++echo "$as_me:16692: checking if we want to use GNAT projects" >&5 + echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6 + + # Check whether --enable-gnat-projects or --disable-gnat-projects was given. +@@ -16661,21 +16706,21 @@ + enable_gnat_projects=yes + + fi; +-echo "$as_me:16664: result: $enable_gnat_projects" >&5 ++echo "$as_me:16709: result: $enable_gnat_projects" >&5 + echo "${ECHO_T}$enable_gnat_projects" >&6 + + ### Checks for libraries. + case $cf_cv_system_name in + (*mingw32*) + +-echo "$as_me:16671: checking if ssp library is needed" >&5 ++echo "$as_me:16716: checking if ssp library is needed" >&5 + echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6 + if test "${cf_cv_need_libssp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16678 "configure" ++#line 16723 "configure" + #include "confdefs.h" + + #include <sys/types.h> +@@ -16692,16 +16737,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16695: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16740: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16698: \$? = $ac_status" >&5 ++ echo "$as_me:16743: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16701: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16746: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16704: \$? = $ac_status" >&5 ++ echo "$as_me:16749: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=no + else +@@ -16711,7 +16756,7 @@ + cf_save_LIBS="$LIBS" + LIBS="$LIBS -lssp" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16714 "configure" ++#line 16759 "configure" + #include "confdefs.h" + + #include <sys/types.h> +@@ -16728,16 +16773,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16731: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16776: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16734: \$? = $ac_status" >&5 ++ echo "$as_me:16779: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16737: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16782: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16740: \$? = $ac_status" >&5 ++ echo "$as_me:16785: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_need_libssp=yes + else +@@ -16751,7 +16796,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:16754: result: $cf_cv_need_libssp" >&5 ++echo "$as_me:16799: result: $cf_cv_need_libssp" >&5 + echo "${ECHO_T}$cf_cv_need_libssp" >&6 + + if test "x$cf_cv_need_libssp" = xyes +@@ -16779,13 +16824,13 @@ + (*) + + cf_save_libs="$LIBS" +-echo "$as_me:16782: checking for clock_gettime" >&5 ++echo "$as_me:16827: checking for clock_gettime" >&5 + echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6 + if test "${ac_cv_func_clock_gettime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16788 "configure" ++#line 16833 "configure" + #include "confdefs.h" + #define clock_gettime autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -16816,16 +16861,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16819: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16864: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16822: \$? = $ac_status" >&5 ++ echo "$as_me:16867: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16825: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16870: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16828: \$? = $ac_status" >&5 ++ echo "$as_me:16873: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_clock_gettime=yes + else +@@ -16835,12 +16880,12 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:16838: result: $ac_cv_func_clock_gettime" >&5 ++echo "$as_me:16883: result: $ac_cv_func_clock_gettime" >&5 + echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6 + if test "$ac_cv_func_clock_gettime" = yes; then + cf_cv_test_clock_gettime=yes + else +- echo "$as_me:16843: checking for clock_gettime in -lrt" >&5 ++ echo "$as_me:16888: checking for clock_gettime in -lrt" >&5 + echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6 + if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -16848,7 +16893,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lrt $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16851 "configure" ++#line 16896 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -16867,16 +16912,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16870: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16915: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16873: \$? = $ac_status" >&5 ++ echo "$as_me:16918: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16876: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16921: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16879: \$? = $ac_status" >&5 ++ echo "$as_me:16924: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_rt_clock_gettime=yes + else +@@ -16887,7 +16932,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:16890: result: $ac_cv_lib_rt_clock_gettime" >&5 ++echo "$as_me:16935: result: $ac_cv_lib_rt_clock_gettime" >&5 + echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6 + if test "$ac_cv_lib_rt_clock_gettime" = yes; then + LIBS="-lrt $LIBS" +@@ -16899,14 +16944,14 @@ + fi + + if test "$cf_cv_test_clock_gettime" = yes ; then +-echo "$as_me:16902: checking if clock_gettime links" >&5 ++echo "$as_me:16947: checking if clock_gettime links" >&5 + echo $ECHO_N "checking if clock_gettime links... $ECHO_C" >&6 + if test "${cf_cv_func_clock_gettime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16909 "configure" ++#line 16954 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -16924,16 +16969,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16927: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:16972: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:16930: \$? = $ac_status" >&5 ++ echo "$as_me:16975: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:16933: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:16978: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:16936: \$? = $ac_status" >&5 ++ echo "$as_me:16981: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_clock_gettime=yes + else +@@ -16944,7 +16989,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:16947: result: $cf_cv_func_clock_gettime" >&5 ++echo "$as_me:16992: result: $cf_cv_func_clock_gettime" >&5 + echo "${ECHO_T}$cf_cv_func_clock_gettime" >&6 + else + cf_cv_func_clock_gettime=no +@@ -16958,13 +17003,13 @@ + EOF + + else +-echo "$as_me:16961: checking for gettimeofday" >&5 ++echo "$as_me:17006: checking for gettimeofday" >&5 + echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 + if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 16967 "configure" ++#line 17012 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -16995,16 +17040,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:16998: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17043: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17001: \$? = $ac_status" >&5 ++ echo "$as_me:17046: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17004: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17049: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17007: \$? = $ac_status" >&5 ++ echo "$as_me:17052: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -17014,7 +17059,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17017: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:17062: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + +@@ -17024,7 +17069,7 @@ + + else + +-echo "$as_me:17027: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:17072: checking for gettimeofday in -lbsd" >&5 + echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 + if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17032,7 +17077,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17035 "configure" ++#line 17080 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17051,16 +17096,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17054: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17099: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17057: \$? = $ac_status" >&5 ++ echo "$as_me:17102: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17060: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17105: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17063: \$? = $ac_status" >&5 ++ echo "$as_me:17108: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -17071,7 +17116,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17074: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:17119: result: $ac_cv_lib_bsd_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 + if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +@@ -17104,13 +17149,13 @@ + esac + + ### Checks for header files. +-echo "$as_me:17107: checking for signed char" >&5 ++echo "$as_me:17152: checking for signed char" >&5 + echo $ECHO_N "checking for signed char... $ECHO_C" >&6 + if test "${ac_cv_type_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17113 "configure" ++#line 17158 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -17125,16 +17170,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17128: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17173: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17131: \$? = $ac_status" >&5 ++ echo "$as_me:17176: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17134: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17179: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17137: \$? = $ac_status" >&5 ++ echo "$as_me:17182: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_signed_char=yes + else +@@ -17144,10 +17189,10 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17147: result: $ac_cv_type_signed_char" >&5 ++echo "$as_me:17192: result: $ac_cv_type_signed_char" >&5 + echo "${ECHO_T}$ac_cv_type_signed_char" >&6 + +-echo "$as_me:17150: checking size of signed char" >&5 ++echo "$as_me:17195: checking size of signed char" >&5 + echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 + if test "${ac_cv_sizeof_signed_char+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17156,7 +17201,7 @@ + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17159 "configure" ++#line 17204 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -17168,21 +17213,21 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17171: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17216: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17174: \$? = $ac_status" >&5 ++ echo "$as_me:17219: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17177: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17222: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17180: \$? = $ac_status" >&5 ++ echo "$as_me:17225: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17185 "configure" ++#line 17230 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -17194,16 +17239,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17197: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17242: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17200: \$? = $ac_status" >&5 ++ echo "$as_me:17245: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17203: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17248: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17206: \$? = $ac_status" >&5 ++ echo "$as_me:17251: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -17219,7 +17264,7 @@ + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17222 "configure" ++#line 17267 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -17231,16 +17276,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17234: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17279: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17237: \$? = $ac_status" >&5 ++ echo "$as_me:17282: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17240: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17285: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17243: \$? = $ac_status" >&5 ++ echo "$as_me:17288: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -17256,7 +17301,7 @@ + while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17259 "configure" ++#line 17304 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -17268,16 +17313,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17271: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17316: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17274: \$? = $ac_status" >&5 ++ echo "$as_me:17319: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17277: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17322: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17280: \$? = $ac_status" >&5 ++ echo "$as_me:17325: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -17290,12 +17335,12 @@ + ac_cv_sizeof_signed_char=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:17293: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:17338: error: cannot run test program while cross compiling" >&5 + echo "$as_me: error: cannot run test program while cross compiling" >&2;} + { (exit 1); exit 1; }; } + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17298 "configure" ++#line 17343 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -17311,15 +17356,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17314: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17359: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17317: \$? = $ac_status" >&5 ++ echo "$as_me:17362: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17319: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17364: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17322: \$? = $ac_status" >&5 ++ echo "$as_me:17367: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_signed_char=`cat conftest.val` + else +@@ -17335,7 +17380,7 @@ + ac_cv_sizeof_signed_char=0 + fi + fi +-echo "$as_me:17338: result: $ac_cv_sizeof_signed_char" >&5 ++echo "$as_me:17383: result: $ac_cv_sizeof_signed_char" >&5 + echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 + cat >>confdefs.h <<EOF + #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char +@@ -17344,13 +17389,13 @@ + ac_header_dirent=no + for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do + as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` +-echo "$as_me:17347: checking for $ac_hdr that defines DIR" >&5 ++echo "$as_me:17392: checking for $ac_hdr that defines DIR" >&5 + echo $ECHO_N "checking for $ac_hdr that defines DIR... $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 17353 "configure" ++#line 17398 "configure" + #include "confdefs.h" + #include <sys/types.h> + #include <$ac_hdr> +@@ -17365,16 +17410,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17368: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17413: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17371: \$? = $ac_status" >&5 ++ echo "$as_me:17416: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17374: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17419: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17377: \$? = $ac_status" >&5 ++ echo "$as_me:17422: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_Header=yes" + else +@@ -17384,7 +17429,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17387: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17432: 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 <<EOF +@@ -17397,7 +17442,7 @@ + done + # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. + if test $ac_header_dirent = dirent.h; then +- echo "$as_me:17400: checking for opendir in -ldir" >&5 ++ echo "$as_me:17445: checking for opendir in -ldir" >&5 + echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 + if test "${ac_cv_lib_dir_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17405,7 +17450,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldir $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17408 "configure" ++#line 17453 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17424,16 +17469,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17427: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17472: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17430: \$? = $ac_status" >&5 ++ echo "$as_me:17475: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17433: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17478: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17436: \$? = $ac_status" >&5 ++ echo "$as_me:17481: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_dir_opendir=yes + else +@@ -17444,14 +17489,14 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17447: result: $ac_cv_lib_dir_opendir" >&5 ++echo "$as_me:17492: result: $ac_cv_lib_dir_opendir" >&5 + echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 + if test "$ac_cv_lib_dir_opendir" = yes; then + LIBS="$LIBS -ldir" + fi + + else +- echo "$as_me:17454: checking for opendir in -lx" >&5 ++ echo "$as_me:17499: checking for opendir in -lx" >&5 + echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 + if test "${ac_cv_lib_x_opendir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17459,7 +17504,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lx $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17462 "configure" ++#line 17507 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -17478,16 +17523,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17481: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17526: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17484: \$? = $ac_status" >&5 ++ echo "$as_me:17529: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17487: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17532: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17490: \$? = $ac_status" >&5 ++ echo "$as_me:17535: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_x_opendir=yes + else +@@ -17498,7 +17543,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:17501: result: $ac_cv_lib_x_opendir" >&5 ++echo "$as_me:17546: result: $ac_cv_lib_x_opendir" >&5 + echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 + if test "$ac_cv_lib_x_opendir" = yes; then + LIBS="$LIBS -lx" +@@ -17506,13 +17551,13 @@ + + fi + +-echo "$as_me:17509: checking whether time.h and sys/time.h may both be included" >&5 ++echo "$as_me:17554: 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 17515 "configure" ++#line 17560 "configure" + #include "confdefs.h" + #include <sys/types.h> + #include <sys/time.h> +@@ -17528,16 +17573,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17531: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17576: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17534: \$? = $ac_status" >&5 ++ echo "$as_me:17579: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17537: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17582: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17540: \$? = $ac_status" >&5 ++ echo "$as_me:17585: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_header_time=yes + else +@@ -17547,7 +17592,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17550: result: $ac_cv_header_time" >&5 ++echo "$as_me:17595: result: $ac_cv_header_time" >&5 + echo "${ECHO_T}$ac_cv_header_time" >&6 + if test $ac_cv_header_time = yes; then + +@@ -17565,13 +17610,13 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:17568: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:17613: checking for an ANSI C-conforming const" >&5 + echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 + if test "${ac_cv_c_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17574 "configure" ++#line 17619 "configure" + #include "confdefs.h" + + int +@@ -17633,16 +17678,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:17636: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:17681: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17639: \$? = $ac_status" >&5 ++ echo "$as_me:17684: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:17642: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17687: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17645: \$? = $ac_status" >&5 ++ echo "$as_me:17690: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -17652,7 +17697,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:17655: result: $ac_cv_c_const" >&5 ++echo "$as_me:17700: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -17664,7 +17709,7 @@ + + ### Checks for external-data + +-echo "$as_me:17667: checking if data-only library module links" >&5 ++echo "$as_me:17712: checking if data-only library module links" >&5 + echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 + if test "${cf_cv_link_dataonly+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17672,20 +17717,20 @@ + + rm -f conftest.a + cat >conftest.$ac_ext <<EOF +-#line 17675 "configure" ++#line 17720 "configure" + int testdata[3] = { 123, 456, 789 }; + EOF +- if { (eval echo "$as_me:17678: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17723: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17681: \$? = $ac_status" >&5 ++ echo "$as_me:17726: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + mv conftest.o data.o && \ + ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null + fi + rm -f conftest.$ac_ext data.o + cat >conftest.$ac_ext <<EOF +-#line 17688 "configure" ++#line 17733 "configure" + extern int testfunc(void); + #if defined(NeXT) + int testfunc(void) +@@ -17702,10 +17747,10 @@ + } + #endif + EOF +- if { (eval echo "$as_me:17705: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:17750: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:17708: \$? = $ac_status" >&5 ++ echo "$as_me:17753: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -17718,7 +17763,7 @@ + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17721 "configure" ++#line 17766 "configure" + #include "confdefs.h" + + extern int testfunc(void); +@@ -17729,15 +17774,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17732: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17777: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17735: \$? = $ac_status" >&5 ++ echo "$as_me:17780: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17737: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17782: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17740: \$? = $ac_status" >&5 ++ echo "$as_me:17785: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -17752,7 +17797,7 @@ + + fi + +-echo "$as_me:17755: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:17800: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -17771,23 +17816,23 @@ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:17774: checking for $ac_header" >&5 ++echo "$as_me:17819: 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 17780 "configure" ++#line 17825 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:17784: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:17829: \"$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:17790: \$? = $ac_status" >&5 ++ echo "$as_me:17835: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -17806,7 +17851,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:17809: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:17854: 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 <<EOF +@@ -17816,7 +17861,7 @@ + fi + done + +-echo "$as_me:17819: checking for working mkstemp" >&5 ++echo "$as_me:17864: checking for working mkstemp" >&5 + echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 + if test "${cf_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17827,7 +17872,7 @@ + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17830 "configure" ++#line 17875 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -17862,15 +17907,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:17865: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17910: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17868: \$? = $ac_status" >&5 ++ echo "$as_me:17913: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:17870: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17915: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17873: \$? = $ac_status" >&5 ++ echo "$as_me:17918: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -17885,16 +17930,16 @@ + fi + + fi +-echo "$as_me:17888: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:17933: result: $cf_cv_func_mkstemp" >&5 + echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 + if test "x$cf_cv_func_mkstemp" = xmaybe ; then +- echo "$as_me:17891: checking for mkstemp" >&5 ++ echo "$as_me:17936: checking for mkstemp" >&5 + echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 + if test "${ac_cv_func_mkstemp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 17897 "configure" ++#line 17942 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -17925,16 +17970,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:17928: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:17973: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:17931: \$? = $ac_status" >&5 ++ echo "$as_me:17976: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:17934: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:17979: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:17937: \$? = $ac_status" >&5 ++ echo "$as_me:17982: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -17944,7 +17989,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:17947: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:17992: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -17965,7 +18010,7 @@ + if test "$cf_with_ada" != "no" ; then + if test "$cf_cv_prog_gnat_correct" = yes; then + +- echo "$as_me:17968: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:18013: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -17982,10 +18027,10 @@ + + ;; + esac +- echo "$as_me:17985: result: $ADAFLAGS" >&5 ++ echo "$as_me:18030: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:17988: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:18033: checking if GNATPREP supports -T option" >&5 + echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 + if test "${cf_cv_gnatprep_opt_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -17995,11 +18040,11 @@ + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:17998: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:18043: result: $cf_cv_gnatprep_opt_t" >&5 + echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 + test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" + +-echo "$as_me:18002: checking if GNAT supports generics" >&5 ++echo "$as_me:18047: checking if GNAT supports generics" >&5 + echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) +@@ -18009,7 +18054,7 @@ + cf_gnat_generics=no + ;; + esac +-echo "$as_me:18012: result: $cf_gnat_generics" >&5 ++echo "$as_me:18057: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -18021,7 +18066,7 @@ + cf_generic_objects= + fi + +-echo "$as_me:18024: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:18069: checking if GNAT supports SIGINT" >&5 + echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 + if test "${cf_cv_gnat_sigint+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -18069,7 +18114,7 @@ + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:18072: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:18117: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -18082,7 +18127,7 @@ + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:18085: checking if GNAT supports project files" >&5 ++echo "$as_me:18130: checking if GNAT supports project files" >&5 + echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 + case "$cf_cv_gnat_version" in + (3.[0-9]*) +@@ -18145,15 +18190,15 @@ + esac + ;; + esac +-echo "$as_me:18148: result: $cf_gnat_projects" >&5 ++echo "$as_me:18193: result: $cf_gnat_projects" >&5 + echo "${ECHO_T}$cf_gnat_projects" >&6 + fi # enable_gnat_projects + + if test "$cf_gnat_projects" = yes + then +- echo "$as_me:18154: checking if GNAT supports libraries" >&5 ++ echo "$as_me:18199: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:18156: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:18201: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -18173,7 +18218,7 @@ + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:18176: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:18221: WARNING: use old makefile rules since tools are missing" >&5 + echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} + fi + fi +@@ -18185,7 +18230,7 @@ + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:18188: checking for Ada95 compiler" >&5 ++echo "$as_me:18233: checking for Ada95 compiler" >&5 + echo $ECHO_N "checking for Ada95 compiler... $ECHO_C" >&6 + + # Check whether --with-ada-compiler or --without-ada-compiler was given. +@@ -18196,12 +18241,12 @@ + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:18199: result: $cf_ada_compiler" >&5 ++echo "$as_me:18244: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:18204: checking for Ada95 include directory" >&5 ++echo "$as_me:18249: checking for Ada95 include directory" >&5 + echo $ECHO_N "checking for Ada95 include directory... $ECHO_C" >&6 + + # Check whether --with-ada-include or --without-ada-include was given. +@@ -18237,7 +18282,7 @@ + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18240: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18285: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18246,10 +18291,10 @@ + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:18249: result: $ADA_INCLUDE" >&5 ++echo "$as_me:18294: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:18252: checking for Ada95 object directory" >&5 ++echo "$as_me:18297: checking for Ada95 object directory" >&5 + echo $ECHO_N "checking for Ada95 object directory... $ECHO_C" >&6 + + # Check whether --with-ada-objects or --without-ada-objects was given. +@@ -18285,7 +18330,7 @@ + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:18288: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:18333: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -18294,10 +18339,10 @@ + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:18297: result: $ADA_OBJECTS" >&5 ++echo "$as_me:18342: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:18300: checking whether to build an Ada95 shared library" >&5 ++echo "$as_me:18345: checking whether to build an Ada95 shared library" >&5 + echo $ECHO_N "checking whether to build an Ada95 shared library... $ECHO_C" >&6 + + # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. +@@ -18318,11 +18363,11 @@ + fi + fi + +-echo "$as_me:18321: result: $with_ada_sharedlib" >&5 ++echo "$as_me:18366: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + if test "x$cf_ada_sharedlib_warn" != xno + then +- { echo "$as_me:18325: WARNING: disabling Ada95 shared library since GNAT projects are not supported" >&5 ++ { echo "$as_me:18370: WARNING: disabling Ada95 shared library since GNAT projects are not supported" >&5 + echo "$as_me: WARNING: disabling Ada95 shared library since GNAT projects are not supported" >&2;} + fi + +@@ -18340,7 +18385,7 @@ + + # allow the Ada binding to be renamed + +-echo "$as_me:18343: checking for Ada95 curses library name" >&5 ++echo "$as_me:18388: checking for Ada95 curses library name" >&5 + echo $ECHO_N "checking for Ada95 curses library name... $ECHO_C" >&6 + + # Check whether --with-ada-libname or --without-ada-libname was given. +@@ -18356,16 +18401,16 @@ + ;; + esac + +-echo "$as_me:18359: result: $ADA_LIBNAME" >&5 ++echo "$as_me:18404: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + else +- { { echo "$as_me:18363: error: No usable Ada compiler found" >&5 ++ { { echo "$as_me:18408: error: No usable Ada compiler found" >&5 + echo "$as_me: error: No usable Ada compiler found" >&2;} + { (exit 1); exit 1; }; } + fi + else +- { { echo "$as_me:18368: error: The Ada compiler is needed for this package" >&5 ++ { { echo "$as_me:18413: error: The Ada compiler is needed for this package" >&5 + echo "$as_me: error: The Ada compiler is needed for this package" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -18405,7 +18450,7 @@ + fi + + ### Build up pieces for makefile rules +-echo "$as_me:18408: checking default library suffix" >&5 ++echo "$as_me:18453: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18416,10 +18461,10 @@ + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:18419: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:18464: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:18422: checking default library-dependency suffix" >&5 ++echo "$as_me:18467: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -18502,10 +18547,10 @@ + DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" + DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" + fi +-echo "$as_me:18505: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:18550: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:18508: checking default object directory" >&5 ++echo "$as_me:18553: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -18521,7 +18566,7 @@ + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:18524: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:18569: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + ### Set up low-level terminfo dependencies for makefiles. +@@ -18663,7 +18708,7 @@ + : "${CONFIG_STATUS=./config.status}" + ac_clean_files_save=$ac_clean_files + ac_clean_files="$ac_clean_files $CONFIG_STATUS" +-{ echo "$as_me:18666: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:18711: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -18844,7 +18889,7 @@ + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:18847: error: ambiguous option: $1 ++ { { echo "$as_me:18892: 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;} +@@ -18863,7 +18908,7 @@ + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:18866: error: unrecognized option: $1 ++ -*) { { echo "$as_me:18911: 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;} +@@ -18938,7 +18983,7 @@ + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; + "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; +- *) { { echo "$as_me:18941: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:18986: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -19093,6 +19138,7 @@ + s,@DFT_UPR_MODEL@,$DFT_UPR_MODEL,;t t + s,@NCURSES_CONFIG@,$NCURSES_CONFIG,;t t + s,@ac_ct_NCURSES_CONFIG@,$ac_ct_NCURSES_CONFIG,;t t ++s,@cf_cv_screen@,$cf_cv_screen,;t t + s,@NCURSES_MAJOR@,$NCURSES_MAJOR,;t t + s,@NCURSES_MINOR@,$NCURSES_MINOR,;t t + s,@NCURSES_PATCH@,$NCURSES_PATCH,;t t +@@ -19101,6 +19147,7 @@ + s,@cf_cv_builtin_bool@,$cf_cv_builtin_bool,;t t + s,@cf_cv_header_stdbool_h@,$cf_cv_header_stdbool_h,;t t + s,@cf_cv_type_of_bool@,$cf_cv_type_of_bool,;t t ++s,@cf_cv_enable_sigwinch@,$cf_cv_enable_sigwinch,;t t + s,@LIB_PREFIX@,$LIB_PREFIX,;t t + s,@LIB_SUFFIX@,$LIB_SUFFIX,;t t + s,@CC_G_OPT@,$CC_G_OPT,;t t +@@ -19300,7 +19347,7 @@ + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:19303: creating $ac_file" >&5 ++ { echo "$as_me:19350: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -19318,7 +19365,7 @@ + -) echo "$tmp"/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19321: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19368: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo "$f";; +@@ -19331,7 +19378,7 @@ + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19334: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19381: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19347,7 +19394,7 @@ + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:19350: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:19397: 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;} +@@ -19356,7 +19403,7 @@ + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:19359: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:19406: 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;} +@@ -19401,7 +19448,7 @@ + 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:19404: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:19451: 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;} +@@ -19412,7 +19459,7 @@ + $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:19415: WARNING: Some variables may not be substituted: ++ { echo "$as_me:19462: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -19461,7 +19508,7 @@ + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:19464: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:19511: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -19472,7 +19519,7 @@ + -) echo "$tmp"/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:19475: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:19522: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -19485,7 +19532,7 @@ + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:19488: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:19535: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -19543,7 +19590,7 @@ + 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:19546: $ac_file is unchanged" >&5 ++ { echo "$as_me:19593: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +Index: Ada95/package/AdaCurses.spec +Prereq: 1.31 +--- ncurses-6.5-20240525+/Ada95/package/AdaCurses.spec 2022-12-18 00:08:17.000000000 +0000 ++++ ncurses-6.5-20240601/Ada95/package/AdaCurses.spec 2024-06-01 22:51:57.000000000 +0000 +@@ -2,7 +2,7 @@ + %define AppProgram AdaCurses + %define AppVersion MAJOR.MINOR + %define AppRelease YYYYMMDD +-# $Id: AdaCurses.spec,v 1.31 2022/12/18 00:08:17 tom Exp $ ++# $Id: AdaCurses.spec,v 1.33 2024/06/01 22:51:57 tom Exp $ + Name: %{AppProgram} + Version: %{AppVersion} + Release: %{AppRelease} +@@ -69,6 +69,7 @@ + --disable-rpath-link \ + --disable-echo \ + --verbose \ ++ --with-screen=ncursesw6dev \ + --enable-warnings + + make +Index: Ada95/package/debian/rules +--- ncurses-6.5-20240525+/Ada95/package/debian/rules 2022-12-17 23:51:10.000000000 +0000 ++++ ncurses-6.5-20240601/Ada95/package/debian/rules 2024-06-01 23:42:04.000000000 +0000 +@@ -41,6 +41,7 @@ + --disable-rpath-link \ + --with-shared \ + --with-ada-sharedlib \ ++ --with-screen=ncurses6 \ + --without-pkg-config + + touch configure-stamp +Index: NEWS +Prereq: 1.4129 +--- ncurses-6.5-20240525+/NEWS 2024-05-25 23:09:24.000000000 +0000 ++++ ncurses-6.5-20240601/NEWS 2024-06-01 22:49:52.000000000 +0000 +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.4129 2024/05/25 23:09:24 tom Exp $ ++-- $Id: NEWS,v 1.4131 2024/06/01 22:49:52 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,6 +46,11 @@ + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20240601 ++ + improve formatting/style of manpages (patches by Branden Robinson). ++ + change Ada95/configure to use --with-screen option rather than ++ --enable-widec, to provide more choices of underlying curses library ++ + 20240525 + + build-fix for configure option --disable-ext-funcs + + improve formatting/style of manpages (patches by Branden Robinson). +Index: VERSION +--- ncurses-6.5-20240525+/VERSION 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/VERSION 2024-06-01 11:06:41.000000000 +0000 +@@ -1 +1 @@ +-5:0:10 6.5 20240525 ++5:0:10 6.5 20240601 +Index: dist.mk +Prereq: 1.1615 +--- ncurses-6.5-20240525+/dist.mk 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/dist.mk 2024-06-01 11:06:41.000000000 +0000 +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1615 2024/05/25 10:33:51 tom Exp $ ++# $Id: dist.mk,v 1.1616 2024/06/01 11:06:41 tom Exp $ + # Makefile for creating ncurses distributions. + # + # This only needs to be used directly as a makefile by developers, but +@@ -38,7 +38,7 @@ + # These define the major/minor/patch versions of ncurses. + NCURSES_MAJOR = 6 + NCURSES_MINOR = 5 +-NCURSES_PATCH = 20240525 ++NCURSES_PATCH = 20240601 + + # We don't append the patch to the version, since this only applies to releases + VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) +Index: doc/html/man/curs_add_wch.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_add_wch.3x.html 2024-05-25 22:33:41.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_add_wch.3x.html 2024-06-01 23:07:15.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_add_wch.3x,v 1.65 2024/05/25 21:13:15 tom Exp @ ++ * @Id: curs_add_wch.3x,v 1.67 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_add_wch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_add_wch 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_add_wch 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_add_wch 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> + +@@ -115,10 +115,12 @@ + <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>. + + If <EM>wch</EM> is any other nonprintable character, it is drawn in printable +- form using the same convention as <STRONG><A HREF="curs_util.3x.html">wunctrl(3x)</A></STRONG>. ++ form using the same convention as <STRONG><A HREF="curs_util.3x.html">wunctrl(3x)</A></STRONG>. Calling <STRONG><A HREF="curs_in_wch.3x.html">win_wch(3x)</A></STRONG> on ++ the location of a nonprintable character does not return the character ++ itself, but its <STRONG><A HREF="curs_util.3x.html">wunctrl(3x)</A></STRONG> representation. + +- Calling <STRONG><A HREF="curs_in_wch.3x.html">win_wch(3x)</A></STRONG> on the location of a nonprintable character does +- not return the character itself, but its <STRONG><A HREF="curs_util.3x.html">wunctrl(3x)</A></STRONG> representation. ++ A <EM>cchar</EM><STRONG>_</STRONG><EM>t</EM> can be copied from place to place using <STRONG><A HREF="curs_in_wch.3x.html">win_wch(3x)</A></STRONG> and ++ <STRONG>wadd_wch</STRONG>. + + + </PRE><H3><a name="h3-wecho_wchar">wecho_wchar</a></H3><PRE> +@@ -177,6 +179,7 @@ + <STRONG>WACS_UARROW</STRONG> 0x2191 ^ - arrow pointing up + <STRONG>WACS_ULCORNER</STRONG> 0x250c + l upper left-hand corner + <STRONG>WACS_URCORNER</STRONG> 0x2510 + k upper right-hand corner ++ + <STRONG>WACS_VLINE</STRONG> 0x2502 | x vertical line + + The wide-character configuration of <EM>ncurses</EM> also defines symbols for +@@ -259,78 +262,75 @@ + These functions are described in X/Open Curses, Issue 4. It specifies + no error conditions for them. + +- SVr4 <EM>curses</EM> describes a successful return value only as "an integer +- value other than <STRONG>ERR</STRONG>". +- +- The defaults specified for forms-drawing characters apply in the POSIX +- locale. X/Open Curses makes it clear that the WACS_ symbols should be +- defined as a pointer to <STRONG>cchar_t</STRONG> data, e.g., in the discussion of ++ The defaults specified for forms-drawing characters apply in the POSIX ++ locale. X/Open Curses makes it clear that the WACS_ symbols should be ++ defined as a pointer to <STRONG>cchar_t</STRONG> data, e.g., in the discussion of + <STRONG>border_set</STRONG>. A few implementations are problematic: + + <STRONG>o</STRONG> NetBSD curses defines the symbols as a <STRONG>wchar_t</STRONG> within a <STRONG>cchar_t</STRONG>. + +- <STRONG>o</STRONG> HP-UX curses equates some of the <STRONG>ACS_</STRONG> symbols to the analogous +- <STRONG>WACS_</STRONG> symbols as if the <STRONG>ACS_</STRONG> symbols were wide characters. The +- misdefined symbols are the arrows and other symbols which are not ++ <STRONG>o</STRONG> HP-UX curses equates some of the <STRONG>ACS_</STRONG> symbols to the analogous ++ <STRONG>WACS_</STRONG> symbols as if the <STRONG>ACS_</STRONG> symbols were wide characters. The ++ misdefined symbols are the arrows and other symbols which are not + used for line-drawing. + +- X/Open Curses does not specify symbols for thick- or double-lines. ++ X/Open Curses does not specify symbols for thick- or double-lines. + SVr4 curses implementations defined their line-drawing symbols in terms +- of intermediate symbols. This implementation extends those symbols, ++ of intermediate symbols. This implementation extends those symbols, + providing new definitions which are not in the SVr4 implementations. + +- Not all Unicode-capable terminals provide support for VT100-style +- alternate character sets (i.e., the <STRONG>acsc</STRONG> capability), with their +- corresponding line-drawing characters. X/Open Curses did not address +- the aspect of integrating Unicode with line-drawing characters. +- Existing implementations of Unix curses (AIX, HP-UX, Solaris) use only ++ Not all Unicode-capable terminals provide support for VT100-style ++ alternate character sets (i.e., the <STRONG>acsc</STRONG> capability), with their ++ corresponding line-drawing characters. X/Open Curses did not address ++ the aspect of integrating Unicode with line-drawing characters. ++ Existing implementations of Unix curses (AIX, HP-UX, Solaris) use only + the <STRONG>acsc</STRONG> character-mapping to provide this feature. As a result, those + implementations can only use single-byte line-drawing characters. +- <EM>ncurses</EM> 5.3 (2002) provided a table of Unicode values to solve these ++ <EM>ncurses</EM> 5.3 (2002) provided a table of Unicode values to solve these + problems. NetBSD curses incorporated that table in 2010. + +- In this implementation, the Unicode values are used instead of the ++ In this implementation, the Unicode values are used instead of the + terminal description's <STRONG>acsc</STRONG> mapping as discussed in <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> for the +- environment variable <EM>NCURSES</EM><STRONG>_</STRONG><EM>NO</EM><STRONG>_</STRONG><EM>UTF8</EM><STRONG>_</STRONG><EM>ACS</EM>. In contrast, for the same ++ environment variable <EM>NCURSES</EM><STRONG>_</STRONG><EM>NO</EM><STRONG>_</STRONG><EM>UTF8</EM><STRONG>_</STRONG><EM>ACS</EM>. In contrast, for the same + cases, the line-drawing characters described in <STRONG><A HREF="curs_addch.3x.html">addch(3x)</A></STRONG> will use only + the ASCII default values. + +- Having Unicode available does not solve all of the problems with line- ++ Having Unicode available does not solve all of the problems with line- + drawing for curses: + +- <STRONG>o</STRONG> The closest Unicode equivalents to the VT100 graphics <EM>S1</EM>, <EM>S3</EM>, <EM>S7</EM> +- and <EM>S9</EM> frequently are not displayed at the regular intervals which ++ <STRONG>o</STRONG> The closest Unicode equivalents to the VT100 graphics <EM>S1</EM>, <EM>S3</EM>, <EM>S7</EM> ++ and <EM>S9</EM> frequently are not displayed at the regular intervals which + the terminal used. + +- <STRONG>o</STRONG> The <EM>lantern</EM> is a special case. It originated with the AT&T 4410 +- terminal in the early 1980s. There is no accessible documentation ++ <STRONG>o</STRONG> The <EM>lantern</EM> is a special case. It originated with the AT&T 4410 ++ terminal in the early 1980s. There is no accessible documentation + depicting the lantern symbol on the AT&T terminal. + + Lacking documentation, most readers assume that a <EM>storm</EM> <EM>lantern</EM> was + intended. But there are several possibilities, all with problems. + +- Unicode 6.0 (2010) does provide two lantern symbols: U+1F383 and +- U+1F3EE. Those were not available in 2002, and are irrelevant +- since they lie outside the BMP and as a result are not generally ++ Unicode 6.0 (2010) does provide two lantern symbols: U+1F383 and ++ U+1F3EE. Those were not available in 2002, and are irrelevant ++ since they lie outside the BMP and as a result are not generally + available in terminals. They are not storm lanterns, in any case. + + Most <EM>storm</EM> <EM>lanterns</EM> have a tapering glass chimney (to guard against + tipping); some have a wire grid protecting the chimney. + +- For the tapering appearance, U+2603 was adequate. In use on a ++ For the tapering appearance, U+2603 was adequate. In use on a + terminal, no one can tell what the image represents. Unicode calls + it a snowman. + + Others have suggested these alternatives: <section> U+00A7 (section +- mark), <Theta> U+0398 (theta), <Phi> U+03A6 (phi), <delta> U+03B4 ++ mark), <Theta> U+0398 (theta), <Phi> U+03A6 (phi), <delta> U+03B4 + (delta), U+2327 (x in a rectangle), U+256C (forms double vertical + and horizontal), and U+2612 (ballot box with x). + + + </PRE><H3><a name="h3-Complex-Characters">Complex Characters</a></H3><PRE> +- The complex character type <EM>cchar</EM><STRONG>_</STRONG><EM>t</EM> can store more than one wide +- character (<EM>wchar</EM><STRONG>_</STRONG><EM>t</EM>). X/Open Curses does not mention this possibility, +- specifying behavior only where <EM>wch</EM> is a single character, either ++ The complex character type <EM>cchar</EM><STRONG>_</STRONG><EM>t</EM> can store more than one wide ++ character (<EM>wchar</EM><STRONG>_</STRONG><EM>t</EM>). X/Open Curses does not mention this possibility, ++ specifying behavior only where <EM>wch</EM> is a single character, either + spacing or non-spacing. + + <EM>ncurses</EM> assumes that <EM>wch</EM> is constructed using <STRONG><A HREF="curs_getcchar.3x.html">setcchar(3x)</A></STRONG>, and in turn +@@ -341,10 +341,19 @@ + + <STRONG>o</STRONG> holds one non-spacing character. + +- In the latter case, <EM>ncurses</EM> adds the non-spacing character to the ++ In the latter case, <EM>ncurses</EM> adds the non-spacing character to the + active complex character. + + ++</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> ++ These functions were initially specified by X/Open Curses, Issue 4. ++ The System V Interface Definition, Version 4 (1995), specified ++ functions named <EM>waddwch</EM> and <EM>wechowchar</EM> (and the usual variants). These ++ were later additions to SVr4.<EM>x</EM>, not appearing in the first SVr4 (1989). ++ They differed from X/Open's <EM>wadd</EM><STRONG>_</STRONG><EM>wch</EM> and <EM>wecho</EM><STRONG>_</STRONG><EM>wchar</EM> in that they each ++ took an argument of type <EM>wchar</EM><STRONG>_</STRONG><EM>t</EM> instead of <EM>cchar</EM><STRONG>_</STRONG><EM>t</EM>. ++ ++ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> describes comparable functions of the <EM>ncurses</EM> library in + its non-wide-character configuration. +@@ -355,7 +364,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +@@ -380,6 +389,7 @@ + <li><a href="#h3-Complex-Characters">Complex Characters</a></li> + </ul> + </li> ++<li><a href="#h2-HISTORY">HISTORY</a></li> + <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li> + </ul> + </div> +Index: doc/html/man/curs_addch.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_addch.3x.html 2024-05-25 22:33:41.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_addch.3x.html 2024-06-01 23:07:15.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_addch.3x,v 1.88 2024/05/25 21:13:32 tom Exp @ ++ * @Id: curs_addch.3x,v 1.90 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_addch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_addch 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_addch 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_addch 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> + +@@ -98,16 +98,14 @@ + <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>. + + If <EM>ch</EM> is any other nonprintable character, it is drawn in printable +- form using the same convention as <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>. +- +- Calling <STRONG><A HREF="curs_inch.3x.html">winch(3x)</A></STRONG> on the location of a nonprintable character does not +- return the character itself, but its <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG> representation. +- +- The object or expression <EM>ch</EM> may contain attributes and/or a color pair +- identifier. (A character with its attributes can be copied from place +- to place using <STRONG><A HREF="curs_inch.3x.html">winch(3x)</A></STRONG> and <STRONG>waddch</STRONG>.) See <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> for values of +- predefined video attribute constants that can be usefully "or"ed with +- characters. ++ form using the same convention as <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>. Calling <STRONG><A HREF="curs_inch.3x.html">winch(3x)</A></STRONG> on the ++ location of a nonprintable character does not return the character ++ itself, but its <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG> representation. ++ ++ The object or expression <EM>ch</EM> may contain attributes and/or a color pair ++ identifier. (A <EM>chtype</EM> can be copied from place to place using ++ <STRONG><A HREF="curs_inch.3x.html">winch(3x)</A></STRONG> and <STRONG>waddch</STRONG>.) See <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> for values of predefined ++ constants that can be usefully "or"ed with characters. + + + </PRE><H3><a name="h3-wechochar">wechochar</a></H3><PRE> +@@ -184,14 +182,15 @@ + + The last may be due to different causes: + +- <STRONG>o</STRONG> conversion of a multibyte character to a byte sequence can fail, or ++ <STRONG>o</STRONG> conversion of a wide character to a multibyte character sequence ++ can fail, or + +- <STRONG>o</STRONG> at least one of the bytes resulting from conversion from a +- multibyte sequence cannot be added to the window. See section +- "PORTABILITY" below regarding the use of <STRONG>waddch</STRONG> with multibyte +- characters. ++ <STRONG>o</STRONG> at least one of the bytes resulting from wide character conversion ++ to a multibyte character sequence cannot be added to the window. ++ See section "PORTABILITY" below regarding the use of <STRONG>waddch</STRONG> with ++ wide characters. + +- Functions prefixed with "mv" first perform cursor movement and fail if ++ Functions prefixed with "mv" first perform cursor movement and fail if + the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries. + + +@@ -202,18 +201,18 @@ + </PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE> + + </PRE><H3><a name="h3-TABSIZE">TABSIZE</a></H3><PRE> +- SVr4 and other versions of <EM>curses</EM> implement the <STRONG>TABSIZE</STRONG> variable, but ++ SVr4 and other versions of <EM>curses</EM> implement the <STRONG>TABSIZE</STRONG> variable, but + X/Open Curses does not specify it; see <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>. + + + </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE> +- X/Open Curses, Issue 4 describes these functions. It specifies no ++ X/Open Curses, Issue 4 describes these functions. It specifies no + error conditions for them. + +- SVr4 <EM>curses</EM> describes a successful return value only as "an integer ++ SVr4 <EM>curses</EM> describes a successful return value only as "an integer + value other than <STRONG>ERR</STRONG>". + +- The defaults specified for forms-drawing characters apply in the POSIX ++ The defaults specified for forms-drawing characters apply in the POSIX + locale. + + +@@ -222,72 +221,73 @@ + + Some implementations are problematic. + +- <STRONG>o</STRONG> Solaris <EM>curses</EM>, for example, defines the ACS symbols as constants; ++ <STRONG>o</STRONG> Solaris <EM>curses</EM>, for example, defines the ACS symbols as constants; + others define them as elements of an array. + +- This implementation uses an array, <STRONG>acs_map</STRONG>, as did SVr4 <EM>curses</EM>. ++ This implementation uses an array, <STRONG>acs_map</STRONG>, as did SVr4 <EM>curses</EM>. + NetBSD also uses an array, actually named <STRONG>_acs_char</STRONG>, with a <STRONG>#define</STRONG> + for compatibility. + +- <STRONG>o</STRONG> HP-UX <EM>curses</EM> equates some of the <STRONG>ACS_</STRONG> symbols to the analogous +- <STRONG>WACS_</STRONG> symbols as if the <STRONG>ACS_</STRONG> symbols were wide characters (see +- <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>). The misdefined symbols are the arrows and ++ <STRONG>o</STRONG> HP-UX <EM>curses</EM> equates some of the <STRONG>ACS_</STRONG> symbols to the analogous ++ <STRONG>WACS_</STRONG> symbols as if the <STRONG>ACS_</STRONG> symbols were wide characters (see ++ <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>). The misdefined symbols are the arrows and + others that are not used for line drawing. + +- <STRONG>o</STRONG> X/Open Curses (Issues 2 through 7) has a typographical error for +- the <STRONG>ACS_LANTERN</STRONG> symbol, equating its "VT100+ Character" to "I" +- (capital I), while the header files for SVr4 <EM>curses</EM> and other ++ <STRONG>o</STRONG> X/Open Curses (Issues 2 through 7) has a typographical error for ++ the <STRONG>ACS_LANTERN</STRONG> symbol, equating its "VT100+ Character" to "I" ++ (capital I), while the header files for SVr4 <EM>curses</EM> and other + implementations use "i" (small i). + +- None of the terminal descriptions on Unix platforms use uppercase +- I, except for Solaris (in its <EM>terminfo</EM> entry for <STRONG>screen(1)</STRONG>, +- apparently based on the X/Open documentation around 1995). On the +- other hand, its <STRONG>gs6300</STRONG> (AT&T PC6300 with EMOTS Terminal Emulator) ++ None of the terminal descriptions on Unix platforms use uppercase ++ I, except for Solaris (in its <EM>terminfo</EM> entry for <STRONG>screen(1)</STRONG>, ++ apparently based on the X/Open documentation around 1995). On the ++ other hand, its <STRONG>gs6300</STRONG> (AT&T PC6300 with EMOTS Terminal Emulator) + description uses lowercase i. + +- Some ACS symbols (<STRONG>ACS_S3</STRONG>, <STRONG>ACS_S7</STRONG>, <STRONG>ACS_LEQUAL</STRONG>, <STRONG>ACS_GEQUAL</STRONG>, <STRONG>ACS_PI</STRONG>, +- <STRONG>ACS_NEQUAL</STRONG>, and <STRONG>ACS_STERLING</STRONG>) were not documented in any publicly +- released System V. However, many publicly available <EM>terminfo</EM> entries +- include <STRONG>acsc</STRONG> capabilities in which their key characters (<STRONG>pryz{|}</STRONG>) are +- embedded, and a second-hand list of their character descriptions has +- come to light. The <EM>ncurses</EM> developers invented ACS-prefixed names for ++ Some ACS symbols (<STRONG>ACS_S3</STRONG>, <STRONG>ACS_S7</STRONG>, <STRONG>ACS_LEQUAL</STRONG>, <STRONG>ACS_GEQUAL</STRONG>, <STRONG>ACS_PI</STRONG>, ++ <STRONG>ACS_NEQUAL</STRONG>, and <STRONG>ACS_STERLING</STRONG>) were not documented in any publicly ++ released System V. However, many publicly available <EM>terminfo</EM> entries ++ include <STRONG>acsc</STRONG> capabilities in which their key characters (<STRONG>pryz{|}</STRONG>) are ++ embedded, and a second-hand list of their character descriptions has ++ come to light. The <EM>ncurses</EM> developers invented ACS-prefixed names for + them. + + The <EM>displayed</EM> values of <STRONG>ACS_</STRONG> constants depend on + + <STRONG>o</STRONG> the <EM>ncurses</EM> ABI--for example, wide-character versus non-wide- +- character configurations (the former is capable of displaying ++ character configurations (the former is capable of displaying + Unicode while the latter is not), and + + <STRONG>o</STRONG> whether the locale uses UTF-8 encoding. + +- In certain cases, the terminal is unable to display forms-drawing +- characters <EM>except</EM> by using UTF-8; see the discussion of the ++ In certain cases, the terminal is unable to display forms-drawing ++ characters <EM>except</EM> by using UTF-8; see the discussion of the + <EM>NCURSES</EM><STRONG>_</STRONG><EM>NO</EM><STRONG>_</STRONG><EM>UTF8</EM><STRONG>_</STRONG><EM>ACS</EM> environment variable in <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>. + + + </PRE><H3><a name="h3-Character-Set">Character Set</a></H3><PRE> +- X/Open Curses assumes that the parameter passed to <STRONG>waddch</STRONG> contains a +- single character. That character may have been more than eight bits +- wide in an SVr3 or SVr4 implementation, but X/Open Curses leaves the +- width of a non-wide character code unspecified. The standard further +- does not specify the internal structure of a <EM>chtype</EM>, though the use of +- bit operations to combine the character code with attributes and a ++ X/Open Curses assumes that the parameter passed to <STRONG>waddch</STRONG> contains a ++ single character. That character may have been more than eight bits ++ wide in an SVr3 or SVr4 implementation, but X/Open Curses leaves the ++ width of a non-wide character code unspecified. The standard further ++ does not specify the internal structure of a <EM>chtype</EM>, though the use of ++ bit operations to combine the character code with attributes and a + color pair identifier into a <EM>chtype</EM> for passage to <STRONG>waddch</STRONG> is common. A + portable application uses only the macros discussed in <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> to + manipulate a <EM>chtype</EM>. + + In <EM>ncurses</EM>, <EM>chtype</EM> holds an eight-bit character, but the library allows +- a multibyte character to be passed in a succession of calls to <STRONG>waddch</STRONG>. +- Other implementations do not; a <STRONG>waddch</STRONG> call transmits exactly one +- character, which may be rendered in one or more screen locations +- depending on whether it is printable (see <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>). Depending on +- the locale, <EM>ncurses</EM> inspects the byte passed in each <STRONG>waddch</STRONG> call and +- checks whether the latest call continues a multibyte sequence. When a +- character is <EM>complete</EM>, <EM>ncurses</EM> displays the character and advances the +- cursor. If the calling application interrupts the succession of bytes +- in a multibyte character sequence by changing the current location--for +- example, with <STRONG><A HREF="curs_move.3x.html">wmove(3x)</A></STRONG>--<EM>ncurses</EM> discards the incomplete character. ++ a multibyte character sequence to be passed via a succession of calls ++ to <STRONG>waddch</STRONG>. Other implementations do not; a <STRONG>waddch</STRONG> call transmits ++ exactly one character, which may be rendered in one or more screen ++ locations depending on whether it is printable (see <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>). ++ Depending on the locale, <EM>ncurses</EM> inspects the byte passed in each ++ <STRONG>waddch</STRONG> call and checks whether the latest call continues a multibyte ++ character. When a character is <EM>complete</EM>, <EM>ncurses</EM> displays the ++ character and advances the cursor. If the calling application ++ interrupts the succession of bytes in a multibyte character sequence by ++ changing the current location--for example, with <STRONG><A HREF="curs_move.3x.html">wmove(3x)</A></STRONG>--<EM>ncurses</EM> ++ discards the incomplete character. + + For portability to other implementations, do not rely upon the + foregoing behavior. Check whether a character can be represented as a +@@ -298,6 +298,12 @@ + <STRONG>o</STRONG> If it cannot, use only <STRONG><A HREF="curs_add_wch.3x.html">wadd_wch(3x)</A></STRONG>. + + ++</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> ++ The original <EM>curses</EM> in 4BSD (1980) introduced <EM>waddch</EM>. ++ ++ SVr3 (1987) added <EM>wechochar</EM>. ++ ++ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> describes comparable functions of the <EM>ncurses</EM> library + in its wide-character configuration (<EM>ncursesw</EM>). +@@ -308,7 +314,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +@@ -334,6 +340,7 @@ + <li><a href="#h3-Character-Set">Character Set</a></li> + </ul> + </li> ++<li><a href="#h2-HISTORY">HISTORY</a></li> + <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li> + </ul> + </div> +Index: doc/html/man/curs_addchstr.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_addchstr.3x.html 2024-05-11 22:32:32.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_addchstr.3x.html 2024-06-01 23:07:15.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_addchstr.3x,v 1.46 2024/05/11 20:39:53 tom Exp @ ++ * @Id: curs_addchstr.3x,v 1.48 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_addchstr 3x 2024-05-11 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_addchstr 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_addchstr 3x 2024-05-11 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_addchstr 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG> + +@@ -116,7 +116,7 @@ + + + +-ncurses 6.5 2024-05-11 <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_addchstr.3x.html">curs_addchstr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_addstr.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_addstr.3x.html 2024-05-25 22:33:41.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_addstr.3x.html 2024-06-01 23:07:15.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_addstr.3x,v 1.47 2024/05/25 20:45:40 tom Exp @ ++ * @Id: curs_addstr.3x,v 1.49 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_addstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_addstr 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_addstr 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_addstr 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> + +@@ -109,7 +109,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_addwstr.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_addwstr.3x.html 2024-05-25 22:33:41.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_addwstr.3x.html 2024-06-01 23:07:15.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_addwstr.3x,v 1.39 2024/05/25 20:10:58 tom Exp @ ++ * @Id: curs_addwstr.3x,v 1.41 2024/06/01 22:30:17 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_addwstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_addwstr 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_addwstr 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_addwstr 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> + +@@ -87,16 +87,15 @@ + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + These functions return <STRONG>OK</STRONG> on success and <STRONG>ERR</STRONG> on failure. + +- X/Open Curses does not specify any error conditions. <EM>ncurses</EM> returns +- <STRONG>ERR</STRONG> ++ In <EM>ncurses</EM>, they return <STRONG>ERR</STRONG> if + +- <STRONG>o</STRONG> if the window pointer is <STRONG>NULL</STRONG>, ++ <STRONG>o</STRONG> <EM>win</EM> is <STRONG>NULL</STRONG>, + +- <STRONG>o</STRONG> if the string pointer is <STRONG>NULL</STRONG>, or ++ <STRONG>o</STRONG> <EM>wstr</EM> is <STRONG>NULL</STRONG>, or + +- <STRONG>o</STRONG> if an internal <STRONG><A HREF="curs_add_wch.3x.html">wadd_wch(3x)</A></STRONG> call returns an error. ++ <STRONG>o</STRONG> an internal <STRONG><A HREF="curs_add_wch.3x.html">wadd_wch(3x)</A></STRONG> call returns <STRONG>ERR</STRONG>. + +- Functions prefixed with "mv" first perform cursor movement and fail if ++ Functions prefixed with "mv" first perform cursor movement and fail if + the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries. + + +@@ -109,14 +108,14 @@ + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +- <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> describes comparable functions of the <EM>ncurses</EM> library ++ <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> describes comparable functions of the <EM>ncurses</EM> library + in its non-wide-character configuration. + + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_add_wchstr.3x.html">curs_add_wchstr(3x)</A></STRONG> + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_getch.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_getch.3x.html 2024-05-25 22:33:42.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_getch.3x.html 2024-06-01 23:07:16.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_getch.3x,v 1.93 2024/05/25 20:57:17 tom Exp @ ++ * @Id: curs_getch.3x,v 1.95 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_getch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_getch 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_getch 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_getch 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> + +@@ -141,7 +141,7 @@ + does not arrive within the designated time, <STRONG>wgetch</STRONG> returns the prefix + character; otherwise, it returns the function key code corresponding to + the unique sequence defined by the terminal. Consequently, a user of a +- <EM>curses</EM> application may experience a delay after they escape key is ++ <EM>curses</EM> application may experience a delay after the escape key is + pressed while <EM>curses</EM> disambiguates the input; see section "EXTENSIONS" + below. If the window is in "no time-out" mode, the timer does not + expire; it is an infinite (or very large) value. See <STRONG><A HREF="notimeout.3x.html">notimeout(3x)</A></STRONG>. +@@ -320,6 +320,8 @@ + + + </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE> ++ <STRONG>getch</STRONG>, <STRONG>mvgetch</STRONG>, and <STRONG>mvwgetch</STRONG> may be implemented as macros. ++ + <EM>curses</EM> discourages assignment of the ESC key to a discrete function by + the programmer because the library requires a delay while it awaits the + potential remainder of a terminal escape sequence. +@@ -359,14 +361,12 @@ + Historically, the list of key code macros above was influenced by the + keyboard of the AT&T 7300 (also known variously as the "3B1", "Safari + 4", and "UNIX PC"), a 1985 machine rich in function keys. Today's +- computer keyboards are based that of the IBM PC/AT and tend to have ++ computer keyboards are based on that of the IBM PC/AT and tend to have + fewer. A <EM>curses</EM> application can expect such a keyboard to transmit key + codes <STRONG>KEY_UP</STRONG>, <STRONG>KEY_DOWN</STRONG>, <STRONG>KEY_LEFT</STRONG>, <STRONG>KEY_RIGHT</STRONG>, <STRONG>KEY_HOME</STRONG>, <STRONG>KEY_END</STRONG>, + <STRONG>KEY_PPAGE</STRONG> (Page Up), <STRONG>KEY_NPAGE</STRONG> (Page Down), <STRONG>KEY_IC</STRONG> (Insert), <STRONG>KEY_DC</STRONG> + (Delete), and <STRONG>KEY_F(</STRONG><EM>n</EM><STRONG>)</STRONG> for 1 <= <EM>n</EM> <= 12. + +- <STRONG>getch</STRONG>, <STRONG>mvgetch</STRONG>, and <STRONG>mvwgetch</STRONG> may be implemented as macros. +- + + </PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE> + In <EM>ncurses</EM>, when a window's "no time-out" mode is <EM>not</EM> set, the <STRONG>ESCDELAY</STRONG> +@@ -396,10 +396,10 @@ + <EM>curses</EM> implementations, it varied depending on whether the operating + system's dispatch of a signal to a handler interrupted a <STRONG>read(2)</STRONG> call + in progress, and also (in some implementations) whether an input +- timeout or non-blocking mode had been set. Programmers concerned about +- portability should be prepared for either of two cases: (a) signal +- receipt does not interrupt <STRONG>wgetch</STRONG>; or (b) signal receipt interrupts +- <STRONG>wgetch</STRONG> and causes it to return <STRONG>ERR</STRONG> with <STRONG>errno</STRONG> set to <STRONG>EINTR</STRONG>. ++ timeout or non-blocking mode had been set. A portable <EM>curses</EM> ++ application prepares for two cases: (a) signal receipt does not ++ interrupt <STRONG>wgetch</STRONG>; or (b) signal receipt interrupts <STRONG>wgetch</STRONG> and causes it ++ to return <STRONG>ERR</STRONG> with <STRONG>errno</STRONG> set to <STRONG>EINTR</STRONG>. + + <STRONG>KEY_MOUSE</STRONG> is mentioned in X/Open Curses, along with a few related <EM>term-</EM> + <EM>info</EM> capabilities, but no higher-level functions use the feature. The +@@ -426,7 +426,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_getstr.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_getstr.3x.html 2024-05-25 22:33:42.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_getstr.3x.html 2024-06-01 23:07:16.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_getstr.3x,v 1.61 2024/05/25 20:10:58 tom Exp @ ++ * @Id: curs_getstr.3x,v 1.63 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_getstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_getstr 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_getstr 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_getstr 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG> + +@@ -242,7 +242,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_inch.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_inch.3x.html 2024-05-25 22:33:42.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_inch.3x.html 2024-06-01 23:07:16.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_inch.3x,v 1.56 2024/05/25 20:10:58 tom Exp @ ++ * @Id: curs_inch.3x,v 1.58 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_inch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_inch 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_inch 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_inch 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG> + +@@ -125,7 +125,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_initscr.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_initscr.3x.html 2024-05-25 22:33:42.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_initscr.3x.html 2024-06-01 23:07:16.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_initscr.3x,v 1.71 2024/05/25 20:10:58 tom Exp @ ++ * @Id: curs_initscr.3x,v 1.73 2024/06/01 22:38:43 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_initscr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_initscr 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_initscr 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_initscr 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> + +@@ -286,11 +286,15 @@ + <STRONG>SIGWINCH</STRONG> + This handles the window-size changes which were ignored in the + standardization efforts. The handler sets a (signal-safe) +- variable which is later tested in <STRONG><A HREF="curs_getch.3x.html">wgetch(3x)</A></STRONG>. If <STRONG>keypad</STRONG> has been +- enabled for the corresponding window, <STRONG>wgetch</STRONG> returns the key +- symbol <STRONG>KEY_RESIZE</STRONG>. At the same time, <STRONG>wgetch</STRONG> calls <STRONG>resizeterm</STRONG> to +- adjust the standard screen <STRONG>stdscr</STRONG>, and update other data such as +- <STRONG>LINES</STRONG> and <STRONG>COLS</STRONG>. ++ variable that is later tested by <STRONG><A HREF="curs_getch.3x.html">wgetch(3x)</A></STRONG> and <STRONG><A HREF="curs_get_wch.3x.html">wget_wch(3x)</A></STRONG>: ++ ++ <STRONG>o</STRONG> <STRONG>wgetch</STRONG> returns the key code <STRONG>KEY_RESIZE</STRONG>. ++ ++ <STRONG>o</STRONG> <STRONG>wget_wch</STRONG> returns <STRONG>KEY_CODE_YES</STRONG> and sets its <EM>wch</EM> parameter to ++ <STRONG>KEY_RESIZE</STRONG>. ++ ++ At the same time, <EM>ncurses</EM> calls <STRONG>resizeterm</STRONG> to adjust the standard ++ screen <STRONG>stdscr</STRONG>, and update other data such as <STRONG>LINES</STRONG> and <STRONG>COLS</STRONG>. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +@@ -299,7 +303,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_inopts.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_inopts.3x.html 2024-05-25 22:42:50.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_inopts.3x.html 2024-06-01 23:07:16.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_inopts.3x,v 1.68 2024/05/25 20:41:48 tom Exp @ ++ * @Id: curs_inopts.3x,v 1.70 2024/06/01 22:28:41 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_inopts 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_inopts 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_inopts 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_inopts 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> + +@@ -220,8 +220,8 @@ + control characters uninterpreted to the application, instead of + generating a signal or acting on I/O flow. The behavior of the + terminal's "Break" key (if any) depends on terminal driver +- configuration parameters that <EM>curses</EM> does not handle. <STRONG>noraw</STRONG> exits raw +- mode. ++ configuration parameters that <EM>curses</EM> does not handle. <STRONG>noraw</STRONG> returns ++ the terminal to normal ("cooked") mode. + + + </PRE><H3><a name="h3-timeout_wtimeout">timeout, wtimeout</a></H3><PRE> +@@ -326,27 +326,26 @@ + <STRONG><A HREF="tic.1m.html">tic(1)</A></STRONG>, then <EM>ncurses</EM> also defines keys for the capabilities whose names + begin with "k". Corresponding key codes are generated and (depending + on previous loads of terminal descriptions) may differ from one +- execution of a program to the next. The generated keycodes are +- recognized by the <STRONG><A HREF="curs_util.3x.html">keyname(3x)</A></STRONG> function (which then returns a name +- beginning with "k" denoting the <EM>terminfo</EM> capability name rather than +- "K", used for <EM>curses</EM> key names). On the other hand, an application can +- use <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> to bind a specific key to a string of the +- programmer's choice. This feature enables an application to check for +- an extended capability's presence with <STRONG><A HREF="curs_terminfo.3x.html">tigetstr(3x)</A></STRONG>, and reassign the +- keycode to match its own needs. ++ execution of a program to the next. The generated key codes are ++ recognized by <STRONG><A HREF="curs_util.3x.html">keyname(3x)</A></STRONG>, which then returns a name beginning with "k" ++ denoting the <EM>terminfo</EM> capability name rather than "K", used for <EM>curses</EM> ++ key names. On the other hand, an application can use <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> to ++ bind a specific key to a string of the programmer's choice. This ++ feature enables an application to check for its presence with ++ <STRONG><A HREF="curs_terminfo.3x.html">tigetstr(3x)</A></STRONG>, and reassign the key code to match its own needs. + + Low-level applications can use <STRONG><A HREF="curs_terminfo.3x.html">tigetstr(3x)</A></STRONG> to obtain the definition of +- any string capability. <EM>curses</EM> applications use the input character ++ any string capability. <EM>curses</EM> applications use the input character + reading function to obtain key codes from input and rely upon the order +- in which the string capabilities are loaded. Multiple key capability +- strings can have the same value, but the input character reading +- function can report only one key code. Most <EM>curses</EM> implementations +- (including <EM>ncurses</EM>) load key definitions in the order they appear in ++ in which the string capabilities are loaded. Multiple key capability ++ strings can have the same value, but the input character reading ++ function can report only one key code. Most <EM>curses</EM> implementations ++ (including <EM>ncurses</EM>) load key definitions in the order they appear in + the <STRONG>strfnames</STRONG> array of string capability names; see <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>. +- The last capability read using a particular definition determines the +- key code to be reported. In <EM>ncurses</EM>, extended capabilities can be +- interpreted as key definitions. These are loaded after the predefined +- keys, and if a capability's value is the same as a previously loaded ++ The last capability read using a particular definition determines the ++ key code to be reported. In <EM>ncurses</EM>, extended capabilities can be ++ interpreted as key definitions. These are loaded after the predefined ++ keys, and if a capability's value is the same as a previously loaded + key definition, the later definition is the one used. + + +@@ -357,31 +356,31 @@ + support it with <EM>cbreak</EM>, <EM>nocbreak</EM>, <EM>intrflush</EM>, <EM>keypad</EM>, <EM>meta</EM>, <EM>nodelay</EM>, and + <EM>typeahead</EM>. + +- SVr3 (1987) added <EM>halfdelay</EM>, <EM>notimeout</EM>, and <EM>wtimeout</EM>. <EM>qiflush</EM> and +- <EM>noqiflush</EM> appeared in SVr3.1 (1987), at which point <EM>intrflush</EM> became a +- wrapper for either of these functions, depending on the value of its ++ SVr3 (1987) added <EM>halfdelay</EM>, <EM>notimeout</EM>, and <EM>wtimeout</EM>. <EM>qiflush</EM> and ++ <EM>noqiflush</EM> appeared in SVr3.1 (1987), at which point <EM>intrflush</EM> became a ++ wrapper for either of these functions, depending on the value of its + Boolean argument. SVr3.1 also added <EM>timeout</EM>. + + <EM>ncurses</EM> 6.5 (2024) introduced <EM>is</EM><STRONG>_</STRONG><EM>cbreak</EM>, <EM>is</EM><STRONG>_</STRONG><EM>echo</EM>, <EM>is</EM><STRONG>_</STRONG><EM>nl</EM>, and <EM>is</EM><STRONG>_</STRONG><EM>raw</EM>. + +- Formerly, <EM>ncurses</EM> used <EM>nl</EM> and <EM>nonl</EM> to control the conversion of +- newlines to carriage return/line feed on output as well as input. +- X/Open Curses documents the use of these functions only for input. +- This difference arose from converting the <EM>pcurses</EM> source (1986), which +- used <STRONG>ioctl(2)</STRONG> calls and the <EM>sgttyb</EM> structure, to <EM>termios</EM> (the POSIX +- terminal API). In the former, both input and output were controlled ++ Formerly, <EM>ncurses</EM> used <EM>nl</EM> and <EM>nonl</EM> to control the conversion of ++ newlines to carriage return/line feed on output as well as input. ++ X/Open Curses documents the use of these functions only for input. ++ This difference arose from converting the <EM>pcurses</EM> source (1986), which ++ used <STRONG>ioctl(2)</STRONG> calls and the <EM>sgttyb</EM> structure, to <EM>termios</EM> (the POSIX ++ terminal API). In the former, both input and output were controlled + via a single option "CRMOD", while the latter separates these features. +- Because that conversion interferes with output optimization, <EM>ncurses</EM> ++ Because that conversion interferes with output optimization, <EM>ncurses</EM> + 6.2 (2020) amended <EM>nl</EM> and <EM>nonl</EM> to eliminate their effect on output. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +- <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>, ++ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>, + <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>, <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>, <STRONG>termios(3)</STRONG> + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_instr.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_instr.3x.html 2024-05-25 22:33:42.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_instr.3x.html 2024-06-01 23:07:16.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_instr.3x,v 1.53 2024/05/25 20:10:58 tom Exp @ ++ * @Id: curs_instr.3x,v 1.55 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_instr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_instr 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_instr 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_instr 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> + +@@ -116,7 +116,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_scr_dump.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_scr_dump.3x.html 2024-04-27 18:38:47.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_scr_dump.3x.html 2024-06-01 23:07:17.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_scr_dump.3x,v 1.43 2024/04/20 18:54:36 tom Exp @ ++ * @Id: curs_scr_dump.3x,v 1.45 2024/06/01 22:29:45 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_scr_dump 3x 2024-04-20 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_scr_dump 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_scr_dump 3x 2024-04-20 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_scr_dump 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG> + +@@ -54,10 +54,10 @@ + </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE> + <STRONG>#include</STRONG> <STRONG><curses.h></STRONG> + +- <STRONG>int</STRONG> <STRONG>scr_dump(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG><EM>filename</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>scr_restore(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG><EM>filename</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>scr_init(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG><EM>filename</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>scr_set(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG><EM>filename</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>scr_dump(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG> <EM>filename</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>scr_restore(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG> <EM>filename</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>scr_init(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG> <EM>filename</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>scr_set(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG> <EM>filename</EM><STRONG>);</STRONG> + + + </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE> +@@ -73,65 +73,85 @@ + + + </PRE><H3><a name="h3-scr_restore">scr_restore</a></H3><PRE> +- <STRONG>scr_restore</STRONG> updates the virtual screen to contain the contents of +- <EM>filename</EM> (if it was validly written with <STRONG>scr_dump</STRONG>). No refresh is +- performed; after performing any further desired updates, call +- <STRONG><A HREF="curs_refresh.3x.html">doupdate(3x)</A></STRONG> or similar. ++ <STRONG>scr_restore</STRONG> updates the virtual screen to match the contents of ++ <EM>filename</EM> (if validly written with <STRONG>scr_dump</STRONG>). <EM>curses</EM> does not perform a ++ refresh; after making any desired changes, call <STRONG><A HREF="curs_refresh.3x.html">doupdate(3x)</A></STRONG> or ++ similar. + + + </PRE><H3><a name="h3-scr_init">scr_init</a></H3><PRE> + <STRONG>scr_init</STRONG> reads <EM>filename</EM>, using it to initialize <EM>curses</EM> data structures +- describing the state of the terminal screen. If these data are valid, +- <EM>curses</EM> bases its next update of the screen on this information rather +- than clearing it and starting from scratch. ++ describing the state of the terminal screen. <EM>curses</EM> then, if it ++ decides the terminal state is valid, bases its next update of the ++ screen on this information rather than clearing it and starting from ++ scratch. + +- The data fail the validity check ++ <EM>curses</EM> regards the terminal being in an invalid state for computation ++ of updates based on the contents of <EM>filename</EM> if + +- <STRONG>o</STRONG> if the terminal employs <EM>terminfo</EM> capabilities <STRONG>exit_ca_mode</STRONG> (<STRONG>rmcup</STRONG>) +- or <STRONG>non_rev_rmcup</STRONG> (<STRONG>nrrmc</STRONG>) are defined, or ++ <STRONG>o</STRONG> the terminal type supports the <EM>terminfo</EM> capabilities <STRONG>exit_ca_mode</STRONG> ++ (<STRONG>rmcup</STRONG>) or <STRONG>non_rev_rmcup</STRONG> (<STRONG>nrrmc</STRONG>), or + +- <STRONG>o</STRONG> if <EM>curses</EM> knows that the terminal has been written to since the ++ <STRONG>o</STRONG> <EM>curses</EM> knows that the terminal has been written to since the + preceding <STRONG>scr_dump</STRONG> call. + +- <STRONG>scr_init</STRONG> could be used after <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG> or <STRONG>system(3)</STRONG> to share the +- screen with another process that has done a <STRONG>scr_dump</STRONG> after <STRONG><A HREF="curs_initscr.3x.html">endwin(3x)</A></STRONG>. ++ Either of the foregoing conditions means that <EM>curses</EM> cannot assume that ++ the terminal's contents match their representation in <EM>filename</EM>. The ++ former is due to terminal features (such as <STRONG>xterm(1)</STRONG>'s "alternate ++ screen") that couple cursor-positioning mode with a local cache of ++ screen contents. <EM>curses</EM> cannot know whether terminal is displaying ++ from that local cache at the time the application calls <STRONG>scr_init</STRONG>, so it ++ makes a pessimistic assumption that a full redraw is required; see ++ subsection "Cursor Motions" of <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. ++ ++ <STRONG>scr_init</STRONG> could be used after <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG> or <STRONG>system(3)</STRONG> to share the ++ screen with another process that has done a <STRONG>scr_dump</STRONG> after <STRONG><A HREF="curs_initscr.3x.html">endwin(3x)</A></STRONG>. ++ An application that supports suspending its state on exit and ++ subsequent resumption upon later execution might use <STRONG>scr_dump</STRONG> and ++ <STRONG>scr_init</STRONG> thus. + + + </PRE><H3><a name="h3-scr_set">scr_set</a></H3><PRE> +- The <STRONG>scr_set</STRONG> routine is a combination of <STRONG>scr_restore</STRONG> and <STRONG>scr_init</STRONG>. It +- tells the program that the information in <EM>filename</EM> is what is currently +- on the screen, and also what the program wants on the screen. This can +- be thought of as a screen inheritance function. ++ <STRONG>scr_set</STRONG> combines <STRONG>scr_restore</STRONG> and <STRONG>scr_init</STRONG>, synchronizing the contents ++ of <EM>filename</EM> with the virtual screen. It can be regarded as a screen ++ inheritance function; consider a real-time screen-sharing application. + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + These functions return <STRONG>OK</STRONG> on success and <STRONG>ERR</STRONG> on failure. + +- X/Open defines no failure conditions. In this implementation, each +- function fails if it cannot open <EM>filename</EM>. ++ In <EM>ncurses</EM>, each function returns <STRONG>ERR</STRONG> if it cannot open <EM>filename</EM>. ++ <STRONG>scr_init</STRONG>, <STRONG>scr_restore</STRONG>, and <STRONG>scr_set</STRONG> return <STRONG>ERR</STRONG> if the contents of ++ <EM>filename</EM> are invalid. + + + </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE> +- <STRONG>scr_init</STRONG>, <STRONG>scr_set</STRONG>, and <STRONG>scr_restore</STRONG> may be macros. ++ <STRONG>scr_init</STRONG>, <STRONG>scr_restore</STRONG>, and <STRONG>scr_set</STRONG> may be implemented as macros. + + + </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE> +- X/Open Curses, Issue 4 describes these functions. ++ X/Open Curses, Issue 4 describes these functions. It specifies no ++ error conditions for them. + + SVr4 omitted the <EM>const</EM> qualifiers. + +- SVr4 documentation describes <STRONG>scr_init</STRONG> such that the dump data is also +- considered invalid "if the time-stamp of the tty is old" but does not ++ SVr4 documentation describes <STRONG>scr_init</STRONG> such that the dump data is also ++ considered invalid "if the time-stamp of the tty is old" but does not + define "old". + + ++</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> ++ SVr3 (1987) introduced <STRONG>scr_dump</STRONG>, <STRONG>scr_init</STRONG>, and <STRONG>scr_restore</STRONG>. SVr3.1 ++ added <STRONG>scr_set</STRONG>. ++ ++ + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> + <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>, +- <STRONG>system(3)</STRONG>, <STRONG><A HREF="scr_dump.5.html">scr_dump(5)</A></STRONG> ++ <STRONG>system(3)</STRONG>, <STRONG><A HREF="scr_dump.5.html">scr_dump(5)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> + + + +-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +@@ -148,6 +168,7 @@ + <li><a href="#h2-RETURN-VALUE">RETURN VALUE</a></li> + <li><a href="#h2-NOTES">NOTES</a></li> + <li><a href="#h2-PORTABILITY">PORTABILITY</a></li> ++<li><a href="#h2-HISTORY">HISTORY</a></li> + <li><a href="#h2-SEE-ALSO">SEE ALSO</a></li> + </ul> + </div> +Index: doc/html/man/curs_terminfo.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_terminfo.3x.html 2024-05-25 22:33:43.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_terminfo.3x.html 2024-06-01 23:07:17.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_terminfo.3x,v 1.138 2024/05/25 21:02:40 tom Exp @ ++ * @Id: curs_terminfo.3x,v 1.140 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_terminfo 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_terminfo 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_terminfo 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_terminfo 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG> + +@@ -660,7 +660,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_util.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_util.3x.html 2024-05-25 22:33:43.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_util.3x.html 2024-06-01 23:07:17.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_util.3x,v 1.104 2024/05/25 20:10:58 tom Exp @ ++ * @Id: curs_util.3x,v 1.106 2024/06/01 22:28:18 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_util 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_util 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_util 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_util 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> + +@@ -121,7 +121,7 @@ + implementations return rather than null. + + The corresponding <STRONG>key_name</STRONG> returns a multibyte character string +- corresponding to the wide-character value <EM>w</EM>. The two functions ++ corresponding to the wide-character value <EM>wc</EM>. The two functions + (<STRONG>keyname</STRONG> and <STRONG>key_name</STRONG>) do not return the same set of strings: + + <STRONG>o</STRONG> <STRONG>keyname</STRONG> returns null where <STRONG>key_name</STRONG> would display a meta character. +@@ -287,13 +287,13 @@ + </PRE><H3><a name="h3-keyname">keyname</a></H3><PRE> + The <STRONG>keyname</STRONG> function may return the names of user-defined string + capabilities which are defined in the terminfo entry via the <STRONG>-x</STRONG> option +- of <STRONG>tic</STRONG>. This implementation automatically assigns at run-time keycodes +- to user-defined strings which begin with "k". The keycodes start at +- KEY_MAX, but are not guaranteed to be the same value for different runs +- because user-defined codes are merged from all terminal descriptions +- which have been loaded. The <STRONG><A HREF="curs_extend.3x.html">use_extended_names(3x)</A></STRONG> function controls +- whether this data is loaded when the terminal description is read by +- the library. ++ of <STRONG>tic</STRONG>. This implementation automatically assigns at run-time key ++ codes to user-defined strings which begin with "k". The key codes ++ start at KEY_MAX, but are not guaranteed to be the same value for ++ different runs because user-defined codes are merged from all terminal ++ descriptions which have been loaded. The <STRONG><A HREF="curs_extend.3x.html">use_extended_names(3x)</A></STRONG> ++ function controls whether this data is loaded when the terminal ++ description is read by the library. + + + </PRE><H3><a name="h3-nofilter_use_tioctl">nofilter, use_tioctl</a></H3><PRE> +@@ -390,7 +390,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_window.3x.html +--- ncurses-6.5-20240525+/doc/html/man/curs_window.3x.html 2024-05-25 22:33:43.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/curs_window.3x.html 2024-06-01 23:07:17.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_window.3x,v 1.50 2024/05/25 20:43:47 tom Exp @ ++ * @Id: curs_window.3x,v 1.52 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>curs_window 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_window 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_window 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_window 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> + +@@ -248,7 +248,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/ncurses.3x.html +--- ncurses-6.5-20240525+/doc/html/man/ncurses.3x.html 2024-05-25 22:33:44.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/ncurses.3x.html 2024-06-01 23:07:19.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: ncurses.3x,v 1.219 2024/05/25 20:57:45 tom Exp @ ++ * @Id: ncurses.3x,v 1.221 2024/06/01 22:29:08 tom Exp @ + --> + <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> + <HTML> + <HEAD> + <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts"> +-<TITLE>ncurses 3x 2024-05-25 ncurses 6.5 Library calls</TITLE> ++<TITLE>ncurses 3x 2024-06-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">ncurses 3x 2024-05-25 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">ncurses 3x 2024-06-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> Library calls <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> + +@@ -61,7 +61,7 @@ + terminals with output optimized to minimize screen updates. <EM>ncurses</EM> + replaces the <EM>curses</EM> libraries from System V Release 4 Unix ("SVr4") and + 4.4BSD Unix, the development of which ceased in the 1990s. This +- document describes <EM>ncurses</EM> version 6.5 (patch 20240525). ++ document describes <EM>ncurses</EM> version 6.5 (patch 20240601). + + <EM>ncurses</EM> permits control of the terminal screen's contents; abstraction + and subdivision thereof with <EM>windows</EM> and <EM>pads</EM>; acquisition of keyboard +@@ -157,7 +157,7 @@ + Functions permit manipulation of a window and the <EM>cursor</EM> identifying + the cell within it at which the next output operation will occur. + Among those, the most basic are <STRONG><A HREF="curs_move.3x.html">move(3x)</A></STRONG> and <STRONG><A HREF="curs_addch.3x.html">addch(3x)</A></STRONG>: these place the +- cursor and write a character to <STRONG>stdscr</STRONG>, respectively. ++ cursor within and write a character to <STRONG>stdscr</STRONG>, respectively. + + Frequent changes to the terminal screen can cause unpleasant flicker or + inefficient use of the communication channel to the device, so as a +@@ -232,7 +232,7 @@ + Four functions prefixed with "p" require a pad argument. + + In function synopses, <EM>ncurses</EM> man pages apply the following names to +- parameters. ++ parameters. We introduce the character types in the next subsection. + + <EM>bf</EM> a <EM>bool</EM> (<STRONG>TRUE</STRONG> or <STRONG>FALSE</STRONG>) + <EM>c</EM> a <EM>char</EM> or <EM>int</EM> +@@ -264,13 +264,27 @@ + + <EM>ncursesw</EM> is the library in its "wide" configuration, which handles + character encodings requiring a larger data type than <EM>char</EM> (a +- byte-sized type) can represent. It adds about one third more +- calls using additional data types that can store such +- <EM>multibyte</EM> characters. ++ byte-sized type) can represent. It provides additional ++ functions that complement those in the non-wide library where ++ the size of the underlying character type is significant. A ++ somewhat regular naming convention relates many of the wide ++ variants to their non-wide counterparts; where a non-wide ++ function name contains "ch" or "str", prefix it with "_w" to ++ obtain the wide counterpart. For example, <STRONG>waddch</STRONG> becomes ++ <STRONG>wadd_wch</STRONG>. (Exceptions that add only "w" comprise <STRONG>addwstr</STRONG>, ++ <STRONG>inwstr</STRONG>, and their variants.) ++ ++ This convention is inapplicable to some non-wide function ++ names, so other transformations are used for the wide ++ configuration: the window background management function ++ "bkgd" becomes "bkgrnd"; the window border-drawing and ++ -clearing functions are suffixed with "_set"; and character ++ attribute manipulation functions like "attron" become ++ "attr_on". + + <EM>cchar</EM><STRONG>_</STRONG><EM>t</EM> corresponds to the non-wide configuration's <EM>chtype</EM>. +- It always a structure type, because it stores more +- data than fit into a standard scalar type. A ++ It is a structure type because it requires more ++ storage than fits into a standard scalar type. A + character code may not be representable as a <EM>char</EM>, + and moreover more than one character may occupy a + cell (as with accent marks and other diacritics). +@@ -303,24 +317,6 @@ + analogously to the <EM>int</EM>-sized character manipulation + functions of ISO C and its constant <STRONG>EOF</STRONG>. + +- The wide library provides additional functions that +- complement those in the non-wide library where the size of +- the underlying character type is significant. A somewhat +- regular naming convention relates many of the wide variants +- to their non-wide counterparts; where a non-wide function +- name contains "ch" or "str", prefix it with "_w" to obtain +- the wide counterpart. For example, <STRONG>waddch</STRONG> becomes <STRONG>wadd_wch</STRONG>. +- (Exceptions that add only "w" comprise <STRONG>addwstr</STRONG>, <STRONG>inwstr</STRONG>, and +- their variants.) +- +- This convention is inapplicable to some non-wide function +- names, so other transformations are used for the wide +- configuration: the window background management function +- "bkgd" becomes "bkgrnd"; the window border-drawing and +- -clearing functions are suffixed with "_set"; and character +- attribute manipulation functions like "attron" become +- "attr_on". +- + + </PRE><H3><a name="h3-Function-Name-Index">Function Name Index</a></H3><PRE> + The following table lists the <EM>curses</EM> functions provided in the non-wide +@@ -382,11 +378,11 @@ + delch <STRONG><A HREF="curs_delch.3x.html">curs_delch(3x)</A></STRONG> + deleteln <STRONG><A HREF="curs_deleteln.3x.html">curs_deleteln(3x)</A></STRONG> + delscreen <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> +- + delwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> + derwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> + doupdate <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG> + dupwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> ++ + echo <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> + echo_wchar <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> + echochar <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> +@@ -449,11 +445,11 @@ + inchstr <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG> + init_color <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG> + init_extended_color <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>* +- + init_extended_pair <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>* + init_pair <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG> + initscr <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> + innstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> ++ + innwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG> + ins_nwstr <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG> + ins_wch <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG> +@@ -513,14 +509,14 @@ + mvaddstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> + mvaddwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> + mvchgat <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> +- mvcur <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG> ++ mvcur <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG> + mvdelch <STRONG><A HREF="curs_delch.3x.html">curs_delch(3x)</A></STRONG> + mvderwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> +- + mvget_wch <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG> + mvget_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG> + mvgetch <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> + mvgetn_wstr <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG> ++ + mvgetnstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG> + mvgetstr <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG> + mvhline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG> +@@ -583,11 +579,11 @@ + mvwinstr <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> + mvwinwstr <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG> + mvwprintw <STRONG><A HREF="curs_printw.3x.html">curs_printw(3x)</A></STRONG> +- + mvwscanw <STRONG><A HREF="curs_scanw.3x.html">curs_scanw(3x)</A></STRONG> + mvwvline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG> + mvwvline_set <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG> + napms <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG> ++ + newpad <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG> + newterm <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> + newwin <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> +@@ -650,11 +646,11 @@ + slk_color <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> + slk_init <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> + slk_label <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> +- + slk_noutrefresh <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> + slk_refresh <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> + slk_restore <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> + slk_set <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> ++ + slk_touch <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> + slk_wset <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> + standend <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> +@@ -717,11 +713,11 @@ + waddnwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> + waddstr <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> + waddwstr <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> +- + wattr_get <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> + wattr_off <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> + wattr_on <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> + wattr_set <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> ++ + wattroff <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> + wattron <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> + wattrset <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> +@@ -784,11 +780,11 @@ + wscrl <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG> + wsetscrreg <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG> + wstandend <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> +- + wstandout <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> + wsyncdown <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> + wsyncup <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> + wtimeout <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> ++ + wtouchln <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG> + wunctrl <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> + wvline <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG> +@@ -833,9 +829,9 @@ + <EM>terminfo</EM> entries changes to the value of this variable. Very few <EM>term-</EM> + <EM>info</EM> entries provide this feature. + +- Because this name is also used in development environments to represent +- the C compiler's name, <EM>ncurses</EM> ignores its value if it is not one +- character in length. ++ Because this name is also used in development environments to store the ++ C compiler's name, <EM>ncurses</EM> ignores its value if it is not one character ++ in length. + + + </PRE><H3><a name="h3-COLUMNS"><EM>COLUMNS</EM></a></H3><PRE> +@@ -1489,7 +1485,7 @@ + + + +-ncurses 6.5 2024-05-25 <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> ++ncurses 6.5 2024-06-01 <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/terminfo.5.html +--- ncurses-6.5-20240525+/doc/html/man/terminfo.5.html 2024-05-25 22:33:45.000000000 +0000 ++++ ncurses-6.5-20240601/doc/html/man/terminfo.5.html 2024-06-01 23:07:19.000000000 +0000 +@@ -71,7 +71,7 @@ + have, by specifying how to perform screen operations, and by specifying + padding requirements and initialization sequences. + +- This document describes <EM>ncurses</EM> version 6.5 (patch 20240525). ++ This document describes <EM>ncurses</EM> version 6.5 (patch 20240601). + + + </PRE><H3><a name="h3-terminfo-Entry-Syntax"><EM>terminfo</EM> Entry Syntax</a></H3><PRE> +Index: doc/ncurses-intro.doc +--- ncurses-6.5-20240525+/doc/ncurses-intro.doc 2022-12-31 20:38:47.000000000 +0000 ++++ ncurses-6.5-20240601/doc/ncurses-intro.doc 2024-06-01 23:15:23.000000000 +0000 +@@ -153,9 +153,8 @@ + source-code or documentation; the tic and infocmp programs are the + exceptions. + +- System V Release 3 (System III UNIX) from Bell Labs featured a +- rewritten and much-improved curses library, along with the tic program +- (late 1986). ++ System V Release 3 from Bell Labs featured a rewritten and ++ much-improved curses library, along with the tic program (late 1986). + + To recap, terminfo is based on Berkeley's termcap database, but + contains a number of improvements and extensions. Parameterized +Index: man/curs_add_wch.3x +Prereq: 1.65 +--- ncurses-6.5-20240525+/man/curs_add_wch.3x 2024-05-25 21:13:15.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_add_wch.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_add_wch.3x,v 1.65 2024/05/25 21:13:15 tom Exp $ +-.TH curs_add_wch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_add_wch.3x,v 1.67 2024/06/01 22:29:08 tom Exp $ ++.TH curs_add_wch 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -151,10 +151,14 @@ + is any other nonprintable character, + it is drawn in printable form using the same convention as + \fB\%wunctrl\fP(3X). +-.PP + Calling \fB\%win_wch\fP(3X) on the location of a nonprintable character + does not return the character itself, + but its \fB\%wunctrl\fP(3X) representation. ++.PP ++A ++.I \%cchar_t ++can be copied from place to place using \fB\%win_wch\fP(3X) and ++.BR \%wadd_wch "." + .SS wecho_wchar + .B \%echo_wchar + and +@@ -196,7 +200,7 @@ + database entry incorrectly advertises ACS support. + The name \*(``ACS\*('' originates in the Alternate Character Set feature + of the DEC VT100 terminal. +-.br ++.PP + .ie t .ne 4v + .el .ne 5v + .TS +@@ -414,12 +418,6 @@ + These functions are described in X/Open Curses, Issue 4. + It specifies no error conditions for them. + .PP +-SVr4 +-.I curses +-describes a successful return value only as +-\*(``an integer value other than +-.BR ERR \*(''. +-.PP + The defaults specified for forms-drawing characters apply in the POSIX + locale. + X/Open Curses makes it clear that the WACS_ symbols should be defined as +@@ -503,7 +501,7 @@ + The complex character type + .I \%cchar_t + can store more than one wide character +-.RI ( \%wchar_t ). ++.RI \%( wchar_t ). + X/Open Curses does not mention this possibility, + specifying behavior only where + .I wch +@@ -526,6 +524,27 @@ + In the latter case, + .I \%ncurses + adds the non-spacing character to the active complex character. ++.SH HISTORY ++These functions were initially specified by X/Open Curses, ++Issue 4. ++The System\ V Interface Definition, ++Version 4 (1995), ++specified functions named ++.I \%waddwch ++and ++.I \%wechowchar ++(and the usual variants). ++These were later additions to ++.RI SVr4. x , ++not appearing in the first SVr4 (1989). ++They differed from X/Open's ++.I \%wadd_wch ++and ++.I \%wecho_wchar ++in that they each took an argument of type ++.I \%wchar_t ++instead of ++.IR \%cchar_t "." + .SH SEE ALSO + \fB\%curs_addch\fP(3X) describes comparable functions of the + .I \%ncurses +Index: man/curs_addch.3x +Prereq: 1.88 +--- ncurses-6.5-20240525+/man/curs_addch.3x 2024-05-25 21:13:32.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_addch.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_addch.3x,v 1.88 2024/05/25 21:13:32 tom Exp $ +-.TH curs_addch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_addch.3x,v 1.90 2024/06/01 22:29:08 tom Exp $ ++.TH curs_addch 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -127,7 +127,6 @@ + is any other nonprintable character, + it is drawn in printable form using the same convention as + \fB\%unctrl\fP(3X). +-.PP + Calling \fB\%winch\fP(3X) on the location of a nonprintable character + does not return the character itself, + but its \fB\%unctrl\fP(3X) representation. +@@ -135,11 +134,12 @@ + The object or expression + .I ch + may contain attributes and/or a color pair identifier. +-(A character with its attributes can be copied from place to place +-using \fB\%winch\fP(3X) and ++(A ++.I \%chtype ++can be copied from place to place using \fB\%winch\fP(3X) and + .BR \%waddch .) +-See \fB\%curs_attr\fP(3X) for values of predefined video attribute +-constants that can be usefully \*(``or\*(''ed with characters. ++See \fB\%curs_attr\fP(3X) for values of predefined constants that can be ++usefully \*(``or\*(''ed with characters. + .SS wechochar + .B \%echochar + and +@@ -181,7 +181,7 @@ + database entry incorrectly advertises ACS support. + The name \*(``ACS\*('' originates in the Alternate Character Set feature + of the DEC VT100 terminal. +-.br ++.PP + .ie t .ne 4v + .el .ne 5v + .TS +@@ -252,14 +252,15 @@ + .PP + The last may be due to different causes: + .bP +-conversion of a multibyte character to a byte sequence can fail, ++conversion of a wide character to a multibyte character sequence can ++fail, + or + .bP +-at least one of the bytes resulting from conversion from a multibyte +-sequence cannot be added to the window. ++at least one of the bytes resulting from wide character conversion to a ++multibyte character sequence cannot be added to the window. + See section \*(``PORTABILITY\*('' below regarding the use of + .B \%waddch +-with multibyte characters. ++with wide characters. + .PP + Functions prefixed with \*(``mv\*('' first perform cursor movement and + fail if the position +@@ -359,7 +360,7 @@ + description uses lowercase i. + .PP + Some ACS symbols +-.RB ( \%ACS_S3 , ++.RB \%( ACS_S3 , + .BR \%ACS_S7 , + .BR \%ACS_LEQUAL , + .BR \%ACS_GEQUAL , +@@ -368,6 +369,9 @@ + and + .BR \%ACS_STERLING ) + were not documented in any publicly released System\ V. ++.\" And did not exist yet as late as SVr4. ++.\" https://github.com/ryanwoodsmall/oldsysv/blob/master/\ ++.\" sysvr4/svr4/lib/xlibcurses/screen/curses.ed + However, + many publicly available + .I \%term\%info +@@ -428,7 +432,7 @@ + .IR \%ncurses , + .I \%chtype + holds an eight-bit character, +-but the library allows a multibyte character to be passed in a ++but the library allows a multibyte character sequence to be passed via a + succession of calls to + .BR \%waddch "." + Other implementations do not; +@@ -442,7 +446,7 @@ + .I \%ncurses + inspects the byte passed in each + .B \%waddch +-call and checks whether the latest call continues a multibyte sequence. ++call and checks whether the latest call continues a multibyte character. + When a character is + .IR complete "," + .I \%ncurses +@@ -467,11 +471,20 @@ + If it cannot, + use only + \fB\%wadd_wch\fP(3X). ++.SH HISTORY ++The original ++.I curses ++in 4BSD (1980) introduced ++.IR \%waddch "." ++.PP ++SVr3 (1987) ++added ++.IR \%wechochar "." + .SH SEE ALSO + \fB\%curs_add_wch\fP(3X) describes comparable functions of the + .I \%ncurses + library in its wide-character configuration +-.RI ( \%ncursesw ). ++.RI \%( ncursesw ). + .PP + \fB\%curses\fP(3X), + \fB\%curs_addchstr\fP(3X), +Index: man/curs_addchstr.3x +Prereq: 1.46 +--- ncurses-6.5-20240525+/man/curs_addchstr.3x 2024-05-11 20:39:53.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_addchstr.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_addchstr.3x,v 1.46 2024/05/11 20:39:53 tom Exp $ +-.TH curs_addchstr 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_addchstr.3x,v 1.48 2024/06/01 22:29:08 tom Exp $ ++.TH curs_addchstr 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -143,7 +143,7 @@ + \fB\%curs_add_wchstr\fP(3X) describes comparable functions of the + .I \%ncurses + library in its wide-character configuration +-.RI ( \%ncursesw ). ++.RI \%( ncursesw ). + .PP + \fB\%curses\fP(3X), + \fB\%curs_addch\fP(3X), +Index: man/curs_addstr.3x +Prereq: 1.47 +--- ncurses-6.5-20240525+/man/curs_addstr.3x 2024-05-25 20:45:40.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_addstr.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_addstr.3x,v 1.47 2024/05/25 20:45:40 tom Exp $ +-.TH curs_addstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_addstr.3x,v 1.49 2024/06/01 22:29:08 tom Exp $ ++.TH curs_addstr 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -134,7 +134,7 @@ + \fB\%curs_addwstr\fP(3X) describes comparable functions of the + .I \%ncurses + library in its wide-character configuration +-.RI ( \%ncursesw ). ++.RI \%( ncursesw ). + .PP + \fB\%curses\fP(3X), + \fB\%curs_addch\fP(3X), +Index: man/curs_addwstr.3x +Prereq: 1.39 +--- ncurses-6.5-20240525+/man/curs_addwstr.3x 2024-05-25 20:10:58.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_addwstr.3x 2024-06-01 22:30:17.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_addwstr.3x,v 1.39 2024/05/25 20:10:58 tom Exp $ +-.TH curs_addwstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_addwstr.3x,v 1.41 2024/06/01 22:30:17 tom Exp $ ++.TH curs_addwstr 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -111,19 +111,23 @@ + .B ERR + on failure. + .PP +-X/Open Curses does not specify any error conditions. +-.I \%ncurses +-returns ++In ++.IR \%ncurses "," ++they return + .B ERR ++if + .bP +-if the window pointer is +-.BR NULL , ++.I win ++is ++.BR NULL "," + .bP +-if the string pointer is +-.BR NULL , ++.I wstr ++is ++.BR NULL "," + or + .bP +-if an internal \fB\%wadd_wch\fP(3X) call returns an error. ++an internal \fB\%wadd_wch\fP(3X) call returns ++.BR ERR "." + .PP + Functions prefixed with \*(``mv\*('' first perform cursor movement and + fail if the position +Index: man/curs_getch.3x +Prereq: 1.93 +--- ncurses-6.5-20240525+/man/curs_getch.3x 2024-05-25 20:57:17.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_getch.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_getch.3x,v 1.93 2024/05/25 20:57:17 tom Exp $ +-.TH curs_getch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_getch.3x,v 1.95 2024/06/01 22:29:08 tom Exp $ ++.TH curs_getch 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -229,7 +229,7 @@ + Consequently, + a user of a + .I curses +-application may experience a delay after they escape key is pressed ++application may experience a delay after the escape key is pressed + while + .I curses + disambiguates the input; +@@ -470,6 +470,12 @@ + or + .BR FALSE "." + .SH NOTES ++.BR \%getch "," ++.BR \%mvgetch "," ++and ++.B \%mvwgetch ++may be implemented as macros. ++.PP + .I curses + discourages assignment of the ESC key to a discrete function by the + programmer because the library requires a delay while it awaits the +@@ -553,8 +559,8 @@ + (also known variously as the \*(``3B1\*('', \*(``Safari 4\*('', and + \*(``UNIX PC\*(''), + a 1985 machine rich in function keys. +-Today's computer keyboards are based that of the IBM PC/AT and tend to +-have fewer. ++Today's computer keyboards are based on that of the IBM PC/AT ++and tend to have fewer. + A + .I curses + application can expect such a keyboard to transmit key codes +@@ -577,12 +583,6 @@ + for 1 \(<= + .I n + \(<= 12. +-.PP +-.BR \%getch "," +-.BR \%mvgetch "," +-and +-.B \%mvwgetch +-may be implemented as macros. + .SH EXTENSIONS + In + .IR \%ncurses "," +@@ -639,8 +639,9 @@ + and also + (in some implementations) + whether an input timeout or non-blocking mode had been set. +-Programmers concerned about portability should be prepared for either of +-two cases: ++A portable ++.I curses ++application prepares for two cases: + (a) signal receipt does not interrupt + .BR \%wgetch ";" + or +@@ -689,7 +690,7 @@ + \fB\%curs_get_wch\fP(3X) describes comparable functions of the + .I \%ncurses + library in its wide-character configuration +-.RI ( \%ncursesw ). ++.RI \%( ncursesw ). + .PP + \fB\%curses\fP(3X), + \fB\%curs_addch\fP(3X), +Index: man/curs_getstr.3x +Prereq: 1.61 +--- ncurses-6.5-20240525+/man/curs_getstr.3x 2024-05-25 20:10:58.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_getstr.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_getstr.3x,v 1.61 2024/05/25 20:10:58 tom Exp $ +-.TH curs_getstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_getstr.3x,v 1.63 2024/06/01 22:29:08 tom Exp $ ++.TH curs_getstr 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -294,7 +294,7 @@ + \fB\%curs_get_wstr\fP(3X) describes comparable functions of the + .I \%ncurses + library in its wide-character configuration +-.RI ( \%ncursesw ). ++.RI \%( ncursesw ). + .PP + \fB\%curses\fP(3X), + \fB\%curs_getch\fP(3X), +Index: man/curs_inch.3x +Prereq: 1.56 +--- ncurses-6.5-20240525+/man/curs_inch.3x 2024-05-25 20:10:58.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_inch.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_inch.3x,v 1.56 2024/05/25 20:10:58 tom Exp $ +-.TH curs_inch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_inch.3x,v 1.58 2024/06/01 22:29:08 tom Exp $ ++.TH curs_inch 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -176,7 +176,7 @@ + \fB\%curs_in_wch\fP(3X) describes comparable functions of the + .I \%ncurses + library in its wide-character configuration +-.RI ( \%ncursesw ). ++.RI \%( ncursesw ). + .PP + \fB\%curses\fP(3X), + \fB\%curs_instr\fP(3X) +Index: man/curs_initscr.3x +Prereq: 1.71 +--- ncurses-6.5-20240525+/man/curs_initscr.3x 2024-05-25 20:10:58.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_initscr.3x 2024-06-01 22:38:43.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_initscr.3x,v 1.71 2024/05/25 20:10:58 tom Exp $ +-.TH curs_initscr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_initscr.3x,v 1.73 2024/06/01 22:38:43 tom Exp $ ++.TH curs_initscr 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -308,10 +308,23 @@ + This handles the window-size changes which were ignored in + the standardization efforts. + The handler sets a (signal-safe) variable +-which is later tested in \fB\%wgetch\fP(3X). +-If \fBkeypad\fP has been enabled for the corresponding window, +-\fBwgetch\fP returns the key symbol \fBKEY_RESIZE\fP. +-At the same time, \fBwgetch\fP calls \fBresizeterm\fP to adjust the ++that is later tested by \fB\%wgetch\fP(3X) and \fB\%wget_wch\fP(3X): ++.RS ++.bP ++.B \%wgetch ++returns the key code ++.BR \%KEY_RESIZE "." ++.bP ++.B \%wget_wch ++returns ++.B \%KEY_CODE_YES ++and sets its ++.I wch ++parameter to ++.BR \%KEY_RESIZE "." ++.RE ++.IP ++At the same time, \fI\%ncurses\fP calls \fBresizeterm\fP to adjust the + standard screen \fBstdscr\fP, + and update other data such as \fBLINES\fP and \fBCOLS\fP. + .SH SEE ALSO +Index: man/curs_inopts.3x +Prereq: 1.68 +--- ncurses-6.5-20240525+/man/curs_inopts.3x 2024-05-25 20:41:48.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_inopts.3x 2024-06-01 22:28:41.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_inopts.3x,v 1.68 2024/05/25 20:41:48 tom Exp $ +-.TH curs_inopts 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_inopts.3x,v 1.70 2024/06/01 22:28:41 tom Exp $ ++.TH curs_inopts 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -410,7 +410,7 @@ + .I curses + does not handle. + .B \%noraw +-exits raw mode. ++returns the terminal to normal (\*(``cooked\*('') mode. + .\" + .SS "timeout, wtimeout" + .B \%wtimeout +@@ -678,20 +678,19 @@ + Corresponding key codes are generated and + (depending on previous loads of terminal descriptions) + may differ from one execution of a program to the next. +-The generated keycodes are recognized by the \fB\%keyname\fP(3X) +-function +-(which then returns a name beginning with \*(``k\*('' denoting the ++The generated key codes are recognized by \fB\%keyname\fP(3X), ++which then returns a name beginning with \*(``k\*('' denoting the + .I \%term\%info + capability name rather than \*(``K\*('', + used for + .I curses +-key names). ++key names. + On the other hand, + an application can use \fB\%define_key\fP(3X) to bind + a specific key to a string of the programmer's choice. +-This feature enables an application to check for an extended +-capability's presence with \fB\%tigetstr\fP(3X), +-and reassign the keycode to match its own needs. ++This feature enables an application to check for its presence ++with \fB\%tigetstr\fP(3X), ++and reassign the key code to match its own needs. + .PP + Low-level applications can use \fB\%tigetstr\fP(3X) to obtain the + definition of any string capability. +Index: man/curs_instr.3x +Prereq: 1.53 +--- ncurses-6.5-20240525+/man/curs_instr.3x 2024-05-25 20:10:58.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_instr.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_instr.3x,v 1.53 2024/05/25 20:10:58 tom Exp $ +-.TH curs_instr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_instr.3x,v 1.55 2024/06/01 22:29:08 tom Exp $ ++.TH curs_instr 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -124,7 +124,7 @@ + \fB\%curs_ins_wstr\fP(3X) describes comparable functions of the + .I \%ncurses + library in its wide-character configuration +-.RI ( \%ncursesw ). ++.RI \%( ncursesw ). + .PP + \fB\%curses\fP(3X), + \fB\%curs_inch\fP(3X), +Index: man/curs_scr_dump.3x +Prereq: 1.43 +--- ncurses-6.5-20240525+/man/curs_scr_dump.3x 2024-04-20 18:54:36.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_scr_dump.3x 2024-06-01 22:29:45.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_scr_dump.3x,v 1.43 2024/04/20 18:54:36 tom Exp $ +-.TH curs_scr_dump 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_scr_dump.3x,v 1.45 2024/06/01 22:29:45 tom Exp $ ++.TH curs_scr_dump 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -54,10 +54,10 @@ + .nf + \fB#include <curses.h> + .PP +-\fBint scr_dump(const char *\fIfilename\fP); +-\fBint scr_restore(const char *\fIfilename\fP); +-\fBint scr_init(const char *\fIfilename\fP); +-\fBint scr_set(const char *\fIfilename\fP); ++\fBint scr_dump(const char * \fIfilename\fP); ++\fBint scr_restore(const char * \fIfilename\fP); ++\fBint scr_init(const char * \fIfilename\fP); ++\fBint scr_set(const char * \fIfilename\fP); + .fi + .SH DESCRIPTION + .I curses +@@ -70,83 +70,151 @@ + \fB\%putwin\fP(3X), + respectively. + .SS scr_dump +-\fB\%scr_dump\fP writes to ++.B \%scr_dump ++writes to + .I filename + the contents of the virtual screen; + see \fB\%curscr\fP(3X). + .SS scr_restore +-\fB\%scr_restore\fP updates the virtual screen to contain the contents +-of ++.B \%scr_restore ++updates the virtual screen to match the contents of + .I filename +-(if it was validly written with \fB\%scr_dump\fP). +-No refresh is performed; +-after performing any further desired updates, ++(if validly written with ++.BR \%scr_dump ")." ++.I curses ++does not perform a refresh; ++after making any desired changes, + call \fB\%doupdate\fP(3X) or similar. + .SS scr_init +-\fB\%scr_init\fP reads +-.IR filename , ++.B \%scr_init ++reads ++.IR filename "," + using it to initialize + .I curses + data structures describing the state of the terminal screen. +-If these data are valid, + .I curses ++then, ++if it decides the terminal state is valid, + bases its next update of the screen on this information rather than + clearing it and starting from scratch. + .PP +-The data fail the validity check ++.I curses ++regards the terminal being in an invalid state for computation of ++updates based on the contents of ++.I filename ++if + .bP +-if the terminal employs ++the terminal type supports the + .I \%term\%info + capabilities + .B \%exit_ca_mode +-.RB ( \%rmcup ) ++.RB \%( rmcup ) + or + .B \%non_rev_rmcup +-.RB ( \%nrrmc ) +-are defined, ++.RB \%( nrrmc ), + or + .bP +-if + .I curses + knows that the terminal has been written to since the preceding +-\fB\%scr_dump\fP call. ++.B \%scr_dump ++call. + .PP +-\fB\%scr_init\fP could be used after \fB\%initscr\fP(3X) or +-\fB\%system\fP(3) to share the screen with another process that has +-done a \fBscr_dump\fP after \fB\%endwin\fP(3X). ++Either of the foregoing conditions means that ++.I curses ++cannot assume that the terminal's contents ++match their representation in ++.IR filename "." ++The former is due to terminal features ++(such as \fI\%xterm\fP(1)'s \*(``alternate screen\*('') ++that couple cursor-positioning mode with a local cache of screen ++contents. ++.I curses ++cannot know whether terminal is displaying from that local cache at the ++time the application calls ++.BR \%scr_init "," ++so it makes a pessimistic assumption that a full redraw is required; ++see subsection \*(``Cursor Motions\*('' of \fB\%terminfo\fP(5). ++.PP ++.B \%scr_init ++could be used after \fB\%initscr\fP(3X) or \fI\%system\fP(3) to share ++the screen with another process that has done a ++.B \%scr_dump ++after \fB\%endwin\fP(3X). ++An application that supports suspending its state on exit and subsequent ++resumption upon later execution might use ++.B \%scr_dump ++and ++.B \%scr_init ++thus. + .SS scr_set +-The \fBscr_set\fP routine is a combination of \fBscr_restore\fP and +-\fBscr_init\fP. It tells the program that the information in \fIfilename\fP is +-what is currently on the screen, and also what the program wants on the screen. +-This can be thought of as a screen inheritance function. ++.B \%scr_set ++combines ++.B \%scr_restore ++and ++.BR \%scr_init "," ++synchronizing the contents of ++.I filename ++with the virtual screen. ++It can be regarded as a screen inheritance function; ++consider a real-time screen-sharing application. + .SH RETURN VALUE +-These functions return \fBOK\fP on success and \fBERR\fP on failure. +-.PP +-X/Open defines no failure conditions. +-In this implementation, +-each function fails if it cannot open +-.IR filename . ++These functions return ++.B OK ++on success and ++.B ERR ++on failure. ++.PP ++In ++.IR \%ncurses "," ++each function returns ++.B ERR ++if it cannot open ++.IR filename "." ++.BR \%scr_init "," ++.BR \%scr_restore "," ++and ++.B \%scr_set ++return ++.B ERR ++if the contents of ++.I filename ++are invalid. + .SH NOTES +-\fB\%scr_init\fP, +-\fB\%scr_set\fP, ++.BR \%scr_init "," ++.BR \%scr_restore "," + and +-\fB\%scr_restore\fP may be macros. ++.B \%scr_set ++may be implemented as macros. + .SH PORTABILITY + X/Open Curses, + Issue 4 describes these functions. ++It specifies no error conditions for them. ++.\" Unusually, SVID 4 explicitly indicated "OK" as a possible return ++.\" value, rather than the "integer other than ERR" refrain (p. 529). + .PP + .\" SVID 4, p. 529 + SVr4 omitted the + .I \%const + qualifiers. + .PP +-SVr4 documentation describes \fB\%scr_init\fP such that the dump data is +-also considered invalid \*(``if the time-stamp of the tty is old\*('' ++SVr4 documentation describes ++.B \%scr_init ++such that the dump data is also considered invalid ++\*(``if the time-stamp of the tty is old\*('' + but does not define \*(``old\*(''. ++.SH HISTORY ++SVr3 (1987) introduced ++.BR \%scr_dump "," ++.BR \%scr_init "," ++and ++.BR \%scr_restore "." ++SVr3.1 added ++.BR \%scr_set "." + .SH SEE ALSO + \fB\%curses\fP(3X), + \fB\%curs_initscr\fP(3X), + \fB\%curs_refresh\fP(3X), + \fB\%curs_util\fP(3X), + \fB\%system\fP(3), +-\fB\%scr_dump\fP(5) ++\fB\%scr_dump\fP(5), ++\fB\%terminfo\fP(5) +Index: man/curs_terminfo.3x +Prereq: 1.138 +--- ncurses-6.5-20240525+/man/curs_terminfo.3x 2024-05-25 21:02:40.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_terminfo.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_terminfo.3x,v 1.138 2024/05/25 21:02:40 tom Exp $ +-.TH curs_terminfo 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_terminfo.3x,v 1.140 2024/06/01 22:29:08 tom Exp $ ++.TH curs_terminfo 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -681,7 +681,7 @@ + .B setupterm + fails if it cannot allocate enough memory, + or create the initial windows +-.RB ( \%stdscr , ++.RB \%( stdscr , + .BR \%curscr , + and + .BR \%newscr ) +Index: man/curs_util.3x +Prereq: 1.104 +--- ncurses-6.5-20240525+/man/curs_util.3x 2024-05-25 20:10:58.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_util.3x 2024-06-01 22:28:18.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_util.3x,v 1.104 2024/05/25 20:10:58 tom Exp $ +-.TH curs_util 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_util.3x,v 1.106 2024/06/01 22:28:18 tom Exp $ ++.TH curs_util 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -128,7 +128,7 @@ + .LP + The corresponding \fBkey_name\fP returns + a multibyte character string corresponding +-to the wide-character value \fIw\fP. ++to the wide-character value \fIwc\fP. + The two functions (\fBkeyname\fP and \fBkey_name\fP) + do not return the same set of strings: + .bP +@@ -323,9 +323,9 @@ + The \fBkeyname\fP function may return the names of user-defined + string capabilities which are defined in the terminfo entry via the \fB\-x\fP + option of \fB@TIC@\fP. +-This implementation automatically assigns at run-time keycodes to ++This implementation automatically assigns at run-time key codes to + user-defined strings which begin with \*(``k\*(''. +-The keycodes start at KEY_MAX, but are not guaranteed to be ++The key codes start at KEY_MAX, but are not guaranteed to be + the same value for different runs because user-defined codes are + merged from all terminal descriptions which have been loaded. + The \fBuse_extended_names\fP(3X) function controls whether this data is +Index: man/curs_window.3x +Prereq: 1.50 +--- ncurses-6.5-20240525+/man/curs_window.3x 2024-05-25 20:43:47.000000000 +0000 ++++ ncurses-6.5-20240601/man/curs_window.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_window.3x,v 1.50 2024/05/25 20:43:47 tom Exp $ +-.TH curs_window 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_window.3x,v 1.52 2024/06/01 22:29:08 tom Exp $ ++.TH curs_window 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .SH NAME + \fB\%newwin\fP, + \fB\%delwin\fP, +@@ -254,7 +254,7 @@ + when asked to delete a subwindow. + Solaris X/Open + .I curses +-.RI ( \%xcurses ) ++.RI \%( xcurses ) + does not make even that check, + and will delete a parent window that still has subwindows. + .I \%PDCurses +Index: man/ncurses.3x +Prereq: 1.219 +--- ncurses-6.5-20240525+/man/ncurses.3x 2024-05-25 20:57:45.000000000 +0000 ++++ ncurses-6.5-20240601/man/ncurses.3x 2024-06-01 22:29:08.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: ncurses.3x,v 1.219 2024/05/25 20:57:45 tom Exp $ +-.TH ncurses 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: ncurses.3x,v 1.221 2024/06/01 22:29:08 tom Exp $ ++.TH ncurses 3X 2024-06-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -265,7 +265,7 @@ + occur. + Among those, + the most basic are \fB\%move\fP(3X) and \fB\%addch\fP(3X): +-these place the cursor and write a character to ++these place the cursor within and write a character to + .BR \%stdscr , + respectively. + .PP +@@ -410,6 +410,7 @@ + In function synopses, + .I \%ncurses + man pages apply the following names to parameters. ++We introduce the character types in the next subsection. + .PP + .TS + center; +@@ -470,17 +471,35 @@ + .I \%char + (a byte-sized type) + can represent. +-It adds about one third more calls using additional data types that +-can store such +-.I multibyte +-characters. ++It provides additional functions that complement those in ++the non-wide library where the size of the underlying character type is ++significant. ++A somewhat regular naming convention relates many of the wide variants ++to their non-wide counterparts; ++where a non-wide function name contains \*(``ch\*('' or \*(``str\*('', ++prefix it with \*(``_w\*('' to obtain the wide counterpart. ++For example, ++\fB\%waddch\fP becomes \fB\%wadd_wch\fP. ++(Exceptions that add only \*(``w\*('' comprise ++.BR \%addwstr , ++.BR \%inwstr , ++and their variants.) ++.IP ++This convention is inapplicable to some non-wide function names, ++so other transformations are used for the wide configuration: ++the window background management function \*(``bkgd\*('' becomes ++\*(``bkgrnd\*(''; ++the window border-drawing and -clearing functions are suffixed with ++\*(``_set\*(''; ++and character attribute manipulation functions like ++\*(``attron\*('' become \*(``attr_on\*(''. + .RS 10 \" same as foregoing tag width + .TP 9 \" "cchar_t" + 2n + .I \%cchar_t + corresponds to the non-wide configuration's + .IR \%chtype . +-It always a structure type, +-because it stores more data than fit into a standard scalar type. ++It is a structure type ++because it requires more storage than fits into a standard scalar type. + A character code may not be representable as a + .IR \%char , + and moreover more than one character may occupy a cell +@@ -541,29 +560,6 @@ + character manipulation functions of ISO C and its constant + .BR \%EOF . + .RE +-.IP +-The wide library provides additional functions that complement those in +-the non-wide library where the size of the underlying character type is +-significant. +-A somewhat regular naming convention relates many of the wide variants +-to their non-wide counterparts; +-where a non-wide function name contains \*(``ch\*('' or \*(``str\*('', +-prefix it with \*(``_w\*('' to obtain the wide counterpart. +-For example, +-\fB\%waddch\fP becomes \fB\%wadd_wch\fP. +-(Exceptions that add only \*(``w\*('' comprise +-.BR \%addwstr , +-.BR \%inwstr , +-and their variants.) +-.IP +-This convention is inapplicable to some non-wide function names, +-so other transformations are used for the wide configuration: +-the window background management function \*(``bkgd\*('' becomes +-\*(``bkgrnd\*(''; +-the window border-drawing and -clearing functions are suffixed with +-\*(``_set\*(''; +-and character attribute manipulation functions like +-\*(``attron\*('' become \*(``attr_on\*(''. + .\" + .SS "Function Name Index" + The following table lists the +@@ -761,7 +757,7 @@ + mvaddstr/\fBcurs_addstr\fP(3X) + mvaddwstr/\fBcurs_addwstr\fP(3X) + mvchgat/\fBcurs_attr\fP(3X) +-mvcur/\fBcurs_terminfo\fP(3X) ++mvcur/\fBcurs_kernel\fP(3X) + mvdelch/\fBcurs_delch\fP(3X) + mvderwin/\fBcurs_window\fP(3X) + mvget_wch/\fBcurs_get_wch\fP(3X) +@@ -1094,7 +1090,7 @@ + When set, + the + .B \%command_character +-.RB ( \%cmdch ) ++.RB \%( cmdch ) + capability value of loaded + .I \%term\%info + entries changes to the value of this variable. +@@ -1102,8 +1098,8 @@ + .I \%term\%info + entries provide this feature. + .PP +-Because this name is also used in development environments to represent +-the C compiler's name, ++Because this name is also used in development environments to store the ++C compiler's name, + .I \%ncurses + ignores its value if it is not one character in length. + .SS "\fICOLUMNS\fP" +@@ -1117,7 +1113,7 @@ + .I \%ncurses + uses the size specified by the + .B \%columns +-.RB ( \%cols ) ++.RB \%( cols ) + capability of the terminal type's entry in the + .I \%term\%info + database, +Index: package/debian-mingw/changelog +--- ncurses-6.5-20240525+/package/debian-mingw/changelog 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/package/debian-mingw/changelog 2024-06-01 11:06:41.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.5+20240525) unstable; urgency=low ++ncurses6 (6.5+20240601) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 May 2024 06:33:51 -0400 ++ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 01 Jun 2024 07:06:41 -0400 + + ncurses6 (5.9+20131005) unstable; urgency=low + +Index: package/debian-mingw64/changelog +--- ncurses-6.5-20240525+/package/debian-mingw64/changelog 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/package/debian-mingw64/changelog 2024-06-01 11:06:41.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.5+20240525) unstable; urgency=low ++ncurses6 (6.5+20240601) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 May 2024 06:33:51 -0400 ++ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 01 Jun 2024 07:06:41 -0400 + + ncurses6 (5.9+20131005) unstable; urgency=low + +Index: package/debian/changelog +--- ncurses-6.5-20240525+/package/debian/changelog 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/package/debian/changelog 2024-06-01 11:06:41.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6 (6.5+20240525) unstable; urgency=low ++ncurses6 (6.5+20240601) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 May 2024 06:33:51 -0400 ++ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 01 Jun 2024 07:06:41 -0400 + + ncurses6 (5.9+20120608) unstable; urgency=low + +Index: package/mingw-ncurses.nsi +Prereq: 1.650 +--- ncurses-6.5-20240525+/package/mingw-ncurses.nsi 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/package/mingw-ncurses.nsi 2024-06-01 11:06:41.000000000 +0000 +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.650 2024/05/25 10:33:51 tom Exp $
++; $Id: mingw-ncurses.nsi,v 1.651 2024/06/01 11:06:41 tom Exp $
+
+ ; TODO add examples
+ ; TODO bump ABI to 6
+@@ -10,7 +10,7 @@ + !define VERSION_MAJOR "6"
+ !define VERSION_MINOR "5"
+ !define VERSION_YYYY "2024"
+-!define VERSION_MMDD "0525"
++!define VERSION_MMDD "0601"
+ !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
+
+ !define MY_ABI "5"
+Index: package/mingw-ncurses.spec +--- ncurses-6.5-20240525+/package/mingw-ncurses.spec 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/package/mingw-ncurses.spec 2024-06-01 11:06:41.000000000 +0000 +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.5 +-Release: 20240525 ++Release: 20240601 + License: X11 + Group: Development/Libraries + URL: https://invisible-island.net/ncurses/ +Index: package/ncurses.spec +--- ncurses-6.5-20240525+/package/ncurses.spec 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/package/ncurses.spec 2024-06-01 11:06:41.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.5 +-Release: 20240525 ++Release: 20240601 + License: X11 + Group: Development/Libraries + URL: https://invisible-island.net/ncurses/ +Index: package/ncursest.spec +--- ncurses-6.5-20240525+/package/ncursest.spec 2024-05-25 10:33:51.000000000 +0000 ++++ ncurses-6.5-20240601/package/ncursest.spec 2024-06-01 11:06:41.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.5 +-Release: 20240525 ++Release: 20240601 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz +Index: test/package/debian/rules +--- ncurses-6.5-20240525+/test/package/debian/rules 2021-12-19 00:23:00.000000000 +0000 ++++ ncurses-6.5-20240601/test/package/debian/rules 2024-06-01 23:42:46.000000000 +0000 +@@ -75,7 +75,7 @@ + + cd t/ncurses6; $(configure) \ + --datadir=\$${datarootdir}/$(NCURSES_PKG) \ +- --with-screen=ncursesw6 ++ --with-screen=ncurses6 + + touch $@ + +@@ -87,7 +87,7 @@ + + cd t/ncursest6; $(configure) \ + --datadir=\$${datarootdir}/$(NCURSEST_PKG) \ +- --with-screen=ncursestw6 ++ --with-screen=ncursest6 + + touch $@ + |