diff options
Diffstat (limited to 'packages/ncurses/6.5/ncurses-6.5-20250301.patch')
-rw-r--r-- | packages/ncurses/6.5/ncurses-6.5-20250301.patch | 10334 |
1 files changed, 10334 insertions, 0 deletions
diff --git a/packages/ncurses/6.5/ncurses-6.5-20250301.patch b/packages/ncurses/6.5/ncurses-6.5-20250301.patch new file mode 100644 index 00000000..15e55fe0 --- /dev/null +++ b/packages/ncurses/6.5/ncurses-6.5-20250301.patch @@ -0,0 +1,10334 @@ +# ncurses 6.5 - patch 20250301 - 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-20250301.patch.gz +# patch by Thomas E. Dickey <dickey@invisible-island.net> +# created Sat Mar 1 23:17:59 UTC 2025 +# ------------------------------------------------------------------------------ +# Ada95/aclocal.m4 | 7 +# NEWS | 15 +# VERSION | 2 +# aclocal.m4 | 69 - +# configure | 1884 ++++++++++++++++------------------- +# configure.in | 23 +# dist.mk | 4 +# doc/html/man/curs_add_wch.3x.html | 48 +# doc/html/man/curs_addch.3x.html | 50 +# doc/html/man/curs_color.3x.html | 38 +# doc/html/man/curs_getcchar.3x.html | 12 +# doc/html/man/curs_initscr.3x.html | 40 +# doc/html/man/curs_inopts.3x.html | 137 +- +# doc/html/man/curs_ins_wch.3x.html | 46 +# doc/html/man/curs_ins_wstr.3x.html | 12 +# doc/html/man/curs_insch.3x.html | 36 +# doc/html/man/curs_instr.3x.html | 42 +# doc/html/man/curs_inwstr.3x.html | 59 - +# doc/html/man/curs_kernel.3x.html | 42 +# doc/html/man/curs_mouse.3x.html | 29 +# doc/html/man/curs_move.3x.html | 14 +# doc/html/man/curs_outopts.3x.html | 70 - +# doc/html/man/infocmp.1m.html | 20 +# doc/html/man/ncurses.3x.html | 12 +# doc/html/man/terminfo.5.html | 8 +# doc/html/man/tput.1.html | 30 +# include/curses.h.in | 6 +# include/nc_alloc.h | 25 +# include/nc_win32.h | 6 +# include/ncurses_defs | 7 +# man/MKterminfo.sh | 6 +# man/curs_add_wch.3x | 56 - +# man/curs_addch.3x | 48 +# man/curs_color.3x | 56 - +# man/curs_getcchar.3x | 8 +# man/curs_initscr.3x | 28 +# man/curs_inopts.3x | 55 - +# man/curs_ins_wch.3x | 61 - +# man/curs_ins_wstr.3x | 6 +# man/curs_insch.3x | 54 - +# man/curs_instr.3x | 36 +# man/curs_inwstr.3x | 51 +# man/curs_kernel.3x | 72 - +# man/curs_mouse.3x | 16 +# man/curs_move.3x | 16 +# man/curs_outopts.3x | 198 ++- +# man/make_sed.sh | 6 +# man/manhtml.externs | 6 +# man/ncurses.3x | 6 +# man/tput.1 | 23 +# misc/terminfo.src | 17 +# ncurses/base/MKlib_gen.sh | 5 +# ncurses/curses.priv.h | 18 +# ncurses/tinfo/lib_win32con.c | 5 +# ncurses/tty/lib_twait.c | 4 +# ncurses/win32con/win32_driver.c | 14 +# ncurses/win32con/win_driver.c | 30 +# 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 +# 64 files changed, 1993 insertions(+), 1723 deletions(-) +# ------------------------------------------------------------------------------ +Index: Ada95/aclocal.m4 +Prereq: 1.226 +--- ncurses-6.5-20250222+/Ada95/aclocal.m4 2025-01-11 00:55:54.000000000 +0000 ++++ ncurses-6.5-20250301/Ada95/aclocal.m4 2025-02-23 01:57:36.000000000 +0000 +@@ -29,7 +29,7 @@ + dnl + dnl Author: Thomas E. Dickey + dnl +-dnl $Id: aclocal.m4,v 1.226 2025/01/11 00:55:54 tom Exp $ ++dnl $Id: aclocal.m4,v 1.227 2025/02/23 01:57:36 tom Exp $ + dnl Macros used in NCURSES Ada95 auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -3201,11 +3201,6 @@ + AC_SUBST(cf_cv_rel_version) + AC_SUBST(cf_cv_abi_version) + +-dnl FIXME - not needed for Ada95 +-AC_SUBST(cf_cv_builtin_bool) +-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], +Index: NEWS +Prereq: 1.4251 +--- ncurses-6.5-20250222+/NEWS 2025-02-20 09:09:47.000000000 +0000 ++++ ncurses-6.5-20250301/NEWS 2025-03-01 21:57:13.000000000 +0000 +@@ -26,7 +26,7 @@ + -- sale, use or other dealings in this Software without prior written -- + -- authorization. -- + ------------------------------------------------------------------------------- +--- $Id: NEWS,v 1.4251 2025/02/20 09:09:47 tom Exp $ ++-- $Id: NEWS,v 1.4257 2025/03/01 21:57:13 tom Exp $ + ------------------------------------------------------------------------------- + + This is a log of changes that ncurses has gone through since Zeyd started +@@ -46,12 +46,21 @@ + Changes through 1.9.9e did not credit all contributions; + it is not possible to add this information. + ++20250301 ++ + add color to vt525 (Branden Robinson) ++ + add vt520-w and vt525-w (Branden Robinson) ++ + improve formatting/style of manpages (patches by Branden Robinson). ++ + improve configurability of alloca() as used in Windows ports. ++ + fix some typos in manpages. ++ + modify configure script checks for stdbool.h to fix build with older ++ gcc version. ++ + 20250222 + + modify treatment of "n" parameter for waddnstr, waddnwstr, and + wins_nwstr to return OK when "n" is zero, for consistency with other + implementations (report by Benjamin Barenblat, cf: 20231118). + + formatting improvements for terminfo.5 (Debian #1096164). +- ++ + 20250216 + + add limit-checks in alloc_entry.c and alloc_ttype.c to avoid indexing + errors when using infocmp to compare all capabilities when processing +@@ -185,7 +194,7 @@ + + improve filtering of -L options in misc/gen-pkgconfig.in and in + misc/ncurses-config.in + + add check in wresize() for out-of-range dimensions (report by Peter +- Bierma). ++ Bierma). + + 20240922 + + add a few null-pointer checks in ncurses +Index: VERSION +--- ncurses-6.5-20250222+/VERSION 2025-02-22 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/VERSION 2025-03-01 10:08:08.000000000 +0000 +@@ -1 +1 @@ +-5:0:10 6.5 20250222 ++5:0:10 6.5 20250301 +Index: aclocal.m4 +Prereq: 1.1102 +--- ncurses-6.5-20250222+/aclocal.m4 2025-02-16 00:15:17.000000000 +0000 ++++ ncurses-6.5-20250301/aclocal.m4 2025-02-23 01:49:45.000000000 +0000 +@@ -29,7 +29,7 @@ + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: aclocal.m4,v 1.1102 2025/02/16 00:15:17 tom Exp $ ++dnl $Id: aclocal.m4,v 1.1104 2025/02/23 01:49:45 tom Exp $ + dnl Macros used in NCURSES auto-configuration script. + dnl + dnl These macros are maintained separately from NCURSES. The copyright on +@@ -598,52 +598,25 @@ + esac + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_BOOL_DECL version: 10 updated: 2025/02/01 19:31:51 ++dnl CF_BOOL_DECL version: 11 updated: 2025/02/22 20:49:45 + dnl ------------ + dnl Test if 'bool' is a builtin type in the configured C/C++ compiler. Some + dnl older compilers (e.g., gcc 2.5.8) don't support 'bool' directly; gcc + dnl 2.6.3 does, in anticipation of the ANSI C++ standard. + dnl +-dnl Treat the configuration-variable specially here, since we're directly +-dnl substituting its value (i.e., 1/0). +-dnl + dnl $1 is the shell variable to store the result in, if not $cv_cv_builtin_bool + AC_DEFUN([CF_BOOL_DECL], + [ +-AC_MSG_CHECKING(if we should include stdbool.h) +- +-AC_CACHE_VAL(cf_cv_header_stdbool_h,[ ++AC_REQUIRE([CF_C99_STDBOOL_H]) ++AC_CACHE_CHECK(for builtin bool type, ifelse($1,,cf_cv_builtin_bool,[$1]),[ + AC_TRY_COMPILE([ +-#ifndef __BEOS__ +-#include <stdbool.h> +-#endif +-],[bool foo = false; (void)foo], +- [cf_cv_header_stdbool_h=1], +- [AC_TRY_COMPILE([],[bool foo = false; (void)foo], +- [cf_cv_header_stdbool_h=0])])]) +- +-if test "$cf_cv_header_stdbool_h" = 1 +-then AC_MSG_RESULT(yes) +-else AC_MSG_RESULT(no) +-fi +- +-AC_MSG_CHECKING([for builtin bool type]) +- +-AC_CACHE_VAL(ifelse($1,,cf_cv_builtin_bool,[$1]),[ +- AC_TRY_COMPILE([ +-#include <stdio.h> +-#include <sys/types.h> ++$ac_includes_default + ],[bool x = false; (void)x], +- [ifelse($1,,cf_cv_builtin_bool,[$1])=1], +- [ifelse($1,,cf_cv_builtin_bool,[$1])=0])]) +- +-if test "$ifelse($1,,cf_cv_builtin_bool,[$1])" = 1 +-then AC_MSG_RESULT(yes) +-else AC_MSG_RESULT(no) +-fi ++ [ifelse($1,,cf_cv_builtin_bool,[$1])=yes], ++ [ifelse($1,,cf_cv_builtin_bool,[$1])=no])]) + ])dnl + dnl --------------------------------------------------------------------------- +-dnl CF_BOOL_SIZE version: 21 updated: 2024/12/14 16:09:34 ++dnl CF_BOOL_SIZE version: 22 updated: 2025/02/22 20:49:45 + dnl ------------ + dnl Test for the size of 'bool' in the configured C++ compiler (e.g., a type). + dnl Don't bother looking for bool.h, since it has been deprecated. +@@ -652,6 +625,7 @@ + dnl from <stdbool.h>. + AC_DEFUN([CF_BOOL_SIZE], + [ ++AC_REQUIRE([CF_C99_STDBOOL_H]) + AC_CHECK_SIZEOF(bool,,[ + $ac_includes_default + +@@ -667,7 +641,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -691,7 +665,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -894,6 +868,27 @@ + AC_SUBST(STDC_NORETURN) + ])dnl + dnl --------------------------------------------------------------------------- ++dnl CF_C99_STDBOOL_H version: 1 updated: 2025/02/22 20:49:45 ++dnl ---------------- ++dnl Check if we can compile using <stdbool.h> and get a valid "bool" type. ++AC_DEFUN([CF_C99_STDBOOL_H], ++[ ++AC_CACHE_CHECK(if we can include stdbool.h,cf_cv_header_stdbool_h,[ ++ AC_TRY_COMPILE([ ++$ac_includes_default ++#include <stdbool.h> ++],[bool foo = false; (void)foo], ++ [cf_cv_header_stdbool_h=yes], ++ [AC_TRY_COMPILE([],[bool foo = false; (void)foo], ++ [cf_cv_header_stdbool_h=no])])]) ++ ++if test "$cf_cv_header_stdbool_h" = yes ++then USE_STDBOOL_H=1 ++else USE_STDBOOL_H=0 ++fi ++AC_SUBST(USE_STDBOOL_H) ++])dnl ++dnl --------------------------------------------------------------------------- + dnl CF_CC_ENV_FLAGS version: 11 updated: 2023/02/20 11:15:46 + dnl --------------- + dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content +Index: configure +--- ncurses-6.5-20250222+/configure 2025-02-16 00:20:21.000000000 +0000 ++++ ncurses-6.5-20250301/configure 2025-03-01 15:05:41.000000000 +0000 +@@ -1,7 +1,7 @@ + #! /bin/sh +-# From configure.in Revision: 1.791 . ++# From configure.in Revision: 1.794 . + # Guess values for system-dependent variables and create Makefiles. +-# Generated by Autoconf 2.52.20240618. ++# Generated by Autoconf 2.52.20250126. + # + # Copyright 2003-2022,2023 Thomas E. Dickey + # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 +@@ -954,7 +954,7 @@ + running configure, to aid debugging if configure makes a mistake. + + It was created by $as_me, which was +-generated by GNU Autoconf 2.52.20240618. Invocation command line was ++generated by GNU Autoconf 2.52.20250126. Invocation command line was + + $ $0 $@ + +@@ -20541,10 +20541,12 @@ + esac + + for ac_header in \ ++alloca.h \ + fcntl.h \ + getopt.h \ + limits.h \ + locale.h \ ++malloc.h \ + math.h \ + poll.h \ + sys/auxv.h \ +@@ -20559,23 +20561,23 @@ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:20562: checking for $ac_header" >&5 ++echo "$as_me:20564: 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 20568 "configure" ++#line 20570 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20572: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20574: \"$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:20578: \$? = $ac_status" >&5 ++ echo "$as_me:20580: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20594,7 +20596,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20597: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20599: 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 +@@ -20607,23 +20609,23 @@ + for ac_header in getopt.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:20610: checking for $ac_header" >&5 ++echo "$as_me:20612: 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 20616 "configure" ++#line 20618 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:20620: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:20622: \"$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:20626: \$? = $ac_status" >&5 ++ echo "$as_me:20628: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -20642,7 +20644,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:20645: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:20647: 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 +@@ -20652,7 +20654,7 @@ + fi + done + +-echo "$as_me:20655: checking for header declaring getopt variables" >&5 ++echo "$as_me:20657: checking for header declaring getopt variables" >&5 + echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 + if test "${cf_cv_getopt_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20662,7 +20664,7 @@ + for cf_header in stdio.h stdlib.h unistd.h getopt.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20665 "configure" ++#line 20667 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -20675,16 +20677,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20678: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20680: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20681: \$? = $ac_status" >&5 ++ echo "$as_me:20683: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20684: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20686: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20687: \$? = $ac_status" >&5 ++ echo "$as_me:20689: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_getopt_header=$cf_header + break +@@ -20696,7 +20698,7 @@ + done + + fi +-echo "$as_me:20699: result: $cf_cv_getopt_header" >&5 ++echo "$as_me:20701: result: $cf_cv_getopt_header" >&5 + echo "${ECHO_T}$cf_cv_getopt_header" >&6 + if test "$cf_cv_getopt_header" != none ; then + +@@ -20713,14 +20715,14 @@ + + fi + +-echo "$as_me:20716: checking if external environ is declared" >&5 ++echo "$as_me:20718: checking if external environ is declared" >&5 + echo $ECHO_N "checking if external environ is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20723 "configure" ++#line 20725 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -20733,16 +20735,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:20736: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:20738: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:20739: \$? = $ac_status" >&5 ++ echo "$as_me:20741: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:20742: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20744: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20745: \$? = $ac_status" >&5 ++ echo "$as_me:20747: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_environ=yes + else +@@ -20753,7 +20755,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:20756: result: $cf_cv_dcl_environ" >&5 ++echo "$as_me:20758: result: $cf_cv_dcl_environ" >&5 + echo "${ECHO_T}$cf_cv_dcl_environ" >&6 + + if test "$cf_cv_dcl_environ" = no ; then +@@ -20768,14 +20770,14 @@ + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:20771: checking if external environ exists" >&5 ++echo "$as_me:20773: checking if external environ exists" >&5 + echo $ECHO_N "checking if external environ exists... $ECHO_C" >&6 + if test "${cf_cv_have_environ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20778 "configure" ++#line 20780 "configure" + #include "confdefs.h" + + #undef environ +@@ -20790,16 +20792,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20793: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20795: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20796: \$? = $ac_status" >&5 ++ echo "$as_me:20798: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20799: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20801: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20802: \$? = $ac_status" >&5 ++ echo "$as_me:20804: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_environ=yes + else +@@ -20810,7 +20812,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:20813: result: $cf_cv_have_environ" >&5 ++echo "$as_me:20815: result: $cf_cv_have_environ" >&5 + echo "${ECHO_T}$cf_cv_have_environ" >&6 + + if test "$cf_cv_have_environ" = yes ; then +@@ -20823,13 +20825,13 @@ + + fi + +-echo "$as_me:20826: checking for getenv" >&5 ++echo "$as_me:20828: checking for getenv" >&5 + echo $ECHO_N "checking for getenv... $ECHO_C" >&6 + if test "${ac_cv_func_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20832 "configure" ++#line 20834 "configure" + #include "confdefs.h" + #define getenv autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20860,16 +20862,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20863: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20865: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20866: \$? = $ac_status" >&5 ++ echo "$as_me:20868: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20869: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20871: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20872: \$? = $ac_status" >&5 ++ echo "$as_me:20874: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_getenv=yes + else +@@ -20879,19 +20881,19 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20882: result: $ac_cv_func_getenv" >&5 ++echo "$as_me:20884: result: $ac_cv_func_getenv" >&5 + echo "${ECHO_T}$ac_cv_func_getenv" >&6 + + for ac_func in putenv setenv strdup + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:20888: checking for $ac_func" >&5 ++echo "$as_me:20890: checking for $ac_func" >&5 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 + if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20894 "configure" ++#line 20896 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -20922,16 +20924,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:20925: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:20927: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:20928: \$? = $ac_status" >&5 ++ echo "$as_me:20930: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:20931: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:20933: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:20934: \$? = $ac_status" >&5 ++ echo "$as_me:20936: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -20941,7 +20943,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:20944: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:20946: result: `eval echo '${'"$as_ac_var"'}'`" >&5 + echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 + if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then + cat >>confdefs.h <<EOF +@@ -20951,7 +20953,7 @@ + fi + done + +-echo "$as_me:20954: checking if getenv returns consistent values" >&5 ++echo "$as_me:20956: checking if getenv returns consistent values" >&5 + echo $ECHO_N "checking if getenv returns consistent values... $ECHO_C" >&6 + if test "${cf_cv_consistent_getenv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -20961,7 +20963,7 @@ + cf_cv_consistent_getenv=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 20964 "configure" ++#line 20966 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -21066,15 +21068,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21069: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21071: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21072: \$? = $ac_status" >&5 ++ echo "$as_me:21074: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21074: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21076: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21077: \$? = $ac_status" >&5 ++ echo "$as_me:21079: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_consistent_getenv=yes + else +@@ -21087,7 +21089,7 @@ + fi + + fi +-echo "$as_me:21090: result: $cf_cv_consistent_getenv" >&5 ++echo "$as_me:21092: result: $cf_cv_consistent_getenv" >&5 + echo "${ECHO_T}$cf_cv_consistent_getenv" >&6 + + if test "x$cf_cv_consistent_getenv" = xno +@@ -21102,18 +21104,18 @@ + if test "x$cf_cv_consistent_getenv" = xno && \ + test "x$cf_with_trace" = xyes + then +- { echo "$as_me:21105: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 ++ { echo "$as_me:21107: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 + echo "$as_me: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&2;} + fi + +-echo "$as_me:21109: checking if sys/time.h works with sys/select.h" >&5 ++echo "$as_me:21111: checking if sys/time.h works with sys/select.h" >&5 + echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 + if test "${cf_cv_sys_time_select+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21116 "configure" ++#line 21118 "configure" + #include "confdefs.h" + + #include <sys/types.h> +@@ -21133,16 +21135,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21136: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21138: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21139: \$? = $ac_status" >&5 ++ echo "$as_me:21141: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21142: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21144: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21145: \$? = $ac_status" >&5 ++ echo "$as_me:21147: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sys_time_select=yes + else +@@ -21154,7 +21156,7 @@ + + fi + +-echo "$as_me:21157: result: $cf_cv_sys_time_select" >&5 ++echo "$as_me:21159: result: $cf_cv_sys_time_select" >&5 + echo "${ECHO_T}$cf_cv_sys_time_select" >&6 + test "$cf_cv_sys_time_select" = yes && + cat >>confdefs.h <<\EOF +@@ -21169,13 +21171,13 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + ac_main_return="return" + +-echo "$as_me:21172: checking for an ANSI C-conforming const" >&5 ++echo "$as_me:21174: 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 21178 "configure" ++#line 21180 "configure" + #include "confdefs.h" + + int +@@ -21185,13 +21187,13 @@ + #ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; +- const charset x; (void)x; ++ const charset x; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *ccp; + char **p; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; +- static struct point const zero = {0,0}; (void)zero; ++ static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant +@@ -21207,7 +21209,7 @@ + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; +- (void)s; ++ (void)s; (void)x; (void)zero; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; +@@ -21237,16 +21239,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21240: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21242: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21243: \$? = $ac_status" >&5 ++ echo "$as_me:21245: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21246: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21248: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21249: \$? = $ac_status" >&5 ++ echo "$as_me:21251: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_const=yes + else +@@ -21256,7 +21258,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:21259: result: $ac_cv_c_const" >&5 ++echo "$as_me:21261: result: $ac_cv_c_const" >&5 + echo "${ECHO_T}$ac_cv_c_const" >&6 + if test $ac_cv_c_const = no; then + +@@ -21266,7 +21268,7 @@ + + fi + +-echo "$as_me:21269: checking for inline" >&5 ++echo "$as_me:21271: checking for inline" >&5 + echo $ECHO_N "checking for inline... $ECHO_C" >&6 + if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21274,7 +21276,7 @@ + ac_cv_c_inline=no + for ac_kw in inline __inline__ __inline; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21277 "configure" ++#line 21279 "configure" + #include "confdefs.h" + #ifndef __cplusplus + static $ac_kw int static_foo (void) {return 0; } +@@ -21283,16 +21285,16 @@ + + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21286: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21288: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21289: \$? = $ac_status" >&5 ++ echo "$as_me:21291: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21292: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21294: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21295: \$? = $ac_status" >&5 ++ echo "$as_me:21297: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_c_inline=$ac_kw; break + else +@@ -21303,7 +21305,7 @@ + done + + fi +-echo "$as_me:21306: result: $ac_cv_c_inline" >&5 ++echo "$as_me:21308: result: $ac_cv_c_inline" >&5 + echo "${ECHO_T}$ac_cv_c_inline" >&6 + case $ac_cv_c_inline in + inline | yes) ;; +@@ -21329,7 +21331,7 @@ + : + elif test "$GCC" = yes + then +- echo "$as_me:21332: checking if $CC supports options to tune inlining" >&5 ++ echo "$as_me:21334: checking if $CC supports options to tune inlining" >&5 + echo $ECHO_N "checking if $CC supports options to tune inlining... $ECHO_C" >&6 + if test "${cf_cv_gcc_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21338,7 +21340,7 @@ + cf_save_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS --param max-inline-insns-single=1200" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21341 "configure" ++#line 21343 "configure" + #include "confdefs.h" + inline int foo(void) { return 1; } + int +@@ -21350,16 +21352,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21353: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21355: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21356: \$? = $ac_status" >&5 ++ echo "$as_me:21358: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21359: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21361: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21362: \$? = $ac_status" >&5 ++ echo "$as_me:21364: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_gcc_inline=yes + else +@@ -21371,7 +21373,7 @@ + CFLAGS=$cf_save_CFLAGS + + fi +-echo "$as_me:21374: result: $cf_cv_gcc_inline" >&5 ++echo "$as_me:21376: result: $cf_cv_gcc_inline" >&5 + echo "${ECHO_T}$cf_cv_gcc_inline" >&6 + if test "$cf_cv_gcc_inline" = yes ; then + +@@ -21477,7 +21479,7 @@ + fi + fi + +-echo "$as_me:21480: checking for signal global datatype" >&5 ++echo "$as_me:21482: checking for signal global datatype" >&5 + echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6 + if test "${cf_cv_sig_atomic_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21489,7 +21491,7 @@ + "int" + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21492 "configure" ++#line 21494 "configure" + #include "confdefs.h" + + #include <sys/types.h> +@@ -21513,16 +21515,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21516: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21518: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21519: \$? = $ac_status" >&5 ++ echo "$as_me:21521: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21522: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21524: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21525: \$? = $ac_status" >&5 ++ echo "$as_me:21527: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sig_atomic_t=$cf_type + else +@@ -21536,7 +21538,7 @@ + + fi + +-echo "$as_me:21539: result: $cf_cv_sig_atomic_t" >&5 ++echo "$as_me:21541: result: $cf_cv_sig_atomic_t" >&5 + echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6 + test "$cf_cv_sig_atomic_t" != no && + cat >>confdefs.h <<EOF +@@ -21545,7 +21547,7 @@ + + if test "$NCURSES_CHTYPE" = auto ; then + +-echo "$as_me:21548: checking for type of chtype" >&5 ++echo "$as_me:21550: checking for type of chtype" >&5 + echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 + if test "${cf_cv_typeof_chtype+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -21555,7 +21557,7 @@ + cf_cv_typeof_chtype=long + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21558 "configure" ++#line 21560 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -21590,15 +21592,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21593: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21595: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21596: \$? = $ac_status" >&5 ++ echo "$as_me:21598: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21598: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21600: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21601: \$? = $ac_status" >&5 ++ echo "$as_me:21603: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_typeof_chtype=`cat cf_test.out` + else +@@ -21613,7 +21615,7 @@ + + fi + +-echo "$as_me:21616: result: $cf_cv_typeof_chtype" >&5 ++echo "$as_me:21618: result: $cf_cv_typeof_chtype" >&5 + echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 + + cat >>confdefs.h <<EOF +@@ -21625,14 +21627,14 @@ + fi + test "$cf_cv_typeof_chtype" = unsigned && cf_cv_typeof_chtype="" + +-echo "$as_me:21628: checking if unsigned literals are legal" >&5 ++echo "$as_me:21630: checking if unsigned literals are legal" >&5 + echo $ECHO_N "checking if unsigned literals are legal... $ECHO_C" >&6 + if test "${cf_cv_unsigned_literals+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21635 "configure" ++#line 21637 "configure" + #include "confdefs.h" + + int +@@ -21644,16 +21646,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21647: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21649: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21650: \$? = $ac_status" >&5 ++ echo "$as_me:21652: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21653: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21655: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21656: \$? = $ac_status" >&5 ++ echo "$as_me:21658: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_unsigned_literals=yes + else +@@ -21665,7 +21667,7 @@ + + fi + +-echo "$as_me:21668: result: $cf_cv_unsigned_literals" >&5 ++echo "$as_me:21670: result: $cf_cv_unsigned_literals" >&5 + echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 + + cf_cv_1UL="1" +@@ -21681,14 +21683,14 @@ + + ### Checks for external-data + +-echo "$as_me:21684: checking if external errno is declared" >&5 ++echo "$as_me:21686: checking if external errno is declared" >&5 + echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6 + if test "${cf_cv_dcl_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21691 "configure" ++#line 21693 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -21702,16 +21704,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:21705: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:21707: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21708: \$? = $ac_status" >&5 ++ echo "$as_me:21710: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:21711: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21713: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21714: \$? = $ac_status" >&5 ++ echo "$as_me:21716: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_dcl_errno=yes + else +@@ -21722,7 +21724,7 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + + fi +-echo "$as_me:21725: result: $cf_cv_dcl_errno" >&5 ++echo "$as_me:21727: result: $cf_cv_dcl_errno" >&5 + echo "${ECHO_T}$cf_cv_dcl_errno" >&6 + + if test "$cf_cv_dcl_errno" = no ; then +@@ -21737,14 +21739,14 @@ + + # It's possible (for near-UNIX clones) that the data doesn't exist + +-echo "$as_me:21740: checking if external errno exists" >&5 ++echo "$as_me:21742: checking if external errno exists" >&5 + echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6 + if test "${cf_cv_have_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21747 "configure" ++#line 21749 "configure" + #include "confdefs.h" + + #undef errno +@@ -21759,16 +21761,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21762: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21764: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21765: \$? = $ac_status" >&5 ++ echo "$as_me:21767: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21768: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21770: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21771: \$? = $ac_status" >&5 ++ echo "$as_me:21773: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_errno=yes + else +@@ -21779,7 +21781,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:21782: result: $cf_cv_have_errno" >&5 ++echo "$as_me:21784: result: $cf_cv_have_errno" >&5 + echo "${ECHO_T}$cf_cv_have_errno" >&6 + + if test "$cf_cv_have_errno" = yes ; then +@@ -21792,7 +21794,7 @@ + + fi + +-echo "$as_me:21795: checking if data-only library module links" >&5 ++echo "$as_me:21797: 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 +@@ -21800,20 +21802,20 @@ + + rm -f conftest.a + cat >conftest.$ac_ext <<EOF +-#line 21803 "configure" ++#line 21805 "configure" + int testdata[3] = { 123, 456, 789 }; + EOF +- if { (eval echo "$as_me:21806: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:21808: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21809: \$? = $ac_status" >&5 ++ echo "$as_me:21811: \$? = $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 21816 "configure" ++#line 21818 "configure" + extern int testfunc(void); + #if defined(NeXT) + int testfunc(void) +@@ -21830,10 +21832,10 @@ + } + #endif + EOF +- if { (eval echo "$as_me:21833: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:21835: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:21836: \$? = $ac_status" >&5 ++ echo "$as_me:21838: \$? = $ac_status" >&5 + (exit "$ac_status"); }; then + mv conftest.o func.o && \ + ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null +@@ -21846,7 +21848,7 @@ + cf_cv_link_dataonly=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21849 "configure" ++#line 21851 "configure" + #include "confdefs.h" + + extern int testfunc(void); +@@ -21857,15 +21859,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:21860: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21862: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21863: \$? = $ac_status" >&5 ++ echo "$as_me:21865: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:21865: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21867: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21868: \$? = $ac_status" >&5 ++ echo "$as_me:21870: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_link_dataonly=yes + else +@@ -21880,7 +21882,7 @@ + + fi + +-echo "$as_me:21883: result: $cf_cv_link_dataonly" >&5 ++echo "$as_me:21885: result: $cf_cv_link_dataonly" >&5 + echo "${ECHO_T}$cf_cv_link_dataonly" >&6 + + if test "$cf_cv_link_dataonly" = no ; then +@@ -21895,13 +21897,13 @@ + ### Checks for library functions. + + cf_save_libs="$LIBS" +-echo "$as_me:21898: checking for clock_gettime" >&5 ++echo "$as_me:21900: 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 21904 "configure" ++#line 21906 "configure" + #include "confdefs.h" + #define clock_gettime autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -21932,16 +21934,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21935: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21937: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21938: \$? = $ac_status" >&5 ++ echo "$as_me:21940: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21941: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21943: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21944: \$? = $ac_status" >&5 ++ echo "$as_me:21946: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_clock_gettime=yes + else +@@ -21951,12 +21953,12 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:21954: result: $ac_cv_func_clock_gettime" >&5 ++echo "$as_me:21956: 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:21959: checking for clock_gettime in -lrt" >&5 ++ echo "$as_me:21961: 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 +@@ -21964,7 +21966,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lrt $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 21967 "configure" ++#line 21969 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -21983,16 +21985,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:21986: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:21988: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:21989: \$? = $ac_status" >&5 ++ echo "$as_me:21991: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:21992: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:21994: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:21995: \$? = $ac_status" >&5 ++ echo "$as_me:21997: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_rt_clock_gettime=yes + else +@@ -22003,7 +22005,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:22006: result: $ac_cv_lib_rt_clock_gettime" >&5 ++echo "$as_me:22008: 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" +@@ -22015,14 +22017,14 @@ + fi + + if test "$cf_cv_test_clock_gettime" = yes ; then +-echo "$as_me:22018: checking if clock_gettime links" >&5 ++echo "$as_me:22020: 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 22025 "configure" ++#line 22027 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -22040,16 +22042,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22043: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22045: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22046: \$? = $ac_status" >&5 ++ echo "$as_me:22048: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22049: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22051: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22052: \$? = $ac_status" >&5 ++ echo "$as_me:22054: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_clock_gettime=yes + else +@@ -22060,7 +22062,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:22063: result: $cf_cv_func_clock_gettime" >&5 ++echo "$as_me:22065: result: $cf_cv_func_clock_gettime" >&5 + echo "${ECHO_T}$cf_cv_func_clock_gettime" >&6 + else + cf_cv_func_clock_gettime=no +@@ -22074,13 +22076,13 @@ + EOF + + else +-echo "$as_me:22077: checking for gettimeofday" >&5 ++echo "$as_me:22079: 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 22083 "configure" ++#line 22085 "configure" + #include "confdefs.h" + #define gettimeofday autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -22111,16 +22113,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22114: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22116: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22117: \$? = $ac_status" >&5 ++ echo "$as_me:22119: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22120: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22122: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22123: \$? = $ac_status" >&5 ++ echo "$as_me:22125: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes + else +@@ -22130,7 +22132,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22133: result: $ac_cv_func_gettimeofday" >&5 ++echo "$as_me:22135: result: $ac_cv_func_gettimeofday" >&5 + echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 + if test "$ac_cv_func_gettimeofday" = yes; then + +@@ -22140,7 +22142,7 @@ + + else + +-echo "$as_me:22143: checking for gettimeofday in -lbsd" >&5 ++echo "$as_me:22145: 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 +@@ -22148,7 +22150,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22151 "configure" ++#line 22153 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -22167,16 +22169,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22170: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22172: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22173: \$? = $ac_status" >&5 ++ echo "$as_me:22175: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22176: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22178: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22179: \$? = $ac_status" >&5 ++ echo "$as_me:22181: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes + else +@@ -22187,7 +22189,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:22190: result: $ac_cv_lib_bsd_gettimeofday" >&5 ++echo "$as_me:22192: 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 + +@@ -22246,13 +22248,13 @@ + + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:22249: checking for $ac_func" >&5 ++echo "$as_me:22251: checking for $ac_func" >&5 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 + if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22255 "configure" ++#line 22257 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -22283,16 +22285,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22286: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22288: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22289: \$? = $ac_status" >&5 ++ echo "$as_me:22291: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22292: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22294: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22295: \$? = $ac_status" >&5 ++ echo "$as_me:22297: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -22302,7 +22304,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22305: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:22307: result: `eval echo '${'"$as_ac_var"'}'`" >&5 + echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 + if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then + cat >>confdefs.h <<EOF +@@ -22312,14 +22314,14 @@ + fi + done + +-echo "$as_me:22315: checking if _PATH_TTYS is defined in ttyent.h" >&5 ++echo "$as_me:22317: checking if _PATH_TTYS is defined in ttyent.h" >&5 + echo $ECHO_N "checking if _PATH_TTYS is defined in ttyent.h... $ECHO_C" >&6 + if test "${cf_cv_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22322 "configure" ++#line 22324 "configure" + #include "confdefs.h" + + #include <stdio.h> +@@ -22334,16 +22336,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22337: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22339: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22340: \$? = $ac_status" >&5 ++ echo "$as_me:22342: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22343: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22345: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22346: \$? = $ac_status" >&5 ++ echo "$as_me:22348: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_PATH_TTYS=yes + else +@@ -22353,7 +22355,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:22356: result: $cf_cv_PATH_TTYS" >&5 ++echo "$as_me:22358: result: $cf_cv_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_PATH_TTYS" >&6 + + if test $cf_cv_PATH_TTYS = no +@@ -22375,7 +22377,7 @@ + + if test $cf_cv_PATH_TTYS != no + then +- echo "$as_me:22378: checking if _PATH_TTYS file exists" >&5 ++ echo "$as_me:22380: checking if _PATH_TTYS file exists" >&5 + echo $ECHO_N "checking if _PATH_TTYS file exists... $ECHO_C" >&6 + if test "${cf_cv_have_PATH_TTYS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22385,7 +22387,7 @@ + cf_cv_have_PATH_TTYS=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22388 "configure" ++#line 22390 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -22398,15 +22400,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22401: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22403: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22404: \$? = $ac_status" >&5 ++ echo "$as_me:22406: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22406: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22408: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22409: \$? = $ac_status" >&5 ++ echo "$as_me:22411: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_PATH_TTYS=yes + else +@@ -22418,7 +22420,7 @@ + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:22421: result: $cf_cv_have_PATH_TTYS" >&5 ++echo "$as_me:22423: result: $cf_cv_have_PATH_TTYS" >&5 + echo "${ECHO_T}$cf_cv_have_PATH_TTYS" >&6 + test "$cf_cv_have_PATH_TTYS" = no && cf_cv_PATH_TTYS=no + fi +@@ -22430,14 +22432,14 @@ + #define HAVE_PATH_TTYS 1 + EOF + +- echo "$as_me:22433: checking for getttynam" >&5 ++ echo "$as_me:22435: checking for getttynam" >&5 + echo $ECHO_N "checking for getttynam... $ECHO_C" >&6 + if test "${cf_cv_func_getttynam+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22440 "configure" ++#line 22442 "configure" + #include "confdefs.h" + #include <ttyent.h> + int +@@ -22449,16 +22451,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22452: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22454: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22455: \$? = $ac_status" >&5 ++ echo "$as_me:22457: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22458: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22460: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22461: \$? = $ac_status" >&5 ++ echo "$as_me:22463: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_getttynam=yes + else +@@ -22468,7 +22470,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:22471: result: $cf_cv_func_getttynam" >&5 ++echo "$as_me:22473: result: $cf_cv_func_getttynam" >&5 + echo "${ECHO_T}$cf_cv_func_getttynam" >&6 + test "$cf_cv_func_getttynam" = yes && cat >>confdefs.h <<\EOF + #define HAVE_GETTTYNAM 1 +@@ -22478,7 +22480,7 @@ + + if test "x$ac_cv_func_getopt" = xno && \ + test "x$cf_with_progs$cf_with_tests" != xnono; then +- { { echo "$as_me:22481: error: getopt is required for building programs" >&5 ++ { { echo "$as_me:22483: error: getopt is required for building programs" >&5 + echo "$as_me: error: getopt is required for building programs" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -22487,7 +22489,7 @@ + then + if test "x$ac_cv_func_vsnprintf" = xyes + then +- { echo "$as_me:22490: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 ++ { echo "$as_me:22492: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 + echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;} + else + +@@ -22500,14 +22502,14 @@ + + if test "x$with_getcap" = "xyes" ; then + +-echo "$as_me:22503: checking for terminal-capability database functions" >&5 ++echo "$as_me:22505: checking for terminal-capability database functions" >&5 + echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6 + if test "${cf_cv_cgetent+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22510 "configure" ++#line 22512 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -22527,16 +22529,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22530: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22532: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22533: \$? = $ac_status" >&5 ++ echo "$as_me:22535: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22536: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22538: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22539: \$? = $ac_status" >&5 ++ echo "$as_me:22541: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent=yes + else +@@ -22547,7 +22549,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:22550: result: $cf_cv_cgetent" >&5 ++echo "$as_me:22552: result: $cf_cv_cgetent" >&5 + echo "${ECHO_T}$cf_cv_cgetent" >&6 + + if test "$cf_cv_cgetent" = yes +@@ -22557,14 +22559,14 @@ + #define HAVE_BSD_CGETENT 1 + EOF + +-echo "$as_me:22560: checking if cgetent uses const parameter" >&5 ++echo "$as_me:22562: checking if cgetent uses const parameter" >&5 + echo $ECHO_N "checking if cgetent uses const parameter... $ECHO_C" >&6 + if test "${cf_cv_cgetent_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22567 "configure" ++#line 22569 "configure" + #include "confdefs.h" + + #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers" +@@ -22587,16 +22589,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22590: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22592: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22593: \$? = $ac_status" >&5 ++ echo "$as_me:22595: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22596: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22598: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22599: \$? = $ac_status" >&5 ++ echo "$as_me:22601: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cgetent_const=yes + else +@@ -22607,7 +22609,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:22610: result: $cf_cv_cgetent_const" >&5 ++echo "$as_me:22612: result: $cf_cv_cgetent_const" >&5 + echo "${ECHO_T}$cf_cv_cgetent_const" >&6 + if test "$cf_cv_cgetent_const" = yes + then +@@ -22621,14 +22623,14 @@ + + fi + +-echo "$as_me:22624: checking for isascii" >&5 ++echo "$as_me:22626: checking for isascii" >&5 + echo $ECHO_N "checking for isascii... $ECHO_C" >&6 + if test "${cf_cv_have_isascii+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22631 "configure" ++#line 22633 "configure" + #include "confdefs.h" + #include <ctype.h> + int +@@ -22640,16 +22642,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22643: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22645: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22646: \$? = $ac_status" >&5 ++ echo "$as_me:22648: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22649: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22651: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22652: \$? = $ac_status" >&5 ++ echo "$as_me:22654: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_isascii=yes + else +@@ -22660,7 +22662,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + + fi +-echo "$as_me:22663: result: $cf_cv_have_isascii" >&5 ++echo "$as_me:22665: result: $cf_cv_have_isascii" >&5 + echo "${ECHO_T}$cf_cv_have_isascii" >&6 + test "$cf_cv_have_isascii" = yes && + cat >>confdefs.h <<\EOF +@@ -22668,10 +22670,10 @@ + EOF + + if test "$ac_cv_func_sigaction" = yes; then +-echo "$as_me:22671: checking whether sigaction needs _POSIX_SOURCE" >&5 ++echo "$as_me:22673: checking whether sigaction needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether sigaction needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22674 "configure" ++#line 22676 "configure" + #include "confdefs.h" + + #include <sys/types.h> +@@ -22685,16 +22687,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22688: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22690: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22691: \$? = $ac_status" >&5 ++ echo "$as_me:22693: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22694: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22696: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22697: \$? = $ac_status" >&5 ++ echo "$as_me:22699: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=no + else +@@ -22702,7 +22704,7 @@ + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22705 "configure" ++#line 22707 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22717,16 +22719,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22720: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22722: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22723: \$? = $ac_status" >&5 ++ echo "$as_me:22725: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22726: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22728: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22729: \$? = $ac_status" >&5 ++ echo "$as_me:22731: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + sigact_bad=yes + +@@ -22742,11 +22744,11 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-echo "$as_me:22745: result: $sigact_bad" >&5 ++echo "$as_me:22747: result: $sigact_bad" >&5 + echo "${ECHO_T}$sigact_bad" >&6 + fi + +-echo "$as_me:22749: checking if nanosleep really works" >&5 ++echo "$as_me:22751: checking if nanosleep really works" >&5 + echo $ECHO_N "checking if nanosleep really works... $ECHO_C" >&6 + if test "${cf_cv_func_nanosleep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -22756,7 +22758,7 @@ + cf_cv_func_nanosleep=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22759 "configure" ++#line 22761 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -22782,15 +22784,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:22785: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22787: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22788: \$? = $ac_status" >&5 ++ echo "$as_me:22790: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:22790: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22792: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22793: \$? = $ac_status" >&5 ++ echo "$as_me:22795: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_nanosleep=yes + else +@@ -22802,7 +22804,7 @@ + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:22805: result: $cf_cv_func_nanosleep" >&5 ++echo "$as_me:22807: result: $cf_cv_func_nanosleep" >&5 + echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 + + test "$cf_cv_func_nanosleep" = "yes" && +@@ -22819,23 +22821,23 @@ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:22822: checking for $ac_header" >&5 ++echo "$as_me:22824: 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 22828 "configure" ++#line 22830 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:22832: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:22834: \"$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:22838: \$? = $ac_status" >&5 ++ echo "$as_me:22840: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -22854,7 +22856,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:22857: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:22859: 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 +@@ -22871,10 +22873,10 @@ + (*) termios_bad=maybe ;; + esac + if test "$termios_bad" = maybe ; then +- echo "$as_me:22874: checking whether termios.h needs _POSIX_SOURCE" >&5 ++ echo "$as_me:22876: checking whether termios.h needs _POSIX_SOURCE" >&5 + echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22877 "configure" ++#line 22879 "configure" + #include "confdefs.h" + #include <termios.h> + int +@@ -22886,16 +22888,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22889: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22891: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22892: \$? = $ac_status" >&5 ++ echo "$as_me:22894: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22895: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22897: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22898: \$? = $ac_status" >&5 ++ echo "$as_me:22900: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=no + else +@@ -22903,7 +22905,7 @@ + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22906 "configure" ++#line 22908 "configure" + #include "confdefs.h" + + #define _POSIX_SOURCE +@@ -22917,16 +22919,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:22920: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:22922: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:22923: \$? = $ac_status" >&5 ++ echo "$as_me:22925: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:22926: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22928: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22929: \$? = $ac_status" >&5 ++ echo "$as_me:22931: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + termios_bad=unknown + else +@@ -22942,19 +22944,19 @@ + + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:22945: result: $termios_bad" >&5 ++ echo "$as_me:22947: result: $termios_bad" >&5 + echo "${ECHO_T}$termios_bad" >&6 + fi + fi + +-echo "$as_me:22950: checking for tcgetattr" >&5 ++echo "$as_me:22952: checking for tcgetattr" >&5 + echo $ECHO_N "checking for tcgetattr... $ECHO_C" >&6 + if test "${cf_cv_have_tcgetattr+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 22957 "configure" ++#line 22959 "configure" + #include "confdefs.h" + + #include <sys/types.h> +@@ -22982,16 +22984,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:22985: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:22987: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:22988: \$? = $ac_status" >&5 ++ echo "$as_me:22990: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:22991: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:22993: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:22994: \$? = $ac_status" >&5 ++ echo "$as_me:22996: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_tcgetattr=yes + else +@@ -23001,21 +23003,21 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23004: result: $cf_cv_have_tcgetattr" >&5 ++echo "$as_me:23006: result: $cf_cv_have_tcgetattr" >&5 + echo "${ECHO_T}$cf_cv_have_tcgetattr" >&6 + test "$cf_cv_have_tcgetattr" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TCGETATTR 1 + EOF + +-echo "$as_me:23011: checking for vsscanf function or workaround" >&5 ++echo "$as_me:23013: checking for vsscanf function or workaround" >&5 + echo $ECHO_N "checking for vsscanf function or workaround... $ECHO_C" >&6 + if test "${cf_cv_func_vsscanf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23018 "configure" ++#line 23020 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -23041,16 +23043,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23044: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23046: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23047: \$? = $ac_status" >&5 ++ echo "$as_me:23049: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23050: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23052: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23053: \$? = $ac_status" >&5 ++ echo "$as_me:23055: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vsscanf + else +@@ -23058,7 +23060,7 @@ + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23061 "configure" ++#line 23063 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -23080,16 +23082,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23083: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23085: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23086: \$? = $ac_status" >&5 ++ echo "$as_me:23088: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23089: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23091: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23092: \$? = $ac_status" >&5 ++ echo "$as_me:23094: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=vfscanf + else +@@ -23097,7 +23099,7 @@ + cat "conftest.$ac_ext" >&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23100 "configure" ++#line 23102 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -23119,16 +23121,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23122: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23124: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23125: \$? = $ac_status" >&5 ++ echo "$as_me:23127: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23128: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23130: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23131: \$? = $ac_status" >&5 ++ echo "$as_me:23133: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_vsscanf=_doscan + else +@@ -23143,7 +23145,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23146: result: $cf_cv_func_vsscanf" >&5 ++echo "$as_me:23148: result: $cf_cv_func_vsscanf" >&5 + echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 + + case "$cf_cv_func_vsscanf" in +@@ -23169,23 +23171,23 @@ + + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:23172: checking for $ac_header" >&5 ++echo "$as_me:23174: 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 23178 "configure" ++#line 23180 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:23182: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:23184: \"$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:23188: \$? = $ac_status" >&5 ++ echo "$as_me:23190: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -23204,7 +23206,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:23207: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:23209: 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 +@@ -23214,7 +23216,7 @@ + fi + done + +-echo "$as_me:23217: checking for working mkstemp" >&5 ++echo "$as_me:23219: 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 +@@ -23225,7 +23227,7 @@ + cf_cv_func_mkstemp=maybe + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23228 "configure" ++#line 23230 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -23260,15 +23262,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23263: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23265: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23266: \$? = $ac_status" >&5 ++ echo "$as_me:23268: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23268: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23270: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23271: \$? = $ac_status" >&5 ++ echo "$as_me:23273: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_mkstemp=yes + +@@ -23283,16 +23285,16 @@ + fi + + fi +-echo "$as_me:23286: result: $cf_cv_func_mkstemp" >&5 ++echo "$as_me:23288: 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:23289: checking for mkstemp" >&5 ++ echo "$as_me:23291: 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 23295 "configure" ++#line 23297 "configure" + #include "confdefs.h" + #define mkstemp autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23323,16 +23325,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23326: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23328: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23329: \$? = $ac_status" >&5 ++ echo "$as_me:23331: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23332: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23334: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23335: \$? = $ac_status" >&5 ++ echo "$as_me:23337: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_mkstemp=yes + else +@@ -23342,7 +23344,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23345: result: $ac_cv_func_mkstemp" >&5 ++echo "$as_me:23347: result: $ac_cv_func_mkstemp" >&5 + echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 + + fi +@@ -23363,21 +23365,21 @@ + fi + + if test "x$cross_compiling" = xyes ; then +- { echo "$as_me:23366: WARNING: cross compiling: assume setvbuf params not reversed" >&5 ++ { echo "$as_me:23368: WARNING: cross compiling: assume setvbuf params not reversed" >&5 + echo "$as_me: WARNING: cross compiling: assume setvbuf params not reversed" >&2;} + else +- echo "$as_me:23369: checking whether setvbuf arguments are reversed" >&5 ++ echo "$as_me:23371: checking whether setvbuf arguments are reversed" >&5 + echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6 + if test "${ac_cv_func_setvbuf_reversed+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:23375: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:23377: 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 23380 "configure" ++#line 23382 "configure" + #include "confdefs.h" + #include <stdio.h> + /* If setvbuf has the reversed format, exit 0. */ +@@ -23394,15 +23396,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23397: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23399: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23400: \$? = $ac_status" >&5 ++ echo "$as_me:23402: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23402: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23404: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23405: \$? = $ac_status" >&5 ++ echo "$as_me:23407: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_setvbuf_reversed=yes + else +@@ -23415,7 +23417,7 @@ + fi + rm -f core ./core.* ./*.core + fi +-echo "$as_me:23418: result: $ac_cv_func_setvbuf_reversed" >&5 ++echo "$as_me:23420: result: $ac_cv_func_setvbuf_reversed" >&5 + echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6 + if test $ac_cv_func_setvbuf_reversed = yes; then + +@@ -23426,13 +23428,13 @@ + fi + + fi +-echo "$as_me:23429: checking for intptr_t" >&5 ++echo "$as_me:23431: checking for intptr_t" >&5 + echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 + if test "${ac_cv_type_intptr_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23435 "configure" ++#line 23437 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -23447,16 +23449,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23450: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23452: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23453: \$? = $ac_status" >&5 ++ echo "$as_me:23455: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23456: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23458: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23459: \$? = $ac_status" >&5 ++ echo "$as_me:23461: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_intptr_t=yes + else +@@ -23466,7 +23468,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:23469: result: $ac_cv_type_intptr_t" >&5 ++echo "$as_me:23471: result: $ac_cv_type_intptr_t" >&5 + echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 + if test "$ac_cv_type_intptr_t" = yes; then + : +@@ -23478,13 +23480,13 @@ + + fi + +-echo "$as_me:23481: checking for ssize_t" >&5 ++echo "$as_me:23483: checking for ssize_t" >&5 + echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 + if test "${ac_cv_type_ssize_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23487 "configure" ++#line 23489 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -23499,16 +23501,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23502: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23504: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23505: \$? = $ac_status" >&5 ++ echo "$as_me:23507: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23508: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23510: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23511: \$? = $ac_status" >&5 ++ echo "$as_me:23513: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_ssize_t=yes + else +@@ -23518,7 +23520,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:23521: result: $ac_cv_type_ssize_t" >&5 ++echo "$as_me:23523: result: $ac_cv_type_ssize_t" >&5 + echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 + if test "$ac_cv_type_ssize_t" = yes; then + : +@@ -23530,14 +23532,14 @@ + + fi + +-echo "$as_me:23533: checking for type sigaction_t" >&5 ++echo "$as_me:23535: checking for type sigaction_t" >&5 + echo $ECHO_N "checking for type sigaction_t... $ECHO_C" >&6 + if test "${cf_cv_type_sigaction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23540 "configure" ++#line 23542 "configure" + #include "confdefs.h" + + #include <signal.h> +@@ -23550,16 +23552,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23553: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23555: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23556: \$? = $ac_status" >&5 ++ echo "$as_me:23558: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23559: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23561: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23562: \$? = $ac_status" >&5 ++ echo "$as_me:23564: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_sigaction=yes + else +@@ -23570,14 +23572,14 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi + +-echo "$as_me:23573: result: $cf_cv_type_sigaction" >&5 ++echo "$as_me:23575: result: $cf_cv_type_sigaction" >&5 + echo "${ECHO_T}$cf_cv_type_sigaction" >&6 + test "$cf_cv_type_sigaction" = yes && + cat >>confdefs.h <<\EOF + #define HAVE_TYPE_SIGACTION 1 + EOF + +-echo "$as_me:23580: checking declaration of size-change" >&5 ++echo "$as_me:23582: checking declaration of size-change" >&5 + echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 + if test "${cf_cv_sizechange+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23598,7 +23600,7 @@ + + fi + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23601 "configure" ++#line 23603 "configure" + #include "confdefs.h" + #include <sys/types.h> + #ifdef HAVE_TERMIOS_H +@@ -23648,16 +23650,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:23651: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:23653: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:23654: \$? = $ac_status" >&5 ++ echo "$as_me:23656: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:23657: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23659: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23660: \$? = $ac_status" >&5 ++ echo "$as_me:23662: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_sizechange=yes + else +@@ -23676,7 +23678,7 @@ + done + + fi +-echo "$as_me:23679: result: $cf_cv_sizechange" >&5 ++echo "$as_me:23681: result: $cf_cv_sizechange" >&5 + echo "${ECHO_T}$cf_cv_sizechange" >&6 + if test "$cf_cv_sizechange" != no ; then + +@@ -23694,13 +23696,13 @@ + esac + fi + +-echo "$as_me:23697: checking for memmove" >&5 ++echo "$as_me:23699: checking for memmove" >&5 + echo $ECHO_N "checking for memmove... $ECHO_C" >&6 + if test "${ac_cv_func_memmove+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23703 "configure" ++#line 23705 "configure" + #include "confdefs.h" + #define memmove autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23731,16 +23733,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23734: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23736: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23737: \$? = $ac_status" >&5 ++ echo "$as_me:23739: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23740: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23742: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23743: \$? = $ac_status" >&5 ++ echo "$as_me:23745: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_memmove=yes + else +@@ -23750,19 +23752,19 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23753: result: $ac_cv_func_memmove" >&5 ++echo "$as_me:23755: result: $ac_cv_func_memmove" >&5 + echo "${ECHO_T}$ac_cv_func_memmove" >&6 + if test "$ac_cv_func_memmove" = yes; then + : + else + +-echo "$as_me:23759: checking for bcopy" >&5 ++echo "$as_me:23761: checking for bcopy" >&5 + echo $ECHO_N "checking for bcopy... $ECHO_C" >&6 + if test "${ac_cv_func_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23765 "configure" ++#line 23767 "configure" + #include "confdefs.h" + #define bcopy autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23793,16 +23795,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23796: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23798: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23799: \$? = $ac_status" >&5 ++ echo "$as_me:23801: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23802: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23804: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23805: \$? = $ac_status" >&5 ++ echo "$as_me:23807: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_bcopy=yes + else +@@ -23812,11 +23814,11 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23815: result: $ac_cv_func_bcopy" >&5 ++echo "$as_me:23817: result: $ac_cv_func_bcopy" >&5 + echo "${ECHO_T}$ac_cv_func_bcopy" >&6 + if test "$ac_cv_func_bcopy" = yes; then + +- echo "$as_me:23819: checking if bcopy does overlapping moves" >&5 ++ echo "$as_me:23821: checking if bcopy does overlapping moves" >&5 + echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6 + if test "${cf_cv_good_bcopy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23826,7 +23828,7 @@ + cf_cv_good_bcopy=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23829 "configure" ++#line 23831 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -23842,15 +23844,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:23845: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23847: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23848: \$? = $ac_status" >&5 ++ echo "$as_me:23850: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:23850: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23852: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23853: \$? = $ac_status" >&5 ++ echo "$as_me:23855: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_good_bcopy=yes + else +@@ -23863,7 +23865,7 @@ + fi + + fi +-echo "$as_me:23866: result: $cf_cv_good_bcopy" >&5 ++echo "$as_me:23868: result: $cf_cv_good_bcopy" >&5 + echo "${ECHO_T}$cf_cv_good_bcopy" >&6 + + else +@@ -23890,13 +23892,13 @@ + for ac_func in posix_openpt + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:23893: checking for $ac_func" >&5 ++echo "$as_me:23895: checking for $ac_func" >&5 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 + if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23899 "configure" ++#line 23901 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -23927,16 +23929,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:23930: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:23932: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:23933: \$? = $ac_status" >&5 ++ echo "$as_me:23935: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:23936: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:23938: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:23939: \$? = $ac_status" >&5 ++ echo "$as_me:23941: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -23946,7 +23948,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:23949: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:23951: result: `eval echo '${'"$as_ac_var"'}'`" >&5 + echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 + if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then + cat >>confdefs.h <<EOF +@@ -23956,7 +23958,7 @@ + fi + done + } +-echo "$as_me:23959: checking if poll really works" >&5 ++echo "$as_me:23961: checking if poll really works" >&5 + echo $ECHO_N "checking if poll really works... $ECHO_C" >&6 + if test "${cf_cv_working_poll+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -23966,7 +23968,7 @@ + cf_cv_working_poll=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 23969 "configure" ++#line 23971 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24019,15 +24021,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24022: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24024: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24025: \$? = $ac_status" >&5 ++ echo "$as_me:24027: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24027: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24029: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24030: \$? = $ac_status" >&5 ++ echo "$as_me:24032: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_working_poll=yes + else +@@ -24039,21 +24041,21 @@ + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:24042: result: $cf_cv_working_poll" >&5 ++echo "$as_me:24044: result: $cf_cv_working_poll" >&5 + echo "${ECHO_T}$cf_cv_working_poll" >&6 + test "$cf_cv_working_poll" = "yes" && + cat >>confdefs.h <<\EOF + #define HAVE_WORKING_POLL 1 + EOF + +-echo "$as_me:24049: checking if MB_LEN_MAX is usable" >&5 ++echo "$as_me:24051: checking if MB_LEN_MAX is usable" >&5 + echo $ECHO_N "checking if MB_LEN_MAX is usable... $ECHO_C" >&6 + if test "${cf_cv_mb_len_max+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24056 "configure" ++#line 24058 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24073,16 +24075,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24076: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24078: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24079: \$? = $ac_status" >&5 ++ echo "$as_me:24081: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24082: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24084: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24085: \$? = $ac_status" >&5 ++ echo "$as_me:24087: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_mb_len_max=yes + else +@@ -24092,7 +24094,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:24095: result: $cf_cv_mb_len_max" >&5 ++echo "$as_me:24097: result: $cf_cv_mb_len_max" >&5 + echo "${ECHO_T}$cf_cv_mb_len_max" >&6 + if test "$cf_cv_mb_len_max" = yes + then +@@ -24102,18 +24104,18 @@ + EOF + + else +- { echo "$as_me:24105: WARNING: MB_LEN_MAX is missing/inconsistent in system headers" >&5 ++ { echo "$as_me:24107: WARNING: MB_LEN_MAX is missing/inconsistent in system headers" >&5 + echo "$as_me: WARNING: MB_LEN_MAX is missing/inconsistent in system headers" >&2;} + fi + +-echo "$as_me:24109: checking for va_copy" >&5 ++echo "$as_me:24111: checking for va_copy" >&5 + echo $ECHO_N "checking for va_copy... $ECHO_C" >&6 + if test "${cf_cv_have_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24116 "configure" ++#line 24118 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -24130,16 +24132,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24133: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24135: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24136: \$? = $ac_status" >&5 ++ echo "$as_me:24138: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24139: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24141: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24142: \$? = $ac_status" >&5 ++ echo "$as_me:24144: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have_va_copy=yes + else +@@ -24149,7 +24151,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:24152: result: $cf_cv_have_va_copy" >&5 ++echo "$as_me:24154: result: $cf_cv_have_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have_va_copy" >&6 + + if test "$cf_cv_have_va_copy" = yes; +@@ -24161,14 +24163,14 @@ + + else # !cf_cv_have_va_copy + +-echo "$as_me:24164: checking for __va_copy" >&5 ++echo "$as_me:24166: checking for __va_copy" >&5 + echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24171 "configure" ++#line 24173 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -24185,16 +24187,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24188: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24190: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24191: \$? = $ac_status" >&5 ++ echo "$as_me:24193: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24194: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24196: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24197: \$? = $ac_status" >&5 ++ echo "$as_me:24199: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___va_copy=yes + else +@@ -24204,7 +24206,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:24207: result: $cf_cv_have___va_copy" >&5 ++echo "$as_me:24209: result: $cf_cv_have___va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___va_copy" >&6 + + if test "$cf_cv_have___va_copy" = yes +@@ -24216,14 +24218,14 @@ + + else # !cf_cv_have___va_copy + +-echo "$as_me:24219: checking for __builtin_va_copy" >&5 ++echo "$as_me:24221: checking for __builtin_va_copy" >&5 + echo $ECHO_N "checking for __builtin_va_copy... $ECHO_C" >&6 + if test "${cf_cv_have___builtin_va_copy+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24226 "configure" ++#line 24228 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -24240,16 +24242,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24243: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24245: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24246: \$? = $ac_status" >&5 ++ echo "$as_me:24248: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24249: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24251: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24252: \$? = $ac_status" >&5 ++ echo "$as_me:24254: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_have___builtin_va_copy=yes + else +@@ -24259,7 +24261,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:24262: result: $cf_cv_have___builtin_va_copy" >&5 ++echo "$as_me:24264: result: $cf_cv_have___builtin_va_copy" >&5 + echo "${ECHO_T}$cf_cv_have___builtin_va_copy" >&6 + + test "$cf_cv_have___builtin_va_copy" = yes && +@@ -24277,14 +24279,14 @@ + ;; + + (*) +- echo "$as_me:24280: checking if we can simply copy va_list" >&5 ++ echo "$as_me:24282: checking if we can simply copy va_list" >&5 + echo $ECHO_N "checking if we can simply copy va_list... $ECHO_C" >&6 + if test "${cf_cv_pointer_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24287 "configure" ++#line 24289 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -24301,16 +24303,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24304: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24306: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24307: \$? = $ac_status" >&5 ++ echo "$as_me:24309: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24310: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24312: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24313: \$? = $ac_status" >&5 ++ echo "$as_me:24315: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_pointer_va_list=yes + else +@@ -24320,19 +24322,19 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:24323: result: $cf_cv_pointer_va_list" >&5 ++echo "$as_me:24325: result: $cf_cv_pointer_va_list" >&5 + echo "${ECHO_T}$cf_cv_pointer_va_list" >&6 + + if test "$cf_cv_pointer_va_list" = no + then +- echo "$as_me:24328: checking if we can copy va_list indirectly" >&5 ++ echo "$as_me:24330: checking if we can copy va_list indirectly" >&5 + echo $ECHO_N "checking if we can copy va_list indirectly... $ECHO_C" >&6 + if test "${cf_cv_array_va_list+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24335 "configure" ++#line 24337 "configure" + #include "confdefs.h" + + #include <stdarg.h> +@@ -24349,16 +24351,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24352: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24354: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24355: \$? = $ac_status" >&5 ++ echo "$as_me:24357: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24358: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24360: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24361: \$? = $ac_status" >&5 ++ echo "$as_me:24363: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_array_va_list=yes + else +@@ -24368,7 +24370,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:24371: result: $cf_cv_array_va_list" >&5 ++echo "$as_me:24373: result: $cf_cv_array_va_list" >&5 + echo "${ECHO_T}$cf_cv_array_va_list" >&6 + test "$cf_cv_array_va_list" = yes && + cat >>confdefs.h <<\EOF +@@ -24379,13 +24381,13 @@ + ;; + esac + +-echo "$as_me:24382: checking for pid_t" >&5 ++echo "$as_me:24384: checking for pid_t" >&5 + echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 + if test "${ac_cv_type_pid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24388 "configure" ++#line 24390 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -24400,16 +24402,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24403: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24405: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24406: \$? = $ac_status" >&5 ++ echo "$as_me:24408: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24409: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24411: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24412: \$? = $ac_status" >&5 ++ echo "$as_me:24414: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_pid_t=yes + else +@@ -24419,7 +24421,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:24422: result: $ac_cv_type_pid_t" >&5 ++echo "$as_me:24424: result: $ac_cv_type_pid_t" >&5 + echo "${ECHO_T}$ac_cv_type_pid_t" >&6 + if test "$ac_cv_type_pid_t" = yes; then + : +@@ -24434,23 +24436,23 @@ + for ac_header in unistd.h vfork.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:24437: checking for $ac_header" >&5 ++echo "$as_me:24439: 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 24443 "configure" ++#line 24445 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:24447: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:24449: \"$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:24453: \$? = $ac_status" >&5 ++ echo "$as_me:24455: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -24469,7 +24471,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:24472: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:24474: 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 +@@ -24482,13 +24484,13 @@ + for ac_func in fork vfork + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +-echo "$as_me:24485: checking for $ac_func" >&5 ++echo "$as_me:24487: checking for $ac_func" >&5 + echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 + if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24491 "configure" ++#line 24493 "configure" + #include "confdefs.h" + #define $ac_func autoconf_temporary + #include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */ +@@ -24519,16 +24521,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:24522: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24524: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24525: \$? = $ac_status" >&5 ++ echo "$as_me:24527: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:24528: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24530: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24531: \$? = $ac_status" >&5 ++ echo "$as_me:24533: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + eval "$as_ac_var=yes" + else +@@ -24538,7 +24540,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + fi +-echo "$as_me:24541: result: `eval echo '${'"$as_ac_var"'}'`" >&5 ++echo "$as_me:24543: result: `eval echo '${'"$as_ac_var"'}'`" >&5 + echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 + if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then + cat >>confdefs.h <<EOF +@@ -24550,7 +24552,7 @@ + + ac_cv_func_fork_works=$ac_cv_func_fork + if test "x$ac_cv_func_fork" = xyes; then +- echo "$as_me:24553: checking for working fork" >&5 ++ echo "$as_me:24555: checking for working fork" >&5 + echo $ECHO_N "checking for working fork... $ECHO_C" >&6 + if test "${ac_cv_func_fork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24573,15 +24575,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24576: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24578: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24579: \$? = $ac_status" >&5 ++ echo "$as_me:24581: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24581: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24583: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24584: \$? = $ac_status" >&5 ++ echo "$as_me:24586: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_fork_works=yes + else +@@ -24593,7 +24595,7 @@ + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:24596: result: $ac_cv_func_fork_works" >&5 ++echo "$as_me:24598: result: $ac_cv_func_fork_works" >&5 + echo "${ECHO_T}$ac_cv_func_fork_works" >&6 + + fi +@@ -24607,12 +24609,12 @@ + ac_cv_func_fork_works=yes + ;; + esac +- { echo "$as_me:24610: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:24612: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} + fi + ac_cv_func_vfork_works=$ac_cv_func_vfork + if test "x$ac_cv_func_vfork" = xyes; then +- echo "$as_me:24615: checking for working vfork" >&5 ++ echo "$as_me:24617: checking for working vfork" >&5 + echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 + if test "${ac_cv_func_vfork_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24621,7 +24623,7 @@ + ac_cv_func_vfork_works=cross + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24624 "configure" ++#line 24626 "configure" + #include "confdefs.h" + /* Thanks to Paul Eggert for this test. */ + #include <stdio.h> +@@ -24714,15 +24716,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24717: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24719: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24720: \$? = $ac_status" >&5 ++ echo "$as_me:24722: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24722: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24724: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24725: \$? = $ac_status" >&5 ++ echo "$as_me:24727: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_vfork_works=yes + else +@@ -24734,13 +24736,13 @@ + rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" + fi + fi +-echo "$as_me:24737: result: $ac_cv_func_vfork_works" >&5 ++echo "$as_me:24739: result: $ac_cv_func_vfork_works" >&5 + echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 + + fi; + if test "x$ac_cv_func_fork_works" = xcross; then + ac_cv_func_vfork_works=ac_cv_func_vfork +- { echo "$as_me:24743: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 ++ { echo "$as_me:24745: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} + fi + +@@ -24765,7 +24767,7 @@ + + fi + +-echo "$as_me:24768: checking if fopen accepts explicit binary mode" >&5 ++echo "$as_me:24770: checking if fopen accepts explicit binary mode" >&5 + echo $ECHO_N "checking if fopen accepts explicit binary mode... $ECHO_C" >&6 + if test "${cf_cv_fopen_bin_r+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -24775,7 +24777,7 @@ + cf_cv_fopen_bin_r=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24778 "configure" ++#line 24780 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24810,15 +24812,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:24813: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:24815: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:24816: \$? = $ac_status" >&5 ++ echo "$as_me:24818: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:24818: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24820: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24821: \$? = $ac_status" >&5 ++ echo "$as_me:24823: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_fopen_bin_r=yes + else +@@ -24831,20 +24833,20 @@ + fi + + fi +-echo "$as_me:24834: result: $cf_cv_fopen_bin_r" >&5 ++echo "$as_me:24836: result: $cf_cv_fopen_bin_r" >&5 + echo "${ECHO_T}$cf_cv_fopen_bin_r" >&6 + test "x$cf_cv_fopen_bin_r" != xno && + cat >>confdefs.h <<\EOF + #define USE_FOPEN_BIN_R 1 + EOF + +- echo "$as_me:24841: checking for cc_t" >&5 ++ echo "$as_me:24843: checking for cc_t" >&5 + echo $ECHO_N "checking for cc_t... $ECHO_C" >&6 + if test "${ac_cv_type_cc_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24847 "configure" ++#line 24849 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24862,16 +24864,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24865: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24867: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24868: \$? = $ac_status" >&5 ++ echo "$as_me:24870: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24871: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24873: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24874: \$? = $ac_status" >&5 ++ echo "$as_me:24876: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_cc_t=yes + else +@@ -24881,7 +24883,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:24884: result: $ac_cv_type_cc_t" >&5 ++echo "$as_me:24886: result: $ac_cv_type_cc_t" >&5 + echo "${ECHO_T}$ac_cv_type_cc_t" >&6 + if test "$ac_cv_type_cc_t" = yes; then + +@@ -24891,13 +24893,13 @@ + + fi + +- echo "$as_me:24894: checking for speed_t" >&5 ++ echo "$as_me:24896: checking for speed_t" >&5 + echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 + if test "${ac_cv_type_speed_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24900 "configure" ++#line 24902 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24915,16 +24917,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24918: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24920: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24921: \$? = $ac_status" >&5 ++ echo "$as_me:24923: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24924: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24926: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24927: \$? = $ac_status" >&5 ++ echo "$as_me:24929: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_speed_t=yes + else +@@ -24934,7 +24936,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:24937: result: $ac_cv_type_speed_t" >&5 ++echo "$as_me:24939: result: $ac_cv_type_speed_t" >&5 + echo "${ECHO_T}$ac_cv_type_speed_t" >&6 + if test "$ac_cv_type_speed_t" = yes; then + +@@ -24944,13 +24946,13 @@ + + fi + +- echo "$as_me:24947: checking for tcflag_t" >&5 ++ echo "$as_me:24949: checking for tcflag_t" >&5 + echo $ECHO_N "checking for tcflag_t... $ECHO_C" >&6 + if test "${ac_cv_type_tcflag_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 24953 "configure" ++#line 24955 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -24968,16 +24970,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:24971: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:24973: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:24974: \$? = $ac_status" >&5 ++ echo "$as_me:24976: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:24977: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:24979: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:24980: \$? = $ac_status" >&5 ++ echo "$as_me:24982: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_tcflag_t=yes + else +@@ -24987,7 +24989,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:24990: result: $ac_cv_type_tcflag_t" >&5 ++echo "$as_me:24992: result: $ac_cv_type_tcflag_t" >&5 + echo "${ECHO_T}$ac_cv_type_tcflag_t" >&6 + if test "$ac_cv_type_tcflag_t" = yes; then + +@@ -24997,13 +24999,13 @@ + + fi + +- echo "$as_me:25000: checking for sigset_t" >&5 ++ echo "$as_me:25002: checking for sigset_t" >&5 + echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6 + if test "${ac_cv_type_sigset_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25006 "configure" ++#line 25008 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -25021,16 +25023,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25024: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25026: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25027: \$? = $ac_status" >&5 ++ echo "$as_me:25029: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25030: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25032: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25033: \$? = $ac_status" >&5 ++ echo "$as_me:25035: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_sigset_t=yes + else +@@ -25040,7 +25042,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:25043: result: $ac_cv_type_sigset_t" >&5 ++echo "$as_me:25045: result: $ac_cv_type_sigset_t" >&5 + echo "${ECHO_T}$ac_cv_type_sigset_t" >&6 + if test "$ac_cv_type_sigset_t" = yes; then + +@@ -25052,7 +25054,7 @@ + + # special check for test/ditto.c + +-echo "$as_me:25055: checking for openpty in -lutil" >&5 ++echo "$as_me:25057: checking for openpty in -lutil" >&5 + echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 + if test "${ac_cv_lib_util_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25060,7 +25062,7 @@ + ac_check_lib_save_LIBS=$LIBS + LIBS="-lutil $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25063 "configure" ++#line 25065 "configure" + #include "confdefs.h" + + /* Override any gcc2 internal prototype to avoid an error. */ +@@ -25079,16 +25081,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25082: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25084: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25085: \$? = $ac_status" >&5 ++ echo "$as_me:25087: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25088: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25090: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25091: \$? = $ac_status" >&5 ++ echo "$as_me:25093: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_util_openpty=yes + else +@@ -25099,7 +25101,7 @@ + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS=$ac_check_lib_save_LIBS + fi +-echo "$as_me:25102: result: $ac_cv_lib_util_openpty" >&5 ++echo "$as_me:25104: result: $ac_cv_lib_util_openpty" >&5 + echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 + if test "$ac_cv_lib_util_openpty" = yes; then + cf_cv_lib_util=yes +@@ -25107,7 +25109,7 @@ + cf_cv_lib_util=no + fi + +-echo "$as_me:25110: checking for openpty header" >&5 ++echo "$as_me:25112: checking for openpty header" >&5 + echo $ECHO_N "checking for openpty header... $ECHO_C" >&6 + if test "${cf_cv_func_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25134,7 +25136,7 @@ + for cf_header in pty.h libutil.h util.h + do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25137 "configure" ++#line 25139 "configure" + #include "confdefs.h" + + #include <$cf_header> +@@ -25152,16 +25154,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25155: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25157: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25158: \$? = $ac_status" >&5 ++ echo "$as_me:25160: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25161: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25163: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25164: \$? = $ac_status" >&5 ++ echo "$as_me:25166: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_func_openpty=$cf_header +@@ -25179,7 +25181,7 @@ + LIBS="$cf_save_LIBS" + + fi +-echo "$as_me:25182: result: $cf_cv_func_openpty" >&5 ++echo "$as_me:25184: result: $cf_cv_func_openpty" >&5 + echo "${ECHO_T}$cf_cv_func_openpty" >&6 + + if test "$cf_cv_func_openpty" != no ; then +@@ -25252,7 +25254,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25255 "configure" ++#line 25257 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -25264,16 +25266,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25267: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25269: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25270: \$? = $ac_status" >&5 ++ echo "$as_me:25272: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25273: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25275: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25276: \$? = $ac_status" >&5 ++ echo "$as_me:25278: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -25290,7 +25292,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}:25293: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:25295: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -25326,7 +25328,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}:25329: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:25331: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -25337,7 +25339,7 @@ + else + case "$with_hashed_db" in + (./*|../*|/*) +- { echo "$as_me:25340: WARNING: no such directory $with_hashed_db" >&5 ++ { echo "$as_me:25342: WARNING: no such directory $with_hashed_db" >&5 + echo "$as_me: WARNING: no such directory $with_hashed_db" >&2;} + ;; + (*) +@@ -25409,7 +25411,7 @@ + CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25412 "configure" ++#line 25414 "configure" + #include "confdefs.h" + #include <stdio.h> + int +@@ -25421,16 +25423,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25424: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25426: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25427: \$? = $ac_status" >&5 ++ echo "$as_me:25429: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25430: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25432: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25433: \$? = $ac_status" >&5 ++ echo "$as_me:25435: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + : + else +@@ -25447,7 +25449,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}:25450: testing adding $cf_add_incdir to include-path ..." 1>&5 ++echo "${as_me:-configure}:25452: testing adding $cf_add_incdir to include-path ..." 1>&5 + + CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" + +@@ -25527,7 +25529,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}:25530: testing adding $cf_add_libdir to library-path ..." 1>&5 ++echo "${as_me:-configure}:25532: testing adding $cf_add_libdir to library-path ..." 1>&5 + + LDFLAGS="-L$cf_add_libdir $LDFLAGS" + fi +@@ -25544,23 +25546,23 @@ + fi + esac + +-echo "$as_me:25547: checking for db.h" >&5 ++echo "$as_me:25549: checking for db.h" >&5 + echo $ECHO_N "checking for db.h... $ECHO_C" >&6 + if test "${ac_cv_header_db_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25553 "configure" ++#line 25555 "configure" + #include "confdefs.h" + #include <db.h> + _ACEOF +-if { (eval echo "$as_me:25557: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:25559: \"$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:25563: \$? = $ac_status" >&5 ++ echo "$as_me:25565: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag +@@ -25579,11 +25581,11 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:25582: result: $ac_cv_header_db_h" >&5 ++echo "$as_me:25584: result: $ac_cv_header_db_h" >&5 + echo "${ECHO_T}$ac_cv_header_db_h" >&6 + if test "$ac_cv_header_db_h" = yes; then + +-echo "$as_me:25586: checking for version of db" >&5 ++echo "$as_me:25588: checking for version of db" >&5 + echo $ECHO_N "checking for version of db... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25594,10 +25596,10 @@ + for cf_db_version in 1 2 3 4 5 6 + do + +-echo "${as_me:-configure}:25597: testing checking for db version $cf_db_version ..." 1>&5 ++echo "${as_me:-configure}:25599: testing checking for db version $cf_db_version ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25600 "configure" ++#line 25602 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -25627,16 +25629,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25630: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25632: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25633: \$? = $ac_status" >&5 ++ echo "$as_me:25635: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25636: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25638: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25639: \$? = $ac_status" >&5 ++ echo "$as_me:25641: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + cf_cv_hashed_db_version=$cf_db_version +@@ -25650,16 +25652,16 @@ + done + + fi +-echo "$as_me:25653: result: $cf_cv_hashed_db_version" >&5 ++echo "$as_me:25655: result: $cf_cv_hashed_db_version" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_version" >&6 + + if test "$cf_cv_hashed_db_version" = unknown ; then +- { { echo "$as_me:25657: error: Cannot determine version of db" >&5 ++ { { echo "$as_me:25659: error: Cannot determine version of db" >&5 + echo "$as_me: error: Cannot determine version of db" >&2;} + { (exit 1); exit 1; }; } + else + +-echo "$as_me:25662: checking for db libraries" >&5 ++echo "$as_me:25664: checking for db libraries" >&5 + echo $ECHO_N "checking for db libraries... $ECHO_C" >&6 + if test "${cf_cv_hashed_db_libs+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -25689,10 +25691,10 @@ + + fi + +-echo "${as_me:-configure}:25692: testing checking for library $cf_db_libs ..." 1>&5 ++echo "${as_me:-configure}:25694: testing checking for library $cf_db_libs ..." 1>&5 + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25695 "configure" ++#line 25697 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -25747,16 +25749,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25750: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25752: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25753: \$? = $ac_status" >&5 ++ echo "$as_me:25755: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25756: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25758: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25759: \$? = $ac_status" >&5 ++ echo "$as_me:25761: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + if test -n "$cf_db_libs" ; then +@@ -25776,11 +25778,11 @@ + done + + fi +-echo "$as_me:25779: result: $cf_cv_hashed_db_libs" >&5 ++echo "$as_me:25781: result: $cf_cv_hashed_db_libs" >&5 + echo "${ECHO_T}$cf_cv_hashed_db_libs" >&6 + + if test "$cf_cv_hashed_db_libs" = unknown ; then +- { { echo "$as_me:25783: error: Cannot determine library for db" >&5 ++ { { echo "$as_me:25785: error: Cannot determine library for db" >&5 + echo "$as_me: error: Cannot determine library for db" >&2;} + { (exit 1); exit 1; }; } + elif test "$cf_cv_hashed_db_libs" != default ; then +@@ -25806,7 +25808,7 @@ + + else + +- { { echo "$as_me:25809: error: Cannot find db.h" >&5 ++ { { echo "$as_me:25811: error: Cannot find db.h" >&5 + echo "$as_me: error: Cannot find db.h" >&2;} + { (exit 1); exit 1; }; } + +@@ -25821,20 +25823,18 @@ + + # Just in case, check if the C compiler has a bool type. + +-echo "$as_me:25824: checking if we should include stdbool.h" >&5 +-echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 +- ++echo "$as_me:25826: checking if we can include stdbool.h" >&5 ++echo $ECHO_N "checking if we can include stdbool.h... $ECHO_C" >&6 + if test "${cf_cv_header_stdbool_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25832 "configure" ++#line 25833 "configure" + #include "confdefs.h" + +-#ifndef __BEOS__ ++$ac_includes_default + #include <stdbool.h> +-#endif + + int + main (void) +@@ -25856,7 +25856,7 @@ + ac_status=$? + echo "$as_me:25857: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- cf_cv_header_stdbool_h=1 ++ cf_cv_header_stdbool_h=yes + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +@@ -25884,7 +25884,7 @@ + ac_status=$? + echo "$as_me:25885: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- cf_cv_header_stdbool_h=0 ++ cf_cv_header_stdbool_h=no + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +@@ -25893,27 +25893,25 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi ++echo "$as_me:25896: result: $cf_cv_header_stdbool_h" >&5 ++echo "${ECHO_T}$cf_cv_header_stdbool_h" >&6 + +-if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:25898: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25900: result: no" >&5 +-echo "${ECHO_T}no" >&6 ++if test "$cf_cv_header_stdbool_h" = yes ++then USE_STDBOOL_H=1 ++else USE_STDBOOL_H=0 + fi + + echo "$as_me:25904: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 +- + if test "${cf_cv_cc_bool_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25912 "configure" ++#line 25911 "configure" + #include "confdefs.h" + +-#include <stdio.h> +-#include <sys/types.h> ++$ac_includes_default + + int + main (void) +@@ -25924,33 +25922,39 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:25927: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:25925: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:25930: \$? = $ac_status" >&5 ++ echo "$as_me:25928: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:25933: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25931: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25936: \$? = $ac_status" >&5 ++ echo "$as_me:25934: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- cf_cv_cc_bool_type=1 ++ cf_cv_cc_bool_type=yes + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-cf_cv_cc_bool_type=0 ++cf_cv_cc_bool_type=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi ++echo "$as_me:25944: result: $cf_cv_cc_bool_type" >&5 ++echo "${ECHO_T}$cf_cv_cc_bool_type" >&6 + +-if test "$cf_cv_cc_bool_type" = 1 +-then echo "$as_me:25948: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else echo "$as_me:25950: result: no" >&5 +-echo "${ECHO_T}no" >&6 ++if test "$cf_cv_cc_bool_type" = yes; then ++ USE_BUILTIN_BOOL=1 ++else ++ USE_BUILTIN_BOOL=0 + fi + ++test "$cf_cv_header_stdbool_h" = yes && ++cat >>confdefs.h <<\EOF ++#define USE_STDBOOL_H 1 ++EOF ++ + # Check for C++ compiler characteristics (and ensure that it's there!) + if test -n "$CXX" ; then + ac_ext=cc +@@ -25964,10 +25968,10 @@ + + cf_save="$LIBS" + LIBS="$LIBS $CXXLIBS" +- echo "$as_me:25967: checking if we already have C++ library" >&5 ++ echo "$as_me:25971: checking if we already have C++ library" >&5 + echo $ECHO_N "checking if we already have C++ library... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 25970 "configure" ++#line 25974 "configure" + #include "confdefs.h" + + #include <iostream> +@@ -25981,16 +25985,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:25984: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:25988: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:25987: \$? = $ac_status" >&5 ++ echo "$as_me:25991: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:25990: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:25994: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:25993: \$? = $ac_status" >&5 ++ echo "$as_me:25997: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_have_libstdcpp=yes + else +@@ -25999,7 +26003,7 @@ + cf_have_libstdcpp=no + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +- echo "$as_me:26002: result: $cf_have_libstdcpp" >&5 ++ echo "$as_me:26006: result: $cf_have_libstdcpp" >&5 + echo "${ECHO_T}$cf_have_libstdcpp" >&6 + LIBS="$cf_save" + +@@ -26018,7 +26022,7 @@ + ;; + esac + +- echo "$as_me:26021: checking for library $cf_stdcpp_libname" >&5 ++ echo "$as_me:26025: checking for library $cf_stdcpp_libname" >&5 + echo $ECHO_N "checking for library $cf_stdcpp_libname... $ECHO_C" >&6 + if test "${cf_cv_libstdcpp+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26044,7 +26048,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26047 "configure" ++#line 26051 "configure" + #include "confdefs.h" + + #include <iostream> +@@ -26058,16 +26062,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:26061: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26065: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26064: \$? = $ac_status" >&5 ++ echo "$as_me:26068: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:26067: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26071: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26070: \$? = $ac_status" >&5 ++ echo "$as_me:26074: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_libstdcpp=yes + else +@@ -26079,7 +26083,7 @@ + LIBS="$cf_save" + + fi +-echo "$as_me:26082: result: $cf_cv_libstdcpp" >&5 ++echo "$as_me:26086: result: $cf_cv_libstdcpp" >&5 + echo "${ECHO_T}$cf_cv_libstdcpp" >&6 + test "$cf_cv_libstdcpp" = yes && { + cf_add_libs="$CXXLIBS" +@@ -26101,7 +26105,7 @@ + fi + fi + +- echo "$as_me:26104: checking whether $CXX understands -c and -o together" >&5 ++ echo "$as_me:26108: checking whether $CXX understands -c and -o together" >&5 + echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6 + if test "${cf_cv_prog_CXX_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26116,15 +26120,15 @@ + # We do the test twice because some compilers refuse to overwrite an + # existing .o file with -o, though they will create one. + ac_try='$CXX $CXXFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +-if { (eval echo "$as_me:26119: \"$ac_try\"") >&5 ++if { (eval echo "$as_me:26123: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26122: \$? = $ac_status" >&5 ++ echo "$as_me:26126: \$? = $ac_status" >&5 + (exit "$ac_status"); } && +- test -f conftest2.$ac_objext && { (eval echo "$as_me:26124: \"$ac_try\"") >&5 ++ test -f conftest2.$ac_objext && { (eval echo "$as_me:26128: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26127: \$? = $ac_status" >&5 ++ echo "$as_me:26131: \$? = $ac_status" >&5 + (exit "$ac_status"); }; + then + eval cf_cv_prog_CXX_c_o=yes +@@ -26135,10 +26139,10 @@ + + fi + if test "$cf_cv_prog_CXX_c_o" = yes; then +- echo "$as_me:26138: result: yes" >&5 ++ echo "$as_me:26142: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + else +- echo "$as_me:26141: result: no" >&5 ++ echo "$as_me:26145: result: no" >&5 + echo "${ECHO_T}no" >&6 + fi + +@@ -26158,7 +26162,7 @@ + ;; + esac + if test "$GXX" = yes; then +- echo "$as_me:26161: checking for lib$cf_gpp_libname" >&5 ++ echo "$as_me:26165: checking for lib$cf_gpp_libname" >&5 + echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 + cf_save="$LIBS" + +@@ -26179,7 +26183,7 @@ + LIBS="$cf_add_libs" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26182 "configure" ++#line 26186 "configure" + #include "confdefs.h" + + #include <$cf_gpp_libname/builtin.h> +@@ -26193,16 +26197,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:26196: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26200: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26199: \$? = $ac_status" >&5 ++ echo "$as_me:26203: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:26202: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26206: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26205: \$? = $ac_status" >&5 ++ echo "$as_me:26209: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -26239,7 +26243,7 @@ + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26242 "configure" ++#line 26246 "configure" + #include "confdefs.h" + + #include <builtin.h> +@@ -26253,16 +26257,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:26256: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:26260: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:26259: \$? = $ac_status" >&5 ++ echo "$as_me:26263: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:26262: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26266: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26265: \$? = $ac_status" >&5 ++ echo "$as_me:26269: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cxx_library=yes + +@@ -26295,7 +26299,7 @@ + fi + rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + LIBS="$cf_save" +- echo "$as_me:26298: result: $cf_cxx_library" >&5 ++ echo "$as_me:26302: result: $cf_cxx_library" >&5 + echo "${ECHO_T}$cf_cxx_library" >&6 + fi + +@@ -26311,7 +26315,7 @@ + ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_main_return="return" +-echo "$as_me:26314: checking how to run the C++ preprocessor" >&5 ++echo "$as_me:26318: checking how to run the C++ preprocessor" >&5 + echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 + if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then +@@ -26328,18 +26332,18 @@ + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26331 "configure" ++#line 26335 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax error + _ACEOF +-if { (eval echo "$as_me:26336: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:26340: \"$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:26342: \$? = $ac_status" >&5 ++ echo "$as_me:26346: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -26362,17 +26366,17 @@ + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26365 "configure" ++#line 26369 "configure" + #include "confdefs.h" + #include <ac_nonexistent.h> + _ACEOF +-if { (eval echo "$as_me:26369: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:26373: \"$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:26375: \$? = $ac_status" >&5 ++ echo "$as_me:26379: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -26409,7 +26413,7 @@ + else + ac_cv_prog_CXXCPP=$CXXCPP + fi +-echo "$as_me:26412: result: $CXXCPP" >&5 ++echo "$as_me:26416: result: $CXXCPP" >&5 + echo "${ECHO_T}$CXXCPP" >&6 + ac_preproc_ok=false + for ac_cxx_preproc_warn_flag in '' yes +@@ -26419,18 +26423,18 @@ + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26422 "configure" ++#line 26426 "configure" + #include "confdefs.h" + #include <assert.h> + Syntax error + _ACEOF +-if { (eval echo "$as_me:26427: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:26431: \"$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:26433: \$? = $ac_status" >&5 ++ echo "$as_me:26437: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -26453,17 +26457,17 @@ + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26456 "configure" ++#line 26460 "configure" + #include "confdefs.h" + #include <ac_nonexistent.h> + _ACEOF +-if { (eval echo "$as_me:26460: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:26464: \"$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:26466: \$? = $ac_status" >&5 ++ echo "$as_me:26470: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -26491,7 +26495,7 @@ + if $ac_preproc_ok; then + : + else +- { { echo "$as_me:26494: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 ++ { { echo "$as_me:26498: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 + echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} + { (exit 1); exit 1; }; } + fi +@@ -26506,23 +26510,23 @@ + for ac_header in new exception typeinfo + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:26509: checking for $ac_header" >&5 ++echo "$as_me:26513: 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 26515 "configure" ++#line 26519 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:26519: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:26523: \"$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:26525: \$? = $ac_status" >&5 ++ echo "$as_me:26529: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -26541,7 +26545,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:26544: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:26548: 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 +@@ -26554,23 +26558,23 @@ + for ac_header in iostream + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +-echo "$as_me:26557: checking for $ac_header" >&5 ++echo "$as_me:26561: 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 26563 "configure" ++#line 26567 "configure" + #include "confdefs.h" + #include <$ac_header> + _ACEOF +-if { (eval echo "$as_me:26567: \"$ac_cpp "conftest.$ac_ext"\"") >&5 ++if { (eval echo "$as_me:26571: \"$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:26573: \$? = $ac_status" >&5 ++ echo "$as_me:26577: \$? = $ac_status" >&5 + (exit "$ac_status"); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_cxx_preproc_warn_flag +@@ -26589,7 +26593,7 @@ + fi + rm -f conftest.err "conftest.$ac_ext" + fi +-echo "$as_me:26592: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 ++echo "$as_me:26596: 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 +@@ -26600,10 +26604,10 @@ + done + + if test x"$ac_cv_header_iostream" = xyes ; then +- echo "$as_me:26603: checking if iostream uses std-namespace" >&5 ++ echo "$as_me:26607: checking if iostream uses std-namespace" >&5 + echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6 + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26606 "configure" ++#line 26610 "configure" + #include "confdefs.h" + + #include <iostream> +@@ -26620,16 +26624,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26623: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26627: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26626: \$? = $ac_status" >&5 ++ echo "$as_me:26630: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26629: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26633: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26632: \$? = $ac_status" >&5 ++ echo "$as_me:26636: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_iostream_namespace=yes + else +@@ -26638,7 +26642,7 @@ + cf_iostream_namespace=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" +- echo "$as_me:26641: result: $cf_iostream_namespace" >&5 ++ echo "$as_me:26645: result: $cf_iostream_namespace" >&5 + echo "${ECHO_T}$cf_iostream_namespace" >&6 + if test "$cf_iostream_namespace" = yes ; then + +@@ -26649,99 +26653,17 @@ + fi + fi + +-echo "$as_me:26652: checking if we should include stdbool.h" >&5 +-echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 +- +-if test "${cf_cv_header_stdbool_h+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- +- cat >"conftest.$ac_ext" <<_ACEOF +-#line 26660 "configure" +-#include "confdefs.h" +- +-#ifndef __BEOS__ +-#include <stdbool.h> +-#endif +- +-int +-main (void) +-{ +-bool foo = false; (void)foo +- ; +- return 0; +-} +-_ACEOF +-rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26676: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>&5 +- ac_status=$? +- echo "$as_me:26679: \$? = $ac_status" >&5 +- (exit "$ac_status"); } && +- { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26682: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:26685: \$? = $ac_status" >&5 +- (exit "$ac_status"); }; }; then +- cf_cv_header_stdbool_h=1 +-else +- echo "$as_me: failed program was:" >&5 +-cat "conftest.$ac_ext" >&5 +-cat >"conftest.$ac_ext" <<_ACEOF +-#line 26692 "configure" +-#include "confdefs.h" +- +-int +-main (void) +-{ +-bool foo = false; (void)foo +- ; +- return 0; +-} +-_ACEOF +-rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26704: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>&5 +- ac_status=$? +- echo "$as_me:26707: \$? = $ac_status" >&5 +- (exit "$ac_status"); } && +- { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26710: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:26713: \$? = $ac_status" >&5 +- (exit "$ac_status"); }; }; then +- cf_cv_header_stdbool_h=0 +-else +- echo "$as_me: failed program was:" >&5 +-cat "conftest.$ac_ext" >&5 +-fi +-rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-fi +-rm -f "conftest.$ac_objext" "conftest.$ac_ext" +-fi +- +-if test "$cf_cv_header_stdbool_h" = 1 +-then echo "$as_me:26726: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else echo "$as_me:26728: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- +-echo "$as_me:26732: checking for builtin bool type" >&5 ++echo "$as_me:26656: checking for builtin bool type" >&5 + echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 +- + if test "${cf_cv_builtin_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26740 "configure" ++#line 26663 "configure" + #include "confdefs.h" + +-#include <stdio.h> +-#include <sys/types.h> ++$ac_includes_default + + int + main (void) +@@ -26752,40 +26674,35 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26755: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26677: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26758: \$? = $ac_status" >&5 ++ echo "$as_me:26680: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26761: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26683: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26764: \$? = $ac_status" >&5 ++ echo "$as_me:26686: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then +- cf_cv_builtin_bool=1 ++ cf_cv_builtin_bool=yes + else + echo "$as_me: failed program was:" >&5 + cat "conftest.$ac_ext" >&5 +-cf_cv_builtin_bool=0 ++cf_cv_builtin_bool=no + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi ++echo "$as_me:26696: result: $cf_cv_builtin_bool" >&5 ++echo "${ECHO_T}$cf_cv_builtin_bool" >&6 + +-if test "$cf_cv_builtin_bool" = 1 +-then echo "$as_me:26776: result: yes" >&5 +-echo "${ECHO_T}yes" >&6 +-else echo "$as_me:26778: result: no" >&5 +-echo "${ECHO_T}no" >&6 +-fi +- +-echo "$as_me:26782: checking for bool" >&5 ++echo "$as_me:26699: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26788 "configure" ++#line 26705 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -26802,7 +26719,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -26820,16 +26737,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26823: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26740: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26826: \$? = $ac_status" >&5 ++ echo "$as_me:26743: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26829: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26746: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26832: \$? = $ac_status" >&5 ++ echo "$as_me:26749: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -26839,10 +26756,10 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:26842: result: $ac_cv_type_bool" >&5 ++echo "$as_me:26759: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:26845: checking size of bool" >&5 ++echo "$as_me:26762: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -26851,7 +26768,7 @@ + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26854 "configure" ++#line 26771 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -26868,7 +26785,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -26883,21 +26800,21 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26886: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26803: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26889: \$? = $ac_status" >&5 ++ echo "$as_me:26806: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26892: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26809: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26895: \$? = $ac_status" >&5 ++ echo "$as_me:26812: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26900 "configure" ++#line 26817 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -26914,7 +26831,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -26929,16 +26846,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26932: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26849: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26935: \$? = $ac_status" >&5 ++ echo "$as_me:26852: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26938: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26855: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26941: \$? = $ac_status" >&5 ++ echo "$as_me:26858: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -26954,7 +26871,7 @@ + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 26957 "configure" ++#line 26874 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -26971,7 +26888,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -26986,16 +26903,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:26989: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26906: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:26992: \$? = $ac_status" >&5 ++ echo "$as_me:26909: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:26995: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26912: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:26998: \$? = $ac_status" >&5 ++ echo "$as_me:26915: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -27011,7 +26928,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 27014 "configure" ++#line 26931 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27028,7 +26945,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27043,16 +26960,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27046: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:26963: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27049: \$? = $ac_status" >&5 ++ echo "$as_me:26966: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27052: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:26969: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27055: \$? = $ac_status" >&5 ++ echo "$as_me:26972: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -27065,12 +26982,12 @@ + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:27068: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:26985: 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 27073 "configure" ++#line 26990 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27087,7 +27004,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27106,15 +27023,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27109: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27026: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27112: \$? = $ac_status" >&5 ++ echo "$as_me:27029: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27114: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27031: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27117: \$? = $ac_status" >&5 ++ echo "$as_me:27034: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -27130,13 +27047,13 @@ + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:27133: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:27050: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <<EOF + #define SIZEOF_BOOL $ac_cv_sizeof_bool + EOF + +-echo "$as_me:27139: checking for type of bool" >&5 ++echo "$as_me:27056: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27155,7 +27072,7 @@ + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27158 "configure" ++#line 27075 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27172,7 +27089,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27196,15 +27113,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27199: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27116: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27202: \$? = $ac_status" >&5 ++ echo "$as_me:27119: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27204: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27121: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27207: \$? = $ac_status" >&5 ++ echo "$as_me:27124: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -27221,19 +27138,19 @@ + rm -f cf_test.out + + fi +-echo "$as_me:27224: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:27141: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:27231: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:27148: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi + +-echo "$as_me:27236: checking for special defines needed for etip.h" >&5 ++echo "$as_me:27153: checking for special defines needed for etip.h" >&5 + echo $ECHO_N "checking for special defines needed for etip.h... $ECHO_C" >&6 + cf_save_CXXFLAGS="$CXXFLAGS" + cf_result="none" +@@ -27251,7 +27168,7 @@ + test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}" + test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27254 "configure" ++#line 27171 "configure" + #include "confdefs.h" + + #include <etip.h.in> +@@ -27265,16 +27182,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27268: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27185: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27271: \$? = $ac_status" >&5 ++ echo "$as_me:27188: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27274: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27191: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27277: \$? = $ac_status" >&5 ++ echo "$as_me:27194: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + test -n "$cf_math" && cat >>confdefs.h <<EOF +@@ -27295,12 +27212,12 @@ + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + done + done +-echo "$as_me:27298: result: ${cf_result:-(none)}" >&5 ++echo "$as_me:27215: result: ${cf_result:-(none)}" >&5 + echo "${ECHO_T}${cf_result:-(none)}" >&6 + CXXFLAGS="$cf_save_CXXFLAGS" + + if test -n "$CXX"; then +-echo "$as_me:27303: checking if $CXX accepts override keyword" >&5 ++echo "$as_me:27220: checking if $CXX accepts override keyword" >&5 + echo $ECHO_N "checking if $CXX accepts override keyword... $ECHO_C" >&6 + if test "${cf_cv_cpp_override+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27317,7 +27234,7 @@ + cf_cv_cpp_override=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27320 "configure" ++#line 27237 "configure" + #include "confdefs.h" + + class base +@@ -27336,15 +27253,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27339: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27256: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27342: \$? = $ac_status" >&5 ++ echo "$as_me:27259: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27344: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27261: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27347: \$? = $ac_status" >&5 ++ echo "$as_me:27264: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_override=yes + else +@@ -27363,7 +27280,7 @@ + ac_main_return="return" + + fi +-echo "$as_me:27366: result: $cf_cv_cpp_override" >&5 ++echo "$as_me:27283: result: $cf_cv_cpp_override" >&5 + echo "${ECHO_T}$cf_cv_cpp_override" >&6 + fi + test "$cf_cv_cpp_override" = yes && +@@ -27372,7 +27289,7 @@ + EOF + + if test -n "$CXX"; then +-echo "$as_me:27375: checking if $CXX accepts parameter initialization" >&5 ++echo "$as_me:27292: checking if $CXX accepts parameter initialization" >&5 + echo $ECHO_N "checking if $CXX accepts parameter initialization... $ECHO_C" >&6 + if test "${cf_cv_cpp_param_init+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27389,7 +27306,7 @@ + cf_cv_cpp_param_init=unknown + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27392 "configure" ++#line 27309 "configure" + #include "confdefs.h" + + class TEST { +@@ -27408,15 +27325,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27411: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27328: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27414: \$? = $ac_status" >&5 ++ echo "$as_me:27331: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27416: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27333: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27419: \$? = $ac_status" >&5 ++ echo "$as_me:27336: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_param_init=yes + else +@@ -27435,7 +27352,7 @@ + ac_main_return="return" + + fi +-echo "$as_me:27438: result: $cf_cv_cpp_param_init" >&5 ++echo "$as_me:27355: result: $cf_cv_cpp_param_init" >&5 + echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 + fi + test "$cf_cv_cpp_param_init" = yes && +@@ -27445,7 +27362,7 @@ + + if test -n "$CXX"; then + +-echo "$as_me:27448: checking if $CXX accepts static_cast" >&5 ++echo "$as_me:27365: checking if $CXX accepts static_cast" >&5 + echo $ECHO_N "checking if $CXX accepts static_cast... $ECHO_C" >&6 + if test "${cf_cv_cpp_static_cast+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27459,7 +27376,7 @@ + ac_main_return="return" + + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27462 "configure" ++#line 27379 "configure" + #include "confdefs.h" + + class NCursesPanel +@@ -27503,16 +27420,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27506: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27423: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27509: \$? = $ac_status" >&5 ++ echo "$as_me:27426: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27512: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27429: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27515: \$? = $ac_status" >&5 ++ echo "$as_me:27432: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_cpp_static_cast=yes + else +@@ -27530,7 +27447,7 @@ + ac_main_return="return" + + fi +-echo "$as_me:27533: result: $cf_cv_cpp_static_cast" >&5 ++echo "$as_me:27450: result: $cf_cv_cpp_static_cast" >&5 + echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 + + fi +@@ -27562,7 +27479,7 @@ + + else + cf_cxx_library=no +- cf_cv_builtin_bool=1 ++ cf_cv_builtin_bool=yes + + # Just because we are not configuring against C++ right now does not + # mean that a user will not want to use C++. Some distributors disable +@@ -27575,16 +27492,16 @@ + + if test "$NCURSES_BOOL" != auto ; then + cf_cv_type_of_bool=$NCURSES_BOOL +- cf_cv_header_stdbool_h=0 ++ USE_STDBOOL_H=0 + else + +-echo "$as_me:27581: checking for bool" >&5 ++echo "$as_me:27498: checking for bool" >&5 + echo $ECHO_N "checking for bool... $ECHO_C" >&6 + if test "${ac_cv_type_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27587 "configure" ++#line 27504 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27601,7 +27518,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27619,16 +27536,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27622: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27539: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27625: \$? = $ac_status" >&5 ++ echo "$as_me:27542: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27628: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27545: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27631: \$? = $ac_status" >&5 ++ echo "$as_me:27548: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_bool=yes + else +@@ -27638,10 +27555,10 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:27641: result: $ac_cv_type_bool" >&5 ++echo "$as_me:27558: result: $ac_cv_type_bool" >&5 + echo "${ECHO_T}$ac_cv_type_bool" >&6 + +-echo "$as_me:27644: checking size of bool" >&5 ++echo "$as_me:27561: checking size of bool" >&5 + echo $ECHO_N "checking size of bool... $ECHO_C" >&6 + if test "${ac_cv_sizeof_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27650,7 +27567,7 @@ + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27653 "configure" ++#line 27570 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27667,7 +27584,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27682,21 +27599,21 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27685: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27602: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27688: \$? = $ac_status" >&5 ++ echo "$as_me:27605: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27691: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27608: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27694: \$? = $ac_status" >&5 ++ echo "$as_me:27611: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27699 "configure" ++#line 27616 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27713,7 +27630,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27728,16 +27645,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27731: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27648: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27734: \$? = $ac_status" >&5 ++ echo "$as_me:27651: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27737: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27654: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27740: \$? = $ac_status" >&5 ++ echo "$as_me:27657: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -27753,7 +27670,7 @@ + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27756 "configure" ++#line 27673 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27770,7 +27687,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27785,16 +27702,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27788: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27705: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27791: \$? = $ac_status" >&5 ++ echo "$as_me:27708: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27794: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27711: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27797: \$? = $ac_status" >&5 ++ echo "$as_me:27714: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -27810,7 +27727,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 27813 "configure" ++#line 27730 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27827,7 +27744,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27842,16 +27759,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:27845: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:27762: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:27848: \$? = $ac_status" >&5 ++ echo "$as_me:27765: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:27851: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27768: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27854: \$? = $ac_status" >&5 ++ echo "$as_me:27771: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -27864,12 +27781,12 @@ + ac_cv_sizeof_bool=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:27867: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:27784: 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 27872 "configure" ++#line 27789 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27886,7 +27803,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27905,15 +27822,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27908: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27825: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:27911: \$? = $ac_status" >&5 ++ echo "$as_me:27828: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:27913: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27830: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:27916: \$? = $ac_status" >&5 ++ echo "$as_me:27833: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_bool=`cat conftest.val` + else +@@ -27929,13 +27846,13 @@ + ac_cv_sizeof_bool=0 + fi + fi +-echo "$as_me:27932: result: $ac_cv_sizeof_bool" >&5 ++echo "$as_me:27849: result: $ac_cv_sizeof_bool" >&5 + echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 + cat >>confdefs.h <<EOF + #define SIZEOF_BOOL $ac_cv_sizeof_bool + EOF + +-echo "$as_me:27938: checking for type of bool" >&5 ++echo "$as_me:27855: checking for type of bool" >&5 + echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 + if test "${cf_cv_type_of_bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -27954,7 +27871,7 @@ + + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 27957 "configure" ++#line 27874 "configure" + #include "confdefs.h" + + $ac_includes_default +@@ -27971,7 +27888,7 @@ + + #else + +-#if $cf_cv_header_stdbool_h ++#if $USE_STDBOOL_H + #include <stdbool.h> + #endif + +@@ -27995,15 +27912,15 @@ + + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:27998: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:27915: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28001: \$? = $ac_status" >&5 ++ echo "$as_me:27918: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:28003: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:27920: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28006: \$? = $ac_status" >&5 ++ echo "$as_me:27923: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_type_of_bool=`cat cf_test.out` + if test -z "$cf_cv_type_of_bool"; then +@@ -28020,14 +27937,14 @@ + rm -f cf_test.out + + fi +-echo "$as_me:28023: result: $cf_cv_type_of_bool" >&5 ++echo "$as_me:27940: result: $cf_cv_type_of_bool" >&5 + echo "${ECHO_T}$cf_cv_type_of_bool" >&6 + + if test "$cf_cv_type_of_bool" = unknown ; then + case .$NCURSES_BOOL in + (.auto|.) NCURSES_BOOL=unsigned;; + esac +- { echo "$as_me:28030: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 ++ { echo "$as_me:27947: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} + cf_cv_type_of_bool=$NCURSES_BOOL + fi +@@ -28041,11 +27958,11 @@ + # specify the type of bool in a configure-script option and postpone + # integration with the C++ compiler provided that the types are compatible. + USE_CXX_BOOL=1 +-if test "$cf_cv_cc_bool_type" = 1 ++if test "$USE_BUILTIN_BOOL" = 1 + then + # oops: C has a bool. Unlikely, but C++ could differ. + USE_CXX_BOOL=0 +-elif test "$cf_cv_builtin_bool" = 0 ++elif test "$cf_cv_builtin_bool" = no + then + # C++ has no bool + USE_CXX_BOOL=0 +@@ -28058,7 +27975,7 @@ + + if test "$cf_with_ada" != "no" ; then + if test "$with_libtool" != "no"; then +- { echo "$as_me:28061: WARNING: libtool does not support Ada - disabling feature" >&5 ++ { echo "$as_me:27978: WARNING: libtool does not support Ada - disabling feature" >&5 + echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;} + cf_with_ada=no + fi +@@ -28069,7 +27986,7 @@ + + ADAFLAGS="$ADAFLAGS -gnatpn" + +- echo "$as_me:28072: checking optimization options for ADAFLAGS" >&5 ++ echo "$as_me:27989: checking optimization options for ADAFLAGS" >&5 + echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 + case "$CFLAGS" in + (*-g*) +@@ -28086,10 +28003,10 @@ + + ;; + esac +- echo "$as_me:28089: result: $ADAFLAGS" >&5 ++ echo "$as_me:28006: result: $ADAFLAGS" >&5 + echo "${ECHO_T}$ADAFLAGS" >&6 + +-echo "$as_me:28092: checking if GNATPREP supports -T option" >&5 ++echo "$as_me:28009: 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 +@@ -28099,11 +28016,11 @@ + gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes + + fi +-echo "$as_me:28102: result: $cf_cv_gnatprep_opt_t" >&5 ++echo "$as_me:28019: 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:28106: checking if GNAT supports generics" >&5 ++echo "$as_me:28023: 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]) +@@ -28113,7 +28030,7 @@ + cf_gnat_generics=no + ;; + esac +-echo "$as_me:28116: result: $cf_gnat_generics" >&5 ++echo "$as_me:28033: result: $cf_gnat_generics" >&5 + echo "${ECHO_T}$cf_gnat_generics" >&6 + + if test "$cf_gnat_generics" = yes +@@ -28125,7 +28042,7 @@ + cf_generic_objects= + fi + +-echo "$as_me:28128: checking if GNAT supports SIGINT" >&5 ++echo "$as_me:28045: 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 +@@ -28173,7 +28090,7 @@ + rm -rf ./conftest* ./*~conftest* + + fi +-echo "$as_me:28176: result: $cf_cv_gnat_sigint" >&5 ++echo "$as_me:28093: result: $cf_cv_gnat_sigint" >&5 + echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 + + if test "$cf_cv_gnat_sigint" = yes ; then +@@ -28186,7 +28103,7 @@ + cf_gnat_projects=no + + if test "$enable_gnat_projects" != no ; then +-echo "$as_me:28189: checking if GNAT supports project files" >&5 ++echo "$as_me:28106: 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]*) +@@ -28249,15 +28166,15 @@ + esac + ;; + esac +-echo "$as_me:28252: result: $cf_gnat_projects" >&5 ++echo "$as_me:28169: 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:28258: checking if GNAT supports libraries" >&5 ++ echo "$as_me:28175: checking if GNAT supports libraries" >&5 + echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 +- echo "$as_me:28260: result: $cf_gnat_libraries" >&5 ++ echo "$as_me:28177: result: $cf_gnat_libraries" >&5 + echo "${ECHO_T}$cf_gnat_libraries" >&6 + fi + +@@ -28277,7 +28194,7 @@ + then + USE_GNAT_MAKE_GPR="" + else +- { echo "$as_me:28280: WARNING: use old makefile rules since tools are missing" >&5 ++ { echo "$as_me:28197: 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 +@@ -28289,7 +28206,7 @@ + USE_GNAT_LIBRARIES="#" + fi + +-echo "$as_me:28292: checking for Ada95 compiler" >&5 ++echo "$as_me:28209: 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. +@@ -28300,12 +28217,12 @@ + cf_ada_compiler=gnatmake + fi; + +-echo "$as_me:28303: result: $cf_ada_compiler" >&5 ++echo "$as_me:28220: result: $cf_ada_compiler" >&5 + echo "${ECHO_T}$cf_ada_compiler" >&6 + + cf_ada_package=terminal_interface + +-echo "$as_me:28308: checking for Ada95 include directory" >&5 ++echo "$as_me:28225: 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. +@@ -28339,7 +28256,7 @@ + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:28342: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:28259: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -28348,10 +28265,10 @@ + fi + eval ADA_INCLUDE="$withval" + +-echo "$as_me:28351: result: $ADA_INCLUDE" >&5 ++echo "$as_me:28268: result: $ADA_INCLUDE" >&5 + echo "${ECHO_T}$ADA_INCLUDE" >&6 + +-echo "$as_me:28354: checking for Ada95 object directory" >&5 ++echo "$as_me:28271: 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. +@@ -28385,7 +28302,7 @@ + withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` + ;; + (*) +- { { echo "$as_me:28388: error: expected a pathname, not \"$withval\"" >&5 ++ { { echo "$as_me:28305: error: expected a pathname, not \"$withval\"" >&5 + echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} + { (exit 1); exit 1; }; } + ;; +@@ -28394,10 +28311,10 @@ + fi + eval ADA_OBJECTS="$withval" + +-echo "$as_me:28397: result: $ADA_OBJECTS" >&5 ++echo "$as_me:28314: result: $ADA_OBJECTS" >&5 + echo "${ECHO_T}$ADA_OBJECTS" >&6 + +-echo "$as_me:28400: checking whether to build an Ada95 shared library" >&5 ++echo "$as_me:28317: 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. +@@ -28418,11 +28335,11 @@ + fi + fi + +-echo "$as_me:28421: result: $with_ada_sharedlib" >&5 ++echo "$as_me:28338: result: $with_ada_sharedlib" >&5 + echo "${ECHO_T}$with_ada_sharedlib" >&6 + if test "x$cf_ada_sharedlib_warn" != xno + then +- { echo "$as_me:28425: WARNING: disabling Ada95 shared library since GNAT projects are not supported" >&5 ++ { echo "$as_me:28342: 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 + +@@ -28440,7 +28357,7 @@ + + # allow the Ada binding to be renamed + +-echo "$as_me:28443: checking for Ada95 curses library name" >&5 ++echo "$as_me:28360: 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. +@@ -28456,7 +28373,7 @@ + ;; + esac + +-echo "$as_me:28459: result: $ADA_LIBNAME" >&5 ++echo "$as_me:28376: result: $ADA_LIBNAME" >&5 + echo "${ECHO_T}$ADA_LIBNAME" >&6 + + fi +@@ -28467,13 +28384,13 @@ + + # do this "late" to avoid conflict with header-checks + if test "x$with_widec" = xyes ; then +- echo "$as_me:28470: checking for wchar_t" >&5 ++ echo "$as_me:28387: checking for wchar_t" >&5 + echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6 + if test "${ac_cv_type_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28476 "configure" ++#line 28393 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28488,16 +28405,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:28491: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28408: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28494: \$? = $ac_status" >&5 ++ echo "$as_me:28411: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28497: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28414: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28500: \$? = $ac_status" >&5 ++ echo "$as_me:28417: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_type_wchar_t=yes + else +@@ -28507,10 +28424,10 @@ + fi + rm -f "conftest.$ac_objext" "conftest.$ac_ext" + fi +-echo "$as_me:28510: result: $ac_cv_type_wchar_t" >&5 ++echo "$as_me:28427: result: $ac_cv_type_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_type_wchar_t" >&6 + +-echo "$as_me:28513: checking size of wchar_t" >&5 ++echo "$as_me:28430: checking size of wchar_t" >&5 + echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6 + if test "${ac_cv_sizeof_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -28519,7 +28436,7 @@ + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28522 "configure" ++#line 28439 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28531,21 +28448,21 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:28534: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28451: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28537: \$? = $ac_status" >&5 ++ echo "$as_me:28454: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28540: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28457: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28543: \$? = $ac_status" >&5 ++ echo "$as_me:28460: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28548 "configure" ++#line 28465 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28557,16 +28474,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:28560: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28477: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28563: \$? = $ac_status" >&5 ++ echo "$as_me:28480: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28566: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28483: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28569: \$? = $ac_status" >&5 ++ echo "$as_me:28486: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid; break + else +@@ -28582,7 +28499,7 @@ + ac_hi=-1 ac_mid=-1 + while :; do + cat >"conftest.$ac_ext" <<_ACEOF +-#line 28585 "configure" ++#line 28502 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28594,16 +28511,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:28597: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28514: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28600: \$? = $ac_status" >&5 ++ echo "$as_me:28517: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28603: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28520: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28606: \$? = $ac_status" >&5 ++ echo "$as_me:28523: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_lo=$ac_mid; break + else +@@ -28619,7 +28536,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 28622 "configure" ++#line 28539 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28631,16 +28548,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" +-if { (eval echo "$as_me:28634: \"$ac_compile\"") >&5 ++if { (eval echo "$as_me:28551: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:28637: \$? = $ac_status" >&5 ++ echo "$as_me:28554: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest.$ac_objext"' +- { (eval echo "$as_me:28640: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28557: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28643: \$? = $ac_status" >&5 ++ echo "$as_me:28560: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_hi=$ac_mid + else +@@ -28653,12 +28570,12 @@ + ac_cv_sizeof_wchar_t=$ac_lo + else + if test "$cross_compiling" = yes; then +- { { echo "$as_me:28656: error: cannot run test program while cross compiling" >&5 ++ { { echo "$as_me:28573: 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 28661 "configure" ++#line 28578 "configure" + #include "confdefs.h" + $ac_includes_default + int +@@ -28674,15 +28591,15 @@ + } + _ACEOF + rm -f "conftest$ac_exeext" +-if { (eval echo "$as_me:28677: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:28594: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:28680: \$? = $ac_status" >&5 ++ echo "$as_me:28597: \$? = $ac_status" >&5 + (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' +- { (eval echo "$as_me:28682: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:28599: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:28685: \$? = $ac_status" >&5 ++ echo "$as_me:28602: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_sizeof_wchar_t=`cat conftest.val` + else +@@ -28698,7 +28615,7 @@ + ac_cv_sizeof_wchar_t=0 + fi + fi +-echo "$as_me:28701: result: $ac_cv_sizeof_wchar_t" >&5 ++echo "$as_me:28618: result: $ac_cv_sizeof_wchar_t" >&5 + echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6 + cat >>confdefs.h <<EOF + #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t +@@ -28711,7 +28628,7 @@ + then + test -n "$verbose" && echo " test failed (assume 2)" 1>&6 + +-echo "${as_me:-configure}:28714: testing test failed (assume 2) ..." 1>&5 ++echo "${as_me:-configure}:28631: testing test failed (assume 2) ..." 1>&5 + + sed /SIZEOF_WCHAR_T/d confdefs.h >confdefs.tmp + mv confdefs.tmp confdefs.h +@@ -28729,7 +28646,7 @@ + ### chooses to split module lists into libraries. + ### + ### (see CF_LIB_RULES). +-echo "$as_me:28732: checking for library subsets" >&5 ++echo "$as_me:28649: checking for library subsets" >&5 + echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 + LIB_SUBSETS= + +@@ -28783,7 +28700,7 @@ + test "x$with_widec" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+widechar" + test "x$with_ext_funcs" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs" + +-echo "$as_me:28786: result: $LIB_SUBSETS" >&5 ++echo "$as_me:28703: result: $LIB_SUBSETS" >&5 + echo "${ECHO_T}$LIB_SUBSETS" >&6 + + ### Construct the list of include-directories to be generated +@@ -28814,7 +28731,7 @@ + fi + + ### Build up pieces for makefile rules +-echo "$as_me:28817: checking default library suffix" >&5 ++echo "$as_me:28734: checking default library suffix" >&5 + echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28825,10 +28742,10 @@ + (shared) DFT_ARG_SUFFIX='' ;; + esac + test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" +-echo "$as_me:28828: result: $DFT_ARG_SUFFIX" >&5 ++echo "$as_me:28745: result: $DFT_ARG_SUFFIX" >&5 + echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 + +-echo "$as_me:28831: checking default library-dependency suffix" >&5 ++echo "$as_me:28748: checking default library-dependency suffix" >&5 + echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 + + case X$DFT_LWR_MODEL in +@@ -28911,10 +28828,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:28914: result: $DFT_DEP_SUFFIX" >&5 ++echo "$as_me:28831: result: $DFT_DEP_SUFFIX" >&5 + echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 + +-echo "$as_me:28917: checking default object directory" >&5 ++echo "$as_me:28834: checking default object directory" >&5 + echo $ECHO_N "checking default object directory... $ECHO_C" >&6 + + case $DFT_LWR_MODEL in +@@ -28930,11 +28847,11 @@ + DFT_OBJ_SUBDIR='obj_s' ;; + esac + esac +-echo "$as_me:28933: result: $DFT_OBJ_SUBDIR" >&5 ++echo "$as_me:28850: result: $DFT_OBJ_SUBDIR" >&5 + echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 + + if test "x$cf_with_cxx" = xyes ; then +-echo "$as_me:28937: checking c++ library-dependency suffix" >&5 ++echo "$as_me:28854: checking c++ library-dependency suffix" >&5 + echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6 + if test "$with_libtool" != "no"; then + # libtool thinks it can make c++ shared libraries (perhaps only g++) +@@ -29027,7 +28944,7 @@ + fi + + fi +-echo "$as_me:29030: result: $CXX_LIB_SUFFIX" >&5 ++echo "$as_me:28947: result: $CXX_LIB_SUFFIX" >&5 + echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 + + fi +@@ -29203,19 +29120,19 @@ + + if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED" + then +- echo "$as_me:29206: checking if linker supports switching between static/dynamic" >&5 ++ echo "$as_me:29123: checking if linker supports switching between static/dynamic" >&5 + echo $ECHO_N "checking if linker supports switching between static/dynamic... $ECHO_C" >&6 + + rm -f libconftest.a + cat >conftest.$ac_ext <<EOF +-#line 29211 "configure" ++#line 29128 "configure" + #include <stdio.h> + int cf_ldflags_static(FILE *fp) { return fflush(fp); } + EOF +- if { (eval echo "$as_me:29215: \"$ac_compile\"") >&5 ++ if { (eval echo "$as_me:29132: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- echo "$as_me:29218: \$? = $ac_status" >&5 ++ echo "$as_me:29135: \$? = $ac_status" >&5 + (exit "$ac_status"); } ; then + ( $AR $ARFLAGS libconftest.a conftest.o ) 2>&5 1>/dev/null + ( eval $RANLIB libconftest.a ) 2>&5 >/dev/null +@@ -29226,10 +29143,10 @@ + + LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS" + cat >"conftest.$ac_ext" <<_ACEOF +-#line 29229 "configure" ++#line 29146 "configure" + #include "confdefs.h" + +-#line 29232 "configure" ++#line 29149 "configure" + #include <stdio.h> + int cf_ldflags_static(FILE *fp); + +@@ -29244,16 +29161,16 @@ + } + _ACEOF + rm -f "conftest.$ac_objext" "conftest$ac_exeext" +-if { (eval echo "$as_me:29247: \"$ac_link\"") >&5 ++if { (eval echo "$as_me:29164: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- echo "$as_me:29250: \$? = $ac_status" >&5 ++ echo "$as_me:29167: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' +- { (eval echo "$as_me:29253: \"$ac_try\"") >&5 ++ { (eval echo "$as_me:29170: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? +- echo "$as_me:29256: \$? = $ac_status" >&5 ++ echo "$as_me:29173: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + + # some linkers simply ignore the -dynamic +@@ -29276,7 +29193,7 @@ + rm -f libconftest.* + LIBS="$cf_save_LIBS" + +- echo "$as_me:29279: result: $cf_ldflags_static" >&5 ++ echo "$as_me:29196: result: $cf_ldflags_static" >&5 + echo "${ECHO_T}$cf_ldflags_static" >&6 + + if test "$cf_ldflags_static" != yes +@@ -29292,7 +29209,7 @@ + ;; + esac + +-echo "$as_me:29295: checking where we will install curses.h" >&5 ++echo "$as_me:29212: checking where we will install curses.h" >&5 + echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 + + includesubdir= +@@ -29302,7 +29219,7 @@ + then + includesubdir="/ncurses${USE_LIB_SUFFIX}" + fi +-echo "$as_me:29305: result: ${includedir}${includesubdir}" >&5 ++echo "$as_me:29222: result: ${includedir}${includesubdir}" >&5 + echo "${ECHO_T}${includedir}${includesubdir}" >&6 + + ### Resolve a conflict between normal and wide-curses by forcing applications +@@ -29310,7 +29227,7 @@ + if test "$with_overwrite" != no ; then + if test "$NCURSES_LIBUTF8" = 1 ; then + NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' +- { echo "$as_me:29313: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 ++ { echo "$as_me:29230: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 + echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&2;} + fi + fi +@@ -29335,7 +29252,7 @@ + + # pkgsrc uses these + +-echo "$as_me:29338: checking for desired basename for form library" >&5 ++echo "$as_me:29255: checking for desired basename for form library" >&5 + echo $ECHO_N "checking for desired basename for form library... $ECHO_C" >&6 + + # Check whether --with-form-libname or --without-form-libname was given. +@@ -29355,10 +29272,10 @@ + ;; + esac + +-echo "$as_me:29358: result: $FORM_NAME" >&5 ++echo "$as_me:29275: result: $FORM_NAME" >&5 + echo "${ECHO_T}$FORM_NAME" >&6 + +-echo "$as_me:29361: checking for desired basename for menu library" >&5 ++echo "$as_me:29278: checking for desired basename for menu library" >&5 + echo $ECHO_N "checking for desired basename for menu library... $ECHO_C" >&6 + + # Check whether --with-menu-libname or --without-menu-libname was given. +@@ -29378,10 +29295,10 @@ + ;; + esac + +-echo "$as_me:29381: result: $MENU_NAME" >&5 ++echo "$as_me:29298: result: $MENU_NAME" >&5 + echo "${ECHO_T}$MENU_NAME" >&6 + +-echo "$as_me:29384: checking for desired basename for panel library" >&5 ++echo "$as_me:29301: checking for desired basename for panel library" >&5 + echo $ECHO_N "checking for desired basename for panel library... $ECHO_C" >&6 + + # Check whether --with-panel-libname or --without-panel-libname was given. +@@ -29401,10 +29318,10 @@ + ;; + esac + +-echo "$as_me:29404: result: $PANEL_NAME" >&5 ++echo "$as_me:29321: result: $PANEL_NAME" >&5 + echo "${ECHO_T}$PANEL_NAME" >&6 + +-echo "$as_me:29407: checking for desired basename for cxx library" >&5 ++echo "$as_me:29324: checking for desired basename for cxx library" >&5 + echo $ECHO_N "checking for desired basename for cxx library... $ECHO_C" >&6 + + # Check whether --with-cxx-libname or --without-cxx-libname was given. +@@ -29424,13 +29341,13 @@ + ;; + esac + +-echo "$as_me:29427: result: $CXX_NAME" >&5 ++echo "$as_me:29344: result: $CXX_NAME" >&5 + echo "${ECHO_T}$CXX_NAME" >&6 + + ### Construct the list of subdirectories for which we'll customize makefiles + ### with the appropriate compile-rules. + +-echo "$as_me:29433: checking for src modules" >&5 ++echo "$as_me:29350: checking for src modules" >&5 + echo $ECHO_N "checking for src modules... $ECHO_C" >&6 + + # dependencies and linker-arguments for test-programs +@@ -29489,7 +29406,7 @@ + fi + fi + done +-echo "$as_me:29492: result: $cf_cv_src_modules" >&5 ++echo "$as_me:29409: result: $cf_cv_src_modules" >&5 + echo "${ECHO_T}$cf_cv_src_modules" >&6 + + TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" +@@ -29650,7 +29567,7 @@ + (*-D_XOPEN_SOURCE_EXTENDED*) + test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6 + +-echo "${as_me:-configure}:29653: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 ++echo "${as_me:-configure}:29570: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 + + CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED" + CPPFLAGS=`echo "x$CPPFLAGS" | sed -e 's/^.//' -e 's/-D_XOPEN_SOURCE_EXTENDED//'` +@@ -29661,7 +29578,7 @@ + + # Help to automatically enable the extended curses features when using either + # the *-config or the ".pc" files by adding defines. +-echo "$as_me:29664: checking for defines to add to ncurses${USE_CFG_SUFFIX}${cf_config_suffix}-config script" >&5 ++echo "$as_me:29581: checking for defines to add to ncurses${USE_CFG_SUFFIX}${cf_config_suffix}-config script" >&5 + echo $ECHO_N "checking for defines to add to ncurses${USE_CFG_SUFFIX}${cf_config_suffix}-config script... $ECHO_C" >&6 + PKG_CFLAGS= + for cf_loop1 in $CPPFLAGS_after_XOPEN +@@ -29677,7 +29594,7 @@ + done + test "$cf_found" = no && PKG_CFLAGS="$PKG_CFLAGS $cf_loop1" + done +-echo "$as_me:29680: result: $PKG_CFLAGS" >&5 ++echo "$as_me:29597: result: $PKG_CFLAGS" >&5 + echo "${ECHO_T}$PKG_CFLAGS" >&6 + + case "$cf_cv_system_name" in +@@ -29749,7 +29666,7 @@ + cf_filter_syms=$cf_dft_filter_syms + test -n "$verbose" && echo " will map symbols to ABI=$cf_cv_abi_default" 1>&6 + +-echo "${as_me:-configure}:29752: testing will map symbols to ABI=$cf_cv_abi_default ..." 1>&5 ++echo "${as_me:-configure}:29669: testing will map symbols to ABI=$cf_cv_abi_default ..." 1>&5 + + fi + +@@ -29776,7 +29693,7 @@ + + # This is used for the *-config script and *.pc data files. + +-echo "$as_me:29779: checking for linker search path" >&5 ++echo "$as_me:29696: checking for linker search path" >&5 + echo $ECHO_N "checking for linker search path... $ECHO_C" >&6 + if test "${cf_cv_ld_searchpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +@@ -29824,7 +29741,7 @@ + cf_pathlist="$cf_pathlist /lib /usr/lib" + ;; + (*) +- { echo "$as_me:29827: WARNING: problem with Solaris architecture" >&5 ++ { echo "$as_me:29744: WARNING: problem with Solaris architecture" >&5 + echo "$as_me: WARNING: problem with Solaris architecture" >&2;} + ;; + esac +@@ -29865,7 +29782,7 @@ + test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib + + fi +-echo "$as_me:29868: result: $cf_cv_ld_searchpath" >&5 ++echo "$as_me:29785: result: $cf_cv_ld_searchpath" >&5 + echo "${ECHO_T}$cf_cv_ld_searchpath" >&6 + + LD_SEARCHPATH=`echo "$cf_cv_ld_searchpath"|sed -e 's/ /|/g'` +@@ -29951,7 +29868,7 @@ + : "${CONFIG_STATUS=./config.status}" + ac_clean_files_save=$ac_clean_files + ac_clean_files="$ac_clean_files $CONFIG_STATUS" +-{ echo "$as_me:29954: creating $CONFIG_STATUS" >&5 ++{ echo "$as_me:29871: creating $CONFIG_STATUS" >&5 + echo "$as_me: creating $CONFIG_STATUS" >&6;} + cat >"$CONFIG_STATUS" <<_ACEOF + #! $SHELL +@@ -30087,7 +30004,7 @@ + cat >>"$CONFIG_STATUS" <<EOF + ac_cs_version="\\ + config.status +-configured by $0, generated by GNU Autoconf 2.52.20240618, ++configured by $0, generated by GNU Autoconf 2.52.20250126, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + + Copyright 2003-2022,2023 Thomas E. Dickey +@@ -30132,7 +30049,7 @@ + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header +- { { echo "$as_me:30135: error: ambiguous option: $1 ++ { { echo "$as_me:30052: 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;} +@@ -30151,7 +30068,7 @@ + ac_need_defaults=false;; + + # This is an error. +- -*) { { echo "$as_me:30154: error: unrecognized option: $1 ++ -*) { { echo "$as_me:30071: 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;} +@@ -30170,7 +30087,7 @@ + ## Running config.status. ## + ## ----------------------- ## + +-This file was extended by $as_me 2.52.20240618, executed with ++This file was extended by $as_me 2.52.20250126, executed with + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS +@@ -30283,7 +30200,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:30286: error: invalid argument: $ac_config_target" >&5 ++ *) { { echo "$as_me:30203: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +@@ -30601,7 +30518,8 @@ + s,@HAVE_VSSCANF@,$HAVE_VSSCANF,;t t + s,@TEST_LIBS@,$TEST_LIBS,;t t + s,@TEST_LIBS2@,$TEST_LIBS2,;t t +-s,@cf_cv_cc_bool_type@,$cf_cv_cc_bool_type,;t t ++s,@USE_STDBOOL_H@,$USE_STDBOOL_H,;t t ++s,@USE_BUILTIN_BOOL@,$USE_BUILTIN_BOOL,;t t + s,@CXXCPP@,$CXXCPP,;t t + s,@CXXLDFLAGS@,$CXXLDFLAGS,;t t + s,@CXX_AR@,$CXX_AR,;t t +@@ -30811,7 +30729,7 @@ + esac + + if test x"$ac_file" != x-; then +- { echo "$as_me:30814: creating $ac_file" >&5 ++ { echo "$as_me:30732: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +@@ -30829,7 +30747,7 @@ + -) echo "$tmp"/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30832: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30750: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo "$f";; +@@ -30842,7 +30760,7 @@ + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30845: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30763: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -30858,7 +30776,7 @@ + if test -n "$ac_seen"; then + ac_used=`grep '@datarootdir@' "$ac_item"` + if test -z "$ac_used"; then +- { echo "$as_me:30861: WARNING: datarootdir was used implicitly but not set: ++ { echo "$as_me:30779: 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;} +@@ -30867,7 +30785,7 @@ + fi + ac_seen=`grep '${datarootdir}' "$ac_item"` + if test -n "$ac_seen"; then +- { echo "$as_me:30870: WARNING: datarootdir was used explicitly but not set: ++ { echo "$as_me:30788: 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;} +@@ -30912,7 +30830,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:30915: WARNING: Variable $ac_name is used but was not set: ++ { echo "$as_me:30833: 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;} +@@ -30923,7 +30841,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:30926: WARNING: Some variables may not be substituted: ++ { echo "$as_me:30844: WARNING: Some variables may not be substituted: + $ac_seen" >&5 + echo "$as_me: WARNING: Some variables may not be substituted: + $ac_seen" >&2;} +@@ -30972,7 +30890,7 @@ + * ) ac_file_in=$ac_file.in ;; + esac + +- test x"$ac_file" != x- && { echo "$as_me:30975: creating $ac_file" >&5 ++ test x"$ac_file" != x- && { echo "$as_me:30893: creating $ac_file" >&5 + echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the +@@ -30983,7 +30901,7 @@ + -) echo "$tmp"/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) +- test -f "$f" || { { echo "$as_me:30986: error: cannot find input file: $f" >&5 ++ test -f "$f" || { { echo "$as_me:30904: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo $f;; +@@ -30996,7 +30914,7 @@ + echo "$srcdir/$f" + else + # /dev/null tree +- { { echo "$as_me:30999: error: cannot find input file: $f" >&5 ++ { { echo "$as_me:30917: error: cannot find input file: $f" >&5 + echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; +@@ -31054,7 +30972,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:31057: $ac_file is unchanged" >&5 ++ { echo "$as_me:30975: $ac_file is unchanged" >&5 + echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +@@ -31441,7 +31359,7 @@ + (cygdll|msysdll|mingw|msvcdll) + test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6 + +-echo "${as_me:-configure}:31444: testing overriding CXX_MODEL to SHARED ..." 1>&5 ++echo "${as_me:-configure}:31362: testing overriding CXX_MODEL to SHARED ..." 1>&5 + + with_shared_cxx=yes + ;; +Index: configure.in +Prereq: 1.791 +--- ncurses-6.5-20250222+/configure.in 2025-02-02 00:16:32.000000000 +0000 ++++ ncurses-6.5-20250301/configure.in 2025-03-01 15:05:13.000000000 +0000 +@@ -29,7 +29,7 @@ + dnl + dnl Author: Thomas E. Dickey 1995-on + dnl +-dnl $Id: configure.in,v 1.791 2025/02/02 00:16:32 tom Exp $ ++dnl $Id: configure.in,v 1.794 2025/03/01 15:05:13 tom Exp $ + dnl Process this file with autoconf to produce a configure script. + dnl + dnl For additional information, see +@@ -38,7 +38,7 @@ + dnl + dnl --------------------------------------------------------------------------- + AC_PREREQ(2.52.20210101) +-AC_REVISION($Revision: 1.791 $) ++AC_REVISION($Revision: 1.794 $) + AC_INIT(ncurses/base/lib_initscr.c) + AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) + +@@ -1732,10 +1732,12 @@ + + dnl These are some other potentially nonportable headers. + AC_CHECK_HEADERS( \ ++alloca.h \ + fcntl.h \ + getopt.h \ + limits.h \ + locale.h \ ++malloc.h \ + math.h \ + poll.h \ + sys/auxv.h \ +@@ -1901,7 +1903,14 @@ + + # Just in case, check if the C compiler has a bool type. + CF_BOOL_DECL(cf_cv_cc_bool_type) +-AC_SUBST(cf_cv_cc_bool_type) ++if test "$cf_cv_cc_bool_type" = yes; then ++ USE_BUILTIN_BOOL=1 ++else ++ USE_BUILTIN_BOOL=0 ++fi ++AC_SUBST(USE_BUILTIN_BOOL) ++ ++test "$cf_cv_header_stdbool_h" = yes && AC_DEFINE(USE_STDBOOL_H,1,[Define to 1 if we can include stdbool.h]) + + # Check for C++ compiler characteristics (and ensure that it's there!) + if test -n "$CXX" ; then +@@ -1932,7 +1941,7 @@ + CF_CXX_AR_FLAGS + else + cf_cxx_library=no +- cf_cv_builtin_bool=1 ++ cf_cv_builtin_bool=yes + + # Just because we are not configuring against C++ right now does not + # mean that a user will not want to use C++. Some distributors disable +@@ -1945,7 +1954,7 @@ + + if test "$NCURSES_BOOL" != auto ; then + cf_cv_type_of_bool=$NCURSES_BOOL +- cf_cv_header_stdbool_h=0 ++ USE_STDBOOL_H=0 + else + CF_BOOL_SIZE + fi +@@ -1958,11 +1967,11 @@ + # specify the type of bool in a configure-script option and postpone + # integration with the C++ compiler provided that the types are compatible. + USE_CXX_BOOL=1 +-if test "$cf_cv_cc_bool_type" = 1 ++if test "$USE_BUILTIN_BOOL" = 1 + then + # oops: C has a bool. Unlikely, but C++ could differ. + USE_CXX_BOOL=0 +-elif test "$cf_cv_builtin_bool" = 0 ++elif test "$cf_cv_builtin_bool" = no + then + # C++ has no bool + USE_CXX_BOOL=0 +Index: dist.mk +Prereq: 1.1657 +--- ncurses-6.5-20250222+/dist.mk 2025-02-22 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/dist.mk 2025-03-01 10:08:08.000000000 +0000 +@@ -26,7 +26,7 @@ + # use or other dealings in this Software without prior written # + # authorization. # + ############################################################################## +-# $Id: dist.mk,v 1.1657 2025/02/22 09:14:10 tom Exp $ ++# $Id: dist.mk,v 1.1658 2025/03/01 10:08:08 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 = 20250222 ++NCURSES_PATCH = 20250301 + + # 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-20250222+/doc/html/man/curs_add_wch.3x.html 2025-02-02 00:43:56.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_add_wch.3x.html 2025-03-01 22:03:50.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.102 2025/02/01 23:54:03 tom Exp @ ++ * @Id: curs_add_wch.3x,v 1.108 2025/03/01 21:16: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_add_wch 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_add_wch 3x 2025-03-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 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_add_wch 3x 2025-03-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> + +@@ -55,14 +55,14 @@ + </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE> + <STRONG>#include</STRONG> <STRONG><curses.h></STRONG> + +- <STRONG>int</STRONG> <STRONG>add_wch(const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG><EM>wch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>wadd_wch(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG><EM>wch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>mvadd_wch(int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG><EM>wch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>mvwadd_wch(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> +- <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG><EM>wch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>add_wch(const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>wadd_wch(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>mvadd_wch(int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>mvwadd_wch(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> ++ <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> + +- <STRONG>int</STRONG> <STRONG>echo_wchar(const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG><EM>wch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>wecho_wchar(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG><EM>wch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>echo_wchar(const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>wecho_wchar(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG><EM>wch</EM><STRONG>);</STRONG> + + <EM>/*</EM> <EM>(integer)</EM> <EM>constants</EM> <EM>*/</EM> + /* <EM>...</EM> <EM>*/</EM> <STRONG>WACS_BLOCK;</STRONG> +@@ -150,14 +150,14 @@ + until another spacing character is written to the window or the cursor + is moved. + +- If advancement occurs at the right margin, +- +- <STRONG>o</STRONG> the cursor automatically wraps to the beginning of the next line, +- then, +- +- <STRONG>o</STRONG> if it was at the bottom of the scrolling region, and if +- <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is enabled for <EM>win</EM>, the scrolling region scrolls up +- one line. ++ If the cursor is not at the bottom of the scrolling region and ++ advancement occurs at the right margin, the cursor automatically wraps ++ to the beginning of the next line. ++ ++ If the cursor is at the bottom of the scrolling region when advancement ++ occurs at the right margin, and <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is enabled for <EM>win</EM>, the ++ scrolling region scrolls up one line. Otherwise, advancement and ++ scrolling do not occur, and <STRONG>waddch</STRONG> returns <STRONG>ERR</STRONG>. + + If <EM>wch</EM> is a backspace, carriage return, line feed, or tab, the cursor + moves appropriately within the window. +@@ -202,8 +202,8 @@ + <STRONG>wadd_wch</STRONG> to write line-drawing and other symbols to the screen. + <EM>ncurses</EM> terms these <EM>forms-drawing</EM> <EM>characters.</EM> The ACS default listed + below is used if the <STRONG>acs_chars</STRONG> (<STRONG>acsc</STRONG>) <EM>terminfo</EM> capability does not +- define a terminal-specific replacement for it, or if the terminal and +- locale configuration requires Unicode to access these characters but ++ define a terminal-specific replacement for it, or if the terminal type ++ and locale configuration require Unicode to access these characters but + the library is unable to use Unicode. The "acsc char" column + corresponds to how the characters are specified in the <STRONG>acs_chars</STRONG> (<STRONG>acsc</STRONG>) + string capability, and the characters in it may appear on the screen if +@@ -298,7 +298,7 @@ + </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. + +- In <EM>ncurses</EM>, <STRONG>wadd_wch</STRONG> and <STRONG>wecho_wchar</STRONG> return <STRONG>ERR</STRONG> if ++ In <EM>ncurses</EM>, they return <STRONG>ERR</STRONG> if + + <STRONG>o</STRONG> the <EM>curses</EM> screen has not been initialized, + +@@ -322,8 +322,8 @@ + + + </PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE> +- The symbols (<EM>WACS</EM><STRONG>_</STRONG><EM>S3</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>S7</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>LEQUAL</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>GEQUAL</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>PI</EM>, +- <EM>WACS</EM><STRONG>_</STRONG><EM>NEQUAL</EM>, and <EM>WACS</EM><STRONG>_</STRONG><EM>STERLING</EM>) are not standard. However, many ++ The symbols <EM>WACS</EM><STRONG>_</STRONG><EM>S3</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>S7</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>LEQUAL</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>GEQUAL</EM>, <EM>WACS</EM><STRONG>_</STRONG><EM>PI</EM>, ++ <EM>WACS</EM><STRONG>_</STRONG><EM>NEQUAL</EM>, and <EM>WACS</EM><STRONG>_</STRONG><EM>STERLING</EM> are not standard. However, many + publicly available <EM>terminfo</EM> entries include <EM>acs</EM><STRONG>_</STRONG><EM>chars</EM> (<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. +@@ -449,7 +449,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_addch.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_addch.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_addch.3x.html 2025-03-01 22:03:50.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_addch.3x,v 1.122 2025/02/01 23:54:03 tom Exp @ ++ * @Id: curs_addch.3x,v 1.128 2025/03/01 21:16: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_addch 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_addch 3x 2025-03-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 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_addch 3x 2025-03-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> + +@@ -56,12 +56,12 @@ + <STRONG>#include</STRONG> <STRONG><curses.h></STRONG> + + <STRONG>int</STRONG> <STRONG>addch(const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>waddch(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>waddch(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> + <STRONG>int</STRONG> <STRONG>mvaddch(int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>mvwaddch(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>mvwaddch(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> + + <STRONG>int</STRONG> <STRONG>echochar(const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>wechochar(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>wechochar(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>chtype</STRONG> <EM>ch</EM><STRONG>);</STRONG> + + <EM>/*</EM> <EM>(integer)</EM> <EM>constants</EM> <EM>*/</EM> + /* <EM>...</EM> <EM>*/</EM> <STRONG>ACS_BLOCK;</STRONG> +@@ -111,14 +111,14 @@ + attributes and color pair. (A color pair selection is not honored + unless initialized; see <STRONG><A HREF="curs_color.3x.html">start_color(3x)</A></STRONG>.) + +- If advancement occurs at the right margin, +- +- <STRONG>o</STRONG> the cursor automatically wraps to the beginning of the next line, +- then, +- +- <STRONG>o</STRONG> if it was at the bottom of the scrolling region, and if +- <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is enabled for <EM>win</EM>, the scrolling region scrolls up +- one line. ++ If the cursor is not at the bottom of the scrolling region and ++ advancement occurs at the right margin, the cursor automatically wraps ++ to the beginning of the next line. ++ ++ If the cursor is at the bottom of the scrolling region when advancement ++ occurs at the right margin, and <STRONG><A HREF="scrollok.3x.html">scrollok(3x)</A></STRONG> is enabled for <EM>win</EM>, the ++ scrolling region scrolls up one line. Otherwise, advancement and ++ scrolling do not occur, and <STRONG>waddch</STRONG> returns <STRONG>ERR</STRONG>. + + If <EM>ch</EM> is a backspace, carriage return, line feed, or tab, the cursor + moves appropriately within the window. +@@ -165,8 +165,8 @@ + to write line-drawing and other symbols to the screen. <EM>ncurses</EM> terms + these <EM>forms-drawing</EM> <EM>characters.</EM> The ACS default listed below is used + if the <STRONG>acs_chars</STRONG> (<STRONG>acsc</STRONG>) <EM>terminfo</EM> capability does not define a terminal- +- specific replacement for it, or if the terminal and locale +- configuration requires Unicode to access these characters but the ++ specific replacement for it, or if the terminal type and locale ++ configuration require Unicode to access these characters but the + library is unable to use Unicode. The "acsc char" column corresponds + to how the characters are specified in the <STRONG>acs_chars</STRONG> (<STRONG>acsc</STRONG>) string + capability, and the characters in it may appear on the screen if the +@@ -215,7 +215,7 @@ + </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. + +- In <EM>ncurses</EM>, <STRONG>waddch</STRONG> and <STRONG>wechochar</STRONG> return <STRONG>ERR</STRONG> if ++ In <EM>ncurses</EM>, they return <STRONG>ERR</STRONG> if + + <STRONG>o</STRONG> the <EM>curses</EM> screen has not been initialized, + +@@ -248,13 +248,13 @@ + + + </PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE> +- The symbols (<EM>ACS</EM><STRONG>_</STRONG><EM>S3</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>S7</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>LEQUAL</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>GEQUAL</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>PI</EM>, +- <EM>ACS</EM><STRONG>_</STRONG><EM>NEQUAL</EM>, and <EM>ACS</EM><STRONG>_</STRONG><EM>STERLING</EM>) were not documented in any publicly +- released System V and are not standard. However, many publicly +- available <EM>terminfo</EM> entries include <EM>acs</EM><STRONG>_</STRONG><EM>chars</EM> (<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 symbols <EM>ACS</EM><STRONG>_</STRONG><EM>S3</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>S7</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>LEQUAL</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>GEQUAL</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>PI</EM>, <EM>ACS</EM><STRONG>_</STRONG><EM>NEQUAL</EM>, ++ and <EM>ACS</EM><STRONG>_</STRONG><EM>STERLING</EM> were not documented in any publicly released System V ++ and are not standard. However, many publicly available <EM>terminfo</EM> ++ entries include <EM>acs</EM><STRONG>_</STRONG><EM>chars</EM> (<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. + + + </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE> +@@ -364,7 +364,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_color.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_color.3x.html 2025-01-19 00:54:58.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_color.3x.html 2025-03-01 22:03:50.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_color.3x,v 1.113 2025/01/19 00:49:39 tom Exp @ ++ * @Id: curs_color.3x,v 1.116 2025/03/01 21:17:37 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_color 3x 2025-01-18 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_color 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_color 3x 2025-01-18 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_color 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG> + +@@ -263,11 +263,21 @@ + + + </PRE><H3><a name="h3-has_colors">has_colors</a></H3><PRE> +- The <STRONG>has_colors</STRONG> routine requires no arguments. It returns <STRONG>TRUE</STRONG> if the +- terminal can manipulate colors; otherwise, it returns <STRONG>FALSE</STRONG>. This +- routine facilitates writing terminal-independent programs. For +- example, a programmer can use it to decide whether to use color or some +- other video attribute. ++ <STRONG>has_colors</STRONG> returns <STRONG>TRUE</STRONG> if the terminal supports colors and <STRONG>FALSE</STRONG> if it ++ does not. <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG> or <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG> must be called first, but ++ <STRONG>start_color</STRONG> need not be. An application might call <STRONG>has_colors</STRONG> to ++ decide whether to use color or a video attribute like <STRONG>A_BOLD</STRONG> to render ++ text. ++ ++ Color support in <EM>curses</EM> requires that the terminal type description ++ support the capabilities <STRONG>max_colors</STRONG> (<STRONG>colors</STRONG>), <STRONG>max_pairs</STRONG> (<STRONG>pairs</STRONG>), and ++ any of ++ ++ <STRONG>o</STRONG> <STRONG>set_foreground</STRONG> (<STRONG>setf</STRONG>) and <STRONG>set_background</STRONG> (<STRONG>setb</STRONG>); ++ ++ <STRONG>o</STRONG> <STRONG>set_a_foreground</STRONG> (<STRONG>setaf</STRONG>) and <STRONG>set_a_background</STRONG> (<STRONG>setab</STRONG>); or ++ ++ <STRONG>o</STRONG> <STRONG>set_color_pair</STRONG> (<STRONG>scp</STRONG>). + + + </PRE><H3><a name="h3-can_change_color">can_change_color</a></H3><PRE> +@@ -427,7 +437,7 @@ + <STRONG>o</STRONG> color identifiers outside the range 0-<STRONG>COLORS</STRONG>-1 inclusive, the + default colors extension notwithstanding, or + +- <STRONG>o</STRONG> color pairs identifiers outside the range 0-<STRONG>COLOR_PAIRS</STRONG>-1 ++ <STRONG>o</STRONG> color pair identifiers outside the range 0-<STRONG>COLOR_PAIRS</STRONG>-1 + inclusive. + + +@@ -445,10 +455,10 @@ + application to disregard unnecessary information. + + In <EM>ncurses</EM>, each screen has a color activation flag, color palette, +- color pair table, and associated <STRONG>COLORS</STRONG> and <STRONG>COLOR_PAIRS</STRONG> values for each +- screen; <STRONG>start_color</STRONG> affects only the current screen. The SVr4 and +- X/Open Curses interface was not really designed with this in mind; +- historical implementations may use a single shared color palette. ++ color pair table, and associated <STRONG>COLORS</STRONG> and <STRONG>COLOR_PAIRS</STRONG> values; ++ <STRONG>start_color</STRONG> affects only the current screen. The SVr4 and X/Open ++ Curses interface was not really designed with this in mind; historical ++ implementations may use a single shared color palette. + + Setting an implicit background color via a color pair affects only + character cells that a character write operation explicitly touches. +@@ -555,7 +565,7 @@ + + + +-ncurses 6.5 2025-01-18 <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_getcchar.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_getcchar.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_getcchar.3x.html 2025-02-23 14:05:29.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_getcchar.3x,v 1.56 2025/02/01 23:46:11 tom Exp @ ++ * @Id: curs_getcchar.3x,v 1.57 2025/02/23 13:48:31 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_getcchar 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_getcchar 3x 2025-02-23 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_getcchar 3x 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_getcchar 3x 2025-02-23 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG> + +@@ -54,9 +54,9 @@ + </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE> + <STRONG>#include</STRONG> <STRONG><curses.h></STRONG> + +- <STRONG>int</STRONG> <STRONG>gettchar(const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>,</STRONG> <STRONG>wchar_t</STRONG> <STRONG>*</STRONG> <EM>wc</EM><STRONG>,</STRONG> ++ <STRONG>int</STRONG> <STRONG>getcchar(const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>,</STRONG> <STRONG>wchar_t</STRONG> <STRONG>*</STRONG> <EM>wc</EM><STRONG>,</STRONG> + <STRONG>attr_t</STRONG> <STRONG>*</STRONG> <EM>attrs</EM><STRONG>,</STRONG> <STRONG>short</STRONG> <STRONG>*</STRONG> <EM>pair</EM><STRONG>,</STRONG> <STRONG>void</STRONG> <STRONG>*</STRONG> <EM>opts</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>settchar(cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>wchar_t</STRONG> <STRONG>*</STRONG> <EM>wc</EM><STRONG>,</STRONG> ++ <STRONG>int</STRONG> <STRONG>setcchar(cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>wchar_t</STRONG> <STRONG>*</STRONG> <EM>wc</EM><STRONG>,</STRONG> + <STRONG>const</STRONG> <STRONG>attr_t</STRONG> <EM>attrs</EM><STRONG>,</STRONG> <STRONG>short</STRONG> <EM>pair</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>void</STRONG> <STRONG>*</STRONG> <EM>opts</EM><STRONG>);</STRONG> + + +@@ -206,7 +206,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG> ++ncurses 6.5 2025-02-23 <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_initscr.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_initscr.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_initscr.3x.html 2025-03-01 22:03:50.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_initscr.3x,v 1.92 2025/02/02 00:01:55 tom Exp @ ++ * @Id: curs_initscr.3x,v 1.95 2025/03/01 21:21: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_initscr 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_initscr 3x 2025-03-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 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_initscr 3x 2025-03-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> + +@@ -297,38 +297,47 @@ + modes, e.g., <STRONG><A HREF="curs_kernel.3x.html">def_shell_mode(3x)</A></STRONG>, <STRONG><A HREF="curs_kernel.3x.html">def_prog_mode(3x)</A></STRONG>. SVr4 uses the + descriptor in <EM>SCREEN</EM>. + +- <STRONG>Unset</STRONG> <EM>TERM</EM> <STRONG>Variable</STRONG> +- If the <EM>TERM</EM> variable is missing or empty, <EM>initscr</EM> uses the value +- "unknown", which normally corresponds to a terminal entry with the +- <STRONG>generic</STRONG> (<STRONG>gn</STRONG>) capability. Generic entries are detected by <STRONG><A HREF="curs_terminfo.3x.html">setupterm(3x)</A></STRONG> +- and cannot be used for full-screen operation. Other implementations +- may handle a missing/empty <EM>TERM</EM> variable differently. ++ <STRONG>Unset</STRONG> <EM>TERM</EM> <STRONG>Environment</STRONG> <STRONG>Variable</STRONG> ++ If the <EM>TERM</EM> variable is not set in the environment or has an empty ++ value, <EM>initscr</EM> uses the value "unknown", which normally corresponds to ++ a terminal entry with the <STRONG>generic</STRONG> (<STRONG>gn</STRONG>) capability. Generic entries are ++ detected by <STRONG><A HREF="curs_terminfo.3x.html">setupterm(3x)</A></STRONG> and cannot be used for full-screen operation. ++ Other implementations may handle a missing or empty <EM>TERM</EM> variable ++ differently. + + + </PRE><H3><a name="h3-Signal-Handlers">Signal Handlers</a></H3><PRE> + Quoting X/Open Curses Issue 7, section 3.1.1: + +- Curses implementations may provide for special handling of the +- SIGINT, SIGQUIT, and SIGTSTP signals if their disposition is ++ Curses implementations may provide for special handling of the ++ SIGINT, SIGQUIT, and SIGTSTP signals if their disposition is + SIG_DFL at the time <EM>initscr</EM>() is called... + +- Any special handling for these signals may remain in effect for ++ Any special handling for these signals may remain in effect for + the life of the process or until the process changes the + disposition of the signal. + +- None of the Curses functions are required to be safe with respect ++ None of the Curses functions are required to be safe with respect + to signals... + + Section "NOTES" above discusses <EM>ncurses</EM>'s signal handlers. + + ++</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> ++ 4BSD (1980) introduced <EM>initscr</EM> and <EM>endwin</EM>. ++ ++ SVr2 (1984) added <EM>newterm</EM> and <EM>set</EM><STRONG>_</STRONG><EM>term</EM>. ++ ++ SVr3.1 (1987) supplied <EM>delscreen</EM> and <EM>isendwin</EM>. ++ ++ + </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_kernel.3x.html">curs_kernel(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>, ++ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>, + <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG> + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +@@ -353,6 +362,7 @@ + <li><a href="#h3-Signal-Handlers">Signal Handlers</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_inopts.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_inopts.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_inopts.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_inopts.3x,v 1.93 2025/02/02 00:02:25 tom Exp @ ++ * @Id: curs_inopts.3x,v 1.96 2025/03/01 21:23:21 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 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_inopts 3x 2025-03-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 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_inopts 3x 2025-03-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> + +@@ -216,7 +216,7 @@ + progress when the event occurs; see <STRONG>typeahead</STRONG> below for a mitigation of + this problem. You may want to call <STRONG>noqiflush</STRONG> in a signal handler if, + after the handler exits, you want output to continue as though the +- interrupt had not occurred. ++ signal had not occurred. + + + </PRE><H3><a name="h3-raw_noraw">raw, noraw</a></H3><PRE> +@@ -242,25 +242,26 @@ + + + </PRE><H3><a name="h3-typeahead">typeahead</a></H3><PRE> +- Normally, a <EM>curses</EM> library checks the terminal for input while updating +- the screen. If any is found, the update is postponed until the next +- <STRONG><A HREF="curs_refresh.3x.html">wrefresh(3x)</A></STRONG> or <STRONG><A HREF="curs_refresh.3x.html">doupdate(3x)</A></STRONG> call, allowing faster response to user key +- strokes. The library tests the file descriptor corresponding to the +- <EM>FILE</EM> stream pointer passed to <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG> (or <EM>stdin</EM> if <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG> was +- called), for pending input. <STRONG>typeahead</STRONG> instructs <EM>curses</EM> to test file +- descriptor <EM>fd</EM> instead. An <EM>fd</EM> of <STRONG>-1</STRONG> disables the check. ++ Normally, a <EM>curses</EM> library checks the terminal's input file descriptor ++ for pending input with <STRONG>poll(2)</STRONG> or <STRONG>select(2)</STRONG> while updating the screen; ++ if it finds any, it postpones output until the next <STRONG><A HREF="curs_refresh.3x.html">wrefresh(3x)</A></STRONG> or ++ <STRONG><A HREF="curs_refresh.3x.html">doupdate(3x)</A></STRONG> call, allowing faster response to user key strokes. The ++ library tests the file descriptor corresponding to the <EM>FILE</EM> stream ++ pointer passed to <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG> (or <EM>stdin</EM> if <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG> was called), for ++ pending input. <STRONG>typeahead</STRONG> instructs <EM>curses</EM> to test file descriptor <EM>fd</EM> ++ instead. An <EM>fd</EM> of <STRONG>-1</STRONG> disables the check. + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + <STRONG>timeout</STRONG> and <STRONG>wtimeout</STRONG> return no value. + +- <STRONG>cbreak</STRONG>, <STRONG>nocbreak</STRONG>, <STRONG>echo</STRONG>, <STRONG>noecho</STRONG>, <STRONG>halfdelay</STRONG>, <STRONG>intrflush</STRONG>, <STRONG>keypad</STRONG>, <STRONG>meta</STRONG>, +- <STRONG>nodelay</STRONG>, <STRONG>notimeout</STRONG>, <STRONG>nl</STRONG>, <STRONG>nonl</STRONG>, <STRONG>raw</STRONG>, <STRONG>noraw</STRONG>, and <STRONG>typeahead</STRONG> return <STRONG>OK</STRONG> on ++ <STRONG>cbreak</STRONG>, <STRONG>nocbreak</STRONG>, <STRONG>echo</STRONG>, <STRONG>noecho</STRONG>, <STRONG>halfdelay</STRONG>, <STRONG>intrflush</STRONG>, <STRONG>keypad</STRONG>, <STRONG>meta</STRONG>, ++ <STRONG>nodelay</STRONG>, <STRONG>notimeout</STRONG>, <STRONG>nl</STRONG>, <STRONG>nonl</STRONG>, <STRONG>raw</STRONG>, <STRONG>noraw</STRONG>, and <STRONG>typeahead</STRONG> return <STRONG>OK</STRONG> on + success and <STRONG>ERR</STRONG> on failure. + + In <EM>ncurses</EM>, the functions in the previous paragraph return <STRONG>ERR</STRONG> if + +- <STRONG>o</STRONG> the library's <EM>TERMINAL</EM> structure for the device has not been ++ <STRONG>o</STRONG> the library's <EM>TERMINAL</EM> structure for the device has not been + initialized with <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG>, or <STRONG><A HREF="curs_terminfo.3x.html">setupterm(3x)</A></STRONG>, or + + <STRONG>o</STRONG> <EM>win</EM> is a null pointer (except with <STRONG>intrflush</STRONG> and <STRONG>meta</STRONG>, which ignore +@@ -268,7 +269,7 @@ + + Further, <STRONG>halfdelay</STRONG> returns <STRONG>ERR</STRONG> if <EM>delay</EM> is outside the range 1..255. + +- See section "EXTENSIONS" below for the return values of <STRONG>is_cbreak</STRONG>, ++ See section "EXTENSIONS" below for the return values of <STRONG>is_cbreak</STRONG>, + <STRONG>is_echo</STRONG>, <STRONG>is_nl</STRONG>, and <STRONG>is_raw</STRONG>. + + +@@ -276,15 +277,27 @@ + <STRONG>echo</STRONG>, <STRONG>noecho</STRONG>, <STRONG>halfdelay</STRONG>, <STRONG>intrflush</STRONG>, <STRONG>meta</STRONG>, <STRONG>nl</STRONG>, <STRONG>nonl</STRONG>, <STRONG>nodelay</STRONG>, <STRONG>notimeout</STRONG>, + <STRONG>noqiflush</STRONG>, <STRONG>qiflush</STRONG>, <STRONG>timeout</STRONG>, and <STRONG>wtimeout</STRONG> may be implemented as macros. + +- <STRONG>noraw</STRONG> and <STRONG>nocbreak</STRONG> follow historical practice in that they attempt to +- restore the terminal's canonical ("cooked") line discipline from raw +- and cbreak, respectively. Mixing <STRONG>raw</STRONG>/<STRONG>noraw</STRONG> calls with <STRONG>cbreak</STRONG>/<STRONG>nocbreak</STRONG> +- calls leads to terminal driver control states that are hard to predict ++ <STRONG>noraw</STRONG> and <STRONG>nocbreak</STRONG> follow historical practice in that they attempt to ++ restore the terminal's canonical ("cooked") line discipline from raw ++ and cbreak, respectively. Mixing <STRONG>raw</STRONG>/<STRONG>noraw</STRONG> calls with <STRONG>cbreak</STRONG>/<STRONG>nocbreak</STRONG> ++ calls leads to terminal driver control states that are hard to predict + or understand; doing so is not recommended. + ++ <EM>curses</EM> documentation uses the terms "delay" and "timeout" freely to ++ describe two related but distinct aspects of input handling, at the ++ risk of confusing the user. The functions <STRONG>halfdelay</STRONG>, <STRONG>nodelay</STRONG>, ++ <STRONG>notimeout</STRONG>, <STRONG>timeout</STRONG>, and <STRONG>wtimeout</STRONG> all configure whether the input ++ character reading function (<STRONG><A HREF="curs_getch.3x.html">getch(3x)</A></STRONG> or <STRONG><A HREF="curs_get_wch.3x.html">get_wch(3x)</A></STRONG>) waits for ++ keyboard input, and for how long. Only <STRONG>keypad</STRONG> configures whether that ++ function waits for further input if the first character it reads is ++ ESC. X/Open Curses affords no means of configuring the length of this ++ second delay, but an AIX and <EM>ncurses</EM> extension, <STRONG>ESCDELAY</STRONG>, is available ++ both as an environment variable and a global symbol permitting the ++ application to do so; see <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> and <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>. ++ + + </PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE> +- <EM>ncurses</EM> provides four "is_" functions corresponding to <STRONG>cbreak</STRONG>, <STRONG>echo</STRONG>, ++ <EM>ncurses</EM> provides four "is_" functions corresponding to <STRONG>cbreak</STRONG>, <STRONG>echo</STRONG>, + <STRONG>nl</STRONG>, and <STRONG>raw</STRONG>, permitting their states to be queried by the application. + + <STRONG>Query</STRONG> <STRONG>Set</STRONG> <STRONG>Reset</STRONG> +@@ -300,7 +313,7 @@ + + <STRONG>0</STRONG> if the option is unset, or + +- <STRONG>-1</STRONG> if the library's <EM>TERMINAL</EM> structure for the device has not been ++ <STRONG>-1</STRONG> if the library's <EM>TERMINAL</EM> structure for the device has not been + initialized. + + +@@ -308,52 +321,52 @@ + Applications employing <EM>ncurses</EM> extensions should condition their use on + the visibility of the <STRONG>NCURSES_VERSION</STRONG> preprocessor macro. + +- Except as noted in section "EXTENSIONS" above, X/Open Curses Issue 4 ++ Except as noted in section "EXTENSIONS" above, X/Open Curses Issue 4 + describes these functions. It specifies no error conditions for them. + +- SVr4 describes a successful return value only as "an integer value ++ SVr4 describes a successful return value only as "an integer value + other than <EM>ERR</EM>". + +- <EM>ncurses</EM> follows X/Open Curses and the historical practice of System V +- <EM>curses</EM>, clearing the terminal driver's "echo" flag when initializing +- the screen. BSD <EM>curses</EM> did not, but its <EM>raw</EM> function turned it off as +- a side effect. For best portability, call <STRONG>echo</STRONG> or <STRONG>noecho</STRONG> explicitly +- just after initialization, even if your program retains the terminal's ++ <EM>ncurses</EM> follows X/Open Curses and the historical practice of System V ++ <EM>curses</EM>, clearing the terminal driver's "echo" flag when initializing ++ the screen. BSD <EM>curses</EM> did not, but its <EM>raw</EM> function turned it off as ++ a side effect. For best portability, call <EM>echo</EM> or <EM>noecho</EM> explicitly ++ just after initialization, even if your program retains the terminal's + canonical ("cooked") line discipline. + +- X/Open Curses is ambiguous regarding whether <EM>raw</EM> should disable the +- carriage return and line feed translation feature controlled by <EM>nl</EM> and +- <EM>nonl</EM>. BSD <EM>curses</EM> did turn off these translations; System V <EM>curses</EM> did +- not. <EM>ncurses</EM> does so, on the assumption that a programmer requesting +- raw input wants a clean (ideally, 8-bit clean) connection that the ++ X/Open Curses is ambiguous regarding whether <EM>raw</EM> should disable the ++ carriage return and line feed translation feature controlled by <EM>nl</EM> and ++ <EM>nonl</EM>. BSD <EM>curses</EM> turned off these translations; System V <EM>curses</EM> did ++ not. <EM>ncurses</EM> does so, on the assumption that a programmer requesting ++ raw input wants a clean (ideally, 8-bit clean) connection that the + operating system will not alter. + + When <STRONG>keypad</STRONG> is first enabled, <EM>ncurses</EM> loads the key definitions for the +- current terminal description. If the terminal description includes +- extended string capabilities, for example, by using the <STRONG>-x</STRONG> option of ++ current terminal type description. If that description includes ++ extended string capabilities, for example, by using the <STRONG>-x</STRONG> option of + <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 key codes are ++ 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 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> ++ 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 ++ 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 library uses the later definition. + + +@@ -364,31 +377,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>termios(3)</STRONG>, <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG> + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_ins_wch.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_ins_wch.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_ins_wch.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_ins_wch.3x,v 1.46 2025/02/02 00:00:59 tom Exp @ ++ * @Id: curs_ins_wch.3x,v 1.48 2025/03/01 21:25:47 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_ins_wch 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_ins_wch 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_ins_wch 3x 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_ins_wch 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG> + +@@ -57,32 +57,38 @@ + <STRONG>int</STRONG> <STRONG>ins_wch(const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> + <STRONG>int</STRONG> <STRONG>wins_wch(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> + <STRONG>int</STRONG> <STRONG>mvins_wch(int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>mvwins_wch(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>mvwins_wch(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>,</STRONG> ++ <STRONG>const</STRONG> <STRONG>cchar_t</STRONG> <STRONG>*</STRONG> <EM>wch</EM><STRONG>);</STRONG> + + + </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE> +- These functions insert the <EM>curses</EM> complex character <EM>wch</EM> at the cursor +- in the specified window <EM>win</EM> (or <STRONG>stdscr</STRONG>). The character previously at +- the cursor and any to its right move one cell to the right; the +- rightmost character on the line is discarded. The cursor does not +- advance. ++ <STRONG>wins_wch</STRONG> inserts the <EM>curses</EM> complex character <EM>wch</EM> at the cursor ++ position in the window <EM>win</EM>. The character previously at the cursor and ++ any to its right move one cell to the right; the formerly rightmost ++ character on the line is discarded. Unlike <STRONG><A HREF="curs_add_wch.3x.html">add_wch(3x)</A></STRONG>, <STRONG>wins_wch</STRONG> does ++ not advance the cursor. <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> describes the variants of this ++ function. + + + </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. + +- Functions taking a <EM>WINDOW</EM> pointer argument fail if <EM>win</EM> is a null +- pointer. ++ In <EM>ncurses</EM>, they return <STRONG>ERR</STRONG> if + +- Functions prefixed with "mv" first perform cursor movement and fail if ++ <STRONG>o</STRONG> the <EM>curses</EM> screen has not been initialized, and ++ ++ <STRONG>o</STRONG> (for functions taking a <EM>WINDOW</EM> pointer argument) <EM>win</EM> is a null ++ pointer. ++ ++ Functions prefixed with "mv" first perform cursor movement and fail if + the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries. + + + </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE> + <STRONG>ins_wch</STRONG>, <STRONG>mvins_wch</STRONG>, and <STRONG>mvwins_wch</STRONG> may be implemented as macros. + +- A terminal's <STRONG>insert_character</STRONG> (<STRONG>ich1</STRONG>) capability is not necessarily +- employed. ++ <EM>curses</EM> does not necessarily employ the terminal's <STRONG>insert_character</STRONG> ++ (<STRONG>ich1</STRONG>) capability to achieve insertion. + + + </PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE> +@@ -91,11 +97,11 @@ + + + </PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> +- X/Open Curses Issue 4 (1995) initially specified these functions. The +- System V Interface Definition Version 4 of the same year specified a +- function named <EM>winswch</EM> (and the usual variants). This was a later +- addition to SVr4.<EM>x</EM>, not appearing in the first SVr4 (1989). It +- differed from X/Open's later <EM>wins</EM><STRONG>_</STRONG><EM>wch</EM> in that it took an argument of ++ X/Open Curses Issue 4 (1995) initially specified these functions. The ++ System V Interface Definition Version 4 of the same year specified a ++ function named <EM>winswch</EM> (and the usual variants). This was a later ++ addition to SVr4.<EM>x</EM>, not appearing in the first SVr4 (1989). It ++ differed from X/Open's later <EM>wins</EM><STRONG>_</STRONG><EM>wch</EM> in that it took an argument of + type <EM>chtype</EM> instead of <EM>cchar</EM><STRONG>_</STRONG><EM>t</EM>. + + +@@ -107,7 +113,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_ins_wstr.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_ins_wstr.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_ins_wstr.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_ins_wstr.3x,v 1.58 2025/02/01 22:54:32 tom Exp @ ++ * @Id: curs_ins_wstr.3x,v 1.60 2025/03/01 21:30:14 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_ins_wstr 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_ins_wstr 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_ins_wstr 3x 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_ins_wstr 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG> + +@@ -76,8 +76,8 @@ + be lost. <STRONG>wins_wstr</STRONG> stops inserting if it would have to wrap to the + next line to write the next <EM>wchar</EM><STRONG>_</STRONG><EM>t</EM> in <EM>wstr</EM>. The cursor position does + not change (after moving to (<EM>y</EM>, <EM>x</EM>), if specified). <STRONG>wins_nwstr</STRONG> does the +- same, but inserts at most <EM>n</EM> characters, or as many as possible (up to +- the end of the line) if <EM>n</EM> is negative. <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> describes the ++ same, but inserts at most <EM>n</EM> wide characters, or as many as possible (up ++ to the end of the line) if <EM>n</EM> is negative. <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> describes the + variants of these functions. + + +@@ -141,7 +141,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_insch.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_insch.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_insch.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_insch.3x,v 1.51 2025/02/02 00:00:59 tom Exp @ ++ * @Id: curs_insch.3x,v 1.54 2025/03/01 21:26:42 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_insch 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_insch 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_insch 3x 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_insch 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG> + +@@ -61,38 +61,44 @@ + + + </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE> +- These functions insert the <EM>curses</EM> character <EM>ch</EM> at the cursor in the +- specified window <EM>win</EM> (or <STRONG>stdscr</STRONG>). The character previously at the +- cursor and any to its right move one cell to the right; the rightmost +- character on the line is discarded. The cursor does not advance. ++ <STRONG>winsch</STRONG> inserts the <EM>curses</EM> character <EM>ch</EM> at the cursor position in the ++ window <EM>win</EM>. The character previously at the cursor and any to its ++ right move one cell to the right; the formerly rightmost character on ++ the line is discarded. Unlike <STRONG><A HREF="curs_addch.3x.html">addch(3x)</A></STRONG>, <STRONG>winsch</STRONG> does not advance the ++ cursor. <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> describes the variants of this function. + + + </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. + +- Functions taking a <EM>WINDOW</EM> pointer argument fail if <EM>win</EM> is a null +- pointer. ++ In <EM>ncurses</EM>, they return <STRONG>ERR</STRONG> if + +- Functions prefixed with "mv" first perform cursor movement and fail if ++ <STRONG>o</STRONG> the <EM>curses</EM> screen has not been initialized, and ++ ++ <STRONG>o</STRONG> (for functions taking a <EM>WINDOW</EM> pointer argument) <EM>win</EM> is a null ++ pointer. ++ ++ Functions prefixed with "mv" first perform cursor movement and fail if + the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries. + + + </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE> + <STRONG>insch</STRONG>, <STRONG>mvinsch</STRONG>, and <STRONG>mvwinsch</STRONG> may be implemented as macros. + +- A terminal's <STRONG>insert_character</STRONG> (<STRONG>ich1</STRONG>) capability is not necessarily +- employed. ++ <EM>curses</EM> does not necessarily employ the terminal's <STRONG>insert_character</STRONG> ++ (<STRONG>ich1</STRONG>) capability to achieve insertion. + + + </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 describes a successful return value only as "an integer value + other than <EM>ERR</EM>". + + + </PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> +- SVr2 (1984) introduced <EM>winsch</EM>. ++ SVr2 (1984) introduced these functions. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +@@ -103,7 +109,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_insch.3x.html">curs_insch(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_instr.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_instr.3x.html 2025-02-02 00:43:57.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_instr.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_instr.3x,v 1.70 2025/02/01 22:54:06 tom Exp @ ++ * @Id: curs_instr.3x,v 1.74 2025/03/01 21:29:42 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 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_instr 3x 2025-03-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 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_instr 3x 2025-03-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> + +@@ -80,26 +80,29 @@ + These functions return the count of characters copied from <EM>win</EM> to <EM>str</EM>, + or <STRONG>ERR</STRONG> upon failure. + +- In <EM>ncurses</EM>, they return <STRONG>ERR</STRONG> if ++ In <EM>ncurses</EM>, these functions return <STRONG>ERR</STRONG> if + +- <STRONG>o</STRONG> <EM>win</EM> is <EM>NULL</EM> or ++ <STRONG>o</STRONG> the <EM>curses</EM> screen has not been initialized, + +- <STRONG>o</STRONG> <EM>str</EM> is <EM>NULL</EM>. ++ <STRONG>o</STRONG> (for functions taking a <EM>WINDOW</EM> pointer argument) <EM>win</EM> is a null ++ pointer, or + +- Functions prefixed with "mv" first perform cursor movement and fail if ++ <STRONG>o</STRONG> <EM>str</EM> is a null pointer. ++ ++ Functions prefixed with "mv" first perform cursor movement and fail if + the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries. + + + </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE> + All of these functions except <STRONG>winnstr</STRONG> may be implemented as macros. + +- Reading a line that overflows the array pointed to by <EM>str</EM> with <STRONG>instr</STRONG>, +- <STRONG>winstr</STRONG>, <STRONG>mvinstr</STRONG>, or <STRONG>mvwinstr</STRONG> causes undefined results. Use of <STRONG>innstr</STRONG>, ++ Reading a line that overflows the array pointed to by <EM>str</EM> with <STRONG>instr</STRONG>, ++ <STRONG>winstr</STRONG>, <STRONG>mvinstr</STRONG>, or <STRONG>mvwinstr</STRONG> causes undefined results. Use of <STRONG>innstr</STRONG>, + <STRONG>winnstr</STRONG>, <STRONG>mvinnstr</STRONG>, and <STRONG>mvwinnstr</STRONG> is recommended instead. + + + </PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE> +- <STRONG>innstr</STRONG>, <STRONG>winnstr</STRONG>, <STRONG>mvinnstr</STRONG>, and <STRONG>mvwinnstr</STRONG>'s acceptance of negative <EM>n</EM> ++ <STRONG>innstr</STRONG>, <STRONG>winnstr</STRONG>, <STRONG>mvinnstr</STRONG>, and <STRONG>mvwinnstr</STRONG>'s acceptance of negative <EM>n</EM> + values is an <EM>ncurses</EM> extension. + + +@@ -110,28 +113,27 @@ + X/Open Curses Issue 4 describes these functions. It specifies no error + conditions for them. + +- X/Open Curses Issues 4 and 7 both state that <STRONG>instr</STRONG>, <STRONG>winstr</STRONG>, <STRONG>mvinstr</STRONG>, +- and <STRONG>mvwinstr</STRONG> return <STRONG>OK</STRONG> rather than a character count. This is likely ++ X/Open Curses Issues 4 and 7 both state that <EM>instr</EM>, <EM>winstr</EM>, <EM>mvinstr</EM>, ++ and <EM>mvwinstr</EM> return <EM>OK</EM> rather than a character count. This is likely + an erratum. + +- <STRONG>o</STRONG> SVr3.1 and SVr4 implemented <STRONG>winstr</STRONG> as a wrapper around <STRONG>winnstr</STRONG>, ++ <STRONG>o</STRONG> SVr3.1 and SVr4 implemented <EM>winstr</EM> as a wrapper around <EM>winnstr</EM>, + returning the latter's return value. X/Open Curses's specification +- thus may have been an editorial solecism copied from System V's +- documentation (see below) by X/Open, rather than an intentional ++ thus may have been an editorial solecism copied from System V's ++ documentation (see below) by X/Open, rather than an intentional + change. + + <STRONG>o</STRONG> <EM>ncurses</EM> retains compatibility with System V <EM>curses</EM> behavior. + +- SVr4 describes a successful return value only as "an integer value ++ SVr4 describes a successful return value only as "an integer value + other than <EM>ERR</EM>". + +- SVr4 does not document whether <EM>n</EM> counts the null terminator that these ++ SVr4 does not document whether <EM>n</EM> counts the null terminator that these + functions write to <EM>str</EM>. + + + </PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> +- SVr3.1 (1987) introduced these functions. <EM>winstr</EM>, <EM>winnstr</EM>, and their +- variants. ++ SVr3.1 (1987) introduced these functions. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +@@ -142,7 +144,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_inwstr.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_inwstr.3x.html 2025-01-19 00:54:59.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_inwstr.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_inwstr.3x,v 1.56 2025/01/19 00:51:10 tom Exp @ ++ * @Id: curs_inwstr.3x,v 1.60 2025/03/01 21:29:42 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_inwstr 3x 2025-01-18 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_inwstr 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_inwstr 3x 2025-01-18 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_inwstr 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG> + +@@ -79,27 +79,30 @@ + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> + On successful operation, these functions return the count of wide +- characters copied from <EM>win</EM> to <EM>wstr</EM>. They return <STRONG>ERR</STRONG> upon failure. +- <STRONG>innwstr</STRONG>, <STRONG>winnwstr</STRONG>, <STRONG>mvinnwstr</STRONG>, and <STRONG>mvwinnwstr</STRONG> return <STRONG>ERR</STRONG> if <EM>n</EM> is +- insufficiently large to store a complete wide character string. +- (Recall that a <EM>curses</EM> complex character can contain multiple wide +- characters, some of which may be non-spacing.) ++ characters copied from <EM>win</EM> to <EM>wstr</EM>, or <STRONG>ERR</STRONG> upon failure. <STRONG>innwstr</STRONG>, ++ <STRONG>winnwstr</STRONG>, <STRONG>mvinnwstr</STRONG>, and <STRONG>mvwinnwstr</STRONG> return <STRONG>ERR</STRONG> if <EM>n</EM> is insufficiently ++ large to store a complete wide character string. (Recall that a <EM>curses</EM> ++ complex character can contain multiple wide characters, some of which ++ may be non-spacing.) + + In <EM>ncurses</EM>, these functions return <STRONG>ERR</STRONG> if + +- <STRONG>o</STRONG> <EM>win</EM> is <EM>NULL</EM> or ++ <STRONG>o</STRONG> the <EM>curses</EM> screen has not been initialized, + +- <STRONG>o</STRONG> <EM>wstr</EM> is <EM>NULL</EM>. ++ <STRONG>o</STRONG> (for functions taking a <EM>WINDOW</EM> pointer argument) <EM>win</EM> is a null ++ pointer, or + +- Functions prefixed with "mv" first perform cursor movement and fail if ++ <STRONG>o</STRONG> <EM>wstr</EM> is a null pointer. ++ ++ Functions prefixed with "mv" first perform cursor movement and fail if + the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries. + + + </PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE> + All of these functions except <STRONG>winnwstr</STRONG> may be implemented as macros. + +- Reading a line that overflows the array pointed to by <EM>str</EM> with <STRONG>inwstr</STRONG>, +- <STRONG>winwstr</STRONG>, <STRONG>mvinwstr</STRONG>, or <STRONG>mvwinwstr</STRONG> causes undefined results. Use of ++ Reading a line that overflows the array pointed to by <EM>wstr</EM> with <STRONG>inwstr</STRONG>, ++ <STRONG>winwstr</STRONG>, <STRONG>mvinwstr</STRONG>, or <STRONG>mvwinwstr</STRONG> causes undefined results. Use of + <STRONG>innwstr</STRONG>, <STRONG>winnwstr</STRONG>, <STRONG>mvinnwstr</STRONG>, and <STRONG>mvwinnwstr</STRONG> is recommended instead. + + +@@ -115,27 +118,27 @@ + X/Open Curses Issue 4 describes these functions. It specifies no error + conditions for them. + +- Notwithstanding the foregoing, X/Open Curses Issues 4 and 7 both state +- that <STRONG>innwstr</STRONG>, <STRONG>winnwstr</STRONG>, <STRONG>mvinnwstr</STRONG>, and <STRONG>mvwinnwstr</STRONG> "fail ... [i]f the ++ Notwithstanding the foregoing, X/Open Curses Issues 4 and 7 both state ++ that <EM>innwstr</EM>, <EM>winnwstr</EM>, <EM>mvinnwstr</EM>, and <EM>mvwinnwstr</EM> "fail ... [i]f the + array is not large enough to contain any complete characters". +- Strictly interpreted, this means that a caller of these functions ++ Strictly interpreted, this means that a caller of these functions + cannot use their return values to detect truncation of a wide-character +- string copied from more than one character cell in <EM>win</EM>. <EM>ncurses</EM> +- reports any truncation with <STRONG>ERR</STRONG>. ++ string copied from more than one character cell in <EM>win</EM>. <EM>ncurses</EM> ++ reports any truncation with <EM>ERR</EM>. + +- X/Open Curses specifies <STRONG>inwstr</STRONG>, <STRONG>winwstr</STRONG>, <STRONG>mvinwstr</STRONG>, and <STRONG>mvwinwstr</STRONG> as +- returning <STRONG>OK</STRONG> rather than a (wide) character count, unlike their non- +- wide counterparts <STRONG>instr</STRONG>, <STRONG>winstr</STRONG>, <STRONG>mvinstr</STRONG>, and <STRONG>mvwinstr</STRONG>. <EM>ncurses</EM> ++ X/Open Curses specifies <EM>inwstr</EM>, <EM>winwstr</EM>, <EM>mvinwstr</EM>, and <EM>mvwinwstr</EM> as ++ returning <EM>OK</EM> rather than a (wide) character count, unlike their non- ++ wide counterparts <EM>instr</EM>, <EM>winstr</EM>, <EM>mvinstr</EM>, and <EM>mvwinstr</EM>. <EM>ncurses</EM> + regards this inconsistency as an error in the standard. + + + </PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> +- The System V Interface Definition, Version 4 (1995), specified <EM>winwstr</EM> +- and <EM>winnwstr</EM> (and the usual variants). These were later additions to +- SVr4.<EM>x</EM>, not appearing in the first SVr4 (1989). Their synopses +- described each function as taking an argument of type pointer-to-<EM>char</EM> +- instead of pointer-to-<EM>wchar</EM><STRONG>_</STRONG><EM>t</EM>, despite describing them as "returning +- the string of <EM>wchar</EM><STRONG>_</STRONG><EM>t</EM> in <EM>str</EM>". Presumably this was an error in the ++ The System V Interface Definition, Version 4 (1995), specified <EM>winwstr</EM> ++ and <EM>winnwstr</EM> (and the usual variants). These were later additions to ++ SVr4.<EM>x</EM>, not appearing in the first SVr4 (1989). Their synopses ++ described each function as taking an argument of type pointer-to-<EM>char</EM> ++ instead of pointer-to-<EM>wchar</EM><STRONG>_</STRONG><EM>t</EM>, despite describing them as "returning ++ the string of <EM>wchar</EM><STRONG>_</STRONG><EM>t</EM> in <EM>str</EM>". Presumably this was an error in the + System V Interface Definition. + + +@@ -147,7 +150,7 @@ + + + +-ncurses 6.5 2025-01-18 <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_kernel.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_kernel.3x.html 2025-02-15 15:46:52.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_kernel.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_kernel.3x,v 1.77 2025/02/15 15:13:55 tom Exp @ ++ * @Id: curs_kernel.3x,v 1.80 2025/03/01 21:31:35 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_kernel 3x 2025-02-15 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_kernel 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_kernel 3x 2025-02-15 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_kernel 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG> + +@@ -154,27 +154,29 @@ + + </PRE><H3><a name="h3-ripoffline">ripoffline</a></H3><PRE> + <STRONG>ripoffline</STRONG> provides access to the same facility that <STRONG><A HREF="curs_slk.3x.html">slk_init(3x)</A></STRONG> uses +- to reduce the size of the screen. <STRONG>ripoffline</STRONG> must be called before +- <STRONG>initscr</STRONG> or <STRONG>newterm</STRONG> is called, to prepare these initial actions: ++ to reduce the size of the screen. The application must call <STRONG>ripoffline</STRONG> ++ before <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG> or <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG> so that the functions prepare a ++ <STRONG>stdscr</STRONG> of the correct size. + +- <STRONG>o</STRONG> If <EM>line</EM> is positive, a line is removed from the top of <STRONG>stdscr</STRONG>. ++ <STRONG>o</STRONG> If <EM>line</EM> is positive, <STRONG>ripoffline</STRONG> removes a line from the top of ++ <STRONG>stdscr</STRONG>. + +- <STRONG>o</STRONG> if <EM>line</EM> is negative, a line is removed from the bottom. ++ <STRONG>o</STRONG> If <EM>line</EM> is negative, <STRONG>ripoffline</STRONG> removes a line from the bottom of ++ <STRONG>stdscr</STRONG>. + +- When the resulting initialization is done inside <STRONG>initscr</STRONG>, the routine +- <STRONG>init</STRONG> (supplied by the user) is called with two arguments: ++ When <STRONG>initscr</STRONG> initializes <EM>curses</EM>, it calls the <EM>init</EM> function supplied to ++ <STRONG>ripoffline</STRONG> by the application with two arguments: + +- <STRONG>o</STRONG> a window pointer to the one-line window that has been allocated and ++ <STRONG>o</STRONG> a pointer to the one-line <EM>WINDOW</EM> that it allocates, and + + <STRONG>o</STRONG> an integer with the number of columns in the window. + +- Inside this initialization routine, the integer variables <STRONG>LINES</STRONG> and +- <STRONG>COLS</STRONG> (defined in <STRONG><curses.h></STRONG>) are not guaranteed to be accurate and +- <STRONG>wrefresh</STRONG> or <STRONG>doupdate</STRONG> must not be called. It is allowable to call +- <STRONG>wnoutrefresh</STRONG> during the initialization routine. ++ Inside this <EM>init</EM> function, the values of the integer variables <STRONG>LINES</STRONG> ++ and <STRONG>COLS</STRONG> (see <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>) are not guaranteed to be reliable; it ++ must not call <STRONG><A HREF="curs_refresh.3x.html">wrefresh(3x)</A></STRONG> or <STRONG><A HREF="curs_refresh.3x.html">doupdate(3x)</A></STRONG>. A <STRONG><A HREF="curs_refresh.3x.html">wnoutrefresh(3x)</A></STRONG> call is ++ permissible. + +- <STRONG>ripoffline</STRONG> can be called up to five times before calling <STRONG>initscr</STRONG> or +- <STRONG>newterm</STRONG>. ++ <STRONG>ripoffline</STRONG> can be called up to five times before <STRONG>initscr</STRONG> or <STRONG>newterm</STRONG>. + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +@@ -235,11 +237,11 @@ + The System V Interface Definition, Version 4 (1995), specified all of + these functions except <EM>curs</EM><STRONG>_</STRONG><EM>set</EM> as returning <EM>OK</EM>. + +- Older SVr4 man pages warn that the return value of <STRONG>curs_set</STRONG> "is ++ Older SVr4 man pages warn that the return value of <EM>curs</EM><STRONG>_</STRONG><EM>set</EM> "is + currently incorrect". This implementation gets it right, but counting + on its correctness anywhere else may be unwise. + +- X/Open Curses specifies <EM>ripoffline</EM> as returning <STRONG>OK</STRONG> with no possibility ++ X/Open Curses specifies <EM>ripoffline</EM> as returning <EM>OK</EM> with no possibility + of failure ("[c]alls to <EM>ripoffline</EM> above this limit [five lines] have + no effect but report success"). + +@@ -250,7 +252,7 @@ + An application should touch and refresh the window before + resuming conventional use of Curses. + +- Both <EM>ncurses</EM> and SVr4 <EM>curses</EM> implement <STRONG>mvcur</STRONG> using the <EM>SCREEN</EM> object ++ Both <EM>ncurses</EM> and SVr4 <EM>curses</EM> implement <EM>mvcur</EM> using the <EM>SCREEN</EM> object + allocated in either <STRONG><A HREF="curs_initscr.3x.html">initscr(3x)</A></STRONG> or <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG>. X/Open Curses states + that the old location must be given for <EM>mvcur</EM> to accommodate terminals + that lack absolute cursor positioning. +@@ -265,7 +267,7 @@ + + + +-ncurses 6.5 2025-02-15 <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_mouse.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_mouse.3x.html 2025-02-15 20:06:26.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_mouse.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_mouse.3x,v 1.119 2025/02/15 19:36:18 tom Exp @ ++ * @Id: curs_mouse.3x,v 1.123 2025/03/01 21:33:30 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_mouse 3x 2025-02-15 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_mouse 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_mouse 3x 2025-02-15 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_mouse 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> + +@@ -117,7 +117,7 @@ + of the specified mouse events can be reported. + + If the screen is not initialized, or the terminal interface does +- report mouse events, <STRONG>mousemask</STRONG> returns 0. ++ not report mouse events, <STRONG>mousemask</STRONG> returns 0. + + <STRONG>o</STRONG> If <EM>old-mask</EM> is not a null pointer, <STRONG>mousemask</STRONG> stores the previous + value of the screen's mouse event mask there. +@@ -381,23 +381,24 @@ + + + </PRE><H2><a name="h2-BUGS">BUGS</a></H2><PRE> +- Mouse events from <EM>xterm</EM> are <EM>not</EM> ignored in canonical mode if they have +- been enabled by <STRONG>mousemask</STRONG>. Instead, the <EM>xterm</EM> mouse report sequence +- appears in the string read. ++ Mouse events from <EM>xterm</EM> are <EM>not</EM> ignored in canonical ("cooked") mode if ++ they have been enabled by <STRONG>mousemask</STRONG>. Instead, the <EM>xterm</EM> mouse report ++ sequence appears in the string read. + + An <EM>ncurses</EM> window must enable <STRONG><A HREF="curs_inopts.3x.html">keypad(3x)</A></STRONG> to correctly receive mouse + event reports from <EM>xterm</EM> since they are encoded like function keys. + Set the terminal's <EM>terminfo</EM> capability <STRONG>key_mouse</STRONG> (<STRONG>kmous</STRONG>) to "\E[M" (the + beginning of the response from <EM>xterm</EM> for mouse clicks). Other values +- of <STRONG>key_mouse</STRONG> are permitted under the same assumption, that is, the +- report begins with that sequence. ++ of <STRONG>key_mouse</STRONG> are permitted under the same assumption -- that is, a ++ mouse report begins with the value of the <STRONG>key_mouse</STRONG> (<STRONG>kmous</STRONG>) string ++ capability. + + Because there are no standard response sequences that serve to identify +- terminals supporting the <EM>xterm</EM> mouse protocol, <EM>ncurses</EM> assumes that if +- <STRONG>key_mouse</STRONG> (<STRONG>kmous</STRONG>) is defined in the terminal description, or if the +- terminal type's primary name or aliases contain the string "xterm", ++ terminals supporting the <EM>xterm</EM> mouse protocol, <EM>ncurses</EM> assumes that if ++ <STRONG>key_mouse</STRONG> (<STRONG>kmous</STRONG>) is defined in the terminal description, or if the ++ terminal type's primary name or aliases contain the string "xterm", + then the terminal may send mouse events. <EM>ncurses</EM> checks the <STRONG>kmous</STRONG> cap- +- code first, allowing use of newer <EM>xterm</EM> mouse protocols, such as its ++ code first, allowing use of newer <EM>xterm</EM> mouse protocols, such as its + private mode 1006. + + +@@ -407,7 +408,7 @@ + + + +-ncurses 6.5 2025-02-15 <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_move.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_move.3x.html 2025-02-02 00:43:58.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_move.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_move.3x,v 1.57 2025/02/01 22:50:42 tom Exp @ ++ * @Id: curs_move.3x,v 1.59 2025/03/01 21:34:10 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_move 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_move 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_move 3x 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_move 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG> + +@@ -61,8 +61,8 @@ + <STRONG>wmove</STRONG> relocates the cursor associated with the <EM>curses</EM> window <EM>win</EM> to + line <EM>y</EM> and column <EM>x</EM>. The terminal's cursor does not move until + <STRONG><A HREF="curs_refresh.3x.html">refresh(3x)</A></STRONG> is called. The position (<EM>y</EM>, <EM>x</EM>) is relative to the upper +- left-hand corner of the window, which has coordinates (0, 0). +- <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> describes the <STRONG>move</STRONG> variant of this function. ++ left-hand corner of the window, which has coordinates (0, 0). <STRONG>move</STRONG> ++ similarly moves the cursor in the <STRONG>stdscr</STRONG> window. + + + </PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE> +@@ -86,7 +86,7 @@ + + + </PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE> +- 4BSD (1980) introduced these functions. ++ 4BSD (1980) introduced <EM>move</EM> and <EM>wmove</EM>. + + + </PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE> +@@ -94,7 +94,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/curs_outopts.3x.html +--- ncurses-6.5-20250222+/doc/html/man/curs_outopts.3x.html 2025-02-02 00:43:58.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/curs_outopts.3x.html 2025-03-01 22:03:51.000000000 +0000 +@@ -27,19 +27,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: curs_outopts.3x,v 1.81 2025/02/01 22:49:13 tom Exp @ ++ * @Id: curs_outopts.3x,v 1.89 2025/03/01 21:42:22 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_outopts 3x 2025-02-01 ncurses 6.5 Library calls</TITLE> ++<TITLE>curs_outopts 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">curs_outopts 3x 2025-02-01 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">curs_outopts 3x 2025-03-01 ncurses 6.5 Library calls</H1> + <PRE> + <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG> + +@@ -54,56 +54,54 @@ + </PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE> + <STRONG>#include</STRONG> <STRONG><curses.h></STRONG> + +- <STRONG>int</STRONG> <STRONG>clearok(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> +- <STRONG>void</STRONG> <STRONG>idcok(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>idlok(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> +- <STRONG>void</STRONG> <STRONG>immedok(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>leaveok(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>scrollok(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>clearok(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> ++ <STRONG>void</STRONG> <STRONG>idcok(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>idlok(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> ++ <STRONG>void</STRONG> <STRONG>immedok(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>leaveok(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>scrollok(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG> + + <STRONG>int</STRONG> <STRONG>setscrreg(int</STRONG> <EM>top</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>bot</EM><STRONG>);</STRONG> +- <STRONG>int</STRONG> <STRONG>wsetscrreg(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>top</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>bot</EM><STRONG>);</STRONG> ++ <STRONG>int</STRONG> <STRONG>wsetscrreg(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>top</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>bot</EM><STRONG>);</STRONG> + + + </PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE> +- These routines set options that change the style of output within +- <STRONG>curses</STRONG>. All options are initially <STRONG>FALSE</STRONG>, unless otherwise stated. It +- is not necessary to turn these options off before calling <STRONG><A HREF="curs_initscr.3x.html">endwin(3x)</A></STRONG>. ++ These functions configure properties of <EM>curses</EM> windows that affect ++ their manner of output. Boolean-valued properties are initially <STRONG>FALSE</STRONG> ++ except where noted. <STRONG><A HREF="curs_initscr.3x.html">endwin(3x)</A></STRONG> resets any terminal modes corresponding ++ to these properties; an application need not restore their initial ++ values. + + + </PRE><H3><a name="h3-clearok">clearok</a></H3><PRE> +- If <STRONG>clearok</STRONG> is called with <STRONG>TRUE</STRONG> as argument, the next call to <STRONG>wrefresh</STRONG> +- with this window will clear the screen completely and redraw the entire +- screen from scratch. This is useful when the contents of the screen +- are uncertain, or in some cases for a more pleasing visual effect. If +- the <EM>win</EM> argument to <STRONG>clearok</STRONG> is the global variable <STRONG>curscr</STRONG>, the next +- call to <STRONG>wrefresh</STRONG> with any window causes the screen to be cleared and +- repainted from scratch. ++ Setting <EM>win</EM>'s <STRONG>clearok</STRONG> property to <STRONG>TRUE</STRONG> causes the next <STRONG>wrefresh</STRONG> call on ++ it to clear the terminal screen and redraw it entirely. This property ++ is useful to restore the contents of the screen (perhaps because ++ another process has written to the terminal), or in some cases to ++ achieve a more pleasing visual effect. If <EM>win</EM> is <STRONG>curscr</STRONG> (see ++ <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>), the next <STRONG>wrefresh</STRONG> call on <EM>any</EM> window causes the ++ terminal screen to clear and redraw as above. <STRONG>wrefresh</STRONG> resets this ++ property to <STRONG>FALSE</STRONG>. + + + </PRE><H3><a name="h3-idcok">idcok</a></H3><PRE> +- If <STRONG>idcok</STRONG> is called with <STRONG>FALSE</STRONG> as second argument, <STRONG>curses</STRONG> no longer +- considers using the hardware insert/delete character feature of +- terminals so equipped. Use of character insert/delete is enabled by +- default. Calling <STRONG>idcok</STRONG> with <STRONG>TRUE</STRONG> as second argument re-enables use of +- character insertion and deletion. ++ (This property defaults <STRONG>TRUE</STRONG>.) Setting <EM>win</EM>'s <STRONG>idcok</STRONG> property to <STRONG>FALSE</STRONG> ++ prevents <EM>curses</EM> from using the insert/delete character capabilities of ++ terminal types possessing them according to the <EM>terminfo</EM> database. + + + </PRE><H3><a name="h3-idlok">idlok</a></H3><PRE> +- If <STRONG>idlok</STRONG> is called with <STRONG>TRUE</STRONG> as second argument, <STRONG>curses</STRONG> considers using +- the hardware insert/delete line feature of terminals so equipped. +- Calling <STRONG>idlok</STRONG> with <STRONG>FALSE</STRONG> as second argument disables use of line +- insertion and deletion. This option should be enabled only if the +- application needs insert/delete line, for example, for a screen editor. +- It is disabled by default because insert/delete line tends to be +- visually annoying when used in applications where it is not really +- needed. If insert/delete line cannot be used, <STRONG>curses</STRONG> redraws the +- changed portions of all lines. ++ Setting <EM>win</EM>'s <STRONG>idlok</STRONG> property to <STRONG>TRUE</STRONG> causes <EM>curses</EM> to consider using ++ the insert/delete line capabilities of terminal types possessing them ++ according to the <EM>terminfo</EM> database. Enable this option if the ++ application explicitly requires these operations, as a full-screen text ++ editor might; otherwise the results may be visually annoying to the ++ user. + + + </PRE><H3><a name="h3-immedok">immedok</a></H3><PRE> + If <STRONG>immedok</STRONG> is called with <STRONG>TRUE</STRONG> as second argument, any change in the +- window image, such as the ones caused by <STRONG>waddch,</STRONG> <STRONG>wclrtobot,</STRONG> <STRONG>wscrl</STRONG>, ++ window image, such as the ones caused by <STRONG>waddch</STRONG>, <STRONG>wclrtobot</STRONG>, <STRONG>wscrl</STRONG>, + etc., automatically causes a call to <STRONG>wrefresh</STRONG>. However, it may degrade + performance considerably, due to repeated calls to <STRONG>wrefresh</STRONG>. Calling + <STRONG>immedok</STRONG> with <STRONG>FALSE</STRONG> as second argument restores the default behavior, +@@ -200,7 +198,7 @@ + + + +-ncurses 6.5 2025-02-01 <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/infocmp.1m.html +--- ncurses-6.5-20250222+/doc/html/man/infocmp.1m.html 2025-02-15 20:06:28.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/infocmp.1m.html 2025-02-23 14:05:31.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: infocmp.1m,v 1.124 2025/02/15 19:37:37 tom Exp @ ++ * @Id: infocmp.1m,v 1.126 2025/02/18 00:05:00 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>infocmp 1m 2025-02-15 ncurses 6.5 User commands</TITLE> ++<TITLE>infocmp 1m 2025-02-17 ncurses 6.5 User commands</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">infocmp 1m 2025-02-15 ncurses 6.5 User commands</H1> ++<H1 class="no-header">infocmp 1m 2025-02-17 ncurses 6.5 User commands</H1> + <PRE> + <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG> User commands <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG> + +@@ -62,12 +62,12 @@ + compiled entry in the <EM>terminfo</EM> database in a variety of selectable + formats, compares such entries to each other, and rewrites an entry to + replace "<STRONG>use</STRONG>" expressions with the content of other entries by +- reference. A <EM>terminfo</EM> <EM>entry</EM> entry comprises a list of one or more +- terminal type identifiers, a human-readable description of the terminal +- type, and a list of terminal <EM>capabilities</EM> that characterize its +- programming interface. In all cases, the program reports Boolean- +- valued capabilities first, followed by numeric ones, and then string- +- valued capabilities. ++ reference. A <EM>terminfo</EM> <EM>entry</EM> comprises a list of one or more terminal ++ type identifiers, a human-readable description of the terminal type, ++ and a list of terminal <EM>capabilities</EM> that characterize its programming ++ interface. In all cases, the program reports Boolean-valued ++ capabilities first, followed by numeric ones, and then string-valued ++ capabilities. + + + </PRE><H3><a name="h3-Default-Options">Default Options</a></H3><PRE> +@@ -531,7 +531,7 @@ + + + +-ncurses 6.5 2025-02-15 <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG> ++ncurses 6.5 2025-02-17 <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: doc/html/man/ncurses.3x.html +--- ncurses-6.5-20250222+/doc/html/man/ncurses.3x.html 2025-02-15 15:07:49.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/ncurses.3x.html 2025-03-01 22:03:53.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: ncurses.3x,v 1.243 2025/01/19 00:51:10 tom Exp @ ++ * @Id: ncurses.3x,v 1.245 2025/03/01 21:43:30 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 2025-01-18 ncurses 6.5 Library calls</TITLE> ++<TITLE>ncurses 3x 2025-03-01 ncurses 6.5 Library calls</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">ncurses 3x 2025-01-18 ncurses 6.5 Library calls</H1> ++<H1 class="no-header">ncurses 3x 2025-03-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 @@ + displays 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 20250215). ++ document describes <EM>ncurses</EM> version 6.5 (patch 20250301). + + <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 +@@ -181,7 +181,7 @@ + Many terminals support configuration of character cell foreground and + background colors as well as <EM>attributes</EM>, which cause characters to + render in such modes as boldfaced, underlined, or in reverse video. +- See <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>. ++ See <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG> and <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>. + + <EM>curses</EM> predefines constants for a small set of forms-drawing graphics + corresponding to the DEC Alternate Character Set (ACS), a feature of +@@ -1500,7 +1500,7 @@ + + + +-ncurses 6.5 2025-01-18 <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG> ++ncurses 6.5 2025-03-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-20250222+/doc/html/man/terminfo.5.html 2025-02-15 15:07:49.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/terminfo.5.html 2025-02-23 14:05:32.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 20250215). ++ This document describes <EM>ncurses</EM> version 6.5 (patch 20250301). + + + </PRE><H3><a name="h3-terminfo-Entry-Syntax"><EM>terminfo</EM> Entry Syntax</a></H3><PRE> +@@ -1673,9 +1673,9 @@ + works. + + Finally, you can specify <STRONG>dch1</STRONG> to delete a single character, <STRONG>dch</STRONG> with +- one parameter, <EM>n</EM>, to delete <EM>n</EM>characters, and delete mode by giving <STRONG>smdc</STRONG> +- and <STRONG>rmdc</STRONG> to enter and exit delete mode (any mode the terminal needs to +- be placed in for <STRONG>dch1</STRONG> to work). ++ one parameter, <EM>n</EM>, to delete <EM>n</EM> characters, and delete mode by giving ++ <STRONG>smdc</STRONG> and <STRONG>rmdc</STRONG> to enter and exit delete mode (any mode the terminal ++ needs to be placed in for <STRONG>dch1</STRONG> to work). + + A command to erase <EM>n</EM> characters (equivalent to outputting <EM>n</EM> blanks + without moving the cursor) can be given as <STRONG>ech</STRONG> with one parameter. +Index: doc/html/man/tput.1.html +--- ncurses-6.5-20250222+/doc/html/man/tput.1.html 2025-02-15 20:06:29.000000000 +0000 ++++ ncurses-6.5-20250301/doc/html/man/tput.1.html 2025-03-01 22:03:53.000000000 +0000 +@@ -28,19 +28,19 @@ + * sale, use or other dealings in this Software without prior written * + * authorization. * + **************************************************************************** +- * @Id: tput.1,v 1.132 2025/02/15 19:35:19 tom Exp @ ++ * @Id: tput.1,v 1.135 2025/03/01 21:45:34 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>tput 1 2025-02-15 ncurses 6.5 User commands</TITLE> ++<TITLE>tput 1 2025-03-01 ncurses 6.5 User commands</TITLE> + <link rel="author" href="mailto:bug-ncurses@gnu.org"> + + </HEAD> + <BODY> +-<H1 class="no-header">tput 1 2025-02-15 ncurses 6.5 User commands</H1> ++<H1 class="no-header">tput 1 2025-03-01 ncurses 6.5 User commands</H1> + <PRE> + <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG> User commands <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG> + +@@ -76,7 +76,7 @@ + <EM>code</EM>. + + <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG> discusses terminal capabilities at length and presents a +- complete list of <EM>cap-codes</EM>. ++ complete list of standard <EM>cap-codes</EM>. + + When retrieving capability values, the result depends upon the + capability's type. +@@ -445,17 +445,15 @@ + <STRONG>o</STRONG> SVr4 (1989) added color initialization by using the <STRONG>orig_colors</STRONG> + (<STRONG>oc</STRONG>) and <STRONG>orig_pair</STRONG> (<STRONG>op</STRONG>) capabilities in its <STRONG>init</STRONG> logic. + +- Keith Bostic refactored BSD <EM>tput</EM> for shipment in 4.3BSD-Tahoe (1988), +- then replaced it the next year with a new implementation based on +- System V <EM>tput</EM>. Bostic's version similarly accepted some parameters +- named for <EM>terminfo</EM> (pseudo-)capabilities: <STRONG>clear</STRONG>, <STRONG>init</STRONG>, <STRONG>longname</STRONG>, and +- <STRONG>reset</STRONG>. However, because he had only <EM>termcap</EM> available, it accepted +- <EM>termcap</EM> codes for other capabilities. Also, Bostic's BSD <EM>tput</EM> did not +- modify the terminal modes as the earlier BSD <EM>tset</EM> had done. +- +- At the same time, Bostic added a shell script named "clear" that used +- <EM>tput</EM> to clear the screen. Both of these appeared in 4.4BSD, becoming +- the "modern" BSD implementation of <EM>tput</EM>. ++ Keith Bostic refactored BSD <EM>tput</EM> for shipment in 4.3BSD-Reno (1990), ++ making it follow the interface of System V <EM>tput</EM> by accepting some ++ parameters named for <EM>terminfo</EM> (pseudo-)capabilities: <STRONG>clear</STRONG>, <STRONG>init</STRONG>, ++ <STRONG>longname</STRONG>, and <STRONG>reset</STRONG>. However, because he had only <EM>termcap</EM> available, ++ it accepted <EM>termcap</EM> codes for other capabilities. Also, Bostic's BSD ++ <EM>tput</EM> did not modify the terminal modes as the earlier BSD <EM>tset</EM> had ++ done. At the same time, Bostic added a shell script named "clear" that ++ used <EM>tput</EM> to clear the screen. These became the "modern" BSD ++ implementation of <EM>tput</EM>. + + The origin of <EM>ncurses</EM> <STRONG>tput</STRONG> lies outside both System V and BSD, in Ross + Ridge's <EM>mytinfo</EM> package, published on <EM>comp.sources.unix</EM> in December +@@ -564,7 +562,7 @@ + + + +-ncurses 6.5 2025-02-15 <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG> ++ncurses 6.5 2025-03-01 <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG> + </PRE> + <div class="nav"> + <ul> +Index: include/curses.h.in +Prereq: 1.288 +--- ncurses-6.5-20250222+/include/curses.h.in 2024-12-29 00:53:27.000000000 +0000 ++++ ncurses-6.5-20250301/include/curses.h.in 2025-02-23 01:33:32.000000000 +0000 +@@ -33,7 +33,7 @@ + * and: Thomas E. Dickey 1996-on * + ****************************************************************************/ + +-/* $Id: curses.h.in,v 1.288 2024/12/29 00:53:27 tom Exp $ */ ++/* $Id: curses.h.in,v 1.290 2025/02/23 01:33:32 tom Exp $ */ + + #ifndef __NCURSES_H + #define __NCURSES_H +@@ -109,7 +109,7 @@ + * User-definable tweak to disable the include of <stdbool.h>. + */ + #ifndef NCURSES_ENABLE_STDBOOL_H +-#define NCURSES_ENABLE_STDBOOL_H @cf_cv_header_stdbool_h@ ++#define NCURSES_ENABLE_STDBOOL_H @USE_STDBOOL_H@ + #endif + + /* +@@ -296,7 +296,7 @@ + #include <stdbool.h> + /* use whatever the C compiler decides bool really is */ + #define NCURSES_BOOL bool +-#elif !defined(__cplusplus) && !@cf_cv_cc_bool_type@ ++#elif !defined(__cplusplus) && !@USE_BUILTIN_BOOL@ + /* there is no predefined bool - use our own */ + #undef bool + #define bool NCURSES_BOOL +Index: include/nc_alloc.h +Prereq: 1.30 +--- ncurses-6.5-20250222+/include/nc_alloc.h 2021-11-20 23:33:38.000000000 +0000 ++++ ncurses-6.5-20250301/include/nc_alloc.h 2025-03-01 15:02:06.000000000 +0000 +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2019-2020,2021 Thomas E. Dickey * ++ * Copyright 2019-2021,2025 Thomas E. Dickey * + * Copyright 1998-2013,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -30,7 +30,7 @@ + /**************************************************************************** + * Author: Thomas E. Dickey 1996-on * + ****************************************************************************/ +-/* $Id: nc_alloc.h,v 1.30 2021/11/20 23:33:38 tom Exp $ */ ++/* $Id: nc_alloc.h,v 1.36 2025/03/01 15:02:06 tom Exp $ */ + + #ifndef NC_ALLOC_included + #define NC_ALLOC_included 1 +@@ -118,6 +118,27 @@ + #define typeCalloc(type,elts) (type *)calloc((size_t)(elts),sizeof(type)) + #define typeRealloc(type,elts,ptr) (type *)_nc_doalloc(ptr, (size_t)(elts)*sizeof(type)) + ++/* provide for using VLAs if supported, otherwise assume alloca() */ ++ ++#ifndef __STDC_VERSION__ ++#define __STDC_VERSION__ 0 ++#endif ++ ++#ifndef __STDC_NO_VLA__ ++#define __STDC_NO_VLA__ 1 ++#endif ++ ++#if __STDC_VERSION__ >= 19901L && (__STDC_VERSION__ < 201000L || !__STDC_NO_VLA__) ++#define MakeArray(name,type,count) type name[count] ++#else ++#if HAVE_ALLOCA_H ++#include <alloca.h> ++#elif HAVE_MALLOC_H ++#include <malloc.h> ++#endif ++#define MakeArray(name,type,count) type *name = (type*) alloca(sizeof(type) * (size_t) (count)) ++#endif ++ + #ifdef __cplusplus + } + #endif +Index: include/nc_win32.h +Prereq: 1.14 +--- ncurses-6.5-20250222+/include/nc_win32.h 2024-10-19 21:06:23.000000000 +0000 ++++ ncurses-6.5-20250301/include/nc_win32.h 2025-03-01 13:13:33.000000000 +0000 +@@ -1,5 +1,5 @@ + /**************************************************************************** +- * Copyright 2018-2023,2024 Thomas E. Dickey * ++ * Copyright 2018-2024,2025 Thomas E. Dickey * + * Copyright 2008-2010,2017 Free Software Foundation, Inc. * + * * + * Permission is hereby granted, free of charge, to any person obtaining a * +@@ -31,7 +31,7 @@ + * Author: Thomas Dickey, 2008-on * + ****************************************************************************/ + +-/* $Id: nc_win32.h,v 1.14 2024/10/19 21:06:23 tom Exp $ */ ++/* $Id: nc_win32.h,v 1.15 2025/03/01 13:13:33 tom Exp $ */ + + #ifndef NC_WIN32_H + #define NC_WIN32_H 1 +@@ -176,8 +176,6 @@ + extern NCURSES_EXPORT_VAR(ConsoleInfo) _nc_CONSOLE; + #define WINCONSOLE _nc_CONSOLE + +-#define TypeAlloca(type,count)(type*) _alloca(sizeof(type)*(size_t)(count)) +- + #endif /* EVENTLIST_2nd */ + + #ifdef __cplusplus +Index: include/ncurses_defs +Prereq: 1.113 +--- ncurses-6.5-20250222+/include/ncurses_defs 2024-12-14 21:20:43.000000000 +0000 ++++ ncurses-6.5-20250301/include/ncurses_defs 2025-03-01 15:06:22.000000000 +0000 +@@ -1,6 +1,6 @@ +-# $Id: ncurses_defs,v 1.113 2024/12/14 21:20:43 tom Exp $ ++# $Id: ncurses_defs,v 1.116 2025/03/01 15:06:22 tom Exp $ + ############################################################################## +-# Copyright 2018-2023,2024 Thomas E. Dickey # ++# Copyright 2018-2024,2025 Thomas E. Dickey # + # Copyright 2000-2016,2017 Free Software Foundation, Inc. # + # # + # Permission is hereby granted, free of charge, to any person obtaining a # +@@ -42,6 +42,7 @@ + ETIP_NEEDS_MATH_H + GCC_NORETURN /* nothing */ + GCC_UNUSED /* nothing */ ++HAVE_ALLOCA_H + HAVE_ALLOC_PAIR + HAVE_ASSUME_DEFAULT_COLORS + HAVE_BIG_CORE +@@ -112,6 +113,7 @@ + HAVE_LOCALECONV + HAVE_LOCALE_H + HAVE_LONG_FILE_NAMES ++HAVE_MALLOC_H + HAVE_MATH_FUNCS + HAVE_MATH_H + HAVE_MBLEN +@@ -275,6 +277,7 @@ + USE_SAFE_SPRINTF + USE_SCROLL_HINTS + USE_SIGWINCH ++USE_STDBOOL_H + USE_STRING_HACKS + USE_SYMLINKS + USE_SYSMOUSE +Index: man/MKterminfo.sh +Prereq: 1.21 +--- ncurses-6.5-20250222+/man/MKterminfo.sh 2025-02-20 00:14:25.000000000 +0000 ++++ ncurses-6.5-20250301/man/MKterminfo.sh 2025-03-01 21:10:01.000000000 +0000 +@@ -1,5 +1,5 @@ + #!/bin/sh +-# $Id: MKterminfo.sh,v 1.21 2025/02/20 00:14:25 tom Exp $ ++# $Id: MKterminfo.sh,v 1.22 2025/03/01 21:10:01 Branden.Robinson Exp $ + # + # MKterminfo.sh -- generate terminfo.5 from Caps tabular data + # +@@ -76,9 +76,6 @@ + rm -f $sorted $temp $unsorted + + cat $caps | sed -n "\ +-/^#%.TS/i.na +-/^#%.TE/a\ +-.ad + /%%-STOP-HERE-%%/q + /^#%center/s, expand,, + /^#%lw25/s, lw6 , lw7 , +@@ -87,6 +84,7 @@ + s/[ ][ ]*/ /g + s/$/T}/ + s/ [A-Z0-9_()\-][A-Z0-9_()\-]* [0-9\-][0-9\-]* [Y\-][B\-][C\-][G\-][EK\-]\** / T{\\ ++.ad l\ + / + s/ bool / /p + s/ num / /p +Index: man/curs_add_wch.3x +Prereq: 1.102 +--- ncurses-6.5-20250222+/man/curs_add_wch.3x 2025-02-01 23:54:03.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_add_wch.3x 2025-03-01 21:16:45.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_add_wch.3x,v 1.102 2025/02/01 23:54:03 tom Exp $ +-.TH curs_add_wch 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_add_wch.3x,v 1.108 2025/03/01 21:16:45 tom Exp $ ++.TH curs_add_wch 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -57,14 +57,14 @@ + .nf + \fB#include <curses.h> + .PP +-\fBint add_wch(const cchar_t *\fIwch\fP); +-\fBint wadd_wch(WINDOW *\fIwin\fP, const cchar_t *\fIwch\fP); +-\fBint mvadd_wch(int \fIy\fP, int \fIx\fP, const cchar_t *\fIwch\fP); +-\fBint mvwadd_wch(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, +- const cchar_t *\fIwch\fP); ++\fBint add_wch(const cchar_t * \fIwch\fP); ++\fBint wadd_wch(WINDOW * \fIwin\fP, const cchar_t * \fIwch\fP); ++\fBint mvadd_wch(int \fIy\fP, int \fIx\fP, const cchar_t * \fIwch\fP); ++\fBint mvwadd_wch(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, ++ const cchar_t * \fIwch\fP); + .PP +-\fBint echo_wchar(const cchar_t *\fIwch\fP); +-\fBint wecho_wchar(WINDOW *\fIwin\fP, const cchar_t *\fIwch\fP); ++\fBint echo_wchar(const cchar_t * \fIwch\fP); ++\fBint wecho_wchar(WINDOW * \fIwin\fP, const cchar_t *\fIwch\fP); + .PP + \fI/* (integer) constants */\fP + /*\fI .\|.\|. */ \fBWACS_BLOCK;\fR +@@ -177,15 +177,23 @@ + complex character until another spacing character is written to the + window or the cursor is moved. + .PP +-If advancement occurs at the right margin, +-.bP +-the cursor automatically wraps to the beginning of the next line, +-then, +-.bP +-if it was at the bottom of the scrolling region, +-and if \fB\%scrollok\fP(3X) is enabled for ++If the cursor is not at the bottom of the scrolling region ++and advancement occurs at the right margin, ++the cursor automatically wraps to the beginning of the next line. ++.PP ++If the cursor is at the bottom of the scrolling region ++when advancement occurs at the right margin, ++and \fB\%scrollok\fP(3X) is enabled for + .IR win , + the scrolling region scrolls up one line. ++Otherwise, ++advancement and scrolling do not occur, ++and ++.B \%waddch ++returns ++.BR ERR "." ++.\" Do we need to say something here about buggy terminals that might ++.\" scroll anyway? xterm works fine... + .PP + If + .I wch +@@ -270,8 +278,9 @@ + .RB \%( acsc ) + .I \%term\%info + capability does not define a terminal-specific replacement for it, +-or if the terminal and locale configuration requires Unicode to access +-these characters but the library is unable to use Unicode. ++or if the terminal type and locale configuration ++require Unicode to access these characters ++but the library is unable to use Unicode. + The \*(``acsc char\*('' column corresponds to how the characters are + specified in the + .B \%acs_chars +@@ -470,10 +479,7 @@ + .PP + In + .IR \%ncurses , +-.B \%wadd_wch +-and +-.B \%wecho_wchar +-return ++they return + .B ERR + if + .bP +@@ -491,7 +497,7 @@ + not been called on + .I win + (or +-.BR stdscr "," ++.BR \%stdscr "," + as applicable) + when writing to its bottom right location is attempted, + or +@@ -512,14 +518,14 @@ + may be implemented as macros. + .SH EXTENSIONS + The symbols +-.RI \%( WACS_S3 "," ++.IR \%WACS_S3 "," + .IR \%WACS_S7 "," + .IR \%WACS_LEQUAL "," + .IR \%WACS_GEQUAL "," + .IR \%WACS_PI "," + .IR \%WACS_NEQUAL "," + and +-.IR \%WACS_STERLING ")" ++.I \%WACS_STERLING + are not standard. + However, + many publicly available +Index: man/curs_addch.3x +Prereq: 1.122 +--- ncurses-6.5-20250222+/man/curs_addch.3x 2025-02-01 23:54:03.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_addch.3x 2025-03-01 21:16:45.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_addch.3x,v 1.122 2025/02/01 23:54:03 tom Exp $ +-.TH curs_addch 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_addch.3x,v 1.128 2025/03/01 21:16:45 tom Exp $ ++.TH curs_addch 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -64,12 +64,12 @@ + \fB#include <curses.h> + .PP + \fBint addch(const chtype \fIch\fP); +-\fBint waddch(WINDOW *\fIwin\fP, const chtype \fIch\fP); ++\fBint waddch(WINDOW * \fIwin\fP, const chtype \fIch\fP); + \fBint mvaddch(int \fIy\fP, int \fIx\fP, const chtype \fIch\fP); +-\fBint mvwaddch(WINDOW *\fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype \fIch\fP); ++\fBint mvwaddch(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const chtype \fIch\fP); + .PP + \fBint echochar(const chtype \fIch\fP); +-\fBint wechochar(WINDOW *\fIwin\fP, const chtype \fIch\fP); ++\fBint wechochar(WINDOW * \fIwin\fP, const chtype \fIch\fP); + .PP + \fI/* (integer) constants */\fP + /*\fI .\|.\|. */ \fBACS_BLOCK;\fR +@@ -130,15 +130,23 @@ + (A color pair selection is not honored unless initialized; + see \fB\%start_color\fP(3X).) + .PP +-If advancement occurs at the right margin, +-.bP +-the cursor automatically wraps to the beginning of the next line, +-then, +-.bP +-if it was at the bottom of the scrolling region, +-and if \fB\%scrollok\fP(3X) is enabled for ++If the cursor is not at the bottom of the scrolling region ++and advancement occurs at the right margin, ++the cursor automatically wraps to the beginning of the next line. ++.PP ++If the cursor is at the bottom of the scrolling region ++when advancement occurs at the right margin, ++and \fB\%scrollok\fP(3X) is enabled for + .IR win , + the scrolling region scrolls up one line. ++Otherwise, ++advancement and scrolling do not occur, ++and ++.B \%waddch ++returns ++.BR ERR "." ++.\" Do we need to say something here about buggy terminals that might ++.\" scroll anyway? xterm works fine... + .PP + If + .I ch +@@ -229,8 +237,9 @@ + .RB \%( acsc ) + .I \%term\%info + capability does not define a terminal-specific replacement for it, +-or if the terminal and locale configuration requires Unicode to access +-these characters but the library is unable to use Unicode. ++or if the terminal type and locale configuration ++require Unicode to access these characters ++but the library is unable to use Unicode. + The \*(``acsc char\*('' column corresponds to how the characters are + specified in the + .B \%acs_chars +@@ -292,10 +301,7 @@ + .PP + In + .IR \%ncurses , +-.B \%waddch +-and +-.B \%wechochar +-return ++they return + .B ERR + if + .bP +@@ -313,7 +319,7 @@ + not been called on + .I win + (or +-.BR stdscr "," ++.BR \%stdscr "," + as applicable) + when a write to its bottom right location is attempted, + or +@@ -346,14 +352,14 @@ + may be implemented as macros. + .SH EXTENSIONS + The symbols +-.RI \%( ACS_S3 "," ++.IR \%ACS_S3 "," + .IR \%ACS_S7 "," + .IR \%ACS_LEQUAL "," + .IR \%ACS_GEQUAL "," + .IR \%ACS_PI "," + .IR \%ACS_NEQUAL "," + and +-.IR \%ACS_STERLING ")" ++.I \%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/\ +Index: man/curs_color.3x +Prereq: 1.113 +--- ncurses-6.5-20250222+/man/curs_color.3x 2025-01-19 00:49:39.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_color.3x 2025-03-01 21:17:37.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_color.3x,v 1.113 2025/01/19 00:49:39 tom Exp $ +-.TH curs_color 3X 2025-01-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_color.3x,v 1.116 2025/03/01 21:17:37 tom Exp $ ++.TH curs_color 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -306,12 +306,48 @@ + but is actually whatever the terminal implements before color is initialized. + It cannot be modified by the application. + .SS has_colors +-The \fB\%has_colors\fP routine requires no arguments. +-It returns \fBTRUE\fP if +-the terminal can manipulate colors; otherwise, it returns \fBFALSE\fP. +-This routine facilitates writing terminal-independent programs. +-For example, a programmer can use it to decide +-whether to use color or some other video attribute. ++.B \%has_colors ++returns ++.B TRUE ++if the terminal supports colors and ++.B FALSE ++if it does not. ++\fB\%initscr\fP(3X) or \fB\%newterm\fP(3X) must be called first, ++but ++.B \%start_color ++need not be. ++An application might call ++.B \%has_colors ++to decide whether to use color ++or a video attribute like ++.B \%A_BOLD ++to render text. ++.PP ++Color support in ++.I curses ++requires that the terminal type description ++support the capabilities ++.B \%max_colors ++.RB \%( colors ), ++.B \%max_pairs ++.RB \%( pairs ), ++and any of ++.bP ++.B \%set_foreground ++.RB ( setf ) ++and ++.B \%set_background ++.RB ( setb ); ++.bP ++.B \%set_a_foreground ++.RB ( setaf ) ++and ++.B \%set_a_background ++.RB ( setab ); ++or ++.bP ++.B \%set_color_pair ++.RB ( scp ). + .SS can_change_color + The \fB\%can_change_color\fP routine requires no arguments. + It returns \fBTRUE\fP if the terminal supports colors +@@ -511,7 +547,7 @@ + the default colors extension notwithstanding, + or + .bP +-color pairs identifiers outside the range ++color pair identifiers outside the range + .RB \%0- COLOR_PAIRS \-1 + inclusive. + .RE +@@ -549,7 +585,7 @@ + .B \%COLORS + and + .B \%COLOR_PAIRS +-values for each screen; ++values; + .B \%start_color + affects only the current screen. + The SVr4 and X/Open Curses interface was not really designed +Index: man/curs_getcchar.3x +Prereq: 1.56 +--- ncurses-6.5-20250222+/man/curs_getcchar.3x 2025-02-01 23:46:11.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_getcchar.3x 2025-02-23 13:48:31.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_getcchar.3x,v 1.56 2025/02/01 23:46:11 tom Exp $ +-.TH curs_getcchar 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_getcchar.3x,v 1.57 2025/02/23 13:48:31 tom Exp $ ++.TH curs_getcchar 3X 2025-02-23 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds ' \(aq + .\} +@@ -49,9 +49,9 @@ + .nf + \fB#include <curses.h> + .PP +-\fBint gettchar(const cchar_t * \fIwch\fP, wchar_t * \fIwc\fP, ++\fBint getcchar(const cchar_t * \fIwch\fP, wchar_t * \fIwc\fP, + attr_t * \fIattrs\fP, short * \fIpair\fP, void * \fIopts\fP); +-\fBint settchar(cchar_t * \fIwch\fP, const wchar_t * \fIwc\fP, ++\fBint setcchar(cchar_t * \fIwch\fP, const wchar_t * \fIwc\fP, + const attr_t \fIattrs\fP, short \fIpair\fP, const void * \fIopts\fP); + .fi + .SH DESCRIPTION +Index: man/curs_initscr.3x +Prereq: 1.92 +--- ncurses-6.5-20250222+/man/curs_initscr.3x 2025-02-02 00:01:55.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_initscr.3x 2025-03-01 21:21:41.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_initscr.3x,v 1.92 2025/02/02 00:01:55 tom Exp $ +-.TH curs_initscr 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_initscr.3x,v 1.95 2025/03/01 21:21:41 tom Exp $ ++.TH curs_initscr 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -550,10 +550,10 @@ + \fB\%def_prog_mode\fP(3X). + SVr4 uses the descriptor in + .IR SCREEN "." +-.SS "Unset \fITERM\fP Variable" ++.SS "Unset \fITERM\fP Environment Variable" + If the + .I TERM +-variable is missing or empty, ++variable is not set in the environment or has an empty value, + .I \%initscr + uses the value \*(``unknown\*('', + which normally corresponds to a terminal entry with the +@@ -563,7 +563,7 @@ + Generic entries are detected by \fB\%setupterm\fP(3X) + and cannot be used for full-screen operation. + Other implementations may handle +-a missing/empty ++a missing or empty + .I TERM + variable differently. + .SS "Signal Handlers" +@@ -589,6 +589,24 @@ + Section \*(``NOTES\*('' above discusses + .IR \%ncurses 's + signal handlers. ++.SH HISTORY ++4BSD (1980) ++introduced ++.I \%initscr ++and ++.IR \%endwin "." ++.PP ++SVr2 (1984) ++added ++.I \%newterm ++and ++.IR \%set_term "." ++.PP ++SVr3.1 (1987) ++supplied ++.I \%delscreen ++and ++.IR \%isendwin "." + .SH SEE ALSO + \fB\%curses\fP(3X), + \fB\%curs_kernel\fP(3X), +Index: man/curs_inopts.3x +Prereq: 1.93 +--- ncurses-6.5-20250222+/man/curs_inopts.3x 2025-02-02 00:02:25.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_inopts.3x 2025-03-01 21:23:21.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_inopts.3x,v 1.93 2025/02/02 00:02:25 tom Exp $ +-.TH curs_inopts 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_inopts.3x,v 1.96 2025/03/01 21:23:21 tom Exp $ ++.TH curs_inopts 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -402,7 +402,7 @@ + in a signal handler if, + after the handler exits, + you want output to continue +-as though the interrupt had not occurred. ++as though the signal had not occurred. + .\" + .SS "raw, noraw" + .B raw +@@ -467,10 +467,12 @@ + Normally, + a + .I curses +-library checks the terminal for input while updating the screen. +-If any is found, +-the update is postponed until the next \fB\%wrefresh\fP(3X) or +-\fB\%doupdate\fP(3X) call, ++library checks the terminal's input file descriptor for pending input ++with \fIpoll\fP(2) or \fI\%select\fP(2) ++while updating the screen; ++if it finds any, ++it postpones output ++until the next \fB\%wrefresh\fP(3X) or \fB\%doupdate\fP(3X) call, + allowing faster response to user key strokes. + The library tests the file descriptor corresponding to the + .I FILE +@@ -588,6 +590,35 @@ + calls leads to terminal driver control states that are hard to predict + or understand; + doing so is not recommended. ++.PP ++.I curses ++documentation uses the terms \*(``delay\*('' and \*(``timeout\*('' ++freely to describe two related but distinct aspects of input handling, ++at the risk of confusing the user. ++The functions ++.BR \%halfdelay "," ++.BR \%nodelay "," ++.BR \%notimeout "," ++.BR \%timeout "," ++and ++.B \%wtimeout ++all configure whether the input character reading function ++\%(\fBgetch\fP(3X) or \fB\%get_wch\fP(3X)) ++waits for keyboard input, ++and for how long. ++Only ++.B \%keypad ++configures whether that function waits for further input ++if the first character it reads is ESC. ++X/Open Curses affords no means of configuring ++the length of this second delay, ++but an AIX and ++.I \%ncurses ++extension, ++.BR \%ESCDELAY , ++is available both as an environment variable and a global symbol ++permitting the application to do so; ++see \fB\%ncurses\fP(3X) and \fBcurs_variables\fP(3X). + .SH EXTENSIONS + .I \%ncurses + provides four \*(``is_\*('' functions corresponding to +@@ -661,9 +692,9 @@ + .\" https://github.com/ryanwoodsmall/oldsysv/blob/master/sysv-pdp11_man/a_man/man7/termio.7 + For best portability, + call +-.B echo ++.I echo + or +-.B \%noecho ++.I \%noecho + explicitly just after initialization, + even if your program retains the terminal's canonical (\*(``cooked\*('') + line discipline. +@@ -677,7 +708,7 @@ + .IR \%nonl "." + BSD + .I curses +-did turn off these translations; ++turned off these translations; + System\ V + .I curses + did not. +@@ -692,8 +723,8 @@ + .B \%keypad + is first enabled, + .I \%ncurses +-loads the key definitions for the current terminal description. +-If the terminal description includes extended string capabilities, ++loads the key definitions for the current terminal type description. ++If that description includes extended string capabilities, + for example, + by using the + .B \-x +Index: man/curs_ins_wch.3x +Prereq: 1.46 +--- ncurses-6.5-20250222+/man/curs_ins_wch.3x 2025-02-02 00:00:59.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_ins_wch.3x 2025-03-01 21:25:47.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_ins_wch.3x,v 1.46 2025/02/02 00:00:59 tom Exp $ +-.TH curs_ins_wch 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_ins_wch.3x,v 1.48 2025/03/01 21:25:47 tom Exp $ ++.TH curs_ins_wch 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -39,6 +39,11 @@ + .ie t .ds '' '' + .el .ds '' "" + .\} ++. ++.de bP ++.ie n .IP \(bu 4 ++.el .IP \(bu 2 ++.. + .SH NAME + \fB\%ins_wch\fP, + \fB\%wins_wch\fP, +@@ -52,27 +57,45 @@ + \fBint ins_wch(const cchar_t * \fIwch\fP); + \fBint wins_wch(WINDOW * \fIwin\fP, const cchar_t * \fIwch\fP); + \fBint mvins_wch(int \fIy\fP, int \fIx\fP, const cchar_t * \fIwch\fP); +-\fBint mvwins_wch(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, const cchar_t * \fIwch\fP); ++\fBint mvwins_wch(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, ++ const cchar_t * \fIwch\fP); + .fi + .SH DESCRIPTION +-These functions insert the ++.B \%wins_wch ++inserts the + .I curses + complex character + .I wch +-at the cursor in the specified window +-.I win +-(or +-.BR \%stdscr ). ++at the cursor position in the window ++.IR win "." + The character previously at the cursor and any to its right move one + cell to the right; +-the rightmost character on the line is discarded. +-The cursor does not advance. ++the formerly rightmost character on the line is discarded. ++Unlike \fB\%add_wch\fP(3X), ++.B \%wins_wch ++does not advance the cursor. ++\fB\%ncurses\fP(3X) describes the variants of this function. + .SH "RETURN VALUE" +-These functions return \fBOK\fP on success and \fBERR\fP on failure. ++These functions return ++.B OK ++on success and ++.B ERR ++on failure. + .PP +-Functions taking a ++In ++.IR \%ncurses , ++they return ++.B ERR ++if ++.bP ++the ++.I curses ++screen has not been initialized, ++and ++.bP ++(for functions taking a + .I \%WINDOW +-pointer argument fail if ++pointer argument) + .I win + is a null pointer. + .PP +@@ -82,17 +105,17 @@ + .IR x ) + is outside the window boundaries. + .SH NOTES +-\fB\%ins_wch\fP, +-\fB\%mvins_wch\fP, ++.BR \%ins_wch "," ++.BR \%mvins_wch "," + and +-\fB\%mvwins_wch\fP ++.B \%mvwins_wch + may be implemented as macros. + .PP +-A terminal's ++.I curses ++does not necessarily employ the terminal's + .B \%insert_character + .RB ( ich1 ) +-capability +-is not necessarily employed. ++capability to achieve insertion. + .SH PORTABILITY + X/Open Curses Issue\ 4 describes these functions. + It specifies no error conditions for them. +Index: man/curs_ins_wstr.3x +Prereq: 1.58 +--- ncurses-6.5-20250222+/man/curs_ins_wstr.3x 2025-02-01 22:54:32.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_ins_wstr.3x 2025-03-01 21:30:14.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_ins_wstr.3x,v 1.58 2025/02/01 22:54:32 tom Exp $ +-.TH curs_ins_wstr 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_ins_wstr.3x,v 1.60 2025/03/01 21:30:14 tom Exp $ ++.TH curs_ins_wstr 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -98,7 +98,7 @@ + does the same, + but inserts at most + .I n +-characters, ++wide characters, + or as many as possible + (up to the end of the line) + if +Index: man/curs_insch.3x +Prereq: 1.51 +--- ncurses-6.5-20250222+/man/curs_insch.3x 2025-02-02 00:00:59.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_insch.3x 2025-03-01 21:26:42.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_insch.3x,v 1.51 2025/02/02 00:00:59 tom Exp $ +-.TH curs_insch 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_insch.3x,v 1.54 2025/03/01 21:26:42 tom Exp $ ++.TH curs_insch 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -39,6 +39,11 @@ + .ie t .ds '' '' + .el .ds '' "" + .\} ++. ++.de bP ++.ie n .IP \(bu 4 ++.el .IP \(bu 2 ++.. + .SH NAME + \fB\%insch\fP, + \fB\%winsch\fP, +@@ -55,18 +60,20 @@ + \fBint mvwinsch(WINDOW * \fIwin\fP, int \fIy\fP, int \fIx\fP, chtype \fIch\fP); + .fi + .SH DESCRIPTION +-These functions insert the ++.B \%winsch ++inserts the + .I curses + character + .I ch +-at the cursor in the specified window +-.I win +-(or +-.BR \%stdscr ). ++at the cursor position in the window ++.IR win "." + The character previously at the cursor and any to its right move one + cell to the right; +-the rightmost character on the line is discarded. +-The cursor does not advance. ++the formerly rightmost character on the line is discarded. ++Unlike \fB\%addch\fP(3X), ++.B \%winsch ++does not advance the cursor. ++\fB\%ncurses\fP(3X) describes the variants of this function. + .SH "RETURN VALUE" + These functions return + .B OK +@@ -74,9 +81,20 @@ + .B ERR + on failure. + .PP +-Functions taking a ++In ++.IR \%ncurses , ++they return ++.B ERR ++if ++.bP ++the ++.I curses ++screen has not been initialized, ++and ++.bP ++(for functions taking a + .I \%WINDOW +-pointer argument fail if ++pointer argument) + .I win + is a null pointer. + .PP +@@ -86,26 +104,26 @@ + .IR x ) + is outside the window boundaries. + .SH NOTES +-.BR \%insch , +-.BR \%mvinsch , ++.BR \%insch "," ++.BR \%mvinsch "," + and + .B \%mvwinsch + may be implemented as macros. + .PP +-A terminal's ++.I curses ++does not necessarily employ the terminal's + .B \%insert_character + .RB ( ich1 ) +-capability +-is not necessarily employed. ++capability to achieve insertion. + .SH PORTABILITY + X/Open Curses Issue\ 4 describes these functions. ++It specifies no error conditions for them. + .PP + SVr4 describes a successful return value only as + \*(``an integer value other than + .IR ERR \*(''. \" Courier roman in source; SVID 4, vol. 3, p. 509 + .SH HISTORY +-SVr2 (1984) introduced +-.IR \%winsch "." ++SVr2 (1984) introduced these functions. + .SH "SEE ALSO" + \fB\%curs_ins_wch\fP(3X) describes comparable functions in the + wide-character +Index: man/curs_instr.3x +Prereq: 1.70 +--- ncurses-6.5-20250222+/man/curs_instr.3x 2025-02-01 22:54:06.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_instr.3x 2025-03-01 21:29:42.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_instr.3x,v 1.70 2025/02/01 22:54:06 tom Exp $ +-.TH curs_instr 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_instr.3x,v 1.74 2025/03/01 21:29:42 tom Exp $ ++.TH curs_instr 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -108,18 +108,23 @@ + .PP + In + .IR \%ncurses "," +-they return ++these functions return + .B ERR + if + .bP ++the ++.I curses ++screen has not been initialized, ++.bP ++(for functions taking a ++.I \%WINDOW ++pointer argument) + .I win +-is +-.I NULL ++is a null pointer, + or + .bP + .I str +-is +-.IR NULL "." ++is a null pointer. + .PP + Functions prefixed with \*(``mv\*('' first perform cursor movement and + fail if the position +@@ -169,20 +174,20 @@ + It specifies no error conditions for them. + .PP + X/Open Curses Issues 4 and 7 both state that +-.BR \%instr "," +-.BR \%winstr "," +-.BR \%mvinstr "," ++.IR \%instr "," ++.IR \%winstr "," ++.IR \%mvinstr "," + and +-.B \%mvwinstr ++.I \%mvwinstr + return +-.B OK ++.I OK + rather than a character count. + This is likely an erratum. + .bP + SVr3.1 and SVr4 implemented +-.B \%winstr ++.I \%winstr + as a wrapper around +-.BR \%winnstr "," ++.IR \%winnstr "," + returning the latter's return value. + X/Open Curses's specification thus may have been an editorial solecism + copied from System\ V's documentation +@@ -207,9 +212,6 @@ + .SH HISTORY + SVr3.1 (1987) + introduced these functions. +-.IR winstr "," +-.IR winnstr "," +-and their variants. + .SH SEE ALSO + \fB\%curs_inwstr\fP(3X) describes comparable functions of the + .I \%ncurses +Index: man/curs_inwstr.3x +Prereq: 1.56 +--- ncurses-6.5-20250222+/man/curs_inwstr.3x 2025-01-19 00:51:10.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_inwstr.3x 2025-03-01 21:29:42.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_inwstr.3x,v 1.56 2025/01/19 00:51:10 tom Exp $ +-.TH curs_inwstr 3X 2025-01-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_inwstr.3x,v 1.60 2025/03/01 21:29:42 tom Exp $ ++.TH curs_inwstr 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -101,8 +101,8 @@ + these functions return the count of wide characters copied from + .I win + to +-.IR wstr "." +-They return ++.IR wstr "," ++or + .B ERR + upon failure. + .BR \%innwstr "," +@@ -126,14 +126,19 @@ + .B ERR + if + .bP ++the ++.I curses ++screen has not been initialized, ++.bP ++(for functions taking a ++.I \%WINDOW ++pointer argument) + .I win +-is +-.I NULL ++is a null pointer, + or + .bP + .I wstr +-is +-.IR NULL "." ++is a null pointer. + .PP + Functions prefixed with \*(``mv\*('' first perform cursor movement and + fail if the position +@@ -146,7 +151,7 @@ + may be implemented as macros. + .PP + Reading a line that overflows the array pointed to by +-.I str ++.I wstr + with + .BR \%inwstr "," + .BR \%winwstr "," +@@ -184,11 +189,11 @@ + .PP + Notwithstanding the foregoing, + X/Open Curses Issues 4 and 7 both state that +-.BR \%innwstr "," +-.BR \%winnwstr "," +-.BR \%mvinnwstr "," ++.IR \%innwstr "," ++.IR \%winnwstr "," ++.IR \%mvinnwstr "," + and +-.B \%mvwinnwstr ++.I \%mvwinnwstr + \*(``fail .\|.\|. [i]f the array is not large enough to contain any + complete characters\*(''. + Strictly interpreted, +@@ -198,23 +203,23 @@ + .IR win "." + .I \%ncurses + reports any truncation with +-.BR ERR "." ++.IR ERR "." + .PP + X/Open Curses specifies +-.BR \%inwstr "," +-.BR \%winwstr "," +-.BR \%mvinwstr "," ++.IR \%inwstr "," ++.IR \%winwstr "," ++.IR \%mvinwstr "," + and +-.B \%mvwinwstr ++.I \%mvwinwstr + as returning +-.B OK ++.I OK + rather than a (wide) character count, + unlike their non-wide counterparts +-.BR \%instr "," +-.BR \%winstr "," +-.BR \%mvinstr "," ++.IR \%instr "," ++.IR \%winstr "," ++.IR \%mvinstr "," + and +-.BR \%mvwinstr "." ++.IR \%mvwinstr "." + .I \%ncurses + regards this inconsistency as an error in the standard. + .SH HISTORY +Index: man/curs_kernel.3x +Prereq: 1.77 +--- ncurses-6.5-20250222+/man/curs_kernel.3x 2025-02-15 15:13:55.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_kernel.3x 2025-03-01 21:31:35.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_kernel.3x,v 1.77 2025/02/15 15:13:55 tom Exp $ +-.TH curs_kernel 3X 2025-02-15 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_kernel.3x,v 1.80 2025/03/01 21:31:35 tom Exp $ ++.TH curs_kernel 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -232,29 +232,61 @@ + .B \%ripoffline + provides access to the same facility that \fB\%slk_init\fP(3X) uses to + reduce the size of the screen. +-\fB\%ripoffline\fP must be called before \fBinitscr\fP or +-\fBnewterm\fP is called, to prepare these initial actions: ++The application must call ++.B \%ripoffline ++before \fB\%initscr\fP(3X) or \fB\%newterm\fP(3X) ++so that the functions prepare a ++.B \%stdscr ++of the correct size. + .bP +-If \fIline\fP is positive, a line is removed from the top of \fBstdscr\fP. ++If ++.I line ++is positive, ++.B \%ripoffline ++removes a line from the top of ++.BR \%stdscr "." + .bP +-if \fIline\fP is negative, a line is removed from the bottom. ++If ++.I line ++is negative, ++.B \%ripoffline ++removes a line from the bottom of ++.BR \%stdscr "." + .PP +-When the resulting initialization is done inside \fBinitscr\fP, the +-routine \fBinit\fP (supplied by the user) is called with two +-arguments: ++When ++.B \%initscr ++initializes ++.IR curses "," ++it calls the ++.I init ++function supplied to ++.B \%ripoffline ++by the application with two arguments: + .bP +-a window pointer to the one-line window that has been +-allocated and ++a pointer to the one-line ++.I \%WINDOW ++that it allocates, ++and + .bP + an integer with the number of columns in the window. + .PP +-Inside this initialization routine, the integer variables \fBLINES\fP +-and \fBCOLS\fP (defined in \fB<curses.h>\fP) are not guaranteed to be +-accurate and \fBwrefresh\fP or \fBdoupdate\fP must not be called. +-It is allowable to call \fBwnoutrefresh\fP during the initialization routine. ++Inside this ++.I init ++function, ++the values of the integer variables ++.B LINES ++and ++.B COLS ++(see \fB\%curs_variables\fP(3X)) ++are not guaranteed to be reliable; ++it must not call \fB\%wrefresh\fP(3X) or \fB\%doupdate\fP(3X). ++A \fB\%wnoutrefresh\fP(3X) call is permissible. + .PP +-\fBripoffline\fP can be called up to five times before calling \fBinitscr\fP or +-\fBnewterm\fP. ++.B \%ripoffline ++can be called up to five times before ++.B \%initscr ++or ++.BR \%newterm "." + .SH RETURN VALUE + Except for + .BR \%curs_set "," +@@ -374,7 +406,7 @@ + .\" SVID 4, vol 3., p. 518 + .PP + Older SVr4 man pages warn that the return value of +-.B \%curs_set ++.I \%curs_set + \*(``is currently incorrect\*(''. + This implementation gets it right, + but counting on its correctness anywhere else may be unwise. +@@ -382,7 +414,7 @@ + X/Open Curses specifies + .I \%ripoffline + as returning +-.B OK ++.I OK + with no possibility of failure + (\*(``[c]alls to + .I \%ripoffline +@@ -406,7 +438,7 @@ + and SVr4 + .I curses + implement +-.B \%mvcur ++.I \%mvcur + using the + .I SCREEN + object allocated in either \fB\%initscr\fP(3X) or \fB\%newterm\fP(3X). +Index: man/curs_mouse.3x +Prereq: 1.119 +--- ncurses-6.5-20250222+/man/curs_mouse.3x 2025-02-15 19:36:18.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_mouse.3x 2025-03-01 21:33:30.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_mouse.3x,v 1.119 2025/02/15 19:36:18 tom Exp $ +-.TH curs_mouse 3X 2025-02-15 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_mouse.3x,v 1.123 2025/03/01 21:33:30 tom Exp $ ++.TH curs_mouse 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -149,7 +149,7 @@ + indicating which of the specified mouse events can be reported. + .IP + If the screen is not initialized, +-or the terminal interface does report mouse events, ++or the terminal interface does not report mouse events, + .B \%mousemask + returns 0. + .bP +@@ -661,7 +661,8 @@ + .I \%xterm + are + .I not +-ignored in canonical mode if they have been enabled by ++ignored in canonical (\*(``cooked\*('') mode ++if they have been enabled by + .BR \%mousemask "." + Instead, + the +@@ -685,9 +686,12 @@ + for mouse clicks). + Other values of + .B \%key_mouse +-are permitted under the same assumption, ++are permitted under the same assumption \(em + that is, +-the report begins with that sequence. ++a mouse report begins with the value of the ++.B \%key_mouse ++.RB ( \%kmous ) ++string capability. + .PP + Because there are no standard response sequences that serve to identify + terminals supporting the +Index: man/curs_move.3x +Prereq: 1.57 +--- ncurses-6.5-20250222+/man/curs_move.3x 2025-02-01 22:50:42.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_move.3x 2025-03-01 21:34:10.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_move.3x,v 1.57 2025/02/01 22:50:42 tom Exp $ +-.TH curs_move 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_move.3x,v 1.59 2025/03/01 21:34:10 tom Exp $ ++.TH curs_move 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -67,9 +67,10 @@ + is relative to the upper left-hand corner of the window, + which has coordinates + (0,\ 0). +-\fB\%ncurses\fP(3X) describes the +-.B \%move +-variant of this function. ++.B move ++similarly moves the cursor in the ++.B \%stdscr ++window. + .SH RETURN VALUE + These functions return + .B OK +@@ -101,7 +102,10 @@ + .IR ERR \*(''. \" Courier roman in source; SVID 4, vol. 3, p. 503 + .SH HISTORY + 4BSD (1980) +-introduced these functions. ++introduced ++.I move ++and ++.IR \%wmove "." + .SH SEE ALSO + \fB\%curses\fP(3X), + \fB\%curs_refresh\fP(3X) +Index: man/curs_outopts.3x +Prereq: 1.81 +--- ncurses-6.5-20250222+/man/curs_outopts.3x 2025-02-01 22:49:13.000000000 +0000 ++++ ncurses-6.5-20250301/man/curs_outopts.3x 2025-03-01 21:42:22.000000000 +0000 +@@ -27,8 +27,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: curs_outopts.3x,v 1.81 2025/02/01 22:49:13 tom Exp $ +-.TH curs_outopts 3X 2025-02-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: curs_outopts.3x,v 1.89 2025/03/01 21:42:22 tom Exp $ ++.TH curs_outopts 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -58,101 +58,179 @@ + .nf + \fB#include <curses.h> + .PP +-\fBint clearok(WINDOW *\fIwin\fP, bool \fIbf\fP); +-\fBvoid idcok(WINDOW *\fIwin\fP, bool \fIbf\fP); +-\fBint idlok(WINDOW *\fIwin\fP, bool \fIbf\fP); +-\fBvoid immedok(WINDOW *\fIwin\fP, bool \fIbf\fP); +-\fBint leaveok(WINDOW *\fIwin\fP, bool \fIbf\fP); +-\fBint scrollok(WINDOW *\fIwin\fP, bool \fIbf\fP); ++\fBint clearok(WINDOW * \fIwin\fP, bool \fIbf\fP); ++\fBvoid idcok(WINDOW * \fIwin\fP, bool \fIbf\fP); ++\fBint idlok(WINDOW * \fIwin\fP, bool \fIbf\fP); ++\fBvoid immedok(WINDOW * \fIwin\fP, bool \fIbf\fP); ++\fBint leaveok(WINDOW * \fIwin\fP, bool \fIbf\fP); ++\fBint scrollok(WINDOW * \fIwin\fP, bool \fIbf\fP); + .PP + \fBint setscrreg(int \fItop\fP, int \fIbot\fP); +-\fBint wsetscrreg(WINDOW *\fIwin\fP, int \fItop\fP, int \fIbot\fP); ++\fBint wsetscrreg(WINDOW * \fIwin\fP, int \fItop\fP, int \fIbot\fP); + .fi + .SH DESCRIPTION +-These routines set options that change the style of output within +-\fBcurses\fP. +-All options are initially \fBFALSE\fP, unless otherwise stated. +-It is not necessary to turn these options off before calling \fBendwin\fP(3X). ++These functions configure properties of ++.I curses ++windows that affect their manner of output. ++Boolean-valued properties are initially ++.B FALSE ++except where noted. ++\fBendwin\fP(3X) resets any terminal modes corresponding to these ++properties; ++an application need not restore their initial values. + .SS clearok +-If \fBclearok\fP is called with \fBTRUE\fP as argument, the next +-call to \fBwrefresh\fP with this window will clear the screen completely and +-redraw the entire screen from scratch. +-This is useful when the contents of the +-screen are uncertain, or in some cases for a more pleasing visual effect. ++Setting ++.IR win 's ++.B \%clearok ++property to ++.B TRUE ++causes the next ++.B \%wrefresh ++call on it to clear the terminal screen and redraw it entirely. ++This property is useful to restore the contents of the screen ++(perhaps because another process has written to the terminal), ++or in some cases to achieve a more pleasing visual effect. + If +-the \fIwin\fP argument to \fBclearok\fP is the global variable \fBcurscr\fP, +-the next call to \fBwrefresh\fP with any window causes the screen to be cleared +-and repainted from scratch. ++.I \%win ++is ++.B \%curscr ++(see \fBcurs_variables\fP(3X)), ++the next ++.B \%wrefresh ++call on ++.I any ++window causes the terminal screen to clear and redraw as above. ++.B \%wrefresh ++resets this property to ++.BR FALSE "." + .SS idcok +-If \fBidcok\fP is called with \fBFALSE\fP as second argument, \fBcurses\fP +-no longer considers using the hardware insert/delete character feature of +-terminals so equipped. +-Use of character insert/delete is enabled by default. +-Calling \fBidcok\fP with \fBTRUE\fP as second argument re-enables use +-of character insertion and deletion. ++(This property defaults ++.BR TRUE ".)" ++Setting ++.IR win 's ++.B \%idcok ++property to ++.B FALSE ++prevents ++.I curses ++from using the insert/delete character capabilities of terminal types ++possessing them according to the ++.I \%term\%info ++database. ++.\" TODO: What's the historical rationale for the `idcok()` feature? + .SS idlok +-If \fBidlok\fP is called with \fBTRUE\fP as second argument, \fBcurses\fP +-considers using the hardware insert/delete line feature of terminals so +-equipped. +-Calling \fBidlok\fP with \fBFALSE\fP as second argument disables use +-of line insertion and deletion. +-This option should be enabled only if the +-application needs insert/delete line, for example, for a screen editor. +-It is +-disabled by default because insert/delete line tends to be visually annoying +-when used in applications where it is not really needed. +-If insert/delete line +-cannot be used, \fBcurses\fP redraws the changed portions of all lines. ++Setting ++.IR win 's ++.B \%idlok ++property to ++.B TRUE ++causes ++.I curses ++to consider ++using the insert/delete line capabilities of terminal types ++possessing them according to the ++.I \%term\%info ++database. ++Enable this option ++if the application explicitly requires these operations, ++as a full-screen text editor might; ++otherwise the results may be visually annoying to the user. ++.\" TODO: Substantiate that claim. + .SS immedok +-If \fBimmedok\fP is called with \fBTRUE\fP as second argument, ++If ++.B \%immedok ++is called with ++.B TRUE ++as second argument, + any change in the window image, +-such as the ones caused by \fBwaddch, wclrtobot, wscrl\fP, +-etc., automatically causes a call to \fBwrefresh\fP. ++such as the ones caused by ++.BR \%waddch "," ++.BR \%wclrtobot "," ++.BR \%wscrl "," ++etc., automatically causes a call to ++.BR wrefresh "." + However, it may degrade performance considerably, +-due to repeated calls to \fBwrefresh\fP. +-Calling \fBimmedok\fP with \fBFALSE\fP as second argument ++due to repeated calls to ++.BR wrefresh "." ++Calling ++.B \%immedok ++with ++.B FALSE ++as second argument + restores the default behavior, + i.e., deferring screen updates until a refresh is needed. + .SS leaveok + Normally, the hardware cursor is left at the location of the window cursor + being refreshed. +-The \fBleaveok\fP option allows the cursor to be left ++The ++.B \%leaveok ++option allows the cursor to be left + wherever the update happens to leave it. + It is useful for applications where + the cursor is not used, since it reduces the need for cursor motions. + .SS scrollok +-The \fBscrollok\fP option controls what happens when the cursor of a window is ++The ++.B \%scrollok ++option controls what happens when the cursor of a window is + moved off the edge of the window or scrolling region, either as a result of a + newline action on the bottom line, or typing the last character of the last + line. +-If disabled, (\fIbf\fP is \fBFALSE\fP), the cursor is left on the bottom ++If disabled, ++.RI ( bf ++is ++.BR FALSE ")," ++the cursor is left on the bottom + line. +-If enabled, (\fIbf\fP is \fBTRUE\fP), the window is scrolled up one line ++If enabled, ++.RI ( bf ++is ++.BR TRUE ")," ++the window is scrolled up one line + (Note that to get the physical scrolling effect on the terminal, it is +-also necessary to call \fBidlok\fP). ++also necessary to call ++.BR idlok ")." + .SS "setscrreg, wsetscrreg" +-The \fBsetscrreg\fP and \fBwsetscrreg\fP routines allow the application ++The ++.B \%setscrreg ++and ++.B \%wsetscrreg ++routines allow the application + programmer to set a software scrolling region in a window. +-The \fItop\fP and +-\fIbot\fP parameters ++The ++.I top ++and ++.I bot ++parameters + are the line numbers of the top and bottom margin of the scrolling + region. + (Line 0 is the top line of the window.) If this option and +-\fBscrollok\fP are enabled, an attempt to move off the bottom margin line ++.B scrollok ++are enabled, an attempt to move off the bottom margin line + causes all lines in the scrolling region to scroll one line in the direction + of the first line. + Only the text of the window is scrolled. + (Note that this + has nothing to do with the use of a physical scrolling region capability in the + terminal, like that in the VT100. +-If \fBidlok\fP is enabled and the terminal ++If ++.B \%idlok ++is enabled and the terminal + has either a scrolling region or insert/delete line capability, they will + probably be used by the output routines.) + .SH RETURN VALUE +-The functions \fBsetscrreg\fP and \fBwsetscrreg\fP return \fBOK\fP upon success +-and \fBERR\fP upon failure. ++The functions ++.B \%setscrreg ++and ++.B \%wsetscrreg ++return ++.B OK ++upon success ++and ++.B ERR ++upon failure. + All other routines that return an integer always +-return \fBOK\fP. ++return ++.BR OK "." + .PP + In this implementation, + .bP +@@ -161,7 +239,7 @@ + .B ERR + if the window pointer is null + .bP +-\fBwsetscrreg\fP ++.B \%wsetscrreg + returns + .B ERR + if the scrolling region limits extend outside the +@@ -175,7 +253,9 @@ + .B \%setscrreg + may be implemented as macros. + .PP +-The \fBimmedok\fP routine is useful for windows that are used as terminal ++The ++.B \%immedok ++routine is useful for windows that are used as terminal + emulators. + .SH PORTABILITY + X/Open Curses Issue\ 4 describes these functions. +Index: man/make_sed.sh +Prereq: 1.19 +--- ncurses-6.5-20250222+/man/make_sed.sh 2023-12-07 01:16:43.000000000 +0000 ++++ ncurses-6.5-20250301/man/make_sed.sh 2025-03-01 22:00:48.000000000 +0000 +@@ -1,7 +1,7 @@ + #!/bin/sh +-# $Id: make_sed.sh,v 1.19 2023/12/07 01:16:43 tom Exp $ ++# $Id: make_sed.sh,v 1.21 2025/03/01 22:00:48 tom Exp $ + ############################################################################## +-# Copyright 2020-2022,2023 Thomas E. Dickey # ++# Copyright 2020-2023,2025 Thomas E. Dickey # + # Copyright 1998-2005,2017 Free Software Foundation, Inc. # + # # + # Permission is hereby granted, free of charge, to any person obtaining a # +@@ -79,7 +79,7 @@ + sed -e 's/</<fB\\(\\\\%\\)\\?/' \ + -e 's/\\%</\\%/' \ + -e 's/ /\\\\fP(/' \ +- -e 's/ /)\/fB\\\\%/' \ ++ -e 's/ /)\/fB\\1/' \ + -e 's/ /\\\\fP(/' \ + -e 's/\/$/)\//' \ + $UPPER +Index: man/manhtml.externs +Prereq: 1.29 +--- ncurses-6.5-20250222+/man/manhtml.externs 2024-07-27 20:15:00.000000000 +0000 ++++ ncurses-6.5-20250301/man/manhtml.externs 2025-03-01 22:00:03.000000000 +0000 +@@ -1,7 +1,7 @@ +-# $Id: manhtml.externs,v 1.29 2024/07/27 20:15:00 tom Exp $ ++# $Id: manhtml.externs,v 1.30 2025/03/01 22:00:03 tom Exp $ + # Items in this list will not be linked by man2html + #*************************************************************************** +-# Copyright 2019-2023,2024 Thomas E. Dickey * ++# Copyright 2019-2024,2025 Thomas E. Dickey * + # Copyright 2013,2017 Free Software Foundation, Inc. * + # * + # Permission is hereby granted, free of charge, to any person obtaining a * +@@ -52,6 +52,7 @@ + mutt(1) + nvi(1) + od(1) ++poll(2) + printf(3) + profile(5) + putc(3) +@@ -64,6 +65,7 @@ + scanf(3) + scanf(3S) + screen(1) ++select(2) + setbuf(3) + setgid(2) + setlocale(3) +Index: man/ncurses.3x +Prereq: 1.243 +--- ncurses-6.5-20250222+/man/ncurses.3x 2025-01-19 00:51:10.000000000 +0000 ++++ ncurses-6.5-20250301/man/ncurses.3x 2025-03-01 21:43:30.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: ncurses.3x,v 1.243 2025/01/19 00:51:10 tom Exp $ +-.TH ncurses 3X 2025-01-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" ++.\" $Id: ncurses.3x,v 1.245 2025/03/01 21:43:30 tom Exp $ ++.TH ncurses 3X 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -322,7 +322,7 @@ + boldfaced, + underlined, + or in reverse video. +-See \fB\%curs_attr\fP(3X). ++See \fB\%curs_color\fP(3X) and \fB\%curs_attr\fP(3X). + .PP + .I curses + predefines constants for a small set of forms-drawing graphics +Index: man/tput.1 +Prereq: 1.132 +--- ncurses-6.5-20250222+/man/tput.1 2025-02-15 19:35:19.000000000 +0000 ++++ ncurses-6.5-20250301/man/tput.1 2025-03-01 21:45:34.000000000 +0000 +@@ -28,8 +28,8 @@ + .\" authorization. * + .\"*************************************************************************** + .\" +-.\" $Id: tput.1,v 1.132 2025/02/15 19:35:19 tom Exp $ +-.TH @TPUT@ 1 2025-02-15 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "User commands" ++.\" $Id: tput.1,v 1.135 2025/03/01 21:45:34 tom Exp $ ++.TH @TPUT@ 1 2025-03-01 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "User commands" + .ie \n(.g \{\ + .ds `` \(lq + .ds '' \(rq +@@ -78,7 +78,7 @@ + .IR cap-code . + .PP + \fB\%terminfo\fP(5) discusses terminal capabilities at length +-and presents a complete list of ++and presents a complete list of standard + .IR cap-codes . + .PP + When retrieving capability values, +@@ -845,11 +845,13 @@ + .PP + Keith Bostic refactored BSD + .I tput +-for shipment in 4.3BSD-Tahoe (1988), +-then replaced it the next year with a new implementation based on +-System\ V +-.IR tput . +-Bostic's version similarly accepted some parameters named for ++for shipment in 4.3BSD-Reno (1990), ++making it follow the interface of System\ V ++.I tput ++.\" https://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src/usr.bin/tput/tput.c ++.\" https://minnie.tuhs.org/cgi-bin/utree.pl?file=Net2/usr/src/usr.bin/tput/tput.c ++.\" https://minnie.tuhs.org/cgi-bin/utree.pl?file=4.4BSD/usr/src/usr.bin/tput/tput.c ++by accepting some parameters named for + .I \%term\%info + (pseudo-)capabilities: + .BR clear , +@@ -870,13 +872,12 @@ + did not modify the terminal modes as the earlier BSD + .I tset + had done. +-.PP + At the same time, + Bostic added a shell script named \*(``clear\*('' that used + .I tput + to clear the screen. +-Both of these appeared in 4.4BSD, +-becoming the \*(``modern\*('' BSD implementation of ++.\" https://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src/usr.bin/tput/clear.sh ++These became the \*(``modern\*('' BSD implementation of + .IR tput . + .PP + The origin of +Index: misc/terminfo.src +--- ncurses-6.5-20250222+/misc/terminfo.src 2025-02-15 20:03:55.000000000 +0000 ++++ ncurses-6.5-20250301/misc/terminfo.src 2025-03-01 21:54:30.000000000 +0000 +@@ -6,8 +6,8 @@ + # Report bugs and new terminal descriptions to + # bug-ncurses@gnu.org + # +-# $Revision: 1.1171 $ +-# $Date: 2025/02/15 20:03:55 $ ++# $Revision: 1.1175 $ ++# $Date: 2025/03/01 21:54:30 $ + # + # The original header is preserved below for reference. It is noted that there + # is a "newer" version which differs in some cosmetic details (but actually +@@ -3057,8 +3057,15 @@ + vt520|DEC VT520, + use=ansi+rca, use=vt420, use=ansi+tabs, + ++vt520-w|DEC VT520 in wide mode, ++ cols#132, use=vt520, ++ + vt525|DEC VT525, +- use=vt520, ++ colors#8, pairs#64, ++ setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=vt520, ++ ++vt525-w|DEC VT525 in wide mode, ++ cols#132, use=vt525, + + # I just got a brand new Boundless VT520 with that company's "ANSI 2011" + # Keyboard, which replaces the old LK41R-AA keyboard. +@@ -27797,4 +27804,8 @@ + # 2025-02-15 + # + minor fixes to comments (report by Sven Joachim) -TD + # ++# 2025-03-01 ++# + add color to vt525 (Branden Robinson) ++# + add vt520-w and vt525-w (Branden Robinson) ++# + ######## SHANTIH! SHANTIH! SHANTIH! +Index: ncurses/base/MKlib_gen.sh +Prereq: 1.78 +--- ncurses-6.5-20250222+/ncurses/base/MKlib_gen.sh 2025-02-01 22:09:10.000000000 +0000 ++++ ncurses-6.5-20250301/ncurses/base/MKlib_gen.sh 2025-02-23 01:55:06.000000000 +0000 +@@ -2,7 +2,7 @@ + # + # MKlib_gen.sh -- generate sources from curses.h macro definitions + # +-# ($Id: MKlib_gen.sh,v 1.78 2025/02/01 22:09:10 tom Exp $) ++# ($Id: MKlib_gen.sh,v 1.79 2025/02/23 01:55:06 tom Exp $) + # + ############################################################################## + # Copyright 2018-2024,2025 Thomas E. Dickey # +@@ -445,7 +445,10 @@ + print " */" + print "#define NCURSES_ATTR_T int" + print "#include <ncurses_cfg.h>" ++ print "" ++ print "#if USE_STDBOOL_H" + print "#include <stdbool.h>" ++ print "#endif" + print "" + print "#undef NCURSES_NOMACROS /* _this_ file uses macros */" + print "#define NCURSES_NOMACROS 1" +Index: ncurses/curses.priv.h +Prereq: 1.700 +--- ncurses-6.5-20250222+/ncurses/curses.priv.h 2025-01-18 14:41:58.000000000 +0000 ++++ ncurses-6.5-20250301/ncurses/curses.priv.h 2025-03-01 17:17:12.000000000 +0000 +@@ -35,7 +35,7 @@ + ****************************************************************************/ + + /* +- * $Id: curses.priv.h,v 1.700 2025/01/18 14:41:58 tom Exp $ ++ * $Id: curses.priv.h,v 1.701 2025/03/01 17:17:12 tom Exp $ + * + * curses.priv.h + * +@@ -2541,16 +2541,12 @@ + #if defined(USE_WIN32CON_DRIVER) + #include <nc_mingw.h> + extern NCURSES_EXPORT_VAR(TERM_DRIVER) _nc_WIN_DRIVER; +-extern NCURSES_EXPORT(int) _nc_mingw_isatty(int fd); +-extern NCURSES_EXPORT(int) _nc_mingw_isconsole(int fd); +-extern NCURSES_EXPORT(int) _nc_mingw_console_read( +- SCREEN *sp, +- HANDLE fd, +- int *buf); +-extern NCURSES_EXPORT(int) _nc_mingw_testmouse( +- SCREEN * sp, +- HANDLE fd, +- int delay EVENTLIST_2nd(_nc_eventlist*)); ++extern NCURSES_EXPORT(int) _nc_mingw_console_read(SCREEN *sp, HANDLE fd, int *buf); ++extern NCURSES_EXPORT(int) _nc_mingw_isatty(int fd); ++extern NCURSES_EXPORT(int) _nc_mingw_isconsole(int fd); ++extern NCURSES_EXPORT(int) _nc_mingw_tcflush(int fd, int queue); ++extern NCURSES_EXPORT(int) _nc_mingw_tcgetattr(int fd, struct termios *arg); ++extern NCURSES_EXPORT(int) _nc_mingw_testmouse(SCREEN *sp, HANDLE fd, int delay EVENTLIST_2nd(_nc_eventlist*)); + #else + #endif + extern NCURSES_EXPORT_VAR(TERM_DRIVER) _nc_TINFO_DRIVER; +Index: ncurses/tinfo/lib_win32con.c +Prereq: 1.17 +--- ncurses-6.5-20250222+/ncurses/tinfo/lib_win32con.c 2025-02-15 15:43:26.000000000 +0000 ++++ ncurses-6.5-20250301/ncurses/tinfo/lib_win32con.c 2025-03-01 14:26:14.000000000 +0000 +@@ -38,7 +38,7 @@ + + #include <curses.priv.h> + +-MODULE_ID("$Id: lib_win32con.c,v 1.17 2025/02/15 15:43:26 tom Exp $") ++MODULE_ID("$Id: lib_win32con.c,v 1.18 2025/03/01 14:26:14 tom Exp $") + + #if defined(_NC_WINDOWS) + +@@ -887,8 +887,7 @@ + goto end; + } else { + DWORD n = 0; +- INPUT_RECORD *pInpRec = +- TypeAlloca(INPUT_RECORD, nRead); ++ MakeArray(pInpRec, INPUT_RECORD, nRead); + if (pInpRec != NULL) { + DWORD i; + BOOL f; +Index: ncurses/tty/lib_twait.c +Prereq: 1.84 +--- ncurses-6.5-20250222+/ncurses/tty/lib_twait.c 2025-01-24 20:39:23.000000000 +0000 ++++ ncurses-6.5-20250301/ncurses/tty/lib_twait.c 2025-03-01 17:07:19.000000000 +0000 +@@ -76,7 +76,7 @@ + #endif + #undef CUR + +-MODULE_ID("$Id: lib_twait.c,v 1.84 2025/01/24 20:39:23 tom Exp $") ++MODULE_ID("$Id: lib_twait.c,v 1.85 2025/03/01 17:07:19 tom Exp $") + + /* + * Returns an elapsed time, in milliseconds (if possible). +@@ -273,7 +273,7 @@ + } + #endif + +- result = poll(fds, (size_t) count, milliseconds); ++ result = (int) poll(fds, (size_t) count, milliseconds); + + #ifdef NCURSES_WGETCH_EVENTS + if ((mode & TW_EVENT) && evl) { +Index: ncurses/win32con/win32_driver.c +Prereq: 1.5 +--- ncurses-6.5-20250222+/ncurses/win32con/win32_driver.c 2025-02-20 01:15:57.000000000 +0000 ++++ ncurses-6.5-20250301/ncurses/win32con/win32_driver.c 2025-03-01 14:26:14.000000000 +0000 +@@ -48,7 +48,7 @@ + + #define CUR TerminalType(my_term). + +-MODULE_ID("$Id: win32_driver.c,v 1.5 2025/02/20 01:15:57 tom Exp $") ++MODULE_ID("$Id: win32_driver.c,v 1.7 2025/03/01 14:26:14 tom Exp $") + + #define WINMAGIC NCDRV_MAGIC(NCDRV_WINCONSOLE) + #define EXP_OPTIMIZE 0 +@@ -171,7 +171,7 @@ + int y, int x, cchar_t *str, int limit) + { + int actual = 0; +- CHAR_INFO *ci = TypeAlloca(CHAR_INFO, limit); ++ MakeArray(ci, CHAR_INFO, limit); + COORD loc, siz; + SMALL_RECT rec; + int i; +@@ -220,7 +220,7 @@ + static BOOL + con_write8(TERMINAL_CONTROL_BLOCK * TCB, int y, int x, chtype *str, int n) + { +- CHAR_INFO *ci = TypeAlloca(CHAR_INFO, n); ++ MakeArray(ci, CHAR_INFO, n); + COORD loc, siz; + SMALL_RECT rec; + int i; +@@ -415,7 +415,7 @@ + if ((CurScreen(sp)->_clear || NewScreen(sp)->_clear)) { + int x; + #if USE_WIDEC_SUPPORT +- cchar_t *empty = TypeAlloca(cchar_t, Width); ++ MakeArray(empty, cchar_t, Width); + wchar_t blank[2] = + { + L' ', L'\0' +@@ -424,7 +424,7 @@ + for (x = 0; x < Width; x++) + setcchar(&empty[x], blank, 0, 0, NULL); + #else +- chtype *empty = TypeAlloca(chtype, Width); ++ MakeArray(empty, chtype, Width); + + for (x = 0; x < Width; x++) + empty[x] = ' '; +@@ -589,8 +589,8 @@ + int max_cells = (high * wide); + int i; + +- CHAR_INFO *this_screen = TypeAlloca(CHAR_INFO, max_cells); +- CHAR_INFO *that_screen = TypeAlloca(CHAR_INFO, max_cells); ++ MakeArray(this_screen, CHAR_INFO, max_cells); ++ MakeArray(that_screen, CHAR_INFO, max_cells); + COORD this_size; + SMALL_RECT this_region; + COORD bufferCoord; +Index: ncurses/win32con/win_driver.c +Prereq: 1.77 +--- ncurses-6.5-20250222+/ncurses/win32con/win_driver.c 2025-02-20 01:19:43.000000000 +0000 ++++ ncurses-6.5-20250301/ncurses/win32con/win_driver.c 2025-03-01 17:17:46.000000000 +0000 +@@ -57,9 +57,7 @@ + + #define CONTROL_PRESSED (LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED) + +-MODULE_ID("$Id: win_driver.c,v 1.77 2025/02/20 01:19:43 tom Exp $") +- +-#define TypeAlloca(type,count) (type*) _alloca(sizeof(type) * (size_t) (count)) ++MODULE_ID("$Id: win_driver.c,v 1.81 2025/03/01 17:17:46 tom Exp $") + + #define WINMAGIC NCDRV_MAGIC(NCDRV_WINCONSOLE) + +@@ -264,7 +262,7 @@ + con_write16(TERMINAL_CONTROL_BLOCK * TCB, int y, int x, cchar_t *str, int limit) + { + int actual = 0; +- CHAR_INFO *ci = TypeAlloca(CHAR_INFO, limit); ++ MakeArray(ci, CHAR_INFO, limit); + COORD loc, siz; + SMALL_RECT rec; + int i; +@@ -313,7 +311,7 @@ + static BOOL + con_write8(TERMINAL_CONTROL_BLOCK * TCB, int y, int x, chtype *str, int n) + { +- CHAR_INFO *ci = TypeAlloca(CHAR_INFO, n); ++ MakeArray(ci, CHAR_INFO, n); + COORD loc, siz; + SMALL_RECT rec; + int i; +@@ -512,7 +510,7 @@ + if ((CurScreen(sp)->_clear || NewScreen(sp)->_clear)) { + int x; + #if USE_WIDEC_SUPPORT +- cchar_t *empty = TypeAlloca(cchar_t, Width); ++ MakeArray(empty, cchar_t, Width); + wchar_t blank[2] = + { + L' ', L'\0' +@@ -521,7 +519,7 @@ + for (x = 0; x < Width; x++) + setcchar(&empty[x], blank, 0, 0, NULL); + #else +- chtype *empty = TypeAlloca(chtype, Width); ++ MakeArray(empty, chtype, Width); + + for (x = 0; x < Width; x++) + empty[x] = ' '; +@@ -685,8 +683,8 @@ + int max_cells = (high * wide); + int i; + +- CHAR_INFO *this_screen = TypeAlloca(CHAR_INFO, max_cells); +- CHAR_INFO *that_screen = TypeAlloca(CHAR_INFO, max_cells); ++ MakeArray(this_screen, CHAR_INFO, max_cells); ++ MakeArray(that_screen, CHAR_INFO, max_cells); + COORD this_size; + SMALL_RECT this_region; + COORD bufferCoord; +@@ -1964,7 +1962,7 @@ + a test for mintty. This is called from the NC_ISATTY macro + defined in curses.priv.h + */ +-int ++NCURSES_EXPORT(int) + _nc_mingw_isatty(int fd) + { + int result = 0; +@@ -1985,7 +1983,7 @@ + with the terminal escape sequences that are sent by + terminfo. + */ +-int ++NCURSES_EXPORT(int) + _nc_mingw_isconsole(int fd) + { + HANDLE hdl = get_handle(fd); +@@ -2012,7 +2010,7 @@ + } \ + assert(term != NULL) + +-int ++NCURSES_EXPORT(int) + _nc_mingw_tcsetattr( + int fd, + int optional_action GCC_UNUSED, +@@ -2051,7 +2049,7 @@ + return code; + } + +-int ++NCURSES_EXPORT(int) + _nc_mingw_tcgetattr(int fd, struct termios *arg) + { + TC_PROLOGUE(fd); +@@ -2063,7 +2061,7 @@ + return code; + } + +-int ++NCURSES_EXPORT(int) + _nc_mingw_tcflush(int fd, int queue) + { + int code = ERR; +@@ -2078,7 +2076,7 @@ + return code; + } + +-int ++NCURSES_EXPORT(int) + _nc_mingw_testmouse( + SCREEN *sp, + HANDLE fd, +@@ -2102,7 +2100,7 @@ + return rc; + } + +-int ++NCURSES_EXPORT(int) + _nc_mingw_console_read( + SCREEN *sp, + HANDLE fd, +Index: package/debian-mingw/changelog +--- ncurses-6.5-20250222+/package/debian-mingw/changelog 2025-02-20 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/package/debian-mingw/changelog 2025-02-23 01:08:08.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6td (6.5+20250222) unstable; urgency=low ++ncurses6td (6.5+20250301) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 20 Feb 2025 04:14:10 -0500 ++ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 22 Feb 2025 20:08:08 -0500 + + ncurses6 (5.9+20131005) unstable; urgency=low + +Index: package/debian-mingw64/changelog +--- ncurses-6.5-20250222+/package/debian-mingw64/changelog 2025-02-20 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/package/debian-mingw64/changelog 2025-02-23 01:08:08.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6td (6.5+20250222) unstable; urgency=low ++ncurses6td (6.5+20250301) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 20 Feb 2025 04:14:10 -0500 ++ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 22 Feb 2025 20:08:08 -0500 + + ncurses6 (5.9+20131005) unstable; urgency=low + +Index: package/debian/changelog +--- ncurses-6.5-20250222+/package/debian/changelog 2025-02-20 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/package/debian/changelog 2025-02-23 01:08:08.000000000 +0000 +@@ -1,8 +1,8 @@ +-ncurses6td (6.5+20250222) unstable; urgency=low ++ncurses6td (6.5+20250301) unstable; urgency=low + + * latest weekly patch + +- -- Thomas E. Dickey <dickey@invisible-island.net> Thu, 20 Feb 2025 04:14:10 -0500 ++ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 22 Feb 2025 20:08:08 -0500 + + ncurses6 (5.9+20120608) unstable; urgency=low + +Index: package/mingw-ncurses.nsi +Prereq: 1.691 +--- ncurses-6.5-20250222+/package/mingw-ncurses.nsi 2025-02-20 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/package/mingw-ncurses.nsi 2025-02-23 01:08:08.000000000 +0000 +@@ -1,4 +1,4 @@ +-; $Id: mingw-ncurses.nsi,v 1.691 2025/02/20 09:14:10 tom Exp $
++; $Id: mingw-ncurses.nsi,v 1.692 2025/02/23 01:08:08 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 "2025"
+-!define VERSION_MMDD "0222"
++!define VERSION_MMDD "0301"
+ !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
+
+ !define MY_ABI "5"
+Index: package/mingw-ncurses.spec +--- ncurses-6.5-20250222+/package/mingw-ncurses.spec 2025-02-20 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/package/mingw-ncurses.spec 2025-02-23 01:08:08.000000000 +0000 +@@ -3,7 +3,7 @@ + Summary: shared libraries for terminal handling + Name: mingw32-ncurses6 + Version: 6.5 +-Release: 20250222 ++Release: 20250301 + License: X11 + Group: Development/Libraries + URL: https://invisible-island.net/ncurses/ +Index: package/ncurses.spec +--- ncurses-6.5-20250222+/package/ncurses.spec 2025-02-20 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/package/ncurses.spec 2025-02-23 01:08:08.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: shared libraries for terminal handling + Name: ncurses6 + Version: 6.5 +-Release: 20250222 ++Release: 20250301 + License: X11 + Group: Development/Libraries + URL: https://invisible-island.net/ncurses/ +Index: package/ncursest.spec +--- ncurses-6.5-20250222+/package/ncursest.spec 2025-02-20 09:14:10.000000000 +0000 ++++ ncurses-6.5-20250301/package/ncursest.spec 2025-02-23 01:08:08.000000000 +0000 +@@ -1,7 +1,7 @@ + Summary: Curses library with POSIX thread support. + Name: ncursest6 + Version: 6.5 +-Release: 20250222 ++Release: 20250301 + License: X11 + Group: Development/Libraries + Source: ncurses-%{version}-%{release}.tgz |