-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.4126 2024/05/19 09:13:07 tom Exp $
+-- $Id: NEWS,v 1.4129 2024/05/25 23:09:24 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20240525
+ + build-fix for configure option --disable-ext-funcs
+ + improve formatting/style of manpages (patches by Branden Robinson).
+ + review/update iTerm2 for 3.5.0 -TD
+
20240519
+ update Ada95/configure to match change for -DTRACE
+ revert change to include/ncurses_defs, which caused build failure if
-5:0:10 6.5 20240519
+5:0:10 6.5 20240525
#! /bin/sh
-# From configure.in Revision: 1.781 .
+# From configure.in Revision: 1.782 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by Autoconf 2.52.20231210.
#
EOF
GENERATED_EXT_FUNCS=generated
- test "x$with_ext_funcs" = xyes || cf_dft_ext_spfuncs=no
else
+ cf_dft_ext_spfuncs=no
+ cf_dft_ext_colors=no
NCURSES_EXT_FUNCS=0
GENERATED_EXT_FUNCS=
fi
-echo "$as_me:15846: checking if you want to build with SCREEN extensions" >&5
+echo "$as_me:15847: checking if you want to build with SCREEN extensions" >&5
echo $ECHO_N "checking if you want to build with SCREEN extensions... $ECHO_C" >&6
# Check whether --enable-sp-funcs or --disable-sp-funcs was given.
else
with_sp_funcs=$cf_dft_ext_spfuncs
fi;
-echo "$as_me:15856: result: $with_sp_funcs" >&5
+echo "$as_me:15857: result: $with_sp_funcs" >&5
echo "${ECHO_T}$with_sp_funcs" >&6
if test "x$with_sp_funcs" = xyes ; then
NCURSES_SP_FUNCS=1
GENERATED_SP_FUNCS=
fi
-echo "$as_me:15875: checking if you want to build with terminal-driver" >&5
+echo "$as_me:15876: checking if you want to build with terminal-driver" >&5
echo $ECHO_N "checking if you want to build with terminal-driver... $ECHO_C" >&6
# Check whether --enable-term-driver or --disable-term-driver was given.
else
with_term_driver=no
fi;
-echo "$as_me:15885: result: $with_term_driver" >&5
+echo "$as_me:15886: result: $with_term_driver" >&5
echo "${ECHO_T}$with_term_driver" >&6
if test "x$with_term_driver" = xyes ; then
EOF
if test "x$with_termlib" != xno ; then
- { { echo "$as_me:15894: error: The term-driver option conflicts with the termlib option" >&5
+ { { echo "$as_me:15895: error: The term-driver option conflicts with the termlib option" >&5
echo "$as_me: error: The term-driver option conflicts with the termlib option" >&2;}
{ (exit 1); exit 1; }; }
fi
if test "x$with_sp_funcs" != xyes ; then
- { { echo "$as_me:15899: error: The term-driver option relies upon sp-funcs" >&5
+ { { echo "$as_me:15900: error: The term-driver option relies upon sp-funcs" >&5
echo "$as_me: error: The term-driver option relies upon sp-funcs" >&2;}
{ (exit 1); exit 1; }; }
fi
fi
### use option --enable-const to turn on use of const beyond that in XSI.
-echo "$as_me:15906: checking for extended use of const keyword" >&5
+echo "$as_me:15907: checking for extended use of const keyword" >&5
echo $ECHO_N "checking for extended use of const keyword... $ECHO_C" >&6
# Check whether --enable-const or --disable-const was given.
else
with_ext_const=$cf_dft_ext_const
fi;
-echo "$as_me:15916: result: $with_ext_const" >&5
+echo "$as_me:15917: result: $with_ext_const" >&5
echo "${ECHO_T}$with_ext_const" >&6
NCURSES_CONST='/*nothing*/'
if test "x$with_ext_const" = xyes ; then
fi
### use option --enable-ext-colors to turn on use of colors beyond 16.
-echo "$as_me:15924: checking if you want to use extended colors" >&5
+echo "$as_me:15925: checking if you want to use extended colors" >&5
echo $ECHO_N "checking if you want to use extended colors... $ECHO_C" >&6
# Check whether --enable-ext-colors or --disable-ext-colors was given.
else
with_ext_colors=$cf_dft_ext_colors
fi;
-echo "$as_me:15934: result: $with_ext_colors" >&5
+echo "$as_me:15935: result: $with_ext_colors" >&5
echo "${ECHO_T}$with_ext_colors" >&6
NCURSES_EXT_COLORS=0
if test "x$with_ext_colors" = xyes ; then
if test "x$with_widec" != xyes ; then
- { echo "$as_me:15939: WARNING: This option applies only to wide-character library" >&5
+ { echo "$as_me:15940: WARNING: This option applies only to wide-character library" >&5
echo "$as_me: WARNING: This option applies only to wide-character library" >&2;}
else
# cannot be ABI 5 since it changes sizeof(cchar_t)
cf_cv_rel_version=6.0
cf_cv_abi_version=6
cf_cv_abi_default=6
- { echo "$as_me:15950: WARNING: overriding ABI version to $cf_cv_abi_default" >&5
+ { echo "$as_me:15951: WARNING: overriding ABI version to $cf_cv_abi_default" >&5
echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_default" >&2;}
;;
esac
fi
### use option --enable-ext-mouse to modify coding to support 5-button mice
-echo "$as_me:15978: checking if you want to use extended mouse encoding" >&5
+echo "$as_me:15979: checking if you want to use extended mouse encoding" >&5
echo $ECHO_N "checking if you want to use extended mouse encoding... $ECHO_C" >&6
# Check whether --enable-ext-mouse or --disable-ext-mouse was given.
else
with_ext_mouse=$cf_dft_ext_mouse
fi;
-echo "$as_me:15988: result: $with_ext_mouse" >&5
+echo "$as_me:15989: result: $with_ext_mouse" >&5
echo "${ECHO_T}$with_ext_mouse" >&6
if test "x$with_ext_mouse" = xyes ; then
cf_cv_rel_version=6.0
cf_cv_abi_version=6
cf_cv_abi_default=6
- { echo "$as_me:15998: WARNING: overriding ABI version to $cf_cv_abi_default" >&5
+ { echo "$as_me:15999: WARNING: overriding ABI version to $cf_cv_abi_default" >&5
echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_default" >&2;}
;;
esac
fi
### use option --enable-ext-putwin to turn on extended screendumps
-echo "$as_me:16015: checking if you want to use extended putwin/screendump" >&5
+echo "$as_me:16016: checking if you want to use extended putwin/screendump" >&5
echo $ECHO_N "checking if you want to use extended putwin/screendump... $ECHO_C" >&6
# Check whether --enable-ext-putwin or --disable-ext-putwin was given.
else
with_ext_putwin=$cf_dft_ext_putwin
fi;
-echo "$as_me:16025: result: $with_ext_putwin" >&5
+echo "$as_me:16026: result: $with_ext_putwin" >&5
echo "${ECHO_T}$with_ext_putwin" >&6
if test "x$with_ext_putwin" = xyes ; then
fi
-echo "$as_me:16035: checking if you want \$NCURSES_NO_PADDING code" >&5
+echo "$as_me:16036: checking if you want \$NCURSES_NO_PADDING code" >&5
echo $ECHO_N "checking if you want \$NCURSES_NO_PADDING code... $ECHO_C" >&6
# Check whether --enable-no-padding or --disable-no-padding was given.
else
with_no_padding=$with_ext_funcs
fi;
-echo "$as_me:16045: result: $with_no_padding" >&5
+echo "$as_me:16046: result: $with_no_padding" >&5
echo "${ECHO_T}$with_no_padding" >&6
test "x$with_no_padding" = xyes &&
cat >>confdefs.h <<\EOF
EOF
### use option --enable-sigwinch to turn on use of SIGWINCH logic
-echo "$as_me:16053: checking if you want SIGWINCH handler" >&5
+echo "$as_me:16054: checking if you want SIGWINCH handler" >&5
echo $ECHO_N "checking if you want SIGWINCH handler... $ECHO_C" >&6
# Check whether --enable-sigwinch or --disable-sigwinch was given.
else
with_sigwinch=$with_ext_funcs
fi;
-echo "$as_me:16063: result: $with_sigwinch" >&5
+echo "$as_me:16064: result: $with_sigwinch" >&5
echo "${ECHO_T}$with_sigwinch" >&6
if test "x$with_sigwinch" = xyes
then
fi
### use option --enable-tcap-names to allow user to define new capabilities
-echo "$as_me:16078: checking if you want user-definable terminal capabilities like termcap" >&5
+echo "$as_me:16079: checking if you want user-definable terminal capabilities like termcap" >&5
echo $ECHO_N "checking if you want user-definable terminal capabilities like termcap... $ECHO_C" >&6
# Check whether --enable-tcap-names or --disable-tcap-names was given.
else
with_tcap_names=$with_ext_funcs
fi;
-echo "$as_me:16088: result: $with_tcap_names" >&5
+echo "$as_me:16089: result: $with_tcap_names" >&5
echo "${ECHO_T}$with_tcap_names" >&6
NCURSES_XNAMES=0
if test "x$with_tcap_names" = xyes; then
##############################################################################
-echo "$as_me:16102: checking if you want to link with the pthread library" >&5
+echo "$as_me:16103: checking if you want to link with the pthread library" >&5
echo $ECHO_N "checking if you want to link with the pthread library... $ECHO_C" >&6
# Check whether --with-pthread or --without-pthread was given.
else
with_pthread=no
fi;
-echo "$as_me:16112: result: $with_pthread" >&5
+echo "$as_me:16113: result: $with_pthread" >&5
echo "${ECHO_T}$with_pthread" >&6
if test "$with_pthread" != no ; then
- echo "$as_me:16116: checking for pthread.h" >&5
+ echo "$as_me:16117: checking for pthread.h" >&5
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
if test "${ac_cv_header_pthread_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 16122 "configure"
+#line 16123 "configure"
#include "confdefs.h"
#include <pthread.h>
_ACEOF
-if { (eval echo "$as_me:16126: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:16127: \"$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:16132: \$? = $ac_status" >&5
+ echo "$as_me:16133: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:16151: result: $ac_cv_header_pthread_h" >&5
+echo "$as_me:16152: result: $ac_cv_header_pthread_h" >&5
echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
if test "$ac_cv_header_pthread_h" = yes; then
for cf_lib_pthread in pthread c_r
do
- echo "$as_me:16161: checking if we can link with the $cf_lib_pthread library" >&5
+ echo "$as_me:16162: checking if we can link with the $cf_lib_pthread library" >&5
echo $ECHO_N "checking if we can link with the $cf_lib_pthread library... $ECHO_C" >&6
cf_save_LIBS="$LIBS"
LIBS="$cf_add_libs"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 16182 "configure"
+#line 16183 "configure"
#include "confdefs.h"
#include <pthread.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:16199: \"$ac_link\"") >&5
+if { (eval echo "$as_me:16200: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:16202: \$? = $ac_status" >&5
+ echo "$as_me:16203: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:16205: \"$ac_try\"") >&5
+ { (eval echo "$as_me:16206: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:16208: \$? = $ac_status" >&5
+ echo "$as_me:16209: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
with_pthread=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS="$cf_save_LIBS"
- echo "$as_me:16218: result: $with_pthread" >&5
+ echo "$as_me:16219: result: $with_pthread" >&5
echo "${ECHO_T}$with_pthread" >&6
test "$with_pthread" = yes && break
done
EOF
else
- { { echo "$as_me:16246: error: Cannot link with pthread library" >&5
+ { { echo "$as_me:16247: error: Cannot link with pthread library" >&5
echo "$as_me: error: Cannot link with pthread library" >&2;}
{ (exit 1); exit 1; }; }
fi
fi
if test "x$with_pthread" != xno; then
- echo "$as_me:16256: checking for pthread_kill" >&5
+ echo "$as_me:16257: checking for pthread_kill" >&5
echo $ECHO_N "checking for pthread_kill... $ECHO_C" >&6
if test "${ac_cv_func_pthread_kill+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 16262 "configure"
+#line 16263 "configure"
#include "confdefs.h"
#define pthread_kill autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:16293: \"$ac_link\"") >&5
+if { (eval echo "$as_me:16294: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:16296: \$? = $ac_status" >&5
+ echo "$as_me:16297: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:16299: \"$ac_try\"") >&5
+ { (eval echo "$as_me:16300: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:16302: \$? = $ac_status" >&5
+ echo "$as_me:16303: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_pthread_kill=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:16312: result: $ac_cv_func_pthread_kill" >&5
+echo "$as_me:16313: result: $ac_cv_func_pthread_kill" >&5
echo "${ECHO_T}$ac_cv_func_pthread_kill" >&6
if test "$ac_cv_func_pthread_kill" = yes; then
- echo "$as_me:16316: checking if you want to allow EINTR in wgetch with pthreads" >&5
+ echo "$as_me:16317: checking if you want to allow EINTR in wgetch with pthreads" >&5
echo $ECHO_N "checking if you want to allow EINTR in wgetch with pthreads... $ECHO_C" >&6
# Check whether --enable-pthreads-eintr or --disable-pthreads-eintr was given.
else
use_pthreads_eintr=no
fi;
- echo "$as_me:16326: result: $use_pthreads_eintr" >&5
+ echo "$as_me:16327: result: $use_pthreads_eintr" >&5
echo "${ECHO_T}$use_pthreads_eintr" >&6
if test "x$use_pthreads_eintr" = xyes ; then
fi
fi
- echo "$as_me:16337: checking if you want to use weak-symbols for pthreads" >&5
+ echo "$as_me:16338: checking if you want to use weak-symbols for pthreads" >&5
echo $ECHO_N "checking if you want to use weak-symbols for pthreads... $ECHO_C" >&6
# Check whether --enable-weak-symbols or --disable-weak-symbols was given.
else
use_weak_symbols=no
fi;
- echo "$as_me:16347: result: $use_weak_symbols" >&5
+ echo "$as_me:16348: result: $use_weak_symbols" >&5
echo "${ECHO_T}$use_weak_symbols" >&6
if test "x$use_weak_symbols" = xyes ; then
-echo "$as_me:16351: checking if $CC supports weak symbols" >&5
+echo "$as_me:16352: checking if $CC supports weak symbols" >&5
echo $ECHO_N "checking if $CC supports weak symbols... $ECHO_C" >&6
if test "${cf_cv_weak_symbols+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 16358 "configure"
+#line 16359 "configure"
#include "confdefs.h"
#include <stdio.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:16384: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:16385: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:16387: \$? = $ac_status" >&5
+ echo "$as_me:16388: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:16390: \"$ac_try\"") >&5
+ { (eval echo "$as_me:16391: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:16393: \$? = $ac_status" >&5
+ echo "$as_me:16394: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_weak_symbols=yes
else
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:16404: result: $cf_cv_weak_symbols" >&5
+echo "$as_me:16405: result: $cf_cv_weak_symbols" >&5
echo "${ECHO_T}$cf_cv_weak_symbols" >&6
else
# opaque outside of that, so there is no --enable-opaque option. We can use
# this option without --with-pthreads, but this will be always set for
# pthreads.
-echo "$as_me:16454: checking if you want reentrant code" >&5
+echo "$as_me:16455: checking if you want reentrant code" >&5
echo $ECHO_N "checking if you want reentrant code... $ECHO_C" >&6
# Check whether --enable-reentrant or --disable-reentrant was given.
else
with_reentrant=no
fi;
-echo "$as_me:16464: result: $with_reentrant" >&5
+echo "$as_me:16465: result: $with_reentrant" >&5
echo "${ECHO_T}$with_reentrant" >&6
if test "x$with_reentrant" = xyes ; then
cf_cv_enable_reentrant=1
cf_cv_rel_version=6.0
cf_cv_abi_version=6
cf_cv_abi_default=6
- { echo "$as_me:16553: WARNING: overriding ABI version to $cf_cv_abi_default" >&5
+ { echo "$as_me:16554: WARNING: overriding ABI version to $cf_cv_abi_default" >&5
echo "$as_me: WARNING: overriding ABI version to $cf_cv_abi_default" >&2;}
;;
esac
NCURSES_SIZE_T=$cf_dft_ordinate_type
fi
-echo "$as_me:16565: checking whether curses library structures should be opaque" >&5
+echo "$as_me:16566: checking whether curses library structures should be opaque" >&5
echo $ECHO_N "checking whether curses library structures should be opaque... $ECHO_C" >&6
# Check whether --enable-opaque-curses or --disable-opaque-curses was given.
test "$cf_cv_enable_reentrant" = 1 || enable_opaque_curses=$cf_dft_opaque_curses
fi;
-echo "$as_me:16587: result: $enable_opaque_curses" >&5
+echo "$as_me:16588: result: $enable_opaque_curses" >&5
echo "${ECHO_T}$enable_opaque_curses" >&6
test "$cf_cv_enable_reentrant" = 1 && \
test "$enable_opaque_curses" = no && \
-{ { echo "$as_me:16592: error: reentrant configuration requires opaque library" >&5
+{ { echo "$as_me:16593: error: reentrant configuration requires opaque library" >&5
echo "$as_me: error: reentrant configuration requires opaque library" >&2;}
{ (exit 1); exit 1; }; }
-echo "$as_me:16596: checking whether form library structures should be opaque" >&5
+echo "$as_me:16597: checking whether form library structures should be opaque" >&5
echo $ECHO_N "checking whether form library structures should be opaque... $ECHO_C" >&6
# Check whether --enable-opaque-form or --disable-opaque-form was given.
enable_opaque_form=$cf_dft_opaque_curses
fi;
-echo "$as_me:16613: result: $enable_opaque_form" >&5
+echo "$as_me:16614: result: $enable_opaque_form" >&5
echo "${ECHO_T}$enable_opaque_form" >&6
-echo "$as_me:16616: checking whether menu library structures should be opaque" >&5
+echo "$as_me:16617: checking whether menu library structures should be opaque" >&5
echo $ECHO_N "checking whether menu library structures should be opaque... $ECHO_C" >&6
# Check whether --enable-opaque-menu or --disable-opaque-menu was given.
enable_opaque_menu=$cf_dft_opaque_curses
fi;
-echo "$as_me:16633: result: $enable_opaque_menu" >&5
+echo "$as_me:16634: result: $enable_opaque_menu" >&5
echo "${ECHO_T}$enable_opaque_menu" >&6
-echo "$as_me:16636: checking whether panel library structures should be opaque" >&5
+echo "$as_me:16637: checking whether panel library structures should be opaque" >&5
echo $ECHO_N "checking whether panel library structures should be opaque... $ECHO_C" >&6
# Check whether --enable-opaque-panel or --disable-opaque-panel was given.
enable_opaque_panel=$cf_dft_opaque_curses
fi;
-echo "$as_me:16653: result: $enable_opaque_panel" >&5
+echo "$as_me:16654: result: $enable_opaque_panel" >&5
echo "${ECHO_T}$enable_opaque_panel" >&6
NCURSES_OPAQUE=0; test "$enable_opaque_curses" = yes && NCURSES_OPAQUE=1
### Allow using a different wrap-prefix
if test "$cf_cv_enable_reentrant" != 0 || test "$BROKEN_LINKER" = 1 ; then
- echo "$as_me:16663: checking for prefix used to wrap public variables" >&5
+ echo "$as_me:16664: checking for prefix used to wrap public variables" >&5
echo $ECHO_N "checking for prefix used to wrap public variables... $ECHO_C" >&6
# Check whether --with-wrap-prefix or --without-wrap-prefix was given.
else
NCURSES_WRAP_PREFIX=_nc_
fi;
- echo "$as_me:16673: result: $NCURSES_WRAP_PREFIX" >&5
+ echo "$as_me:16674: result: $NCURSES_WRAP_PREFIX" >&5
echo "${ECHO_T}$NCURSES_WRAP_PREFIX" >&6
else
NCURSES_WRAP_PREFIX=_nc_
###############################################################################
# These options are relatively safe to experiment with.
-echo "$as_me:16686: checking if you want all development code" >&5
+echo "$as_me:16687: checking if you want all development code" >&5
echo $ECHO_N "checking if you want all development code... $ECHO_C" >&6
# Check whether --with-develop or --without-develop was given.
else
with_develop=no
fi;
-echo "$as_me:16696: result: $with_develop" >&5
+echo "$as_me:16697: result: $with_develop" >&5
echo "${ECHO_T}$with_develop" >&6
### use option --enable-check-size to detect screensize with CPR
-echo "$as_me:16700: checking if you want to check screensize of serial terminals" >&5
+echo "$as_me:16701: checking if you want to check screensize of serial terminals" >&5
echo $ECHO_N "checking if you want to check screensize of serial terminals... $ECHO_C" >&6
# Check whether --enable-check-size or --disable-check-size was given.
else
enable_check_size=$with_develop
fi;
-echo "$as_me:16710: result: $enable_check_size" >&5
+echo "$as_me:16711: result: $enable_check_size" >&5
echo "${ECHO_T}$enable_check_size" >&6
test "x$enable_check_size" = xyes &&
cat >>confdefs.h <<\EOF
EOF
### use option --enable-hard-tabs to turn on use of hard-tabs optimize
-echo "$as_me:16718: checking if you want hard-tabs code" >&5
+echo "$as_me:16719: checking if you want hard-tabs code" >&5
echo $ECHO_N "checking if you want hard-tabs code... $ECHO_C" >&6
# Check whether --enable-hard-tabs or --disable-hard-tabs was given.
else
enable_hard_tabs=$with_develop
fi;
-echo "$as_me:16728: result: $enable_hard_tabs" >&5
+echo "$as_me:16729: result: $enable_hard_tabs" >&5
echo "${ECHO_T}$enable_hard_tabs" >&6
test "x$enable_hard_tabs" = xyes &&
cat >>confdefs.h <<\EOF
EOF
### use option --enable-xmc-glitch to turn on use of magic-cookie optimize
-echo "$as_me:16736: checking if you want limited support for xmc" >&5
+echo "$as_me:16737: checking if you want limited support for xmc" >&5
echo $ECHO_N "checking if you want limited support for xmc... $ECHO_C" >&6
# Check whether --enable-xmc-glitch or --disable-xmc-glitch was given.
else
enable_xmc_glitch=$with_develop
fi;
-echo "$as_me:16746: result: $enable_xmc_glitch" >&5
+echo "$as_me:16747: result: $enable_xmc_glitch" >&5
echo "${ECHO_T}$enable_xmc_glitch" >&6
test "x$enable_xmc_glitch" = xyes &&
cat >>confdefs.h <<\EOF
###############################################################################
# These are just experimental, probably should not be in a package:
-echo "$as_me:16756: checking if you do not want to assume colors are white-on-black" >&5
+echo "$as_me:16757: checking if you do not want to assume colors are white-on-black" >&5
echo $ECHO_N "checking if you do not want to assume colors are white-on-black... $ECHO_C" >&6
# Check whether --enable-assumed-color or --disable-assumed-color was given.
else
with_assumed_color=yes
fi;
-echo "$as_me:16766: result: $with_assumed_color" >&5
+echo "$as_me:16767: result: $with_assumed_color" >&5
echo "${ECHO_T}$with_assumed_color" >&6
test "x$with_assumed_color" = xyes &&
cat >>confdefs.h <<\EOF
EOF
### use option --enable-hashmap to turn on use of hashmap scrolling logic
-echo "$as_me:16774: checking if you want hashmap scrolling-optimization code" >&5
+echo "$as_me:16775: checking if you want hashmap scrolling-optimization code" >&5
echo $ECHO_N "checking if you want hashmap scrolling-optimization code... $ECHO_C" >&6
# Check whether --enable-hashmap or --disable-hashmap was given.
else
with_hashmap=yes
fi;
-echo "$as_me:16784: result: $with_hashmap" >&5
+echo "$as_me:16785: result: $with_hashmap" >&5
echo "${ECHO_T}$with_hashmap" >&6
test "x$with_hashmap" = xyes &&
cat >>confdefs.h <<\EOF
EOF
### use option --enable-colorfgbg to turn on use of $COLORFGBG environment
-echo "$as_me:16792: checking if you want colorfgbg code" >&5
+echo "$as_me:16793: checking if you want colorfgbg code" >&5
echo $ECHO_N "checking if you want colorfgbg code... $ECHO_C" >&6
# Check whether --enable-colorfgbg or --disable-colorfgbg was given.
else
with_colorfgbg=no
fi;
-echo "$as_me:16802: result: $with_colorfgbg" >&5
+echo "$as_me:16803: result: $with_colorfgbg" >&5
echo "${ECHO_T}$with_colorfgbg" >&6
test "x$with_colorfgbg" = xyes &&
cat >>confdefs.h <<\EOF
EOF
### use option --enable-fvisibility to turn on use of gcc-specific feature
-echo "$as_me:16810: checking if you want to use gcc -fvisibility option" >&5
+echo "$as_me:16811: checking if you want to use gcc -fvisibility option" >&5
echo $ECHO_N "checking if you want to use gcc -fvisibility option... $ECHO_C" >&6
# Check whether --enable-fvisibility or --disable-fvisibility was given.
else
cf_with_fvisibility=no
fi;
-echo "$as_me:16820: result: $cf_with_fvisibility" >&5
+echo "$as_me:16821: result: $cf_with_fvisibility" >&5
echo "${ECHO_T}$cf_with_fvisibility" >&6
NCURSES_IMPEXP=
NCURSES_CXX_IMPEXP=
if test "x$cf_with_fvisibility" = xyes; then
-echo "$as_me:16827: checking if $CC -fvisibility=hidden option works" >&5
+echo "$as_me:16828: checking if $CC -fvisibility=hidden option works" >&5
echo $ECHO_N "checking if $CC -fvisibility=hidden option works... $ECHO_C" >&6
if test "${cf_cv_fvisibility_hidden+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
cf_save_cflags="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 16836 "configure"
+#line 16837 "configure"
#include "confdefs.h"
__attribute__ ((visibility("default"))) int somefunc() {return 42;}
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:16852: \"$ac_link\"") >&5
+if { (eval echo "$as_me:16853: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:16855: \$? = $ac_status" >&5
+ echo "$as_me:16856: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:16858: \"$ac_try\"") >&5
+ { (eval echo "$as_me:16859: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:16861: \$? = $ac_status" >&5
+ echo "$as_me:16862: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_fvisibility_hidden=yes
else
CFLAGS=$cf_save_cflags
fi
-echo "$as_me:16873: result: $cf_cv_fvisibility_hidden" >&5
+echo "$as_me:16874: result: $cf_cv_fvisibility_hidden" >&5
echo "${ECHO_T}$cf_cv_fvisibility_hidden" >&6
if test "x$cf_cv_fvisibility_hidden" = xyes
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
ac_main_return="return"
-echo "$as_me:16988: checking if $CXX -fvisibility=hidden option works" >&5
+echo "$as_me:16989: checking if $CXX -fvisibility=hidden option works" >&5
echo $ECHO_N "checking if $CXX -fvisibility=hidden option works... $ECHO_C" >&6
if test "${cf_cv_fvisibility_hidden2+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
cf_save_cflags="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 16997 "configure"
+#line 16998 "configure"
#include "confdefs.h"
__attribute__ ((visibility("default"))) int somefunc() {return 42;}
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:17013: \"$ac_link\"") >&5
+if { (eval echo "$as_me:17014: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:17016: \$? = $ac_status" >&5
+ echo "$as_me:17017: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:17019: \"$ac_try\"") >&5
+ { (eval echo "$as_me:17020: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:17022: \$? = $ac_status" >&5
+ echo "$as_me:17023: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_fvisibility_hidden2=yes
else
CXXFLAGS=$cf_save_cflags
fi
-echo "$as_me:17034: result: $cf_cv_fvisibility_hidden2" >&5
+echo "$as_me:17035: result: $cf_cv_fvisibility_hidden2" >&5
echo "${ECHO_T}$cf_cv_fvisibility_hidden2" >&6
if test "x$cf_cv_fvisibility_hidden2" = xyes
fi
### use option --enable-interop to turn on use of bindings used for interop
-echo "$as_me:17157: checking if you want interop bindings" >&5
+echo "$as_me:17158: checking if you want interop bindings" >&5
echo $ECHO_N "checking if you want interop bindings... $ECHO_C" >&6
# Check whether --enable-interop or --disable-interop was given.
else
with_exp_interop=$cf_dft_interop
fi;
-echo "$as_me:17167: result: $with_exp_interop" >&5
+echo "$as_me:17168: result: $with_exp_interop" >&5
echo "${ECHO_T}$with_exp_interop" >&6
NCURSES_INTEROP_FUNCS=0
test "x$with_exp_interop" = xyes && NCURSES_INTEROP_FUNCS=1
-echo "$as_me:17173: checking if you want experimental safe-sprintf code" >&5
+echo "$as_me:17174: checking if you want experimental safe-sprintf code" >&5
echo $ECHO_N "checking if you want experimental safe-sprintf code... $ECHO_C" >&6
# Check whether --enable-safe-sprintf or --disable-safe-sprintf was given.
else
with_safe_sprintf=no
fi;
-echo "$as_me:17183: result: $with_safe_sprintf" >&5
+echo "$as_me:17184: result: $with_safe_sprintf" >&5
echo "${ECHO_T}$with_safe_sprintf" >&6
### use option --disable-scroll-hints to turn off use of scroll-hints scrolling logic
# when hashmap is used scroll hints are useless
if test "$with_hashmap" = no ; then
-echo "$as_me:17189: checking if you want to experiment without scrolling-hints code" >&5
+echo "$as_me:17190: checking if you want to experiment without scrolling-hints code" >&5
echo $ECHO_N "checking if you want to experiment without scrolling-hints code... $ECHO_C" >&6
# Check whether --enable-scroll-hints or --disable-scroll-hints was given.
else
with_scroll_hints=yes
fi;
-echo "$as_me:17199: result: $with_scroll_hints" >&5
+echo "$as_me:17200: result: $with_scroll_hints" >&5
echo "${ECHO_T}$with_scroll_hints" >&6
test "x$with_scroll_hints" = xyes &&
cat >>confdefs.h <<\EOF
fi
-echo "$as_me:17208: checking if you want wgetch-events code" >&5
+echo "$as_me:17209: checking if you want wgetch-events code" >&5
echo $ECHO_N "checking if you want wgetch-events code... $ECHO_C" >&6
# Check whether --enable-wgetch-events or --disable-wgetch-events was given.
else
with_wgetch_events=no
fi;
-echo "$as_me:17218: result: $with_wgetch_events" >&5
+echo "$as_me:17219: result: $with_wgetch_events" >&5
echo "${ECHO_T}$with_wgetch_events" >&6
if test "x$with_wgetch_events" = xyes ; then
case "$cf_cv_system_name" in
(*mingw32*|*mingw64*|*-msvc*)
- echo "$as_me:17233: checking if you want experimental-Windows driver" >&5
+ echo "$as_me:17234: checking if you want experimental-Windows driver" >&5
echo $ECHO_N "checking if you want experimental-Windows driver... $ECHO_C" >&6
# Check whether --enable-exp-win32 or --disable-exp-win32 was given.
else
with_exp_win32=no
fi;
- echo "$as_me:17243: result: $with_exp_win32" >&5
+ echo "$as_me:17244: result: $with_exp_win32" >&5
echo "${ECHO_T}$with_exp_win32" >&6
if test "x$with_exp_win32" = xyes
then
### use option --disable-echo to suppress full display compiling commands
-echo "$as_me:17269: checking if you want to see long compiling messages" >&5
+echo "$as_me:17270: checking if you want to see long compiling messages" >&5
echo $ECHO_N "checking if you want to see long compiling messages... $ECHO_C" >&6
# Check whether --enable-echo or --disable-echo was given.
ECHO_CC=''
fi;
-echo "$as_me:17303: result: $enableval" >&5
+echo "$as_me:17304: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
if test "x$enable_echo" = xyes; then
# --disable-stripping is used for debugging
-echo "$as_me:17316: checking if you want to install stripped executables" >&5
+echo "$as_me:17317: checking if you want to install stripped executables" >&5
echo $ECHO_N "checking if you want to install stripped executables... $ECHO_C" >&6
# Check whether --enable-stripping or --disable-stripping was given.
enable_stripping=yes
fi;
-echo "$as_me:17333: result: $enable_stripping" >&5
+echo "$as_me:17334: result: $enable_stripping" >&5
echo "${ECHO_T}$enable_stripping" >&6
if test "$enable_stripping" = yes
fi
: "${INSTALL:=install}"
-echo "$as_me:17344: checking if install accepts -p option" >&5
+echo "$as_me:17345: checking if install accepts -p option" >&5
echo $ECHO_N "checking if install accepts -p option... $ECHO_C" >&6
if test "${cf_cv_install_p+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
rm -rf ./conftest*
fi
-echo "$as_me:17375: result: $cf_cv_install_p" >&5
+echo "$as_me:17376: result: $cf_cv_install_p" >&5
echo "${ECHO_T}$cf_cv_install_p" >&6
-echo "$as_me:17378: checking if install needs to be told about ownership" >&5
+echo "$as_me:17379: checking if install needs to be told about ownership" >&5
echo $ECHO_N "checking if install needs to be told about ownership... $ECHO_C" >&6
case `$ac_config_guess` in
(*minix)
;;
esac
-echo "$as_me:17389: result: $with_install_o" >&5
+echo "$as_me:17390: result: $with_install_o" >&5
echo "${ECHO_T}$with_install_o" >&6
if test "x$with_install_o" = xyes
then
if test -n "$INSTALL_OPT_S"
then
- echo "$as_me:17400: checking if you want to specify strip-program" >&5
+ echo "$as_me:17401: checking if you want to specify strip-program" >&5
echo $ECHO_N "checking if you want to specify strip-program... $ECHO_C" >&6
# Check whether --with-strip-program or --without-strip-program was given.
else
with_strip_program=no
fi;
- echo "$as_me:17410: result: $with_strip_program" >&5
+ echo "$as_me:17411: result: $with_strip_program" >&5
echo "${ECHO_T}$with_strip_program" >&6
if test "$with_strip_program" != no
then
- echo "$as_me:17414: checking if strip-program is supported with this installer" >&5
+ echo "$as_me:17415: checking if strip-program is supported with this installer" >&5
echo $ECHO_N "checking if strip-program is supported with this installer... $ECHO_C" >&6
cf_install_program=`echo "$INSTALL" | sed -e 's%[ ]*[ ]-.%%'`
check_install_strip=no
done
fi
fi
- echo "$as_me:17435: result: $check_install_strip" >&5
+ echo "$as_me:17436: result: $check_install_strip" >&5
echo "${ECHO_T}$check_install_strip" >&6
case "$check_install_strip" in
(no)
- { echo "$as_me:17439: WARNING: $cf_install_program does not support strip program option" >&5
+ { echo "$as_me:17440: WARNING: $cf_install_program does not support strip program option" >&5
echo "$as_me: WARNING: $cf_install_program does not support strip program option" >&2;}
with_strip_program=no
;;
chmod +x "$INSTALL"
test -n "$verbose" && echo " created $INSTALL" 1>&6
-echo "${as_me:-configure}:17454: testing created $INSTALL ..." 1>&5
+echo "${as_me:-configure}:17455: testing created $INSTALL ..." 1>&5
;;
(option)
### use option --enable-warnings to turn on all gcc warnings
-echo "$as_me:17480: checking if you want to use C11 _Noreturn feature" >&5
+echo "$as_me:17481: checking if you want to use C11 _Noreturn feature" >&5
echo $ECHO_N "checking if you want to use C11 _Noreturn feature... $ECHO_C" >&6
# Check whether --enable-stdnoreturn or --disable-stdnoreturn was given.
enable_stdnoreturn=no
fi;
-echo "$as_me:17497: result: $enable_stdnoreturn" >&5
+echo "$as_me:17498: result: $enable_stdnoreturn" >&5
echo "${ECHO_T}$enable_stdnoreturn" >&6
if test $enable_stdnoreturn = yes; then
-echo "$as_me:17501: checking for C11 _Noreturn feature" >&5
+echo "$as_me:17502: checking for C11 _Noreturn feature" >&5
echo $ECHO_N "checking for C11 _Noreturn feature... $ECHO_C" >&6
if test "${cf_cv_c11_noreturn+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 17507 "configure"
+#line 17508 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:17523: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:17524: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:17526: \$? = $ac_status" >&5
+ echo "$as_me:17527: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:17529: \"$ac_try\"") >&5
+ { (eval echo "$as_me:17530: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:17532: \$? = $ac_status" >&5
+ echo "$as_me:17533: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_c11_noreturn=yes
else
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:17543: result: $cf_cv_c11_noreturn" >&5
+echo "$as_me:17544: result: $cf_cv_c11_noreturn" >&5
echo "${ECHO_T}$cf_cv_c11_noreturn" >&6
else
cf_cv_c11_noreturn=no,
then
test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6
-echo "${as_me:-configure}:17599: testing repairing CFLAGS: $CFLAGS ..." 1>&5
+echo "${as_me:-configure}:17600: testing repairing CFLAGS: $CFLAGS ..." 1>&5
CFLAGS="$cf_temp_flags"
test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6
-echo "${as_me:-configure}:17604: testing ... fixed $CFLAGS ..." 1>&5
+echo "${as_me:-configure}:17605: testing ... fixed $CFLAGS ..." 1>&5
test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6
-echo "${as_me:-configure}:17608: testing ... extra $EXTRA_CFLAGS ..." 1>&5
+echo "${as_me:-configure}:17609: testing ... extra $EXTRA_CFLAGS ..." 1>&5
fi
;;
then
test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6
-echo "${as_me:-configure}:17647: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5
+echo "${as_me:-configure}:17648: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5
CPPFLAGS="$cf_temp_flags"
test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6
-echo "${as_me:-configure}:17652: testing ... fixed $CPPFLAGS ..." 1>&5
+echo "${as_me:-configure}:17653: testing ... fixed $CPPFLAGS ..." 1>&5
test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6
-echo "${as_me:-configure}:17656: testing ... extra $EXTRA_CFLAGS ..." 1>&5
+echo "${as_me:-configure}:17657: testing ... extra $EXTRA_CFLAGS ..." 1>&5
fi
;;
then
test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6
-echo "${as_me:-configure}:17695: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5
+echo "${as_me:-configure}:17696: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5
LDFLAGS="$cf_temp_flags"
test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6
-echo "${as_me:-configure}:17700: testing ... fixed $LDFLAGS ..." 1>&5
+echo "${as_me:-configure}:17701: testing ... fixed $LDFLAGS ..." 1>&5
test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6
-echo "${as_me:-configure}:17704: testing ... extra $EXTRA_CFLAGS ..." 1>&5
+echo "${as_me:-configure}:17705: testing ... extra $EXTRA_CFLAGS ..." 1>&5
fi
;;
esac
fi
-echo "$as_me:17711: checking if you want to turn on gcc warnings" >&5
+echo "$as_me:17712: checking if you want to turn on gcc warnings" >&5
echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6
# Check whether --enable-warnings or --disable-warnings was given.
enable_warnings=no
fi;
-echo "$as_me:17728: result: $enable_warnings" >&5
+echo "$as_me:17729: result: $enable_warnings" >&5
echo "${ECHO_T}$enable_warnings" >&6
if test "$enable_warnings" = "yes"
then
done
cat >"conftest.$ac_ext" <<_ACEOF
-#line 17752 "configure"
+#line 17753 "configure"
#include "confdefs.h"
#include <stdlib.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:17767: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:17768: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:17770: \$? = $ac_status" >&5
+ echo "$as_me:17771: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:17773: \"$ac_try\"") >&5
+ { (eval echo "$as_me:17774: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:17776: \$? = $ac_status" >&5
+ echo "$as_me:17777: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
-echo "$as_me:17779: checking for X11/Xt const-feature" >&5
+echo "$as_me:17780: checking for X11/Xt const-feature" >&5
echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6
if test "${cf_cv_const_x_string+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 17786 "configure"
+#line 17787 "configure"
#include "confdefs.h"
#undef _CONST_X_STRING
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:17804: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:17805: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:17807: \$? = $ac_status" >&5
+ echo "$as_me:17808: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:17810: \"$ac_try\"") >&5
+ { (eval echo "$as_me:17811: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:17813: \$? = $ac_status" >&5
+ echo "$as_me:17814: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_const_x_string=no
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:17828: result: $cf_cv_const_x_string" >&5
+echo "$as_me:17829: result: $cf_cv_const_x_string" >&5
echo "${ECHO_T}$cf_cv_const_x_string" >&6
LIBS="$cf_save_LIBS_CF_CONST_X_STRING"
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
cat > "conftest.$ac_ext" <<EOF
-#line 17857 "${as_me:-configure}"
+#line 17858 "${as_me:-configure}"
int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
EOF
if test "$INTEL_COMPILER" = yes
# remark #981: operands are evaluated in unspecified order
# warning #279: controlling expression is constant
- { echo "$as_me:17873: checking for $CC warning options..." >&5
+ { echo "$as_me:17874: checking for $CC warning options..." >&5
echo "$as_me: checking for $CC warning options..." >&6;}
cf_save_CFLAGS="$CFLAGS"
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall"
wd981
do
CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
- if { (eval echo "$as_me:17889: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:17890: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:17892: \$? = $ac_status" >&5
+ echo "$as_me:17893: \$? = $ac_status" >&5
(exit "$ac_status"); }; then
- test -n "$verbose" && echo "$as_me:17894: result: ... -$cf_opt" >&5
+ test -n "$verbose" && echo "$as_me:17895: result: ... -$cf_opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6
EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
fi
CFLAGS="$cf_save_CFLAGS"
elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown"
then
- { echo "$as_me:17902: checking for $CC warning options..." >&5
+ { echo "$as_me:17903: checking for $CC warning options..." >&5
echo "$as_me: checking for $CC warning options..." >&6;}
cf_save_CFLAGS="$CFLAGS"
cf_warn_CONST=""
Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas Wswitch-enum
do
CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
- if { (eval echo "$as_me:17925: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:17926: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:17928: \$? = $ac_status" >&5
+ echo "$as_me:17929: \$? = $ac_status" >&5
(exit "$ac_status"); }; then
- test -n "$verbose" && echo "$as_me:17930: result: ... -$cf_opt" >&5
+ test -n "$verbose" && echo "$as_me:17931: result: ... -$cf_opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6
case "$cf_opt" in
(Winline)
([34].*)
test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6
-echo "${as_me:-configure}:17938: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
+echo "${as_me:-configure}:17939: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
continue;;
esac
([12].*)
test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6
-echo "${as_me:-configure}:17948: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
+echo "${as_me:-configure}:17949: testing feature is broken in gcc $GCC_VERSION ..." 1>&5
continue;;
esac
EOF
if test "$GCC" = yes
then
- { echo "$as_me:17981: checking for $CC __attribute__ directives..." >&5
+ { echo "$as_me:17982: checking for $CC __attribute__ directives..." >&5
echo "$as_me: checking for $CC __attribute__ directives..." >&6;}
cat > "conftest.$ac_ext" <<EOF
-#line 17984 "${as_me:-configure}"
+#line 17985 "${as_me:-configure}"
#include <stdio.h>
#include "confdefs.h"
#include "conftest.h"
;;
esac
- if { (eval echo "$as_me:18034: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:18035: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:18037: \$? = $ac_status" >&5
+ echo "$as_me:18038: \$? = $ac_status" >&5
(exit "$ac_status"); }; then
- test -n "$verbose" && echo "$as_me:18039: result: ... $cf_attribute" >&5
+ test -n "$verbose" && echo "$as_me:18040: result: ... $cf_attribute" >&5
echo "${ECHO_T}... $cf_attribute" >&6
cat conftest.h >>confdefs.h
case "$cf_attribute" in
if test "$GCC" = yes ; then
case "$host_os" in
(linux*|gnu*)
- echo "$as_me:18111: checking if this is really Intel C++ compiler" >&5
+ echo "$as_me:18112: checking if this is really Intel C++ compiler" >&5
echo $ECHO_N "checking if this is really Intel C++ compiler... $ECHO_C" >&6
cf_save_CFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -no-gcc"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 18116 "configure"
+#line 18117 "configure"
#include "confdefs.h"
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:18133: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:18134: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:18136: \$? = $ac_status" >&5
+ echo "$as_me:18137: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:18139: \"$ac_try\"") >&5
+ { (eval echo "$as_me:18140: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:18142: \$? = $ac_status" >&5
+ echo "$as_me:18143: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
INTEL_CPLUSPLUS=yes
cf_save_CFLAGS="$cf_save_CFLAGS -we147"
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
CXXFLAGS="$cf_save_CFLAGS"
- echo "$as_me:18153: result: $INTEL_CPLUSPLUS" >&5
+ echo "$as_me:18154: result: $INTEL_CPLUSPLUS" >&5
echo "${ECHO_T}$INTEL_CPLUSPLUS" >&6
;;
esac
CLANG_CPLUSPLUS=no
if test "$GCC" = yes ; then
- echo "$as_me:18162: checking if this is really Clang C++ compiler" >&5
+ echo "$as_me:18163: checking if this is really Clang C++ compiler" >&5
echo $ECHO_N "checking if this is really Clang C++ compiler... $ECHO_C" >&6
cf_save_CFLAGS="$CXXFLAGS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 18166 "configure"
+#line 18167 "configure"
#include "confdefs.h"
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:18183: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:18184: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:18186: \$? = $ac_status" >&5
+ echo "$as_me:18187: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:18189: \"$ac_try\"") >&5
+ { (eval echo "$as_me:18190: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:18192: \$? = $ac_status" >&5
+ echo "$as_me:18193: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
CLANG_CPLUSPLUS=yes
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
CXXFLAGS="$cf_save_CFLAGS"
- echo "$as_me:18202: result: $CLANG_CPLUSPLUS" >&5
+ echo "$as_me:18203: result: $CLANG_CPLUSPLUS" >&5
echo "${ECHO_T}$CLANG_CPLUSPLUS" >&6
fi
if test "x$CLANG_CPLUSPLUS" = "xyes" ; then
case "$CC" in
(c[1-9][0-9]|*/c[1-9][0-9])
- { echo "$as_me:18211: WARNING: replacing broken compiler alias $CC" >&5
+ { echo "$as_me:18212: WARNING: replacing broken compiler alias $CC" >&5
echo "$as_me: WARNING: replacing broken compiler alias $CC" >&2;}
CFLAGS="$CFLAGS -std=`echo "$CC" | sed -e 's%.*/%%'`"
CC=clang
;;
esac
- echo "$as_me:18218: checking version of $CC" >&5
+ echo "$as_me:18219: checking version of $CC" >&5
echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
CLANG_VERSION="`$CC --version 2>/dev/null | sed -e '2,$d' -e 's/^.*(CLANG[^)]*) //' -e 's/^.*(Debian[^)]*) //' -e 's/^[^0-9.]*//' -e 's/[^0-9.].*//'`"
test -z "$CLANG_VERSION" && CLANG_VERSION=unknown
- echo "$as_me:18222: result: $CLANG_VERSION" >&5
+ echo "$as_me:18223: result: $CLANG_VERSION" >&5
echo "${ECHO_T}$CLANG_VERSION" >&6
for cf_clang_opt in \
-Qunused-arguments \
-Wno-error=implicit-function-declaration
do
- echo "$as_me:18229: checking if option $cf_clang_opt works" >&5
+ echo "$as_me:18230: checking if option $cf_clang_opt works" >&5
echo $ECHO_N "checking if option $cf_clang_opt works... $ECHO_C" >&6
cf_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $cf_clang_opt"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 18234 "configure"
+#line 18235 "configure"
#include "confdefs.h"
#include <stdio.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:18248: \"$ac_link\"") >&5
+if { (eval echo "$as_me:18249: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:18251: \$? = $ac_status" >&5
+ echo "$as_me:18252: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:18254: \"$ac_try\"") >&5
+ { (eval echo "$as_me:18255: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:18257: \$? = $ac_status" >&5
+ echo "$as_me:18258: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_clang_optok=yes
cf_clang_optok=no
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
- echo "$as_me:18268: result: $cf_clang_optok" >&5
+ echo "$as_me:18269: result: $cf_clang_optok" >&5
echo "${ECHO_T}$cf_clang_optok" >&6
CFLAGS="$cf_save_CFLAGS"
if test "$cf_clang_optok" = yes; then
test -n "$verbose" && echo " adding option $cf_clang_opt" 1>&6
-echo "${as_me:-configure}:18274: testing adding option $cf_clang_opt ..." 1>&5
+echo "${as_me:-configure}:18275: testing adding option $cf_clang_opt ..." 1>&5
test -n "$CFLAGS" && CFLAGS="$CFLAGS "
CFLAGS="${CFLAGS}$cf_clang_opt"
ac_main_return="return"
cat > conftest.$ac_ext <<EOF
-#line 18291 "configure"
+#line 18292 "configure"
int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }
EOF
# remark #981: operands are evaluated in unspecified order
# warning #269: invalid format string conversion
- { echo "$as_me:18309: checking for $CC warning options..." >&5
+ { echo "$as_me:18310: checking for $CC warning options..." >&5
echo "$as_me: checking for $CC warning options..." >&6;}
cf_save_CXXFLAGS="$CXXFLAGS"
EXTRA_CXXFLAGS="-Wall"
wd981
do
CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -$cf_opt"
- if { (eval echo "$as_me:18326: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:18327: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:18329: \$? = $ac_status" >&5
+ echo "$as_me:18330: \$? = $ac_status" >&5
(exit "$ac_status"); }; then
- test -n "$verbose" && echo "$as_me:18331: result: ... -$cf_opt" >&5
+ test -n "$verbose" && echo "$as_me:18332: result: ... -$cf_opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt"
fi
elif test "$GXX" = yes
then
- { echo "$as_me:18340: checking for $CXX warning options..." >&5
+ { echo "$as_me:18341: checking for $CXX warning options..." >&5
echo "$as_me: checking for $CXX warning options..." >&6;}
cf_save_CXXFLAGS="$CXXFLAGS"
EXTRA_CXXFLAGS="-W -Wall"
Wundef $cf_gxx_extra_warnings Wno-unused
do
CXXFLAGS="$cf_save_CXXFLAGS $EXTRA_CXXFLAGS -Werror -$cf_opt"
- if { (eval echo "$as_me:18370: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:18371: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:18373: \$? = $ac_status" >&5
+ echo "$as_me:18374: \$? = $ac_status" >&5
(exit "$ac_status"); }; then
- test -n "$verbose" && echo "$as_me:18375: result: ... -$cf_opt" >&5
+ test -n "$verbose" && echo "$as_me:18376: result: ... -$cf_opt" >&5
echo "${ECHO_T}... -$cf_opt" >&6
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -$cf_opt"
else
- test -n "$verbose" && echo "$as_me:18379: result: ... no -$cf_opt" >&5
+ test -n "$verbose" && echo "$as_me:18380: result: ... no -$cf_opt" >&5
echo "${ECHO_T}... no -$cf_opt" >&6
fi
done
fi
fi
-echo "$as_me:18397: checking if you want to work around bogus compiler/loader warnings" >&5
+echo "$as_me:18398: checking if you want to work around bogus compiler/loader warnings" >&5
echo $ECHO_N "checking if you want to work around bogus compiler/loader warnings... $ECHO_C" >&6
# Check whether --enable-string-hacks or --disable-string-hacks was given.
else
enable_string_hacks=no
fi;
-echo "$as_me:18407: result: $enable_string_hacks" >&5
+echo "$as_me:18408: result: $enable_string_hacks" >&5
echo "${ECHO_T}$enable_string_hacks" >&6
if test "x$enable_string_hacks" = "xyes"; then
#define USE_STRING_HACKS 1
EOF
- { echo "$as_me:18416: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5
+ { echo "$as_me:18417: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&5
echo "$as_me: WARNING: enabling string-hacks to work around bogus compiler/loader warnings" >&2;}
- echo "$as_me:18418: checking for strlcat" >&5
+ echo "$as_me:18419: checking for strlcat" >&5
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
if test "${ac_cv_func_strlcat+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 18424 "configure"
+#line 18425 "configure"
#include "confdefs.h"
#define strlcat autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:18455: \"$ac_link\"") >&5
+if { (eval echo "$as_me:18456: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:18458: \$? = $ac_status" >&5
+ echo "$as_me:18459: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:18461: \"$ac_try\"") >&5
+ { (eval echo "$as_me:18462: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:18464: \$? = $ac_status" >&5
+ echo "$as_me:18465: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_strlcat=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:18474: result: $ac_cv_func_strlcat" >&5
+echo "$as_me:18475: result: $ac_cv_func_strlcat" >&5
echo "${ECHO_T}$ac_cv_func_strlcat" >&6
if test "$ac_cv_func_strlcat" = yes; then
else
- echo "$as_me:18484: checking for strlcat in -lbsd" >&5
+ echo "$as_me:18485: checking for strlcat in -lbsd" >&5
echo $ECHO_N "checking for strlcat in -lbsd... $ECHO_C" >&6
if test "${ac_cv_lib_bsd_strlcat+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-lbsd $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 18492 "configure"
+#line 18493 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:18511: \"$ac_link\"") >&5
+if { (eval echo "$as_me:18512: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:18514: \$? = $ac_status" >&5
+ echo "$as_me:18515: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:18517: \"$ac_try\"") >&5
+ { (eval echo "$as_me:18518: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:18520: \$? = $ac_status" >&5
+ echo "$as_me:18521: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_bsd_strlcat=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:18531: result: $ac_cv_lib_bsd_strlcat" >&5
+echo "$as_me:18532: result: $ac_cv_lib_bsd_strlcat" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_strlcat" >&6
if test "$ac_cv_lib_bsd_strlcat" = yes; then
for ac_header in bsd/string.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:18554: checking for $ac_header" >&5
+echo "$as_me:18555: 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 18560 "configure"
+#line 18561 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:18564: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:18565: \"$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:18570: \$? = $ac_status" >&5
+ echo "$as_me:18571: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:18589: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:18590: 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
for ac_func in strlcpy snprintf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:18610: checking for $ac_func" >&5
+echo "$as_me:18611: 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 18616 "configure"
+#line 18617 "configure"
#include "confdefs.h"
#define $ac_func autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:18647: \"$ac_link\"") >&5
+if { (eval echo "$as_me:18648: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:18650: \$? = $ac_status" >&5
+ echo "$as_me:18651: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:18653: \"$ac_try\"") >&5
+ { (eval echo "$as_me:18654: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:18656: \$? = $ac_status" >&5
+ echo "$as_me:18657: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
eval "$as_ac_var=yes"
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:18666: result: `eval echo '${'"$as_ac_var"'}'`" >&5
+echo "$as_me:18667: 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
fi
### use option --enable-assertions to turn on generation of assertion code
-echo "$as_me:18679: checking if you want to enable runtime assertions" >&5
+echo "$as_me:18680: checking if you want to enable runtime assertions" >&5
echo $ECHO_N "checking if you want to enable runtime assertions... $ECHO_C" >&6
# Check whether --enable-assertions or --disable-assertions was given.
else
with_assertions=no
fi;
-echo "$as_me:18689: result: $with_assertions" >&5
+echo "$as_me:18690: result: $with_assertions" >&5
echo "${ECHO_T}$with_assertions" >&6
if test -n "$GCC"
then
### use option --disable-leaks to suppress "permanent" leaks, for testing
-echo "$as_me:18705: checking if you want to use dmalloc for testing" >&5
+echo "$as_me:18706: checking if you want to use dmalloc for testing" >&5
echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6
# Check whether --with-dmalloc or --without-dmalloc was given.
else
with_dmalloc=
fi;
-echo "$as_me:18727: result: ${with_dmalloc:-no}" >&5
+echo "$as_me:18728: result: ${with_dmalloc:-no}" >&5
echo "${ECHO_T}${with_dmalloc:-no}" >&6
case ".$with_cflags" in
esac
if test "$with_dmalloc" = yes ; then
- echo "$as_me:18841: checking for dmalloc.h" >&5
+ echo "$as_me:18842: checking for dmalloc.h" >&5
echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dmalloc_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 18847 "configure"
+#line 18848 "configure"
#include "confdefs.h"
#include <dmalloc.h>
_ACEOF
-if { (eval echo "$as_me:18851: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:18852: \"$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:18857: \$? = $ac_status" >&5
+ echo "$as_me:18858: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:18876: result: $ac_cv_header_dmalloc_h" >&5
+echo "$as_me:18877: result: $ac_cv_header_dmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6
if test "$ac_cv_header_dmalloc_h" = yes; then
-echo "$as_me:18880: checking for dmalloc_debug in -ldmalloc" >&5
+echo "$as_me:18881: checking for dmalloc_debug in -ldmalloc" >&5
echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldmalloc $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 18888 "configure"
+#line 18889 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:18907: \"$ac_link\"") >&5
+if { (eval echo "$as_me:18908: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:18910: \$? = $ac_status" >&5
+ echo "$as_me:18911: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:18913: \"$ac_try\"") >&5
+ { (eval echo "$as_me:18914: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:18916: \$? = $ac_status" >&5
+ echo "$as_me:18917: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_dmalloc_dmalloc_debug=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:18927: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
+echo "$as_me:18928: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5
echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6
if test "$ac_cv_lib_dmalloc_dmalloc_debug" = yes; then
cat >>confdefs.h <<EOF
fi
-echo "$as_me:18942: checking if you want to use dbmalloc for testing" >&5
+echo "$as_me:18943: checking if you want to use dbmalloc for testing" >&5
echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6
# Check whether --with-dbmalloc or --without-dbmalloc was given.
else
with_dbmalloc=
fi;
-echo "$as_me:18964: result: ${with_dbmalloc:-no}" >&5
+echo "$as_me:18965: result: ${with_dbmalloc:-no}" >&5
echo "${ECHO_T}${with_dbmalloc:-no}" >&6
case ".$with_cflags" in
esac
if test "$with_dbmalloc" = yes ; then
- echo "$as_me:19078: checking for dbmalloc.h" >&5
+ echo "$as_me:19079: checking for dbmalloc.h" >&5
echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6
if test "${ac_cv_header_dbmalloc_h+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19084 "configure"
+#line 19085 "configure"
#include "confdefs.h"
#include <dbmalloc.h>
_ACEOF
-if { (eval echo "$as_me:19088: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:19089: \"$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:19094: \$? = $ac_status" >&5
+ echo "$as_me:19095: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:19113: result: $ac_cv_header_dbmalloc_h" >&5
+echo "$as_me:19114: result: $ac_cv_header_dbmalloc_h" >&5
echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6
if test "$ac_cv_header_dbmalloc_h" = yes; then
-echo "$as_me:19117: checking for debug_malloc in -ldbmalloc" >&5
+echo "$as_me:19118: checking for debug_malloc in -ldbmalloc" >&5
echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6
if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldbmalloc $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19125 "configure"
+#line 19126 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19144: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19145: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19147: \$? = $ac_status" >&5
+ echo "$as_me:19148: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19150: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19151: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19153: \$? = $ac_status" >&5
+ echo "$as_me:19154: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_dbmalloc_debug_malloc=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:19164: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
+echo "$as_me:19165: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5
echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6
if test "$ac_cv_lib_dbmalloc_debug_malloc" = yes; then
cat >>confdefs.h <<EOF
fi
-echo "$as_me:19179: checking if you want to use valgrind for testing" >&5
+echo "$as_me:19180: checking if you want to use valgrind for testing" >&5
echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6
# Check whether --with-valgrind or --without-valgrind was given.
else
with_valgrind=
fi;
-echo "$as_me:19201: result: ${with_valgrind:-no}" >&5
+echo "$as_me:19202: result: ${with_valgrind:-no}" >&5
echo "${ECHO_T}${with_valgrind:-no}" >&6
case ".$with_cflags" in
;;
esac
-echo "$as_me:19314: checking if you want to perform memory-leak testing" >&5
+echo "$as_me:19315: checking if you want to perform memory-leak testing" >&5
echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6
# Check whether --enable-leaks or --disable-leaks was given.
enable_leaks=yes
fi;
if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi
-echo "$as_me:19325: result: $with_no_leaks" >&5
+echo "$as_me:19326: result: $with_no_leaks" >&5
echo "${ECHO_T}$with_no_leaks" >&6
if test "$enable_leaks" = no ; then
;;
esac
-echo "$as_me:19377: checking whether to add trace feature to all models" >&5
+echo "$as_me:19378: checking whether to add trace feature to all models" >&5
echo $ECHO_N "checking whether to add trace feature to all models... $ECHO_C" >&6
# Check whether --with-trace or --without-trace was given.
else
cf_with_trace=$cf_all_traces
fi;
-echo "$as_me:19387: result: $cf_with_trace" >&5
+echo "$as_me:19388: result: $cf_with_trace" >&5
echo "${ECHO_T}$cf_with_trace" >&6
if test "x$cf_with_trace" = xyes ; then
ADA_TRACE=FALSE
fi
-echo "$as_me:19407: checking if we want to use GNAT projects" >&5
+echo "$as_me:19408: checking if we want to use GNAT projects" >&5
echo $ECHO_N "checking if we want to use GNAT projects... $ECHO_C" >&6
# Check whether --enable-gnat-projects or --disable-gnat-projects was given.
enable_gnat_projects=yes
fi;
-echo "$as_me:19424: result: $enable_gnat_projects" >&5
+echo "$as_me:19425: result: $enable_gnat_projects" >&5
echo "${ECHO_T}$enable_gnat_projects" >&6
### Checks for libraries.
CPPFLAGS="$CPPFLAGS -DWINVER=0x0501 -DWIN32_LEAN_AND_MEAN"
fi
-echo "$as_me:19437: checking if ssp library is needed" >&5
+echo "$as_me:19438: checking if ssp library is needed" >&5
echo $ECHO_N "checking if ssp library is needed... $ECHO_C" >&6
if test "${cf_cv_need_libssp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19444 "configure"
+#line 19445 "configure"
#include "confdefs.h"
#include <sys/types.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19461: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19462: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19464: \$? = $ac_status" >&5
+ echo "$as_me:19465: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19467: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19468: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19470: \$? = $ac_status" >&5
+ echo "$as_me:19471: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_need_libssp=no
else
cf_save_LIBS="$LIBS"
LIBS="$LIBS -lssp"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19480 "configure"
+#line 19481 "configure"
#include "confdefs.h"
#include <sys/types.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19497: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19498: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19500: \$? = $ac_status" >&5
+ echo "$as_me:19501: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19503: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19504: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19506: \$? = $ac_status" >&5
+ echo "$as_me:19507: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_need_libssp=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:19520: result: $cf_cv_need_libssp" >&5
+echo "$as_me:19521: result: $cf_cv_need_libssp" >&5
echo "${ECHO_T}$cf_cv_need_libssp" >&6
if test "x$cf_cv_need_libssp" = xyes
;;
esac
-echo "$as_me:19549: checking if -lm needed for math functions" >&5
+echo "$as_me:19550: checking if -lm needed for math functions" >&5
echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6
if test "${cf_cv_need_libm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19556 "configure"
+#line 19557 "configure"
#include "confdefs.h"
#include <stdio.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19572: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19573: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19575: \$? = $ac_status" >&5
+ echo "$as_me:19576: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19578: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19579: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19581: \$? = $ac_status" >&5
+ echo "$as_me:19582: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_need_libm=no
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:19591: result: $cf_cv_need_libm" >&5
+echo "$as_me:19592: result: $cf_cv_need_libm" >&5
echo "${ECHO_T}$cf_cv_need_libm" >&6
if test "$cf_cv_need_libm" = yes
cf_save_LIBS="$LIBS"
LIBS="$LIBS -lm"
- echo "$as_me:19599: checking if -lm is available for math functions" >&5
+ echo "$as_me:19600: checking if -lm is available for math functions" >&5
echo $ECHO_N "checking if -lm is available for math functions... $ECHO_C" >&6
if test "${cf_cv_have_libm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19606 "configure"
+#line 19607 "configure"
#include "confdefs.h"
#include <stdio.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19622: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19623: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19625: \$? = $ac_status" >&5
+ echo "$as_me:19626: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19628: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19629: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19631: \$? = $ac_status" >&5
+ echo "$as_me:19632: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have_libm=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:19641: result: $cf_cv_have_libm" >&5
+echo "$as_me:19642: result: $cf_cv_have_libm" >&5
echo "${ECHO_T}$cf_cv_have_libm" >&6
LIBS="$cf_save_LIBS"
fi
### Checks for header files.
-echo "$as_me:19663: checking whether time.h and sys/time.h may both be included" >&5
+echo "$as_me:19664: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19669 "configure"
+#line 19670 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:19685: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:19686: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:19688: \$? = $ac_status" >&5
+ echo "$as_me:19689: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:19691: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19692: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19694: \$? = $ac_status" >&5
+ echo "$as_me:19695: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_header_time=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:19704: result: $ac_cv_header_time" >&5
+echo "$as_me:19705: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
if test $ac_cv_header_time = yes; then
case "$host_os" in
(mingw*)
# -lsystre -ltre -lintl -liconv
- echo "$as_me:19719: checking for regcomp in -lsystre" >&5
+ echo "$as_me:19720: checking for regcomp in -lsystre" >&5
echo $ECHO_N "checking for regcomp in -lsystre... $ECHO_C" >&6
if test "${ac_cv_lib_systre_regcomp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-lsystre $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19727 "configure"
+#line 19728 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19746: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19747: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19749: \$? = $ac_status" >&5
+ echo "$as_me:19750: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19752: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19753: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19755: \$? = $ac_status" >&5
+ echo "$as_me:19756: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_systre_regcomp=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:19766: result: $ac_cv_lib_systre_regcomp" >&5
+echo "$as_me:19767: result: $ac_cv_lib_systre_regcomp" >&5
echo "${ECHO_T}$ac_cv_lib_systre_regcomp" >&6
if test "$ac_cv_lib_systre_regcomp" = yes; then
- echo "$as_me:19770: checking for libiconv_open in -liconv" >&5
+ echo "$as_me:19771: checking for libiconv_open in -liconv" >&5
echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6
if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-liconv $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19778 "configure"
+#line 19779 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19797: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19798: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19800: \$? = $ac_status" >&5
+ echo "$as_me:19801: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19803: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19804: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19806: \$? = $ac_status" >&5
+ echo "$as_me:19807: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_iconv_libiconv_open=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:19817: result: $ac_cv_lib_iconv_libiconv_open" >&5
+echo "$as_me:19818: result: $ac_cv_lib_iconv_libiconv_open" >&5
echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6
if test "$ac_cv_lib_iconv_libiconv_open" = yes; then
fi
- echo "$as_me:19839: checking for libintl_gettext in -lintl" >&5
+ echo "$as_me:19840: checking for libintl_gettext in -lintl" >&5
echo $ECHO_N "checking for libintl_gettext in -lintl... $ECHO_C" >&6
if test "${ac_cv_lib_intl_libintl_gettext+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-lintl $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19847 "configure"
+#line 19848 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19866: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19867: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19869: \$? = $ac_status" >&5
+ echo "$as_me:19870: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19872: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19873: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19875: \$? = $ac_status" >&5
+ echo "$as_me:19876: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_intl_libintl_gettext=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:19886: result: $ac_cv_lib_intl_libintl_gettext" >&5
+echo "$as_me:19887: result: $ac_cv_lib_intl_libintl_gettext" >&5
echo "${ECHO_T}$ac_cv_lib_intl_libintl_gettext" >&6
if test "$ac_cv_lib_intl_libintl_gettext" = yes; then
fi
- echo "$as_me:19908: checking for tre_regcomp in -ltre" >&5
+ echo "$as_me:19909: checking for tre_regcomp in -ltre" >&5
echo $ECHO_N "checking for tre_regcomp in -ltre... $ECHO_C" >&6
if test "${ac_cv_lib_tre_tre_regcomp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-ltre $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 19916 "configure"
+#line 19917 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:19935: \"$ac_link\"") >&5
+if { (eval echo "$as_me:19936: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:19938: \$? = $ac_status" >&5
+ echo "$as_me:19939: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:19941: \"$ac_try\"") >&5
+ { (eval echo "$as_me:19942: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:19944: \$? = $ac_status" >&5
+ echo "$as_me:19945: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_tre_tre_regcomp=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:19955: result: $ac_cv_lib_tre_tre_regcomp" >&5
+echo "$as_me:19956: result: $ac_cv_lib_tre_tre_regcomp" >&5
echo "${ECHO_T}$ac_cv_lib_tre_tre_regcomp" >&6
if test "$ac_cv_lib_tre_tre_regcomp" = yes; then
else
- echo "$as_me:19997: checking for regcomp in -lgnurx" >&5
+ echo "$as_me:19998: checking for regcomp in -lgnurx" >&5
echo $ECHO_N "checking for regcomp in -lgnurx... $ECHO_C" >&6
if test "${ac_cv_lib_gnurx_regcomp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgnurx $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20005 "configure"
+#line 20006 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20024: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20025: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20027: \$? = $ac_status" >&5
+ echo "$as_me:20028: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20030: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20031: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20033: \$? = $ac_status" >&5
+ echo "$as_me:20034: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_gnurx_regcomp=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:20044: result: $ac_cv_lib_gnurx_regcomp" >&5
+echo "$as_me:20045: result: $ac_cv_lib_gnurx_regcomp" >&5
echo "${ECHO_T}$ac_cv_lib_gnurx_regcomp" >&6
if test "$ac_cv_lib_gnurx_regcomp" = yes; then
;;
(*)
cf_regex_libs="regex re"
- echo "$as_me:20072: checking for regcomp" >&5
+ echo "$as_me:20073: checking for regcomp" >&5
echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
if test "${ac_cv_func_regcomp+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20078 "configure"
+#line 20079 "configure"
#include "confdefs.h"
#define regcomp autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20109: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20110: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20112: \$? = $ac_status" >&5
+ echo "$as_me:20113: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20115: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20116: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20118: \$? = $ac_status" >&5
+ echo "$as_me:20119: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_regcomp=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:20128: result: $ac_cv_func_regcomp" >&5
+echo "$as_me:20129: result: $ac_cv_func_regcomp" >&5
echo "${ECHO_T}$ac_cv_func_regcomp" >&6
if test "$ac_cv_func_regcomp" = yes; then
cf_regex_func=regcomp
for cf_regex_lib in $cf_regex_libs
do
as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh`
-echo "$as_me:20137: checking for regcomp in -l$cf_regex_lib" >&5
+echo "$as_me:20138: checking for regcomp in -l$cf_regex_lib" >&5
echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-l$cf_regex_lib $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20145 "configure"
+#line 20146 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20164: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20165: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20167: \$? = $ac_status" >&5
+ echo "$as_me:20168: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20170: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20171: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20173: \$? = $ac_status" >&5
+ echo "$as_me:20174: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
eval "$as_ac_Lib=yes"
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:20184: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5
+echo "$as_me:20185: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5
echo "${ECHO_T}`eval echo '${'"$as_ac_Lib"'}'`" >&6
if test "`eval echo '${'"$as_ac_Lib"'}'`" = yes; then
esac
if test "$cf_regex_func" = no ; then
- echo "$as_me:20216: checking for compile" >&5
+ echo "$as_me:20217: checking for compile" >&5
echo $ECHO_N "checking for compile... $ECHO_C" >&6
if test "${ac_cv_func_compile+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20222 "configure"
+#line 20223 "configure"
#include "confdefs.h"
#define compile autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20253: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20254: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20256: \$? = $ac_status" >&5
+ echo "$as_me:20257: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20259: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20260: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20262: \$? = $ac_status" >&5
+ echo "$as_me:20263: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_compile=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:20272: result: $ac_cv_func_compile" >&5
+echo "$as_me:20273: result: $ac_cv_func_compile" >&5
echo "${ECHO_T}$ac_cv_func_compile" >&6
if test "$ac_cv_func_compile" = yes; then
cf_regex_func=compile
else
- echo "$as_me:20278: checking for compile in -lgen" >&5
+ echo "$as_me:20279: checking for compile in -lgen" >&5
echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6
if test "${ac_cv_lib_gen_compile+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
ac_check_lib_save_LIBS=$LIBS
LIBS="-lgen $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20286 "configure"
+#line 20287 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20305: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20306: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20308: \$? = $ac_status" >&5
+ echo "$as_me:20309: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20311: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20312: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20314: \$? = $ac_status" >&5
+ echo "$as_me:20315: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_gen_compile=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:20325: result: $ac_cv_lib_gen_compile" >&5
+echo "$as_me:20326: result: $ac_cv_lib_gen_compile" >&5
echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6
if test "$ac_cv_lib_gen_compile" = yes; then
fi
if test "$cf_regex_func" = no ; then
- { echo "$as_me:20353: WARNING: cannot find regular expression library" >&5
+ { echo "$as_me:20354: WARNING: cannot find regular expression library" >&5
echo "$as_me: WARNING: cannot find regular expression library" >&2;}
fi
-echo "$as_me:20357: checking for regular-expression headers" >&5
+echo "$as_me:20358: checking for regular-expression headers" >&5
echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6
if test "${cf_cv_regex_hdrs+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
for cf_regex_hdr in regexp.h regexpr.h
do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20369 "configure"
+#line 20370 "configure"
#include "confdefs.h"
#include <$cf_regex_hdr>
int
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20386: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20387: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20389: \$? = $ac_status" >&5
+ echo "$as_me:20390: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20392: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20393: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20395: \$? = $ac_status" >&5
+ echo "$as_me:20396: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_regex_hdrs=$cf_regex_hdr
for cf_regex_hdr in regex.h
do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20412 "configure"
+#line 20413 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$cf_regex_hdr>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20432: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20433: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20435: \$? = $ac_status" >&5
+ echo "$as_me:20436: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20438: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20439: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20441: \$? = $ac_status" >&5
+ echo "$as_me:20442: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_regex_hdrs=$cf_regex_hdr
esac
fi
-echo "$as_me:20457: result: $cf_cv_regex_hdrs" >&5
+echo "$as_me:20458: result: $cf_cv_regex_hdrs" >&5
echo "${ECHO_T}$cf_cv_regex_hdrs" >&6
case "$cf_cv_regex_hdrs" in
- (no) { echo "$as_me:20461: WARNING: no regular expression header found" >&5
+ (no) { echo "$as_me:20462: WARNING: no regular expression header found" >&5
echo "$as_me: WARNING: no regular expression header found" >&2;} ;;
(regex.h)
cat >>confdefs.h <<\EOF
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:20499: checking for $ac_header" >&5
+echo "$as_me:20500: 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 20505 "configure"
+#line 20506 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:20509: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:20510: \"$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:20515: \$? = $ac_status" >&5
+ echo "$as_me:20516: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:20534: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:20535: 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
for ac_header in unistd.h getopt.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:20547: checking for $ac_header" >&5
+echo "$as_me:20548: 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 20553 "configure"
+#line 20554 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:20557: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:20558: \"$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:20563: \$? = $ac_status" >&5
+ echo "$as_me:20564: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:20582: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:20583: 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
fi
done
-echo "$as_me:20592: checking for header declaring getopt variables" >&5
+echo "$as_me:20593: 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
for cf_header in stdio.h stdlib.h unistd.h getopt.h
do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20602 "configure"
+#line 20603 "configure"
#include "confdefs.h"
#include <$cf_header>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:20615: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:20616: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:20618: \$? = $ac_status" >&5
+ echo "$as_me:20619: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:20621: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20622: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20624: \$? = $ac_status" >&5
+ echo "$as_me:20625: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_getopt_header=$cf_header
break
done
fi
-echo "$as_me:20636: result: $cf_cv_getopt_header" >&5
+echo "$as_me:20637: result: $cf_cv_getopt_header" >&5
echo "${ECHO_T}$cf_cv_getopt_header" >&6
if test "$cf_cv_getopt_header" != none ; then
fi
-echo "$as_me:20653: checking if external environ is declared" >&5
+echo "$as_me:20654: 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 20660 "configure"
+#line 20661 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:20673: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:20674: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:20676: \$? = $ac_status" >&5
+ echo "$as_me:20677: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:20679: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20680: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20682: \$? = $ac_status" >&5
+ echo "$as_me:20683: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_dcl_environ=yes
else
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:20693: result: $cf_cv_dcl_environ" >&5
+echo "$as_me:20694: result: $cf_cv_dcl_environ" >&5
echo "${ECHO_T}$cf_cv_dcl_environ" >&6
if test "$cf_cv_dcl_environ" = no ; then
# It's possible (for near-UNIX clones) that the data doesn't exist
-echo "$as_me:20708: checking if external environ exists" >&5
+echo "$as_me:20709: 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 20715 "configure"
+#line 20716 "configure"
#include "confdefs.h"
#undef environ
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20730: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20731: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20733: \$? = $ac_status" >&5
+ echo "$as_me:20734: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20736: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20737: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20739: \$? = $ac_status" >&5
+ echo "$as_me:20740: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have_environ=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:20750: result: $cf_cv_have_environ" >&5
+echo "$as_me:20751: result: $cf_cv_have_environ" >&5
echo "${ECHO_T}$cf_cv_have_environ" >&6
if test "$cf_cv_have_environ" = yes ; then
fi
-echo "$as_me:20763: checking for getenv" >&5
+echo "$as_me:20764: 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 20769 "configure"
+#line 20770 "configure"
#include "confdefs.h"
#define getenv autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20800: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20801: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20803: \$? = $ac_status" >&5
+ echo "$as_me:20804: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20806: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20807: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20809: \$? = $ac_status" >&5
+ echo "$as_me:20810: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_getenv=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:20819: result: $ac_cv_func_getenv" >&5
+echo "$as_me:20820: 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:20825: checking for $ac_func" >&5
+echo "$as_me:20826: 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 20831 "configure"
+#line 20832 "configure"
#include "confdefs.h"
#define $ac_func autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:20862: \"$ac_link\"") >&5
+if { (eval echo "$as_me:20863: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:20865: \$? = $ac_status" >&5
+ echo "$as_me:20866: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:20868: \"$ac_try\"") >&5
+ { (eval echo "$as_me:20869: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:20871: \$? = $ac_status" >&5
+ echo "$as_me:20872: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
eval "$as_ac_var=yes"
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:20881: result: `eval echo '${'"$as_ac_var"'}'`" >&5
+echo "$as_me:20882: 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
fi
done
-echo "$as_me:20891: checking if getenv returns consistent values" >&5
+echo "$as_me:20892: 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
cf_cv_consistent_getenv=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 20901 "configure"
+#line 20902 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:21006: \"$ac_link\"") >&5
+if { (eval echo "$as_me:21007: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:21009: \$? = $ac_status" >&5
+ echo "$as_me:21010: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:21011: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21012: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21014: \$? = $ac_status" >&5
+ echo "$as_me:21015: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_consistent_getenv=yes
else
fi
fi
-echo "$as_me:21027: result: $cf_cv_consistent_getenv" >&5
+echo "$as_me:21028: result: $cf_cv_consistent_getenv" >&5
echo "${ECHO_T}$cf_cv_consistent_getenv" >&6
if test "x$cf_cv_consistent_getenv" = xno
if test "x$cf_cv_consistent_getenv" = xno && \
test "x$cf_with_trace" = xyes
then
- { echo "$as_me:21042: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5
+ { echo "$as_me:21043: 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:21046: checking if sys/time.h works with sys/select.h" >&5
+echo "$as_me:21047: 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 21053 "configure"
+#line 21054 "configure"
#include "confdefs.h"
#include <sys/types.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:21073: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:21074: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21076: \$? = $ac_status" >&5
+ echo "$as_me:21077: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:21079: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21080: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21082: \$? = $ac_status" >&5
+ echo "$as_me:21083: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_sys_time_select=yes
else
fi
-echo "$as_me:21094: result: $cf_cv_sys_time_select" >&5
+echo "$as_me:21095: 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
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_main_return="return"
-echo "$as_me:21109: checking for an ANSI C-conforming const" >&5
+echo "$as_me:21110: 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 21115 "configure"
+#line 21116 "configure"
#include "confdefs.h"
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:21177: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:21178: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21180: \$? = $ac_status" >&5
+ echo "$as_me:21181: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:21183: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21184: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21186: \$? = $ac_status" >&5
+ echo "$as_me:21187: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_c_const=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:21196: result: $ac_cv_c_const" >&5
+echo "$as_me:21197: result: $ac_cv_c_const" >&5
echo "${ECHO_T}$ac_cv_c_const" >&6
if test $ac_cv_c_const = no; then
fi
-echo "$as_me:21206: checking for inline" >&5
+echo "$as_me:21207: 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
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 21214 "configure"
+#line 21215 "configure"
#include "confdefs.h"
#ifndef __cplusplus
static $ac_kw int static_foo (void) {return 0; }
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:21223: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:21224: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21226: \$? = $ac_status" >&5
+ echo "$as_me:21227: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:21229: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21230: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21232: \$? = $ac_status" >&5
+ echo "$as_me:21233: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_c_inline=$ac_kw; break
else
done
fi
-echo "$as_me:21243: result: $ac_cv_c_inline" >&5
+echo "$as_me:21244: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6
case $ac_cv_c_inline in
inline | yes) ;;
:
elif test "$GCC" = yes
then
- echo "$as_me:21269: checking if $CC supports options to tune inlining" >&5
+ echo "$as_me:21270: 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
cf_save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS --param max-inline-insns-single=1200"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 21278 "configure"
+#line 21279 "configure"
#include "confdefs.h"
inline int foo(void) { return 1; }
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:21290: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:21291: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21293: \$? = $ac_status" >&5
+ echo "$as_me:21294: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:21296: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21297: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21299: \$? = $ac_status" >&5
+ echo "$as_me:21300: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_gcc_inline=yes
else
CFLAGS=$cf_save_CFLAGS
fi
-echo "$as_me:21311: result: $cf_cv_gcc_inline" >&5
+echo "$as_me:21312: result: $cf_cv_gcc_inline" >&5
echo "${ECHO_T}$cf_cv_gcc_inline" >&6
if test "$cf_cv_gcc_inline" = yes ; then
fi
fi
-echo "$as_me:21417: checking for signal global datatype" >&5
+echo "$as_me:21418: 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
"int"
do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 21429 "configure"
+#line 21430 "configure"
#include "confdefs.h"
#include <sys/types.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:21453: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:21454: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21456: \$? = $ac_status" >&5
+ echo "$as_me:21457: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:21459: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21460: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21462: \$? = $ac_status" >&5
+ echo "$as_me:21463: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_sig_atomic_t=$cf_type
else
fi
-echo "$as_me:21476: result: $cf_cv_sig_atomic_t" >&5
+echo "$as_me:21477: 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
if test "$NCURSES_CHTYPE" = auto ; then
-echo "$as_me:21485: checking for type of chtype" >&5
+echo "$as_me:21486: 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
cf_cv_typeof_chtype=long
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 21495 "configure"
+#line 21496 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:21530: \"$ac_link\"") >&5
+if { (eval echo "$as_me:21531: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:21533: \$? = $ac_status" >&5
+ echo "$as_me:21534: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:21535: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21536: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21538: \$? = $ac_status" >&5
+ echo "$as_me:21539: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_typeof_chtype=`cat cf_test.out`
else
fi
-echo "$as_me:21553: result: $cf_cv_typeof_chtype" >&5
+echo "$as_me:21554: result: $cf_cv_typeof_chtype" >&5
echo "${ECHO_T}$cf_cv_typeof_chtype" >&6
cat >>confdefs.h <<EOF
fi
test "$cf_cv_typeof_chtype" = unsigned && cf_cv_typeof_chtype=""
-echo "$as_me:21565: checking if unsigned literals are legal" >&5
+echo "$as_me:21566: 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 21572 "configure"
+#line 21573 "configure"
#include "confdefs.h"
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:21584: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:21585: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21587: \$? = $ac_status" >&5
+ echo "$as_me:21588: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:21590: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21591: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21593: \$? = $ac_status" >&5
+ echo "$as_me:21594: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_unsigned_literals=yes
else
fi
-echo "$as_me:21605: result: $cf_cv_unsigned_literals" >&5
+echo "$as_me:21606: result: $cf_cv_unsigned_literals" >&5
echo "${ECHO_T}$cf_cv_unsigned_literals" >&6
cf_cv_1UL="1"
### Checks for external-data
-echo "$as_me:21621: checking if external errno is declared" >&5
+echo "$as_me:21622: 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 21628 "configure"
+#line 21629 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:21642: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:21643: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21645: \$? = $ac_status" >&5
+ echo "$as_me:21646: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:21648: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21649: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21651: \$? = $ac_status" >&5
+ echo "$as_me:21652: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_dcl_errno=yes
else
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:21662: result: $cf_cv_dcl_errno" >&5
+echo "$as_me:21663: result: $cf_cv_dcl_errno" >&5
echo "${ECHO_T}$cf_cv_dcl_errno" >&6
if test "$cf_cv_dcl_errno" = no ; then
# It's possible (for near-UNIX clones) that the data doesn't exist
-echo "$as_me:21677: checking if external errno exists" >&5
+echo "$as_me:21678: 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 21684 "configure"
+#line 21685 "configure"
#include "confdefs.h"
#undef errno
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:21699: \"$ac_link\"") >&5
+if { (eval echo "$as_me:21700: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:21702: \$? = $ac_status" >&5
+ echo "$as_me:21703: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:21705: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21706: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21708: \$? = $ac_status" >&5
+ echo "$as_me:21709: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have_errno=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:21719: result: $cf_cv_have_errno" >&5
+echo "$as_me:21720: result: $cf_cv_have_errno" >&5
echo "${ECHO_T}$cf_cv_have_errno" >&6
if test "$cf_cv_have_errno" = yes ; then
fi
-echo "$as_me:21732: checking if data-only library module links" >&5
+echo "$as_me:21733: 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
rm -f conftest.a
cat >conftest.$ac_ext <<EOF
-#line 21740 "configure"
+#line 21741 "configure"
int testdata[3] = { 123, 456, 789 };
EOF
- if { (eval echo "$as_me:21743: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:21744: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21746: \$? = $ac_status" >&5
+ echo "$as_me:21747: \$? = $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 21753 "configure"
+#line 21754 "configure"
extern int testfunc(void);
#if defined(NeXT)
int testfunc(void)
}
#endif
EOF
- if { (eval echo "$as_me:21770: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:21771: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:21773: \$? = $ac_status" >&5
+ echo "$as_me:21774: \$? = $ac_status" >&5
(exit "$ac_status"); }; then
mv conftest.o func.o && \
( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null
cf_cv_link_dataonly=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 21786 "configure"
+#line 21787 "configure"
#include "confdefs.h"
extern int testfunc(void);
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:21797: \"$ac_link\"") >&5
+if { (eval echo "$as_me:21798: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:21800: \$? = $ac_status" >&5
+ echo "$as_me:21801: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:21802: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21803: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21805: \$? = $ac_status" >&5
+ echo "$as_me:21806: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_link_dataonly=yes
else
fi
-echo "$as_me:21820: result: $cf_cv_link_dataonly" >&5
+echo "$as_me:21821: result: $cf_cv_link_dataonly" >&5
echo "${ECHO_T}$cf_cv_link_dataonly" >&6
if test "$cf_cv_link_dataonly" = no ; then
### Checks for library functions.
cf_save_libs="$LIBS"
-echo "$as_me:21835: checking for clock_gettime" >&5
+echo "$as_me:21836: 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 21841 "configure"
+#line 21842 "configure"
#include "confdefs.h"
#define clock_gettime autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:21872: \"$ac_link\"") >&5
+if { (eval echo "$as_me:21873: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:21875: \$? = $ac_status" >&5
+ echo "$as_me:21876: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:21878: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21879: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21881: \$? = $ac_status" >&5
+ echo "$as_me:21882: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_clock_gettime=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:21891: result: $ac_cv_func_clock_gettime" >&5
+echo "$as_me:21892: 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:21896: checking for clock_gettime in -lrt" >&5
+ echo "$as_me:21897: 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
ac_check_lib_save_LIBS=$LIBS
LIBS="-lrt $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 21904 "configure"
+#line 21905 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:21923: \"$ac_link\"") >&5
+if { (eval echo "$as_me:21924: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:21926: \$? = $ac_status" >&5
+ echo "$as_me:21927: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:21929: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21930: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21932: \$? = $ac_status" >&5
+ echo "$as_me:21933: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_rt_clock_gettime=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:21943: result: $ac_cv_lib_rt_clock_gettime" >&5
+echo "$as_me:21944: 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"
fi
if test "$cf_cv_test_clock_gettime" = yes ; then
-echo "$as_me:21955: checking if clock_gettime links" >&5
+echo "$as_me:21956: 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 21962 "configure"
+#line 21963 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:21980: \"$ac_link\"") >&5
+if { (eval echo "$as_me:21981: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:21983: \$? = $ac_status" >&5
+ echo "$as_me:21984: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:21986: \"$ac_try\"") >&5
+ { (eval echo "$as_me:21987: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:21989: \$? = $ac_status" >&5
+ echo "$as_me:21990: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_clock_gettime=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22000: result: $cf_cv_func_clock_gettime" >&5
+echo "$as_me:22001: result: $cf_cv_func_clock_gettime" >&5
echo "${ECHO_T}$cf_cv_func_clock_gettime" >&6
else
cf_cv_func_clock_gettime=no
EOF
else
-echo "$as_me:22014: checking for gettimeofday" >&5
+echo "$as_me:22015: 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 22020 "configure"
+#line 22021 "configure"
#include "confdefs.h"
#define gettimeofday autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22051: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22052: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22054: \$? = $ac_status" >&5
+ echo "$as_me:22055: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22057: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22058: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22060: \$? = $ac_status" >&5
+ echo "$as_me:22061: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_gettimeofday=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22070: result: $ac_cv_func_gettimeofday" >&5
+echo "$as_me:22071: result: $ac_cv_func_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
if test "$ac_cv_func_gettimeofday" = yes; then
else
-echo "$as_me:22080: checking for gettimeofday in -lbsd" >&5
+echo "$as_me:22081: 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
ac_check_lib_save_LIBS=$LIBS
LIBS="-lbsd $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 22088 "configure"
+#line 22089 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22107: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22108: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22110: \$? = $ac_status" >&5
+ echo "$as_me:22111: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22113: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22114: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22116: \$? = $ac_status" >&5
+ echo "$as_me:22117: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_bsd_gettimeofday=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:22127: result: $ac_cv_lib_bsd_gettimeofday" >&5
+echo "$as_me:22128: 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
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:22186: checking for $ac_func" >&5
+echo "$as_me:22187: 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 22192 "configure"
+#line 22193 "configure"
#include "confdefs.h"
#define $ac_func autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22223: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22224: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22226: \$? = $ac_status" >&5
+ echo "$as_me:22227: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22229: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22230: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22232: \$? = $ac_status" >&5
+ echo "$as_me:22233: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
eval "$as_ac_var=yes"
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22242: result: `eval echo '${'"$as_ac_var"'}'`" >&5
+echo "$as_me:22243: 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
fi
done
-echo "$as_me:22252: checking if _PATH_TTYS is defined in ttyent.h" >&5
+echo "$as_me:22253: 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 22259 "configure"
+#line 22260 "configure"
#include "confdefs.h"
#include <stdio.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:22274: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:22275: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:22277: \$? = $ac_status" >&5
+ echo "$as_me:22278: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:22280: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22281: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22283: \$? = $ac_status" >&5
+ echo "$as_me:22284: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_PATH_TTYS=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:22293: result: $cf_cv_PATH_TTYS" >&5
+echo "$as_me:22294: result: $cf_cv_PATH_TTYS" >&5
echo "${ECHO_T}$cf_cv_PATH_TTYS" >&6
if test $cf_cv_PATH_TTYS = no
if test $cf_cv_PATH_TTYS != no
then
- echo "$as_me:22315: checking if _PATH_TTYS file exists" >&5
+ echo "$as_me:22316: 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
cf_cv_have_PATH_TTYS=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 22325 "configure"
+#line 22326 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:22338: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22339: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22341: \$? = $ac_status" >&5
+ echo "$as_me:22342: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:22343: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22344: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22346: \$? = $ac_status" >&5
+ echo "$as_me:22347: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have_PATH_TTYS=yes
else
rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
fi
fi
-echo "$as_me:22358: result: $cf_cv_have_PATH_TTYS" >&5
+echo "$as_me:22359: 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
#define HAVE_PATH_TTYS 1
EOF
- echo "$as_me:22370: checking for getttynam" >&5
+ echo "$as_me:22371: 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 22377 "configure"
+#line 22378 "configure"
#include "confdefs.h"
#include <ttyent.h>
int
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22389: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22390: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22392: \$? = $ac_status" >&5
+ echo "$as_me:22393: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22395: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22396: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22398: \$? = $ac_status" >&5
+ echo "$as_me:22399: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_getttynam=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22408: result: $cf_cv_func_getttynam" >&5
+echo "$as_me:22409: 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
if test "x$ac_cv_func_getopt" = xno && \
test "x$cf_with_progs$cf_with_tests" != xnono; then
- { { echo "$as_me:22418: error: getopt is required for building programs" >&5
+ { { echo "$as_me:22419: error: getopt is required for building programs" >&5
echo "$as_me: error: getopt is required for building programs" >&2;}
{ (exit 1); exit 1; }; }
fi
then
if test "x$ac_cv_func_vsnprintf" = xyes
then
- { echo "$as_me:22427: WARNING: will use vsnprintf instead of safe-sprintf option" >&5
+ { echo "$as_me:22428: WARNING: will use vsnprintf instead of safe-sprintf option" >&5
echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;}
else
if test "x$with_getcap" = "xyes" ; then
-echo "$as_me:22440: checking for terminal-capability database functions" >&5
+echo "$as_me:22441: 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 22447 "configure"
+#line 22448 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22467: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22468: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22470: \$? = $ac_status" >&5
+ echo "$as_me:22471: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22473: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22474: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22476: \$? = $ac_status" >&5
+ echo "$as_me:22477: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_cgetent=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22487: result: $cf_cv_cgetent" >&5
+echo "$as_me:22488: result: $cf_cv_cgetent" >&5
echo "${ECHO_T}$cf_cv_cgetent" >&6
if test "$cf_cv_cgetent" = yes
#define HAVE_BSD_CGETENT 1
EOF
-echo "$as_me:22497: checking if cgetent uses const parameter" >&5
+echo "$as_me:22498: 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 22504 "configure"
+#line 22505 "configure"
#include "confdefs.h"
#pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers"
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22527: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22528: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22530: \$? = $ac_status" >&5
+ echo "$as_me:22531: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22533: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22534: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22536: \$? = $ac_status" >&5
+ echo "$as_me:22537: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_cgetent_const=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22547: result: $cf_cv_cgetent_const" >&5
+echo "$as_me:22548: result: $cf_cv_cgetent_const" >&5
echo "${ECHO_T}$cf_cv_cgetent_const" >&6
if test "$cf_cv_cgetent_const" = yes
then
fi
-echo "$as_me:22561: checking for isascii" >&5
+echo "$as_me:22562: 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 22568 "configure"
+#line 22569 "configure"
#include "confdefs.h"
#include <ctype.h>
int
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22580: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22581: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22583: \$? = $ac_status" >&5
+ echo "$as_me:22584: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22586: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22587: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22589: \$? = $ac_status" >&5
+ echo "$as_me:22590: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have_isascii=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22600: result: $cf_cv_have_isascii" >&5
+echo "$as_me:22601: result: $cf_cv_have_isascii" >&5
echo "${ECHO_T}$cf_cv_have_isascii" >&6
test "$cf_cv_have_isascii" = yes &&
cat >>confdefs.h <<\EOF
EOF
if test "$ac_cv_func_sigaction" = yes; then
-echo "$as_me:22608: checking whether sigaction needs _POSIX_SOURCE" >&5
+echo "$as_me:22609: 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 22611 "configure"
+#line 22612 "configure"
#include "confdefs.h"
#include <sys/types.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:22625: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:22626: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:22628: \$? = $ac_status" >&5
+ echo "$as_me:22629: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:22631: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22632: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22634: \$? = $ac_status" >&5
+ echo "$as_me:22635: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
sigact_bad=no
else
cat "conftest.$ac_ext" >&5
cat >"conftest.$ac_ext" <<_ACEOF
-#line 22642 "configure"
+#line 22643 "configure"
#include "confdefs.h"
#define _POSIX_SOURCE
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:22657: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:22658: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:22660: \$? = $ac_status" >&5
+ echo "$as_me:22661: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:22663: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22664: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22666: \$? = $ac_status" >&5
+ echo "$as_me:22667: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
sigact_bad=yes
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
-echo "$as_me:22682: result: $sigact_bad" >&5
+echo "$as_me:22683: result: $sigact_bad" >&5
echo "${ECHO_T}$sigact_bad" >&6
fi
-echo "$as_me:22686: checking if nanosleep really works" >&5
+echo "$as_me:22687: 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
cf_cv_func_nanosleep=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 22696 "configure"
+#line 22697 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:22722: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22723: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22725: \$? = $ac_status" >&5
+ echo "$as_me:22726: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:22727: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22728: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22730: \$? = $ac_status" >&5
+ echo "$as_me:22731: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_nanosleep=yes
else
rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
fi
fi
-echo "$as_me:22742: result: $cf_cv_func_nanosleep" >&5
+echo "$as_me:22743: result: $cf_cv_func_nanosleep" >&5
echo "${ECHO_T}$cf_cv_func_nanosleep" >&6
test "$cf_cv_func_nanosleep" = "yes" &&
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:22759: checking for $ac_header" >&5
+echo "$as_me:22760: 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 22765 "configure"
+#line 22766 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:22769: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:22770: \"$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:22775: \$? = $ac_status" >&5
+ echo "$as_me:22776: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:22794: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:22795: 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
(*) termios_bad=maybe ;;
esac
if test "$termios_bad" = maybe ; then
- echo "$as_me:22811: checking whether termios.h needs _POSIX_SOURCE" >&5
+ echo "$as_me:22812: 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 22814 "configure"
+#line 22815 "configure"
#include "confdefs.h"
#include <termios.h>
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:22826: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:22827: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:22829: \$? = $ac_status" >&5
+ echo "$as_me:22830: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:22832: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22833: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22835: \$? = $ac_status" >&5
+ echo "$as_me:22836: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
termios_bad=no
else
cat "conftest.$ac_ext" >&5
cat >"conftest.$ac_ext" <<_ACEOF
-#line 22843 "configure"
+#line 22844 "configure"
#include "confdefs.h"
#define _POSIX_SOURCE
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:22857: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:22858: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:22860: \$? = $ac_status" >&5
+ echo "$as_me:22861: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:22863: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22864: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22866: \$? = $ac_status" >&5
+ echo "$as_me:22867: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
termios_bad=unknown
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
- echo "$as_me:22882: result: $termios_bad" >&5
+ echo "$as_me:22883: result: $termios_bad" >&5
echo "${ECHO_T}$termios_bad" >&6
fi
fi
-echo "$as_me:22887: checking for tcgetattr" >&5
+echo "$as_me:22888: 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 22894 "configure"
+#line 22895 "configure"
#include "confdefs.h"
#include <sys/types.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22922: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22923: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22925: \$? = $ac_status" >&5
+ echo "$as_me:22926: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22928: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22929: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22931: \$? = $ac_status" >&5
+ echo "$as_me:22932: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have_tcgetattr=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:22941: result: $cf_cv_have_tcgetattr" >&5
+echo "$as_me:22942: 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:22948: checking for vsscanf function or workaround" >&5
+echo "$as_me:22949: 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 22955 "configure"
+#line 22956 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:22981: \"$ac_link\"") >&5
+if { (eval echo "$as_me:22982: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:22984: \$? = $ac_status" >&5
+ echo "$as_me:22985: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:22987: \"$ac_try\"") >&5
+ { (eval echo "$as_me:22988: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:22990: \$? = $ac_status" >&5
+ echo "$as_me:22991: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_vsscanf=vsscanf
else
cat "conftest.$ac_ext" >&5
cat >"conftest.$ac_ext" <<_ACEOF
-#line 22998 "configure"
+#line 22999 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:23020: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23021: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23023: \$? = $ac_status" >&5
+ echo "$as_me:23024: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:23026: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23027: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23029: \$? = $ac_status" >&5
+ echo "$as_me:23030: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_vsscanf=vfscanf
else
cat "conftest.$ac_ext" >&5
cat >"conftest.$ac_ext" <<_ACEOF
-#line 23037 "configure"
+#line 23038 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:23059: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23060: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23062: \$? = $ac_status" >&5
+ echo "$as_me:23063: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:23065: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23066: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23068: \$? = $ac_status" >&5
+ echo "$as_me:23069: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_vsscanf=_doscan
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:23083: result: $cf_cv_func_vsscanf" >&5
+echo "$as_me:23084: result: $cf_cv_func_vsscanf" >&5
echo "${ECHO_T}$cf_cv_func_vsscanf" >&6
case "$cf_cv_func_vsscanf" in
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:23109: checking for $ac_header" >&5
+echo "$as_me:23110: 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 23115 "configure"
+#line 23116 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:23119: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:23120: \"$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:23125: \$? = $ac_status" >&5
+ echo "$as_me:23126: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:23144: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:23145: 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
fi
done
-echo "$as_me:23154: checking for working mkstemp" >&5
+echo "$as_me:23155: 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
cf_cv_func_mkstemp=maybe
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 23165 "configure"
+#line 23166 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:23200: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23201: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23203: \$? = $ac_status" >&5
+ echo "$as_me:23204: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:23205: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23206: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23208: \$? = $ac_status" >&5
+ echo "$as_me:23209: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_mkstemp=yes
fi
fi
-echo "$as_me:23223: result: $cf_cv_func_mkstemp" >&5
+echo "$as_me:23224: 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:23226: checking for mkstemp" >&5
+ echo "$as_me:23227: 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 23232 "configure"
+#line 23233 "configure"
#include "confdefs.h"
#define mkstemp autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:23263: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23264: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23266: \$? = $ac_status" >&5
+ echo "$as_me:23267: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:23269: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23270: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23272: \$? = $ac_status" >&5
+ echo "$as_me:23273: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_mkstemp=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:23282: result: $ac_cv_func_mkstemp" >&5
+echo "$as_me:23283: result: $ac_cv_func_mkstemp" >&5
echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
fi
fi
if test "x$cross_compiling" = xyes ; then
- { echo "$as_me:23303: WARNING: cross compiling: assume setvbuf params not reversed" >&5
+ { echo "$as_me:23304: 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:23306: checking whether setvbuf arguments are reversed" >&5
+ echo "$as_me:23307: 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:23312: error: cannot run test program while cross compiling" >&5
+ { { echo "$as_me:23313: 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 23317 "configure"
+#line 23318 "configure"
#include "confdefs.h"
#include <stdio.h>
/* If setvbuf has the reversed format, exit 0. */
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:23334: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23335: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23337: \$? = $ac_status" >&5
+ echo "$as_me:23338: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:23339: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23340: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23342: \$? = $ac_status" >&5
+ echo "$as_me:23343: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_setvbuf_reversed=yes
else
fi
rm -f core ./core.* ./*.core
fi
-echo "$as_me:23355: result: $ac_cv_func_setvbuf_reversed" >&5
+echo "$as_me:23356: 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
fi
fi
-echo "$as_me:23366: checking for intptr_t" >&5
+echo "$as_me:23367: 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 23372 "configure"
+#line 23373 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:23387: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:23388: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:23390: \$? = $ac_status" >&5
+ echo "$as_me:23391: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:23393: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23394: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23396: \$? = $ac_status" >&5
+ echo "$as_me:23397: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_type_intptr_t=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:23406: result: $ac_cv_type_intptr_t" >&5
+echo "$as_me:23407: 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
:
fi
-echo "$as_me:23418: checking for ssize_t" >&5
+echo "$as_me:23419: 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 23424 "configure"
+#line 23425 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:23439: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:23440: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:23442: \$? = $ac_status" >&5
+ echo "$as_me:23443: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:23445: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23446: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23448: \$? = $ac_status" >&5
+ echo "$as_me:23449: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_type_ssize_t=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:23458: result: $ac_cv_type_ssize_t" >&5
+echo "$as_me:23459: 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
:
fi
-echo "$as_me:23470: checking for type sigaction_t" >&5
+echo "$as_me:23471: 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 23477 "configure"
+#line 23478 "configure"
#include "confdefs.h"
#include <signal.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:23490: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:23491: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:23493: \$? = $ac_status" >&5
+ echo "$as_me:23494: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:23496: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23497: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23499: \$? = $ac_status" >&5
+ echo "$as_me:23500: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_type_sigaction=yes
else
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:23510: result: $cf_cv_type_sigaction" >&5
+echo "$as_me:23511: 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:23517: checking declaration of size-change" >&5
+echo "$as_me:23518: 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
fi
cat >"conftest.$ac_ext" <<_ACEOF
-#line 23538 "configure"
+#line 23539 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_TERMIOS_H
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:23588: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:23589: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:23591: \$? = $ac_status" >&5
+ echo "$as_me:23592: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:23594: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23595: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23597: \$? = $ac_status" >&5
+ echo "$as_me:23598: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_sizechange=yes
else
done
fi
-echo "$as_me:23616: result: $cf_cv_sizechange" >&5
+echo "$as_me:23617: result: $cf_cv_sizechange" >&5
echo "${ECHO_T}$cf_cv_sizechange" >&6
if test "$cf_cv_sizechange" != no ; then
esac
fi
-echo "$as_me:23634: checking for memmove" >&5
+echo "$as_me:23635: 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 23640 "configure"
+#line 23641 "configure"
#include "confdefs.h"
#define memmove autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:23671: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23672: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23674: \$? = $ac_status" >&5
+ echo "$as_me:23675: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:23677: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23678: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23680: \$? = $ac_status" >&5
+ echo "$as_me:23681: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_memmove=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:23690: result: $ac_cv_func_memmove" >&5
+echo "$as_me:23691: 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:23696: checking for bcopy" >&5
+echo "$as_me:23697: 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 23702 "configure"
+#line 23703 "configure"
#include "confdefs.h"
#define bcopy autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:23733: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23734: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23736: \$? = $ac_status" >&5
+ echo "$as_me:23737: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:23739: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23740: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23742: \$? = $ac_status" >&5
+ echo "$as_me:23743: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_bcopy=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:23752: result: $ac_cv_func_bcopy" >&5
+echo "$as_me:23753: 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:23756: checking if bcopy does overlapping moves" >&5
+ echo "$as_me:23757: 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
cf_cv_good_bcopy=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 23766 "configure"
+#line 23767 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:23782: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23783: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23785: \$? = $ac_status" >&5
+ echo "$as_me:23786: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:23787: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23788: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23790: \$? = $ac_status" >&5
+ echo "$as_me:23791: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_good_bcopy=yes
else
fi
fi
-echo "$as_me:23803: result: $cf_cv_good_bcopy" >&5
+echo "$as_me:23804: result: $cf_cv_good_bcopy" >&5
echo "${ECHO_T}$cf_cv_good_bcopy" >&6
else
for ac_func in posix_openpt
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:23830: checking for $ac_func" >&5
+echo "$as_me:23831: 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 23836 "configure"
+#line 23837 "configure"
#include "confdefs.h"
#define $ac_func autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:23867: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23868: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23870: \$? = $ac_status" >&5
+ echo "$as_me:23871: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:23873: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23874: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23876: \$? = $ac_status" >&5
+ echo "$as_me:23877: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
eval "$as_ac_var=yes"
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:23886: result: `eval echo '${'"$as_ac_var"'}'`" >&5
+echo "$as_me:23887: 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
fi
done
}
-echo "$as_me:23896: checking if poll really works" >&5
+echo "$as_me:23897: 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
cf_cv_working_poll=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 23906 "configure"
+#line 23907 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:23959: \"$ac_link\"") >&5
+if { (eval echo "$as_me:23960: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:23962: \$? = $ac_status" >&5
+ echo "$as_me:23963: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:23964: \"$ac_try\"") >&5
+ { (eval echo "$as_me:23965: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:23967: \$? = $ac_status" >&5
+ echo "$as_me:23968: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_working_poll=yes
else
rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
fi
fi
-echo "$as_me:23979: result: $cf_cv_working_poll" >&5
+echo "$as_me:23980: 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:23986: checking if MB_LEN_MAX is usable" >&5
+echo "$as_me:23987: 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 23993 "configure"
+#line 23994 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:24013: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:24014: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:24016: \$? = $ac_status" >&5
+ echo "$as_me:24017: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:24019: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24020: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24022: \$? = $ac_status" >&5
+ echo "$as_me:24023: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_mb_len_max=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:24032: result: $cf_cv_mb_len_max" >&5
+echo "$as_me:24033: 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
EOF
else
- { echo "$as_me:24042: WARNING: MB_LEN_MAX is missing/inconsistent in system headers" >&5
+ { echo "$as_me:24043: 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:24046: checking for va_copy" >&5
+echo "$as_me:24047: 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 24053 "configure"
+#line 24054 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24070: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24071: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24073: \$? = $ac_status" >&5
+ echo "$as_me:24074: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24076: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24077: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24079: \$? = $ac_status" >&5
+ echo "$as_me:24080: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have_va_copy=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:24089: result: $cf_cv_have_va_copy" >&5
+echo "$as_me:24090: result: $cf_cv_have_va_copy" >&5
echo "${ECHO_T}$cf_cv_have_va_copy" >&6
if test "$cf_cv_have_va_copy" = yes;
else # !cf_cv_have_va_copy
-echo "$as_me:24101: checking for __va_copy" >&5
+echo "$as_me:24102: 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 24108 "configure"
+#line 24109 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24125: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24126: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24128: \$? = $ac_status" >&5
+ echo "$as_me:24129: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24131: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24132: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24134: \$? = $ac_status" >&5
+ echo "$as_me:24135: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have___va_copy=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:24144: result: $cf_cv_have___va_copy" >&5
+echo "$as_me:24145: result: $cf_cv_have___va_copy" >&5
echo "${ECHO_T}$cf_cv_have___va_copy" >&6
if test "$cf_cv_have___va_copy" = yes
else # !cf_cv_have___va_copy
-echo "$as_me:24156: checking for __builtin_va_copy" >&5
+echo "$as_me:24157: 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 24163 "configure"
+#line 24164 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24180: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24181: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24183: \$? = $ac_status" >&5
+ echo "$as_me:24184: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24186: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24187: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24189: \$? = $ac_status" >&5
+ echo "$as_me:24190: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_have___builtin_va_copy=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:24199: result: $cf_cv_have___builtin_va_copy" >&5
+echo "$as_me:24200: 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 &&
;;
(*)
- echo "$as_me:24217: checking if we can simply copy va_list" >&5
+ echo "$as_me:24218: 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 24224 "configure"
+#line 24225 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24241: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24242: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24244: \$? = $ac_status" >&5
+ echo "$as_me:24245: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24247: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24248: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24250: \$? = $ac_status" >&5
+ echo "$as_me:24251: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_pointer_va_list=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:24260: result: $cf_cv_pointer_va_list" >&5
+echo "$as_me:24261: 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:24265: checking if we can copy va_list indirectly" >&5
+ echo "$as_me:24266: 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 24272 "configure"
+#line 24273 "configure"
#include "confdefs.h"
#include <stdarg.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24289: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24290: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24292: \$? = $ac_status" >&5
+ echo "$as_me:24293: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24295: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24296: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24298: \$? = $ac_status" >&5
+ echo "$as_me:24299: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_array_va_list=yes
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:24308: result: $cf_cv_array_va_list" >&5
+echo "$as_me:24309: 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
;;
esac
-echo "$as_me:24319: checking for pid_t" >&5
+echo "$as_me:24320: 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 24325 "configure"
+#line 24326 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:24340: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:24341: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:24343: \$? = $ac_status" >&5
+ echo "$as_me:24344: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:24346: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24347: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24349: \$? = $ac_status" >&5
+ echo "$as_me:24350: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_type_pid_t=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:24359: result: $ac_cv_type_pid_t" >&5
+echo "$as_me:24360: 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
:
for ac_header in unistd.h vfork.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:24374: checking for $ac_header" >&5
+echo "$as_me:24375: 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 24380 "configure"
+#line 24381 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:24384: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:24385: \"$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:24390: \$? = $ac_status" >&5
+ echo "$as_me:24391: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:24409: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:24410: 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
for ac_func in fork vfork
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-echo "$as_me:24422: checking for $ac_func" >&5
+echo "$as_me:24423: 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 24428 "configure"
+#line 24429 "configure"
#include "confdefs.h"
#define $ac_func autoconf_temporary
#include <limits.h> /* least-intrusive standard header which defines gcc2 __stub macros */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24459: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24460: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24462: \$? = $ac_status" >&5
+ echo "$as_me:24463: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24465: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24466: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24468: \$? = $ac_status" >&5
+ echo "$as_me:24469: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
eval "$as_ac_var=yes"
else
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
fi
-echo "$as_me:24478: result: `eval echo '${'"$as_ac_var"'}'`" >&5
+echo "$as_me:24479: 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
ac_cv_func_fork_works=$ac_cv_func_fork
if test "x$ac_cv_func_fork" = xyes; then
- echo "$as_me:24490: checking for working fork" >&5
+ echo "$as_me:24491: 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
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:24513: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24514: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24516: \$? = $ac_status" >&5
+ echo "$as_me:24517: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:24518: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24519: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24521: \$? = $ac_status" >&5
+ echo "$as_me:24522: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_fork_works=yes
else
rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
fi
fi
-echo "$as_me:24533: result: $ac_cv_func_fork_works" >&5
+echo "$as_me:24534: result: $ac_cv_func_fork_works" >&5
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
fi
ac_cv_func_fork_works=yes
;;
esac
- { echo "$as_me:24547: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
+ { echo "$as_me:24548: 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:24552: checking for working vfork" >&5
+ echo "$as_me:24553: 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
ac_cv_func_vfork_works=cross
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 24561 "configure"
+#line 24562 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:24654: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24655: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24657: \$? = $ac_status" >&5
+ echo "$as_me:24658: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:24659: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24660: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24662: \$? = $ac_status" >&5
+ echo "$as_me:24663: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_func_vfork_works=yes
else
rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext"
fi
fi
-echo "$as_me:24674: result: $ac_cv_func_vfork_works" >&5
+echo "$as_me:24675: 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:24680: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
+ { echo "$as_me:24681: 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
fi
-echo "$as_me:24705: checking if fopen accepts explicit binary mode" >&5
+echo "$as_me:24706: 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
cf_cv_fopen_bin_r=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 24715 "configure"
+#line 24716 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:24750: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24751: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24753: \$? = $ac_status" >&5
+ echo "$as_me:24754: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:24755: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24756: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24758: \$? = $ac_status" >&5
+ echo "$as_me:24759: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_fopen_bin_r=yes
else
fi
fi
-echo "$as_me:24771: result: $cf_cv_fopen_bin_r" >&5
+echo "$as_me:24772: 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
# special check for test/ditto.c
-echo "$as_me:24780: checking for openpty in -lutil" >&5
+echo "$as_me:24781: 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
ac_check_lib_save_LIBS=$LIBS
LIBS="-lutil $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 24788 "configure"
+#line 24789 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24807: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24808: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24810: \$? = $ac_status" >&5
+ echo "$as_me:24811: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24813: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24814: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24816: \$? = $ac_status" >&5
+ echo "$as_me:24817: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_lib_util_openpty=yes
else
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:24827: result: $ac_cv_lib_util_openpty" >&5
+echo "$as_me:24828: 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
cf_cv_lib_util=no
fi
-echo "$as_me:24835: checking for openpty header" >&5
+echo "$as_me:24836: 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
for cf_header in pty.h libutil.h util.h
do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 24862 "configure"
+#line 24863 "configure"
#include "confdefs.h"
#include <$cf_header>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:24880: \"$ac_link\"") >&5
+if { (eval echo "$as_me:24881: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:24883: \$? = $ac_status" >&5
+ echo "$as_me:24884: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:24886: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24887: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:24889: \$? = $ac_status" >&5
+ echo "$as_me:24890: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_func_openpty=$cf_header
LIBS="$cf_save_LIBS"
fi
-echo "$as_me:24907: result: $cf_cv_func_openpty" >&5
+echo "$as_me:24908: result: $cf_cv_func_openpty" >&5
echo "${ECHO_T}$cf_cv_func_openpty" >&6
if test "$cf_cv_func_openpty" != no ; then
CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 24980 "configure"
+#line 24981 "configure"
#include "confdefs.h"
#include <stdio.h>
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:24992: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:24993: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:24995: \$? = $ac_status" >&5
+ echo "$as_me:24996: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:24998: \"$ac_try\"") >&5
+ { (eval echo "$as_me:24999: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25001: \$? = $ac_status" >&5
+ echo "$as_me:25002: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
:
else
if test "$cf_have_incdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6
-echo "${as_me:-configure}:25018: testing adding $cf_add_incdir to include-path ..." 1>&5
+echo "${as_me:-configure}:25019: testing adding $cf_add_incdir to include-path ..." 1>&5
CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
if test "$cf_have_libdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6
-echo "${as_me:-configure}:25054: testing adding $cf_add_libdir to library-path ..." 1>&5
+echo "${as_me:-configure}:25055: testing adding $cf_add_libdir to library-path ..." 1>&5
LDFLAGS="-L$cf_add_libdir $LDFLAGS"
fi
else
case "$with_hashed_db" in
(./*|../*|/*)
- { echo "$as_me:25065: WARNING: no such directory $with_hashed_db" >&5
+ { echo "$as_me:25066: WARNING: no such directory $with_hashed_db" >&5
echo "$as_me: WARNING: no such directory $with_hashed_db" >&2;}
;;
(*)
CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25137 "configure"
+#line 25138 "configure"
#include "confdefs.h"
#include <stdio.h>
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:25149: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:25150: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:25152: \$? = $ac_status" >&5
+ echo "$as_me:25153: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:25155: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25156: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25158: \$? = $ac_status" >&5
+ echo "$as_me:25159: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
:
else
if test "$cf_have_incdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6
-echo "${as_me:-configure}:25175: testing adding $cf_add_incdir to include-path ..." 1>&5
+echo "${as_me:-configure}:25176: testing adding $cf_add_incdir to include-path ..." 1>&5
CPPFLAGS="$CPPFLAGS -I$cf_add_incdir"
if test "$cf_have_libdir" = no ; then
test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6
-echo "${as_me:-configure}:25255: testing adding $cf_add_libdir to library-path ..." 1>&5
+echo "${as_me:-configure}:25256: testing adding $cf_add_libdir to library-path ..." 1>&5
LDFLAGS="-L$cf_add_libdir $LDFLAGS"
fi
fi
esac
-echo "$as_me:25272: checking for db.h" >&5
+echo "$as_me:25273: 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 25278 "configure"
+#line 25279 "configure"
#include "confdefs.h"
#include <db.h>
_ACEOF
-if { (eval echo "$as_me:25282: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:25283: \"$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:25288: \$? = $ac_status" >&5
+ echo "$as_me:25289: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_c_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:25307: result: $ac_cv_header_db_h" >&5
+echo "$as_me:25308: 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:25311: checking for version of db" >&5
+echo "$as_me:25312: 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
for cf_db_version in 1 2 3 4 5 6
do
-echo "${as_me:-configure}:25322: testing checking for db version $cf_db_version ..." 1>&5
+echo "${as_me:-configure}:25323: testing checking for db version $cf_db_version ..." 1>&5
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25325 "configure"
+#line 25326 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:25355: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:25356: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:25358: \$? = $ac_status" >&5
+ echo "$as_me:25359: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:25361: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25362: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25364: \$? = $ac_status" >&5
+ echo "$as_me:25365: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_hashed_db_version=$cf_db_version
done
fi
-echo "$as_me:25378: result: $cf_cv_hashed_db_version" >&5
+echo "$as_me:25379: 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:25382: error: Cannot determine version of db" >&5
+ { { echo "$as_me:25383: 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:25387: checking for db libraries" >&5
+echo "$as_me:25388: 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
fi
-echo "${as_me:-configure}:25417: testing checking for library $cf_db_libs ..." 1>&5
+echo "${as_me:-configure}:25418: testing checking for library $cf_db_libs ..." 1>&5
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25420 "configure"
+#line 25421 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:25475: \"$ac_link\"") >&5
+if { (eval echo "$as_me:25476: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:25478: \$? = $ac_status" >&5
+ echo "$as_me:25479: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:25481: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25482: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25484: \$? = $ac_status" >&5
+ echo "$as_me:25485: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
if test -n "$cf_db_libs" ; then
done
fi
-echo "$as_me:25504: result: $cf_cv_hashed_db_libs" >&5
+echo "$as_me:25505: 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:25508: error: Cannot determine library for db" >&5
+ { { echo "$as_me:25509: 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
else
- { { echo "$as_me:25534: error: Cannot find db.h" >&5
+ { { echo "$as_me:25535: error: Cannot find db.h" >&5
echo "$as_me: error: Cannot find db.h" >&2;}
{ (exit 1); exit 1; }; }
# Just in case, check if the C compiler has a bool type.
-echo "$as_me:25549: checking if we should include stdbool.h" >&5
+echo "$as_me:25550: 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
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25557 "configure"
+#line 25558 "configure"
#include "confdefs.h"
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:25569: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:25570: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:25572: \$? = $ac_status" >&5
+ echo "$as_me:25573: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:25575: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25576: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25578: \$? = $ac_status" >&5
+ echo "$as_me:25579: \$? = $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
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25585 "configure"
+#line 25586 "configure"
#include "confdefs.h"
#ifndef __BEOS__
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:25601: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:25602: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:25604: \$? = $ac_status" >&5
+ echo "$as_me:25605: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:25607: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25608: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25610: \$? = $ac_status" >&5
+ echo "$as_me:25611: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_header_stdbool_h=1
else
fi
if test "$cf_cv_header_stdbool_h" = 1
-then echo "$as_me:25624: result: yes" >&5
+then echo "$as_me:25625: result: yes" >&5
echo "${ECHO_T}yes" >&6
-else echo "$as_me:25626: result: no" >&5
+else echo "$as_me:25627: result: no" >&5
echo "${ECHO_T}no" >&6
fi
-echo "$as_me:25630: checking for builtin bool type" >&5
+echo "$as_me:25631: 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
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25638 "configure"
+#line 25639 "configure"
#include "confdefs.h"
#include <stdio.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:25653: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:25654: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:25656: \$? = $ac_status" >&5
+ echo "$as_me:25657: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:25659: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25660: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25662: \$? = $ac_status" >&5
+ echo "$as_me:25663: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_cc_bool_type=1
else
fi
if test "$cf_cv_cc_bool_type" = 1
-then echo "$as_me:25675: result: yes" >&5
+then echo "$as_me:25676: result: yes" >&5
echo "${ECHO_T}yes" >&6
-else echo "$as_me:25677: result: no" >&5
+else echo "$as_me:25678: result: no" >&5
echo "${ECHO_T}no" >&6
fi
cf_save="$LIBS"
LIBS="$LIBS $CXXLIBS"
- echo "$as_me:25694: checking if we already have C++ library" >&5
+ echo "$as_me:25695: 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 25697 "configure"
+#line 25698 "configure"
#include "confdefs.h"
#include <iostream>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:25711: \"$ac_link\"") >&5
+if { (eval echo "$as_me:25712: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:25714: \$? = $ac_status" >&5
+ echo "$as_me:25715: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:25717: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25718: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25720: \$? = $ac_status" >&5
+ echo "$as_me:25721: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_have_libstdcpp=yes
else
cf_have_libstdcpp=no
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
- echo "$as_me:25729: result: $cf_have_libstdcpp" >&5
+ echo "$as_me:25730: result: $cf_have_libstdcpp" >&5
echo "${ECHO_T}$cf_have_libstdcpp" >&6
LIBS="$cf_save"
;;
esac
- echo "$as_me:25748: checking for library $cf_stdcpp_libname" >&5
+ echo "$as_me:25749: 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
LIBS="$cf_add_libs"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25774 "configure"
+#line 25775 "configure"
#include "confdefs.h"
#include <iostream>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:25788: \"$ac_link\"") >&5
+if { (eval echo "$as_me:25789: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:25791: \$? = $ac_status" >&5
+ echo "$as_me:25792: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:25794: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25795: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25797: \$? = $ac_status" >&5
+ echo "$as_me:25798: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_libstdcpp=yes
else
LIBS="$cf_save"
fi
-echo "$as_me:25809: result: $cf_cv_libstdcpp" >&5
+echo "$as_me:25810: result: $cf_cv_libstdcpp" >&5
echo "${ECHO_T}$cf_cv_libstdcpp" >&6
test "$cf_cv_libstdcpp" = yes && {
cf_add_libs="$CXXLIBS"
fi
fi
- echo "$as_me:25831: checking whether $CXX understands -c and -o together" >&5
+ echo "$as_me:25832: 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
# 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:25846: \"$ac_try\"") >&5
+if { (eval echo "$as_me:25847: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25849: \$? = $ac_status" >&5
+ echo "$as_me:25850: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
- test -f conftest2.$ac_objext && { (eval echo "$as_me:25851: \"$ac_try\"") >&5
+ test -f conftest2.$ac_objext && { (eval echo "$as_me:25852: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25854: \$? = $ac_status" >&5
+ echo "$as_me:25855: \$? = $ac_status" >&5
(exit "$ac_status"); };
then
eval cf_cv_prog_CXX_c_o=yes
fi
if test "$cf_cv_prog_CXX_c_o" = yes; then
- echo "$as_me:25865: result: yes" >&5
+ echo "$as_me:25866: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
- echo "$as_me:25868: result: no" >&5
+ echo "$as_me:25869: result: no" >&5
echo "${ECHO_T}no" >&6
fi
;;
esac
if test "$GXX" = yes; then
- echo "$as_me:25888: checking for lib$cf_gpp_libname" >&5
+ echo "$as_me:25889: checking for lib$cf_gpp_libname" >&5
echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6
cf_save="$LIBS"
LIBS="$cf_add_libs"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25909 "configure"
+#line 25910 "configure"
#include "confdefs.h"
#include <$cf_gpp_libname/builtin.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:25923: \"$ac_link\"") >&5
+if { (eval echo "$as_me:25924: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:25926: \$? = $ac_status" >&5
+ echo "$as_me:25927: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:25929: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25930: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25932: \$? = $ac_status" >&5
+ echo "$as_me:25933: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cxx_library=yes
echo "$as_me: failed program was:" >&5
cat "conftest.$ac_ext" >&5
cat >"conftest.$ac_ext" <<_ACEOF
-#line 25969 "configure"
+#line 25970 "configure"
#include "confdefs.h"
#include <builtin.h>
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:25983: \"$ac_link\"") >&5
+if { (eval echo "$as_me:25984: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:25986: \$? = $ac_status" >&5
+ echo "$as_me:25987: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:25989: \"$ac_try\"") >&5
+ { (eval echo "$as_me:25990: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:25992: \$? = $ac_status" >&5
+ echo "$as_me:25993: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cxx_library=yes
fi
rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext"
LIBS="$cf_save"
- echo "$as_me:26025: result: $cf_cxx_library" >&5
+ echo "$as_me:26026: result: $cf_cxx_library" >&5
echo "${ECHO_T}$cf_cxx_library" >&6
fi
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:26041: checking how to run the C++ preprocessor" >&5
+echo "$as_me:26042: 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
# 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 26058 "configure"
+#line 26059 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
-if { (eval echo "$as_me:26063: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:26064: \"$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:26069: \$? = $ac_status" >&5
+ echo "$as_me:26070: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_cxx_preproc_warn_flag
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26092 "configure"
+#line 26093 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
-if { (eval echo "$as_me:26096: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:26097: \"$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:26102: \$? = $ac_status" >&5
+ echo "$as_me:26103: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_cxx_preproc_warn_flag
else
ac_cv_prog_CXXCPP=$CXXCPP
fi
-echo "$as_me:26139: result: $CXXCPP" >&5
+echo "$as_me:26140: result: $CXXCPP" >&5
echo "${ECHO_T}$CXXCPP" >&6
ac_preproc_ok=false
for ac_cxx_preproc_warn_flag in '' yes
# 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 26149 "configure"
+#line 26150 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax error
_ACEOF
-if { (eval echo "$as_me:26154: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:26155: \"$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:26160: \$? = $ac_status" >&5
+ echo "$as_me:26161: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_cxx_preproc_warn_flag
# OK, works on sane cases. Now check whether non-existent headers
# can be detected and how.
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26183 "configure"
+#line 26184 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
_ACEOF
-if { (eval echo "$as_me:26187: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:26188: \"$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:26193: \$? = $ac_status" >&5
+ echo "$as_me:26194: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_cxx_preproc_warn_flag
if $ac_preproc_ok; then
:
else
- { { echo "$as_me:26221: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
+ { { echo "$as_me:26222: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
{ (exit 1); exit 1; }; }
fi
for ac_header in typeinfo
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:26236: checking for $ac_header" >&5
+echo "$as_me:26237: 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 26242 "configure"
+#line 26243 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:26246: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:26247: \"$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:26252: \$? = $ac_status" >&5
+ echo "$as_me:26253: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_cxx_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:26271: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:26272: 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
for ac_header in iostream
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-echo "$as_me:26284: checking for $ac_header" >&5
+echo "$as_me:26285: 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 26290 "configure"
+#line 26291 "configure"
#include "confdefs.h"
#include <$ac_header>
_ACEOF
-if { (eval echo "$as_me:26294: \"$ac_cpp "conftest.$ac_ext"\"") >&5
+if { (eval echo "$as_me:26295: \"$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:26300: \$? = $ac_status" >&5
+ echo "$as_me:26301: \$? = $ac_status" >&5
(exit "$ac_status"); } >/dev/null; then
if test -s conftest.err; then
ac_cpp_err=$ac_cxx_preproc_warn_flag
fi
rm -f conftest.err "conftest.$ac_ext"
fi
-echo "$as_me:26319: result: `eval echo '${'"$as_ac_Header"'}'`" >&5
+echo "$as_me:26320: 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
done
if test x"$ac_cv_header_iostream" = xyes ; then
- echo "$as_me:26330: checking if iostream uses std-namespace" >&5
+ echo "$as_me:26331: 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 26333 "configure"
+#line 26334 "configure"
#include "confdefs.h"
#include <iostream>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26350: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26351: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26353: \$? = $ac_status" >&5
+ echo "$as_me:26354: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26356: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26357: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26359: \$? = $ac_status" >&5
+ echo "$as_me:26360: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_iostream_namespace=yes
else
cf_iostream_namespace=no
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
- echo "$as_me:26368: result: $cf_iostream_namespace" >&5
+ echo "$as_me:26369: result: $cf_iostream_namespace" >&5
echo "${ECHO_T}$cf_iostream_namespace" >&6
if test "$cf_iostream_namespace" = yes ; then
fi
fi
-echo "$as_me:26379: checking if we should include stdbool.h" >&5
+echo "$as_me:26380: 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
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26387 "configure"
+#line 26388 "configure"
#include "confdefs.h"
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26399: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26400: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26402: \$? = $ac_status" >&5
+ echo "$as_me:26403: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26405: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26406: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26408: \$? = $ac_status" >&5
+ echo "$as_me:26409: \$? = $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
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26415 "configure"
+#line 26416 "configure"
#include "confdefs.h"
#ifndef __BEOS__
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26431: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26432: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26434: \$? = $ac_status" >&5
+ echo "$as_me:26435: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26437: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26438: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26440: \$? = $ac_status" >&5
+ echo "$as_me:26441: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_header_stdbool_h=1
else
fi
if test "$cf_cv_header_stdbool_h" = 1
-then echo "$as_me:26454: result: yes" >&5
+then echo "$as_me:26455: result: yes" >&5
echo "${ECHO_T}yes" >&6
-else echo "$as_me:26456: result: no" >&5
+else echo "$as_me:26457: result: no" >&5
echo "${ECHO_T}no" >&6
fi
-echo "$as_me:26460: checking for builtin bool type" >&5
+echo "$as_me:26461: 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
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26468 "configure"
+#line 26469 "configure"
#include "confdefs.h"
#include <stdio.h>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26483: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26484: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26486: \$? = $ac_status" >&5
+ echo "$as_me:26487: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26489: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26490: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26492: \$? = $ac_status" >&5
+ echo "$as_me:26493: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_builtin_bool=1
else
fi
if test "$cf_cv_builtin_bool" = 1
-then echo "$as_me:26505: result: yes" >&5
+then echo "$as_me:26506: result: yes" >&5
echo "${ECHO_T}yes" >&6
-else echo "$as_me:26507: result: no" >&5
+else echo "$as_me:26508: result: no" >&5
echo "${ECHO_T}no" >&6
fi
-echo "$as_me:26511: checking for bool" >&5
+echo "$as_me:26512: 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 26517 "configure"
+#line 26518 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26552: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26553: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26555: \$? = $ac_status" >&5
+ echo "$as_me:26556: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26558: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26559: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26561: \$? = $ac_status" >&5
+ echo "$as_me:26562: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_type_bool=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:26571: result: $ac_cv_type_bool" >&5
+echo "$as_me:26572: result: $ac_cv_type_bool" >&5
echo "${ECHO_T}$ac_cv_type_bool" >&6
-echo "$as_me:26574: checking size of bool" >&5
+echo "$as_me:26575: 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
if test "$cross_compiling" = yes; then
# Depending upon the size, compute the lo and hi bounds.
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26583 "configure"
+#line 26584 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26615: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26616: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26618: \$? = $ac_status" >&5
+ echo "$as_me:26619: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26621: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26622: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26624: \$? = $ac_status" >&5
+ echo "$as_me:26625: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_lo=0 ac_mid=0
while :; do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26629 "configure"
+#line 26630 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26661: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26662: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26664: \$? = $ac_status" >&5
+ echo "$as_me:26665: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26667: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26668: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26670: \$? = $ac_status" >&5
+ echo "$as_me:26671: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_hi=$ac_mid; break
else
ac_hi=-1 ac_mid=-1
while :; do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26686 "configure"
+#line 26687 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26718: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26719: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26721: \$? = $ac_status" >&5
+ echo "$as_me:26722: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26724: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26725: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26727: \$? = $ac_status" >&5
+ echo "$as_me:26728: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_lo=$ac_mid; break
else
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 26743 "configure"
+#line 26744 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26775: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26776: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:26778: \$? = $ac_status" >&5
+ echo "$as_me:26779: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:26781: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26782: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26784: \$? = $ac_status" >&5
+ echo "$as_me:26785: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_hi=$ac_mid
else
ac_cv_sizeof_bool=$ac_lo
else
if test "$cross_compiling" = yes; then
- { { echo "$as_me:26797: error: cannot run test program while cross compiling" >&5
+ { { echo "$as_me:26798: 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 26802 "configure"
+#line 26803 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:26838: \"$ac_link\"") >&5
+if { (eval echo "$as_me:26839: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:26841: \$? = $ac_status" >&5
+ echo "$as_me:26842: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:26843: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26844: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26846: \$? = $ac_status" >&5
+ echo "$as_me:26847: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_sizeof_bool=`cat conftest.val`
else
ac_cv_sizeof_bool=0
fi
fi
-echo "$as_me:26862: result: $ac_cv_sizeof_bool" >&5
+echo "$as_me:26863: 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:26868: checking for type of bool" >&5
+echo "$as_me:26869: 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
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 26887 "configure"
+#line 26888 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:26928: \"$ac_link\"") >&5
+if { (eval echo "$as_me:26929: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:26931: \$? = $ac_status" >&5
+ echo "$as_me:26932: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:26933: \"$ac_try\"") >&5
+ { (eval echo "$as_me:26934: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:26936: \$? = $ac_status" >&5
+ echo "$as_me:26937: \$? = $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
rm -f cf_test.out
fi
-echo "$as_me:26953: result: $cf_cv_type_of_bool" >&5
+echo "$as_me:26954: 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:26960: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
+ { echo "$as_me:26961: 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:26965: checking for special defines needed for etip.h" >&5
+echo "$as_me:26966: 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"
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 26983 "configure"
+#line 26984 "configure"
#include "confdefs.h"
#include <etip.h.in>
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:26997: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:26998: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:27000: \$? = $ac_status" >&5
+ echo "$as_me:27001: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:27003: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27004: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27006: \$? = $ac_status" >&5
+ echo "$as_me:27007: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
test -n "$cf_math" && cat >>confdefs.h <<EOF
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
done
done
-echo "$as_me:27027: result: ${cf_result:-(none)}" >&5
+echo "$as_me:27028: result: ${cf_result:-(none)}" >&5
echo "${ECHO_T}${cf_result:-(none)}" >&6
CXXFLAGS="$cf_save_CXXFLAGS"
if test -n "$CXX"; then
-echo "$as_me:27032: checking if $CXX accepts override keyword" >&5
+echo "$as_me:27033: 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
cf_cv_cpp_override=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 27049 "configure"
+#line 27050 "configure"
#include "confdefs.h"
class base
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:27068: \"$ac_link\"") >&5
+if { (eval echo "$as_me:27069: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:27071: \$? = $ac_status" >&5
+ echo "$as_me:27072: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:27073: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27074: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27076: \$? = $ac_status" >&5
+ echo "$as_me:27077: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_cpp_override=yes
else
ac_main_return="return"
fi
-echo "$as_me:27095: result: $cf_cv_cpp_override" >&5
+echo "$as_me:27096: result: $cf_cv_cpp_override" >&5
echo "${ECHO_T}$cf_cv_cpp_override" >&6
fi
test "$cf_cv_cpp_override" = yes &&
EOF
if test -n "$CXX"; then
-echo "$as_me:27104: checking if $CXX accepts parameter initialization" >&5
+echo "$as_me:27105: 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
cf_cv_cpp_param_init=unknown
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 27121 "configure"
+#line 27122 "configure"
#include "confdefs.h"
class TEST {
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:27140: \"$ac_link\"") >&5
+if { (eval echo "$as_me:27141: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:27143: \$? = $ac_status" >&5
+ echo "$as_me:27144: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:27145: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27146: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27148: \$? = $ac_status" >&5
+ echo "$as_me:27149: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_cpp_param_init=yes
else
ac_main_return="return"
fi
-echo "$as_me:27167: result: $cf_cv_cpp_param_init" >&5
+echo "$as_me:27168: result: $cf_cv_cpp_param_init" >&5
echo "${ECHO_T}$cf_cv_cpp_param_init" >&6
fi
test "$cf_cv_cpp_param_init" = yes &&
if test -n "$CXX"; then
-echo "$as_me:27177: checking if $CXX accepts static_cast" >&5
+echo "$as_me:27178: 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
ac_main_return="return"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 27191 "configure"
+#line 27192 "configure"
#include "confdefs.h"
class NCursesPanel
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:27235: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:27236: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:27238: \$? = $ac_status" >&5
+ echo "$as_me:27239: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:27241: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27242: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27244: \$? = $ac_status" >&5
+ echo "$as_me:27245: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
cf_cv_cpp_static_cast=yes
else
ac_main_return="return"
fi
-echo "$as_me:27262: result: $cf_cv_cpp_static_cast" >&5
+echo "$as_me:27263: result: $cf_cv_cpp_static_cast" >&5
echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6
fi
else
if test "$cf_cv_header_stdbool_h" = 1 ; then
-echo "$as_me:27311: checking for bool" >&5
+echo "$as_me:27312: 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 27317 "configure"
+#line 27318 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:27352: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:27353: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:27355: \$? = $ac_status" >&5
+ echo "$as_me:27356: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:27358: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27359: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27361: \$? = $ac_status" >&5
+ echo "$as_me:27362: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_type_bool=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:27371: result: $ac_cv_type_bool" >&5
+echo "$as_me:27372: result: $ac_cv_type_bool" >&5
echo "${ECHO_T}$ac_cv_type_bool" >&6
-echo "$as_me:27374: checking size of bool" >&5
+echo "$as_me:27375: 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
if test "$cross_compiling" = yes; then
# Depending upon the size, compute the lo and hi bounds.
cat >"conftest.$ac_ext" <<_ACEOF
-#line 27383 "configure"
+#line 27384 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:27415: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:27416: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:27418: \$? = $ac_status" >&5
+ echo "$as_me:27419: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:27421: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27422: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27424: \$? = $ac_status" >&5
+ echo "$as_me:27425: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_lo=0 ac_mid=0
while :; do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 27429 "configure"
+#line 27430 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:27461: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:27462: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:27464: \$? = $ac_status" >&5
+ echo "$as_me:27465: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:27467: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27468: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27470: \$? = $ac_status" >&5
+ echo "$as_me:27471: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_hi=$ac_mid; break
else
ac_hi=-1 ac_mid=-1
while :; do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 27486 "configure"
+#line 27487 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:27518: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:27519: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:27521: \$? = $ac_status" >&5
+ echo "$as_me:27522: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:27524: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27525: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27527: \$? = $ac_status" >&5
+ echo "$as_me:27528: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_lo=$ac_mid; break
else
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 27543 "configure"
+#line 27544 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:27575: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:27576: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:27578: \$? = $ac_status" >&5
+ echo "$as_me:27579: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:27581: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27582: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27584: \$? = $ac_status" >&5
+ echo "$as_me:27585: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_hi=$ac_mid
else
ac_cv_sizeof_bool=$ac_lo
else
if test "$cross_compiling" = yes; then
- { { echo "$as_me:27597: error: cannot run test program while cross compiling" >&5
+ { { echo "$as_me:27598: 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 27602 "configure"
+#line 27603 "configure"
#include "confdefs.h"
$ac_includes_default
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:27638: \"$ac_link\"") >&5
+if { (eval echo "$as_me:27639: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:27641: \$? = $ac_status" >&5
+ echo "$as_me:27642: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:27643: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27644: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27646: \$? = $ac_status" >&5
+ echo "$as_me:27647: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_sizeof_bool=`cat conftest.val`
else
ac_cv_sizeof_bool=0
fi
fi
-echo "$as_me:27662: result: $ac_cv_sizeof_bool" >&5
+echo "$as_me:27663: 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:27668: checking for type of bool" >&5
+echo "$as_me:27669: 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
else
cat >"conftest.$ac_ext" <<_ACEOF
-#line 27687 "configure"
+#line 27688 "configure"
#include "confdefs.h"
$ac_includes_default
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:27728: \"$ac_link\"") >&5
+if { (eval echo "$as_me:27729: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:27731: \$? = $ac_status" >&5
+ echo "$as_me:27732: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:27733: \"$ac_try\"") >&5
+ { (eval echo "$as_me:27734: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:27736: \$? = $ac_status" >&5
+ echo "$as_me:27737: \$? = $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
rm -f cf_test.out
fi
-echo "$as_me:27753: result: $cf_cv_type_of_bool" >&5
+echo "$as_me:27754: 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:27760: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5
+ { echo "$as_me:27761: 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
else
- echo "$as_me:27766: checking for fallback type of bool" >&5
+ echo "$as_me:27767: checking for fallback type of bool" >&5
echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6
case "$host_cpu" in
(i?86) cf_cv_type_of_bool=char ;;
(*) cf_cv_type_of_bool=int ;;
esac
- echo "$as_me:27772: result: $cf_cv_type_of_bool" >&5
+ echo "$as_me:27773: result: $cf_cv_type_of_bool" >&5
echo "${ECHO_T}$cf_cv_type_of_bool" >&6
fi
fi
if test "$cf_with_ada" != "no" ; then
if test "$with_libtool" != "no"; then
- { echo "$as_me:27801: WARNING: libtool does not support Ada - disabling feature" >&5
+ { echo "$as_me:27802: 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
ADAFLAGS="$ADAFLAGS -gnatpn"
- echo "$as_me:27812: checking optimization options for ADAFLAGS" >&5
+ echo "$as_me:27813: checking optimization options for ADAFLAGS" >&5
echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6
case "$CFLAGS" in
(*-g*)
;;
esac
- echo "$as_me:27829: result: $ADAFLAGS" >&5
+ echo "$as_me:27830: result: $ADAFLAGS" >&5
echo "${ECHO_T}$ADAFLAGS" >&6
-echo "$as_me:27832: checking if GNATPREP supports -T option" >&5
+echo "$as_me:27833: 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
gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes
fi
-echo "$as_me:27842: result: $cf_cv_gnatprep_opt_t" >&5
+echo "$as_me:27843: 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:27846: checking if GNAT supports generics" >&5
+echo "$as_me:27847: 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])
cf_gnat_generics=no
;;
esac
-echo "$as_me:27856: result: $cf_gnat_generics" >&5
+echo "$as_me:27857: result: $cf_gnat_generics" >&5
echo "${ECHO_T}$cf_gnat_generics" >&6
if test "$cf_gnat_generics" = yes
cf_generic_objects=
fi
-echo "$as_me:27868: checking if GNAT supports SIGINT" >&5
+echo "$as_me:27869: 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
rm -rf ./conftest* ./*~conftest*
fi
-echo "$as_me:27916: result: $cf_cv_gnat_sigint" >&5
+echo "$as_me:27917: result: $cf_cv_gnat_sigint" >&5
echo "${ECHO_T}$cf_cv_gnat_sigint" >&6
if test "$cf_cv_gnat_sigint" = yes ; then
cf_gnat_projects=no
if test "$enable_gnat_projects" != no ; then
-echo "$as_me:27929: checking if GNAT supports project files" >&5
+echo "$as_me:27930: 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]*)
esac
;;
esac
-echo "$as_me:27992: result: $cf_gnat_projects" >&5
+echo "$as_me:27993: 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:27998: checking if GNAT supports libraries" >&5
+ echo "$as_me:27999: checking if GNAT supports libraries" >&5
echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6
- echo "$as_me:28000: result: $cf_gnat_libraries" >&5
+ echo "$as_me:28001: result: $cf_gnat_libraries" >&5
echo "${ECHO_T}$cf_gnat_libraries" >&6
fi
then
USE_GNAT_MAKE_GPR=""
else
- { echo "$as_me:28020: WARNING: use old makefile rules since tools are missing" >&5
+ { echo "$as_me:28021: 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
USE_GNAT_LIBRARIES="#"
fi
-echo "$as_me:28032: checking for Ada95 compiler" >&5
+echo "$as_me:28033: 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.
cf_ada_compiler=gnatmake
fi;
-echo "$as_me:28043: result: $cf_ada_compiler" >&5
+echo "$as_me:28044: result: $cf_ada_compiler" >&5
echo "${ECHO_T}$cf_ada_compiler" >&6
cf_ada_package=terminal_interface
-echo "$as_me:28048: checking for Ada95 include directory" >&5
+echo "$as_me:28049: 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.
withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
;;
(*)
- { { echo "$as_me:28084: error: expected a pathname, not \"$withval\"" >&5
+ { { echo "$as_me:28085: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
{ (exit 1); exit 1; }; }
;;
fi
eval ADA_INCLUDE="$withval"
-echo "$as_me:28093: result: $ADA_INCLUDE" >&5
+echo "$as_me:28094: result: $ADA_INCLUDE" >&5
echo "${ECHO_T}$ADA_INCLUDE" >&6
-echo "$as_me:28096: checking for Ada95 object directory" >&5
+echo "$as_me:28097: 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.
withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%`
;;
(*)
- { { echo "$as_me:28132: error: expected a pathname, not \"$withval\"" >&5
+ { { echo "$as_me:28133: error: expected a pathname, not \"$withval\"" >&5
echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;}
{ (exit 1); exit 1; }; }
;;
fi
eval ADA_OBJECTS="$withval"
-echo "$as_me:28141: result: $ADA_OBJECTS" >&5
+echo "$as_me:28142: result: $ADA_OBJECTS" >&5
echo "${ECHO_T}$ADA_OBJECTS" >&6
-echo "$as_me:28144: checking whether to build an Ada95 shared library" >&5
+echo "$as_me:28145: 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.
fi
fi
-echo "$as_me:28165: result: $with_ada_sharedlib" >&5
+echo "$as_me:28166: result: $with_ada_sharedlib" >&5
echo "${ECHO_T}$with_ada_sharedlib" >&6
if test "x$cf_ada_sharedlib_warn" != xno
then
- { echo "$as_me:28169: WARNING: disabling Ada95 shared library since GNAT projects are not supported" >&5
+ { echo "$as_me:28170: 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
# allow the Ada binding to be renamed
-echo "$as_me:28187: checking for Ada95 curses library name" >&5
+echo "$as_me:28188: 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.
;;
esac
-echo "$as_me:28203: result: $ADA_LIBNAME" >&5
+echo "$as_me:28204: result: $ADA_LIBNAME" >&5
echo "${ECHO_T}$ADA_LIBNAME" >&6
fi
# do this "late" to avoid conflict with header-checks
if test "x$with_widec" = xyes ; then
- echo "$as_me:28214: checking for wchar_t" >&5
+ echo "$as_me:28215: 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 28220 "configure"
+#line 28221 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:28235: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:28236: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:28238: \$? = $ac_status" >&5
+ echo "$as_me:28239: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:28241: \"$ac_try\"") >&5
+ { (eval echo "$as_me:28242: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:28244: \$? = $ac_status" >&5
+ echo "$as_me:28245: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_type_wchar_t=yes
else
fi
rm -f "conftest.$ac_objext" "conftest.$ac_ext"
fi
-echo "$as_me:28254: result: $ac_cv_type_wchar_t" >&5
+echo "$as_me:28255: result: $ac_cv_type_wchar_t" >&5
echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
-echo "$as_me:28257: checking size of wchar_t" >&5
+echo "$as_me:28258: 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
if test "$cross_compiling" = yes; then
# Depending upon the size, compute the lo and hi bounds.
cat >"conftest.$ac_ext" <<_ACEOF
-#line 28266 "configure"
+#line 28267 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:28278: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:28279: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:28281: \$? = $ac_status" >&5
+ echo "$as_me:28282: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:28284: \"$ac_try\"") >&5
+ { (eval echo "$as_me:28285: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:28287: \$? = $ac_status" >&5
+ echo "$as_me:28288: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_lo=0 ac_mid=0
while :; do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 28292 "configure"
+#line 28293 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:28304: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:28305: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:28307: \$? = $ac_status" >&5
+ echo "$as_me:28308: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:28310: \"$ac_try\"") >&5
+ { (eval echo "$as_me:28311: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:28313: \$? = $ac_status" >&5
+ echo "$as_me:28314: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_hi=$ac_mid; break
else
ac_hi=-1 ac_mid=-1
while :; do
cat >"conftest.$ac_ext" <<_ACEOF
-#line 28329 "configure"
+#line 28330 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:28341: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:28342: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:28344: \$? = $ac_status" >&5
+ echo "$as_me:28345: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:28347: \"$ac_try\"") >&5
+ { (eval echo "$as_me:28348: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:28350: \$? = $ac_status" >&5
+ echo "$as_me:28351: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_lo=$ac_mid; break
else
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 28366 "configure"
+#line 28367 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest.$ac_objext"
-if { (eval echo "$as_me:28378: \"$ac_compile\"") >&5
+if { (eval echo "$as_me:28379: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:28381: \$? = $ac_status" >&5
+ echo "$as_me:28382: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest.$ac_objext"'
- { (eval echo "$as_me:28384: \"$ac_try\"") >&5
+ { (eval echo "$as_me:28385: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:28387: \$? = $ac_status" >&5
+ echo "$as_me:28388: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_hi=$ac_mid
else
ac_cv_sizeof_wchar_t=$ac_lo
else
if test "$cross_compiling" = yes; then
- { { echo "$as_me:28400: error: cannot run test program while cross compiling" >&5
+ { { echo "$as_me:28401: 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 28405 "configure"
+#line 28406 "configure"
#include "confdefs.h"
$ac_includes_default
int
}
_ACEOF
rm -f "conftest$ac_exeext"
-if { (eval echo "$as_me:28421: \"$ac_link\"") >&5
+if { (eval echo "$as_me:28422: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:28424: \$? = $ac_status" >&5
+ echo "$as_me:28425: \$? = $ac_status" >&5
(exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"'
- { (eval echo "$as_me:28426: \"$ac_try\"") >&5
+ { (eval echo "$as_me:28427: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:28429: \$? = $ac_status" >&5
+ echo "$as_me:28430: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
ac_cv_sizeof_wchar_t=`cat conftest.val`
else
ac_cv_sizeof_wchar_t=0
fi
fi
-echo "$as_me:28445: result: $ac_cv_sizeof_wchar_t" >&5
+echo "$as_me:28446: 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
then
test -n "$verbose" && echo " test failed (assume 2)" 1>&6
-echo "${as_me:-configure}:28458: testing test failed (assume 2) ..." 1>&5
+echo "${as_me:-configure}:28459: testing test failed (assume 2) ..." 1>&5
sed /SIZEOF_WCHAR_T/d confdefs.h >confdefs.tmp
mv confdefs.tmp confdefs.h
### chooses to split module lists into libraries.
###
### (see CF_LIB_RULES).
-echo "$as_me:28476: checking for library subsets" >&5
+echo "$as_me:28477: checking for library subsets" >&5
echo $ECHO_N "checking for library subsets... $ECHO_C" >&6
LIB_SUBSETS=
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:28530: result: $LIB_SUBSETS" >&5
+echo "$as_me:28531: result: $LIB_SUBSETS" >&5
echo "${ECHO_T}$LIB_SUBSETS" >&6
### Construct the list of include-directories to be generated
fi
### Build up pieces for makefile rules
-echo "$as_me:28561: checking default library suffix" >&5
+echo "$as_me:28562: checking default library suffix" >&5
echo $ECHO_N "checking default library suffix... $ECHO_C" >&6
case $DFT_LWR_MODEL in
(shared) DFT_ARG_SUFFIX='' ;;
esac
test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}"
-echo "$as_me:28572: result: $DFT_ARG_SUFFIX" >&5
+echo "$as_me:28573: result: $DFT_ARG_SUFFIX" >&5
echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6
-echo "$as_me:28575: checking default library-dependency suffix" >&5
+echo "$as_me:28576: checking default library-dependency suffix" >&5
echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6
case X$DFT_LWR_MODEL in
DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}"
DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}"
fi
-echo "$as_me:28658: result: $DFT_DEP_SUFFIX" >&5
+echo "$as_me:28659: result: $DFT_DEP_SUFFIX" >&5
echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6
-echo "$as_me:28661: checking default object directory" >&5
+echo "$as_me:28662: checking default object directory" >&5
echo $ECHO_N "checking default object directory... $ECHO_C" >&6
case $DFT_LWR_MODEL in
DFT_OBJ_SUBDIR='obj_s' ;;
esac
esac
-echo "$as_me:28677: result: $DFT_OBJ_SUBDIR" >&5
+echo "$as_me:28678: result: $DFT_OBJ_SUBDIR" >&5
echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6
if test "x$cf_with_cxx" = xyes ; then
-echo "$as_me:28681: checking c++ library-dependency suffix" >&5
+echo "$as_me:28682: 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++)
fi
fi
-echo "$as_me:28774: result: $CXX_LIB_SUFFIX" >&5
+echo "$as_me:28775: result: $CXX_LIB_SUFFIX" >&5
echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6
fi
if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED"
then
- echo "$as_me:28950: checking if linker supports switching between static/dynamic" >&5
+ echo "$as_me:28951: 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 28955 "configure"
+#line 28956 "configure"
#include <stdio.h>
int cf_ldflags_static(FILE *fp) { return fflush(fp); }
EOF
- if { (eval echo "$as_me:28959: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:28960: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
- echo "$as_me:28962: \$? = $ac_status" >&5
+ echo "$as_me:28963: \$? = $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
LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS"
cat >"conftest.$ac_ext" <<_ACEOF
-#line 28973 "configure"
+#line 28974 "configure"
#include "confdefs.h"
-#line 28976 "configure"
+#line 28977 "configure"
#include <stdio.h>
int cf_ldflags_static(FILE *fp);
}
_ACEOF
rm -f "conftest.$ac_objext" "conftest$ac_exeext"
-if { (eval echo "$as_me:28991: \"$ac_link\"") >&5
+if { (eval echo "$as_me:28992: \"$ac_link\"") >&5
(eval $ac_link) 2>&5
ac_status=$?
- echo "$as_me:28994: \$? = $ac_status" >&5
+ echo "$as_me:28995: \$? = $ac_status" >&5
(exit "$ac_status"); } &&
{ ac_try='test -s "conftest$ac_exeext"'
- { (eval echo "$as_me:28997: \"$ac_try\"") >&5
+ { (eval echo "$as_me:28998: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
- echo "$as_me:29000: \$? = $ac_status" >&5
+ echo "$as_me:29001: \$? = $ac_status" >&5
(exit "$ac_status"); }; }; then
# some linkers simply ignore the -dynamic
rm -f libconftest.*
LIBS="$cf_save_LIBS"
- echo "$as_me:29023: result: $cf_ldflags_static" >&5
+ echo "$as_me:29024: result: $cf_ldflags_static" >&5
echo "${ECHO_T}$cf_ldflags_static" >&6
if test "$cf_ldflags_static" != yes
;;
esac
-echo "$as_me:29039: checking where we will install curses.h" >&5
+echo "$as_me:29040: checking where we will install curses.h" >&5
echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6
includesubdir=
then
includesubdir="/ncurses${USE_LIB_SUFFIX}"
fi
-echo "$as_me:29049: result: ${includedir}${includesubdir}" >&5
+echo "$as_me:29050: result: ${includedir}${includesubdir}" >&5
echo "${ECHO_T}${includedir}${includesubdir}" >&6
### Resolve a conflict between normal and wide-curses by forcing applications
if test "$with_overwrite" != no ; then
if test "$NCURSES_LIBUTF8" = 1 ; then
NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)'
- { echo "$as_me:29057: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5
+ { echo "$as_me:29058: 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
# pkgsrc uses these
-echo "$as_me:29082: checking for desired basename for form library" >&5
+echo "$as_me:29083: 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.
;;
esac
-echo "$as_me:29102: result: $FORM_NAME" >&5
+echo "$as_me:29103: result: $FORM_NAME" >&5
echo "${ECHO_T}$FORM_NAME" >&6
-echo "$as_me:29105: checking for desired basename for menu library" >&5
+echo "$as_me:29106: 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.
;;
esac
-echo "$as_me:29125: result: $MENU_NAME" >&5
+echo "$as_me:29126: result: $MENU_NAME" >&5
echo "${ECHO_T}$MENU_NAME" >&6
-echo "$as_me:29128: checking for desired basename for panel library" >&5
+echo "$as_me:29129: 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.
;;
esac
-echo "$as_me:29148: result: $PANEL_NAME" >&5
+echo "$as_me:29149: result: $PANEL_NAME" >&5
echo "${ECHO_T}$PANEL_NAME" >&6
-echo "$as_me:29151: checking for desired basename for cxx library" >&5
+echo "$as_me:29152: 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.
;;
esac
-echo "$as_me:29171: result: $CXX_NAME" >&5
+echo "$as_me:29172: 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:29177: checking for src modules" >&5
+echo "$as_me:29178: checking for src modules" >&5
echo $ECHO_N "checking for src modules... $ECHO_C" >&6
# dependencies and linker-arguments for test-programs
fi
fi
done
-echo "$as_me:29236: result: $cf_cv_src_modules" >&5
+echo "$as_me:29237: result: $cf_cv_src_modules" >&5
echo "${ECHO_T}$cf_cv_src_modules" >&6
TEST_ARGS="-L${LIB_DIR} $TEST_ARGS"
(*-D_XOPEN_SOURCE_EXTENDED*)
test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6
-echo "${as_me:-configure}:29397: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5
+echo "${as_me:-configure}:29398: 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//'`
# Help to automatically enable the extended curses features when using either
# the *-config or the ".pc" files by adding defines.
-echo "$as_me:29408: checking for defines to add to ncurses${USE_CFG_SUFFIX}${cf_config_suffix}-config script" >&5
+echo "$as_me:29409: 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
done
test "$cf_found" = no && PKG_CFLAGS="$PKG_CFLAGS $cf_loop1"
done
-echo "$as_me:29424: result: $PKG_CFLAGS" >&5
+echo "$as_me:29425: result: $PKG_CFLAGS" >&5
echo "${ECHO_T}$PKG_CFLAGS" >&6
# AC_CHECK_SIZEOF demands a literal parameter, no variables. So we do this.
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}:29485: testing will map symbols to ABI=$cf_cv_abi_default ..." 1>&5
+echo "${as_me:-configure}:29486: testing will map symbols to ABI=$cf_cv_abi_default ..." 1>&5
fi
# This is used for the *-config script and *.pc data files.
-echo "$as_me:29512: checking for linker search path" >&5
+echo "$as_me:29513: 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
cf_pathlist="$cf_pathlist /lib /usr/lib"
;;
(*)
- { echo "$as_me:29560: WARNING: problem with Solaris architecture" >&5
+ { echo "$as_me:29561: WARNING: problem with Solaris architecture" >&5
echo "$as_me: WARNING: problem with Solaris architecture" >&2;}
;;
esac
test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib
fi
-echo "$as_me:29601: result: $cf_cv_ld_searchpath" >&5
+echo "$as_me:29602: 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'`
: "${CONFIG_STATUS=./config.status}"
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:29687: creating $CONFIG_STATUS" >&5
+{ echo "$as_me:29688: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >"$CONFIG_STATUS" <<_ACEOF
#! $SHELL
echo "$ac_cs_version"; exit 0 ;;
--he | --h)
# Conflict between --help and --header
- { { echo "$as_me:29868: error: ambiguous option: $1
+ { { echo "$as_me:29869: 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;}
ac_need_defaults=false;;
# This is an error.
- -*) { { echo "$as_me:29887: error: unrecognized option: $1
+ -*) { { echo "$as_me:29888: 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;}
"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:30017: error: invalid argument: $ac_config_target" >&5
+ *) { { echo "$as_me:30018: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
{ (exit 1); exit 1; }; };;
esac
esac
if test x"$ac_file" != x-; then
- { echo "$as_me:30539: creating $ac_file" >&5
+ { echo "$as_me:30540: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
-) echo "$tmp"/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:30557: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:30558: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo "$f";;
echo "$srcdir/$f"
else
# /dev/null tree
- { { echo "$as_me:30570: error: cannot find input file: $f" >&5
+ { { echo "$as_me:30571: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
if test -n "$ac_seen"; then
ac_used=`grep '@datarootdir@' "$ac_item"`
if test -z "$ac_used"; then
- { echo "$as_me:30586: WARNING: datarootdir was used implicitly but not set:
+ { echo "$as_me:30587: 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;}
fi
ac_seen=`grep '${datarootdir}' "$ac_item"`
if test -n "$ac_seen"; then
- { echo "$as_me:30595: WARNING: datarootdir was used explicitly but not set:
+ { echo "$as_me:30596: 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;}
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:30640: WARNING: Variable $ac_name is used but was not set:
+ { echo "$as_me:30641: 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;}
$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:30651: WARNING: Some variables may not be substituted:
+ { echo "$as_me:30652: WARNING: Some variables may not be substituted:
$ac_seen" >&5
echo "$as_me: WARNING: Some variables may not be substituted:
$ac_seen" >&2;}
* ) ac_file_in=$ac_file.in ;;
esac
- test x"$ac_file" != x- && { echo "$as_me:30700: creating $ac_file" >&5
+ test x"$ac_file" != x- && { echo "$as_me:30701: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
# First look for the input files in the build tree, otherwise in the
-) echo "$tmp"/stdin ;;
[\\/$]*)
# Absolute (can't be DOS-style, as IFS=:)
- test -f "$f" || { { echo "$as_me:30711: error: cannot find input file: $f" >&5
+ test -f "$f" || { { echo "$as_me:30712: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
echo $f;;
echo "$srcdir/$f"
else
# /dev/null tree
- { { echo "$as_me:30724: error: cannot find input file: $f" >&5
+ { { echo "$as_me:30725: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
{ (exit 1); exit 1; }; }
fi;;
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:30782: $ac_file is unchanged" >&5
+ { echo "$as_me:30783: $ac_file is unchanged" >&5
echo "$as_me: $ac_file is unchanged" >&6;}
else
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
(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}:31169: testing overriding CXX_MODEL to SHARED ..." 1>&5
+echo "${as_me:-configure}:31170: testing overriding CXX_MODEL to SHARED ..." 1>&5
with_shared_cxx=yes
;;
dnl
dnl Author: Thomas E. Dickey 1995-on
dnl
-dnl $Id: configure.in,v 1.781 2024/05/18 19:42:53 tom Exp $
+dnl $Id: configure.in,v 1.782 2024/05/25 23:05:44 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
dnl For additional information, see
dnl
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20210101)
-AC_REVISION($Revision: 1.781 $)
+AC_REVISION($Revision: 1.782 $)
AC_INIT(ncurses/base/lib_initscr.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
AC_DEFINE(HAVE_USE_WINDOW,1,[Define to 1 to enable use_window() function in test-programs])
AC_DEFINE(HAVE_WRESIZE,1,[Define to 1 to enable wresize() function in test-programs])
GENERATED_EXT_FUNCS=generated
- test "x$with_ext_funcs" = xyes || cf_dft_ext_spfuncs=no
else
+ cf_dft_ext_spfuncs=no
+ cf_dft_ext_colors=no
NCURSES_EXT_FUNCS=0
GENERATED_EXT_FUNCS=
fi
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1614 2024/05/19 08:58:02 tom Exp $
+# $Id: dist.mk,v 1.1615 2024/05/25 10:33:51 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 5
-NCURSES_PATCH = 20240519
+NCURSES_PATCH = 20240525
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_add_wch.3x,v 1.63 2024/05/11 21:31:45 tom Exp @
+ * @Id: curs_add_wch.3x,v 1.65 2024/05/25 21:13:15 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_add_wch 3x 2024-05-11 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_add_wch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_add_wch 3x 2024-05-11 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_add_wch 3x 2024-05-25 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>
-ncurses 6.5 2024-05-11 <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_addch.3x,v 1.86 2024/05/11 20:39:53 tom Exp @
+ * @Id: curs_addch.3x,v 1.88 2024/05/25 21:13:32 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_addch 3x 2024-05-11 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_addch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_addch 3x 2024-05-11 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_addch 3x 2024-05-25 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>
-ncurses 6.5 2024-05-11 <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_addstr.3x,v 1.45 2024/04/20 19:18:18 tom Exp @
+ * @Id: curs_addstr.3x,v 1.47 2024/05/25 20:45:40 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_addstr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_addstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_addstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_addstr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
These functions return <STRONG>OK</STRONG> on success and <STRONG>ERR</STRONG> on failure.
- X/Open Curses does not specify any error conditions. <EM>ncurses</EM> returns
- an error
+ In <EM>ncurses</EM>, they return <STRONG>ERR</STRONG> if
- <STRONG>o</STRONG> if the window pointer is <STRONG>NULL</STRONG>,
+ <STRONG>o</STRONG> <EM>win</EM> is <STRONG>NULL</STRONG>,
- <STRONG>o</STRONG> if the string pointer is <STRONG>NULL</STRONG>, or
+ <STRONG>o</STRONG> <EM>str</EM> is <STRONG>NULL</STRONG>, or
- <STRONG>o</STRONG> if an internal <STRONG><A HREF="curs_addch.3x.html">waddch(3x)</A></STRONG> call returns an error.
+ <STRONG>o</STRONG> an internal <STRONG><A HREF="curs_addch.3x.html">waddch(3x)</A></STRONG> call returns <STRONG>ERR</STRONG>.
- Functions prefixed with "mv" first perform cursor movement and fail if
+ Functions prefixed with "mv" first perform cursor movement and fail if
the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
</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.
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_addstr.3x.html">curs_addstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_addwstr.3x,v 1.37 2024/04/20 19:18:18 tom Exp @
+ * @Id: curs_addwstr.3x,v 1.39 2024/05/25 20:10:58 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_addwstr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_addwstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_addwstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_addwstr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
These functions return <STRONG>OK</STRONG> on success and <STRONG>ERR</STRONG> on failure.
X/Open Curses does not specify any error conditions. <EM>ncurses</EM> returns
- an error
+ <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the window pointer is <STRONG>NULL</STRONG>,
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_addwstr.3x.html">curs_addwstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_attr.3x,v 1.106 2024/05/11 20:39:53 tom Exp @
+ * @Id: curs_attr.3x,v 1.108 2024/05/25 20:10:58 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_attr 3x 2024-05-11 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_attr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_attr 3x 2024-05-11 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_attr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
This implementation
- <STRONG>o</STRONG> returns an error if the window pointer is null.
+ <STRONG>o</STRONG> returns <STRONG>ERR</STRONG> if the window pointer is null.
- <STRONG>o</STRONG> returns an error if the color pair parameter for <STRONG>wcolor_set</STRONG> is
- outside the range 0..COLOR_PAIRS-1.
+ <STRONG>o</STRONG> returns <STRONG>ERR</STRONG> if the color pair parameter for <STRONG>wcolor_set</STRONG> is outside
+ the range 0..COLOR_PAIRS-1.
- <STRONG>o</STRONG> does not return an error if either of the parameters of <STRONG>wattr_get</STRONG>
- used for retrieving attribute or color pair values is <STRONG>NULL</STRONG>.
+ <STRONG>o</STRONG> does not fail if either of the parameters of <STRONG>wattr_get</STRONG> used for
+ retrieving attribute or color pair values is <STRONG>NULL</STRONG>.
Functions prefixed with "mv" first perform cursor movement and fail if
the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
-ncurses 6.5 2024-05-11 <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_border.3x,v 1.49 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_border.3x,v 1.51 2024/05/25 20:10:58 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_border 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_border 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_border 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_border 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
negative integer if <STRONG>immedok</STRONG> is set", but this appears to be an error.
X/Open Curses does not specify any error conditions. This
- implementation returns an error if the window pointer is null.
+ implementation returns <STRONG>ERR</STRONG> if the window pointer is null.
Functions prefixed with "mv" first perform cursor movement and fail if
the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_border_set.3x,v 1.36 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_border_set.3x,v 1.38 2024/05/25 20:10:58 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_border_set 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_border_set 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_border_set 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_border_set 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
Upon successful completion, these functions return <STRONG>OK</STRONG>. Otherwise, they
return <STRONG>ERR</STRONG>.
- Functions using a window parameter return an error if it is null.
+ Functions using a window parameter return <STRONG>ERR</STRONG> if it is null.
Functions prefixed with "mv" first perform cursor movement and fail if
the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_clear.3x,v 1.48 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_clear.3x,v 1.50 2024/05/25 20:10:58 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_clear 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_clear 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_clear 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_clear 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
X/Open defines no error conditions. In this implementation,
- <STRONG>o</STRONG> functions using a window pointer parameter return an error if it is
- null
+ <STRONG>o</STRONG> functions using a window pointer parameter return <STRONG>ERR</STRONG> if it is null
<STRONG>o</STRONG> <STRONG>wclrtoeol</STRONG> returns an error if the cursor position is about to wrap.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
- Note that <STRONG>erase</STRONG>, <STRONG>werase</STRONG>, <STRONG>clear</STRONG>, <STRONG>wclear</STRONG>, <STRONG>clrtobot</STRONG>, and <STRONG>clrtoeol</STRONG> may be
+ Note that <STRONG>erase</STRONG>, <STRONG>werase</STRONG>, <STRONG>clear</STRONG>, <STRONG>wclear</STRONG>, <STRONG>clrtobot</STRONG>, and <STRONG>clrtoeol</STRONG> may be
macros.
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
These functions are described in X/Open Curses, Issue 4.
- The SVr4.0 manual says that these functions could return "or a non-
- negative integer if <STRONG>immedok</STRONG> is set", referring to the return-value of
+ The SVr4.0 manual says that these functions could return "or a non-
+ negative integer if <STRONG>immedok</STRONG> is set", referring to the return-value of
<STRONG>wrefresh</STRONG>. In that implementation, <STRONG>wrefresh</STRONG> would return a count of the
number of characters written to the terminal.
- Some historic curses implementations had, as an undocumented feature,
+ Some historic curses implementations had, as an undocumented feature,
the ability to do the equivalent of <STRONG>clearok(...,</STRONG> <STRONG>1)</STRONG> by saying
<STRONG>touchwin(stdscr)</STRONG> or <STRONG>clear(stdscr)</STRONG>. This will not work under <EM>ncurses</EM>.
- This implementation, and others such as Solaris, sets the current
- position to 0,0 after erasing via <STRONG>werase</STRONG> and <STRONG>wclear</STRONG>. That fact is not
- documented in other implementations, and may not be true of
+ This implementation, and others such as Solaris, sets the current
+ position to 0,0 after erasing via <STRONG>werase</STRONG> and <STRONG>wclear</STRONG>. That fact is not
+ documented in other implementations, and may not be true of
implementations which were not derived from SVr4 source.
Not obvious from the description, most implementations clear the screen
- after <STRONG>wclear</STRONG> even for a subwindow or derived window. If you do not
+ after <STRONG>wclear</STRONG> even for a subwindow or derived window. If you do not
want to clear the screen during the next <STRONG>wrefresh</STRONG>, use <STRONG>werase</STRONG> instead.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_color.3x,v 1.100 2024/04/20 21:24:19 tom Exp @
+ * @Id: curs_color.3x,v 1.102 2024/05/25 20:10:58 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 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_color 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_color 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_color 3x 2024-05-25 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>
Specific functions make additional checks:
<STRONG>init_color</STRONG>
- returns an error if the terminal does not support this feature,
+ returns <STRONG>ERR</STRONG> if the terminal does not support this feature,
e.g., if the <STRONG>initialize_color</STRONG> capability is absent from the
terminal description.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_get_wstr.3x,v 1.48 2024/04/20 19:18:18 tom Exp @
+ * @Id: curs_get_wstr.3x,v 1.50 2024/05/25 20:10:58 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_get_wstr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_get_wstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_get_wstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_get_wstr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
X/Open defines no error conditions.
- In this implementation, these functions return an error
+ In this implementation, these functions return <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the window pointer is null,
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_getch.3x,v 1.91 2024/05/18 20:23:57 tom Exp @
+ * @Id: curs_getch.3x,v 1.93 2024/05/25 20:57:17 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_getch 3x 2024-05-18 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_getch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_getch 3x 2024-05-18 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_getch 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
well-defined.
Historically, the list of key code macros above was influenced by the
- function-key-rich keyboard of the AT&T 7300 (also known variously as
- the "3B1", "Safari 4", and "UNIX PC"), a 1985 machine. Today's
+ keyboard of the AT&T 7300 (also known variously as the "3B1", "Safari
+ 4", and "UNIX PC"), a 1985 machine rich in function keys. Today's
computer keyboards are based that of the IBM PC/AT and tend to have
fewer. A <EM>curses</EM> application can expect such a keyboard to transmit key
codes <STRONG>KEY_UP</STRONG>, <STRONG>KEY_DOWN</STRONG>, <STRONG>KEY_LEFT</STRONG>, <STRONG>KEY_RIGHT</STRONG>, <STRONG>KEY_HOME</STRONG>, <STRONG>KEY_END</STRONG>,
Applications employing <EM>ncurses</EM> extensions should condition their use on
the visibility of the <STRONG>NCURSES_VERSION</STRONG> preprocessor macro.
- X/Open Curses, Issue 4 describes <STRONG>getch</STRONG>, <STRONG>wgetch</STRONG>, <STRONG>mvgetch</STRONG>, <STRONG>mvwgetch</STRONG>, and
- <STRONG>ungetch</STRONG>. It specifies no error conditions for them.
+ Except as noted in section "EXTENSIONS" above, X/Open Curses, Issue 4
+ describes these functions. It specifies no error conditions for them.
<STRONG>wgetch</STRONG> reads only single-byte characters.
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
+ ECMA-6 "7-bit coded Character Set" <https://ecma-international.org/
+ publications-and-standards/standards/ecma-6/>
+
+ ECMA-48 "Control Functions for Coded Character Sets" <https://
+ ecma-international.org/publications-and-standards/standards/ecma-48/>
+
<STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG> describes comparable functions of the <EM>ncurses</EM> library
in its wide-character configuration (<EM>ncursesw</EM>).
<STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
<STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG>, <STRONG>ascii(7)</STRONG>
- ECMA-6 "7-bit coded Character Set" <https://ecma-international.org/
- publications-and-standards/standards/ecma-6/>
-
- ECMA-48 "Control Functions for Coded Character Sets" <https://
- ecma-international.org/publications-and-standards/standards/ecma-48/>
-
-ncurses 6.5 2024-05-18 <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_getstr.3x,v 1.59 2024/05/11 20:39:53 tom Exp @
+ * @Id: curs_getstr.3x,v 1.61 2024/05/25 20:10:58 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_getstr 3x 2024-05-11 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_getstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_getstr 3x 2024-05-11 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_getstr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
X/Open defines no error conditions.
- In this implementation, these functions return an error
+ In this implementation, these functions return <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the window pointer is null,
-ncurses 6.5 2024-05-11 <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_in_wchstr.3x,v 1.39 2024/04/20 21:24:19 tom Exp @
+ * @Id: curs_in_wchstr.3x,v 1.41 2024/05/25 20:10:58 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_in_wchstr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_in_wchstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_in_wchstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_in_wchstr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
return <STRONG>ERR</STRONG>.
X/Open Curses defines no error conditions. This implementation returns
- an error
+ <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the <EM>win</EM> parameter is null or
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_inch.3x,v 1.54 2024/05/18 20:07:52 tom Exp @
+ * @Id: curs_inch.3x,v 1.56 2024/05/25 20:10:58 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_inch 3x 2024-05-18 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_inch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_inch 3x 2024-05-18 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_inch 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
<STRONG>inch</STRONG>, <STRONG>mvinch</STRONG>, and <STRONG>mvwinch</STRONG> may be implemented as macros.
- These functions do not return an error if the window contains cells of
- <EM>curses</EM> complex characters; that is, if they contain characters with
- codes wider than eight bits (or greater than 255 as an unsigned decimal
+ These functions do not fail if the window contains cells of <EM>curses</EM>
+ complex characters; that is, if they contain characters with codes
+ wider than eight bits (or greater than 255 as an unsigned decimal
integer). They instead extract only the low-order eight bits of the
character code from the cell.
-ncurses 6.5 2024-05-18 <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_inchstr.3x,v 1.45 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_inchstr.3x,v 1.47 2024/05/25 20:10:58 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_inchstr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_inchstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_inchstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_inchstr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
retrieved, exclusive of the trailing 0).
X/Open Curses defines no error conditions. This implementation returns
- an error
+ <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the <EM>win</EM> parameter is null or
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_initscr.3x,v 1.69 2024/04/20 21:24:19 tom Exp @
+ * @Id: curs_initscr.3x,v 1.71 2024/05/25 20:10:58 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_initscr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_initscr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_initscr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_initscr 3x 2024-05-25 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>
X/Open defines no error conditions. In this implementation
- <STRONG>o</STRONG> <STRONG>endwin</STRONG> returns an error if
+ <STRONG>o</STRONG> <STRONG>endwin</STRONG> returns <STRONG>ERR</STRONG> if
<STRONG>o</STRONG> the terminal was not initialized, or
<STRONG>o</STRONG> <STRONG>endwin</STRONG> is called more than once without updating the screen, or
- <STRONG>o</STRONG> <STRONG><A HREF="curs_kernel.3x.html">reset_shell_mode(3x)</A></STRONG> returns an error.
+ <STRONG>o</STRONG> <STRONG><A HREF="curs_kernel.3x.html">reset_shell_mode(3x)</A></STRONG> return <STRONG>ERR</STRONG>.
- <STRONG>o</STRONG> <STRONG>newterm</STRONG> returns an error if it cannot allocate the data structures
- for the screen, or for the top-level windows within the screen,
- i.e., <STRONG>curscr</STRONG>, <STRONG>newscr</STRONG>, or <STRONG>stdscr</STRONG>.
+ <STRONG>o</STRONG> <STRONG>newterm</STRONG> returns <STRONG>ERR</STRONG> if it cannot allocate the data structures for
+ the screen, or for the top-level windows within the screen, i.e.,
+ <STRONG>curscr</STRONG>, <STRONG>newscr</STRONG>, or <STRONG>stdscr</STRONG>.
<STRONG>o</STRONG> <STRONG>set_term</STRONG> returns no error.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_inopts.3x,v 1.66 2024/04/13 22:20:29 tom Exp @
+ * @Id: curs_inopts.3x,v 1.68 2024/05/25 20:41:48 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_inopts 3x 2024-04-13 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_inopts 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_inopts 3x 2024-04-13 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_inopts 3x 2024-05-25 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>
<STRONG>int</STRONG> <STRONG>echo(void);</STRONG>
<STRONG>int</STRONG> <STRONG>noecho(void);</STRONG>
- <STRONG>int</STRONG> <STRONG>intrflush(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
- <STRONG>int</STRONG> <STRONG>keypad(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
- <STRONG>int</STRONG> <STRONG>meta(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
- <STRONG>int</STRONG> <STRONG>nodelay(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
- <STRONG>int</STRONG> <STRONG>notimeout(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>intrflush(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM> <EM>/*</EM> <EM>ignored</EM> <EM>*/</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>keypad(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>meta(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM> <EM>/*</EM> <EM>ignored</EM> <EM>*/</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>nodelay(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>notimeout(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>bool</STRONG> <EM>bf</EM><STRONG>);</STRONG>
<STRONG>int</STRONG> <STRONG>nl(void);</STRONG>
<STRONG>int</STRONG> <STRONG>nonl(void);</STRONG>
- <STRONG>int</STRONG> <STRONG>raw(void);</STRONG>
- <STRONG>int</STRONG> <STRONG>noraw(void);</STRONG>
-
<STRONG>void</STRONG> <STRONG>qiflush(void);</STRONG>
<STRONG>void</STRONG> <STRONG>noqiflush(void);</STRONG>
+ <STRONG>int</STRONG> <STRONG>raw(void);</STRONG>
+ <STRONG>int</STRONG> <STRONG>noraw(void);</STRONG>
+
<STRONG>int</STRONG> <STRONG>halfdelay(int</STRONG> <EM>tenths</EM><STRONG>);</STRONG>
<STRONG>void</STRONG> <STRONG>timeout(int</STRONG> <EM>delay</EM><STRONG>);</STRONG>
- <STRONG>void</STRONG> <STRONG>wtimeout(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>delay</EM><STRONG>);</STRONG>
+ <STRONG>void</STRONG> <STRONG>wtimeout(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>delay</EM><STRONG>);</STRONG>
<STRONG>int</STRONG> <STRONG>typeahead(int</STRONG> <EM>fd</EM><STRONG>);</STRONG>
</PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
- <EM>ncurses</EM> provides several functions that let an application change the
- way input from the terminal is handled. Some are global, applying to
- all windows. Others apply only to a specific window. Window-specific
- settings are not automatically applied to new or derived windows. An
- application must apply these to each window if the same behavior is
- desired.
+ <EM>curses</EM> offers configurable parameters permitting an application to
+ control the handling of input from the terminal. Some are global,
+ applying to all windows; others apply only to a specific window. The
+ library does not automatically apply such parameters to new or derived
+ windows; an application must configure each window for the desired
+ behavior.
+
+ Some descriptions below make reference to an <EM>input</EM> <EM>character</EM> <EM>reading</EM>
+ <EM>function</EM>: this is <STRONG><A HREF="curs_getch.3x.html">wgetch(3x)</A></STRONG> in the non-wide character <EM>curses</EM> API and
+ <STRONG><A HREF="curs_get_wch.3x.html">wget_wch(3x)</A></STRONG> in the wide character API. In addition to the variant
+ forms of these described in <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>, the <EM>curses</EM> functions
+ <STRONG><A HREF="curs_getstr.3x.html">wgetstr(3x)</A></STRONG> and <STRONG><A HREF="curs_get_wstr.3x.html">wget_wstr(3x)</A></STRONG> and their own variants call the
+ appropriate input character reading function.
</PRE><H3><a name="h3-cbreak_nocbreak">cbreak, nocbreak</a></H3><PRE>
- Normally, the terminal driver buffers typed characters until a newline
- or carriage return is typed. The <STRONG>cbreak</STRONG> routine disables line
- buffering and erase/kill character-processing (interrupt and flow
- control characters are unaffected), making characters typed by the user
- immediately available to the program. The <STRONG>nocbreak</STRONG> routine returns the
- terminal to normal (cooked) mode.
+ Normally, the terminal driver buffers typed characters, not delivering
+ them to an application until a line feed or carriage return is typed.
+ <STRONG>cbreak</STRONG> configures the terminal in <EM>cbreak</EM> <EM>mode</EM>, which disables line
+ buffering and erase and kill character processing (the interrupt, quit,
+ suspend, and flow control characters are unaffected) and makes
+ characters typed by the user immediately available to the program.
+ <STRONG>nocbreak</STRONG> returns the terminal to normal ("cooked") mode.
- Initially the terminal may or may not be in <STRONG>cbreak</STRONG> mode, as the mode is
- inherited; therefore, a program should call <STRONG>cbreak</STRONG> or <STRONG>nocbreak</STRONG>
- explicitly. Most interactive programs using <EM>curses</EM> set the <STRONG>cbreak</STRONG>
- mode. Note that <STRONG>cbreak</STRONG> overrides <STRONG>raw</STRONG>. [See <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> for a
- discussion of how these routines interact with <STRONG>echo</STRONG> and <STRONG>noecho</STRONG>.]
+ The state of the terminal is unknown to a <EM>curses</EM> application when it
+ starts; therefore, a program should call <STRONG>cbreak</STRONG> or <STRONG>nocbreak</STRONG> explicitly.
+ Most interactive programs using <EM>curses</EM> set cbreak mode. Calling <STRONG>cbreak</STRONG>
+ overrides <STRONG>raw</STRONG>. The man page for the input character reading function
+ discusses how <STRONG>cbreak</STRONG> and <STRONG>nocbreak</STRONG> interact with <STRONG>echo</STRONG> and <STRONG>noecho</STRONG>.
</PRE><H3><a name="h3-echo_noecho">echo, noecho</a></H3><PRE>
- The <STRONG>echo</STRONG> and <STRONG>noecho</STRONG> routines control whether characters typed by the
- user are echoed by <STRONG><A HREF="curs_getch.3x.html">getch(3x)</A></STRONG> as they are typed. Echoing by the
- terminal driver is always disabled, but initially <STRONG>getch</STRONG> is in echo
- mode, so characters typed are echoed. Authors of most interactive
- programs prefer to do their own echoing in a controlled area of the
- screen, or not to echo at all, so they disable echoing by calling
- <STRONG>noecho</STRONG>. [See <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG> for a discussion of how these routines
- interact with <STRONG>cbreak</STRONG> and <STRONG>nocbreak</STRONG>.]
+ <STRONG>echo</STRONG> and <STRONG>noecho</STRONG> determine whether characters typed by the user are
+ written to the <EM>curses</EM> window by the input character reading function as
+ they are typed. <EM>curses</EM> always disables the terminal driver's own
+ echoing. By default, a <EM>curses</EM> window has its echo flag set. Authors
+ of most interactive programs prefer to do their own echoing in a
+ controlled area of the screen, or not to echo at all, so they call
+ <STRONG>noecho</STRONG>. The man page for the input character reading function
+ discusses how <STRONG>echo</STRONG> and <STRONG>noecho</STRONG> interact with <STRONG>cbreak</STRONG> and <STRONG>nocbreak</STRONG>.
</PRE><H3><a name="h3-halfdelay">halfdelay</a></H3><PRE>
- The <STRONG>halfdelay</STRONG> routine is used for half-delay mode, which is similar to
- <STRONG>cbreak</STRONG> mode in that characters typed by the user are immediately
- available to the program. However, after blocking for <EM>tenths</EM> tenths of
- seconds, <STRONG>ERR</STRONG> is returned if nothing has been typed. The value of
- <EM>tenths</EM> must be a number between 1 and 255. Use <STRONG>nocbreak</STRONG> to leave half-
- delay mode.
+ <STRONG>halfdelay</STRONG> configures <EM>half-delay</EM> <EM>mode</EM>, which is similar to cbreak mode
+ in that characters typed by the user are immediately available to the
+ program. However, after blocking for <EM>tenths</EM> tenths of seconds, an
+ input character reading function returns <STRONG>ERR</STRONG> if no input is pending.
+ The value of <EM>tenths</EM> must be between 1 and 255. Use <STRONG>nocbreak</STRONG> to leave
+ half-delay mode.
</PRE><H3><a name="h3-intrflush">intrflush</a></H3><PRE>
- If the <STRONG>intrflush</STRONG> option is enabled (<EM>bf</EM> is <STRONG>TRUE</STRONG>), and an interrupt key
- is pressed on the keyboard (interrupt, break, quit), all output in the
- terminal driver queue is flushed, giving the effect of faster response
- to the interrupt, but causing <EM>curses</EM> to have the wrong idea of what is
- on the screen. Disabling the option (<EM>bf</EM> is <STRONG>FALSE</STRONG>), prevents the flush.
- The default for the option is inherited from the terminal driver
- settings. The <EM>win</EM> argument is ignored.
+ <STRONG>intrflush</STRONG> calls <STRONG>qiflush</STRONG> (see below) if <EM>bf</EM> is <STRONG>TRUE</STRONG>, and <STRONG>noqiflush</STRONG> if <EM>bf</EM>
+ is <STRONG>FALSE</STRONG>. It ignores its <EM>win</EM> argument.
</PRE><H3><a name="h3-keypad">keypad</a></H3><PRE>
- The <STRONG>keypad</STRONG> option enables the keypad of the user's terminal. If
- enabled (<EM>bf</EM> is <STRONG>TRUE</STRONG>), the user can press a function key (such as an
- arrow key) and <STRONG><A HREF="curs_getch.3x.html">wgetch(3x)</A></STRONG> returns a single value representing the
- function key, as in <STRONG>KEY_LEFT</STRONG>. If disabled (<EM>bf</EM> is <STRONG>FALSE</STRONG>), <EM>curses</EM> does
- not treat function keys specially and the program has to interpret the
- escape sequences itself. If the keypad in the terminal can be turned
- on (made to transmit) and off (made to work locally), turning on this
- option causes the terminal keypad to be turned on when <STRONG><A HREF="curs_getch.3x.html">wgetch(3x)</A></STRONG> is
- called. The default value for keypad is <STRONG>FALSE</STRONG>.
+ <STRONG>keypad</STRONG> enables recognition of a terminal's function keys. If enabled
+ (<EM>bf</EM> is <STRONG>TRUE</STRONG>), the input character reading function returns a value
+ representing the function key, such as <STRONG>KEY_LEFT</STRONG>. (Wide-character API
+ users: <STRONG><A HREF="curs_get_wch.3x.html">wget_wch(3x)</A></STRONG> returns <STRONG>KEY_CODE_YES</STRONG> to indicate the availability
+ of a function key code in its <EM>wch</EM> parameter.) If disabled (<EM>bf</EM> is
+ <STRONG>FALSE</STRONG>), <EM>curses</EM> does not treat function keys specially and the program
+ has to interpret escape sequences itself. If the terminal's keypad can
+ be turned on (made to transmit) and off (made to work locally), <STRONG>keypad</STRONG>
+ configures it consistently with the <EM>bf</EM> parameter. By default, a
+ window's keypad mode is off.
</PRE><H3><a name="h3-meta">meta</a></H3><PRE>
- Initially, whether the terminal returns 7 or 8 significant bits on
- input depends on the control mode of the terminal driver [see
- <STRONG>termios(3)</STRONG>]. To force 8 bits to be returned, invoke <STRONG>meta</STRONG>(<EM>win</EM>, <STRONG>TRUE</STRONG>);
- this is equivalent, under POSIX, to setting the CS8 flag on the
- terminal. To force 7 bits to be returned, invoke <STRONG>meta</STRONG>(<EM>win</EM>, <STRONG>FALSE</STRONG>);
- this is equivalent, under POSIX, to setting the CS7 flag on the
- terminal. The window argument, <EM>win</EM>, is always ignored. If the
- terminfo capabilities <STRONG>smm</STRONG> (meta_on) and <STRONG>rmm</STRONG> (meta_off) are defined for
- the terminal, <STRONG>smm</STRONG> is sent to the terminal when <STRONG>meta</STRONG>(<EM>win</EM>, <STRONG>TRUE</STRONG>) is
- called and <STRONG>rmm</STRONG> is sent when <STRONG>meta</STRONG>(<EM>win</EM>, <STRONG>FALSE</STRONG>) is called.
+ Initially, whether the terminal returns 7- or 8-bit character codes on
+ input depends on the configuration of the terminal driver; see
+ <STRONG>termios(3)</STRONG>. To force 8 bits to be returned, call <STRONG>meta(</STRONG>...<STRONG>,</STRONG> <STRONG>TRUE)</STRONG>; this
+ is equivalent, on POSIX systems, to setting the CS8 flag on the
+ terminal. To force 7 bits to be returned, call <STRONG>meta(</STRONG>...<STRONG>,</STRONG> <STRONG>FALSE)</STRONG>; this
+ is equivalent, on POSIX systems, to setting the CS7 flag on the
+ terminal. The window argument, <EM>win</EM>, is always ignored. If the <EM>term-</EM>
+ <EM>info</EM> string capabilities <STRONG>meta_on</STRONG> (<STRONG>smm</STRONG>) and <STRONG>meta_off</STRONG> (<STRONG>rmm</STRONG>) are defined
+ for the terminal type, enabling meta mode sends <STRONG>smm</STRONG> to the terminal and
+ disabling it sends <STRONG>rmm</STRONG> to the terminal.
</PRE><H3><a name="h3-nl_nonl">nl, nonl</a></H3><PRE>
- The <STRONG>nl</STRONG> and <STRONG>nonl</STRONG> routines control whether the underlying display device
- translates the return key into newline on input.
+ Initially, whether the terminal reports a carriage return using the
+ character code for a line feed depends on the configuration of the
+ terminal driver; see <STRONG>termios(3)</STRONG>. <STRONG>nl</STRONG> configures the terminal to perform
+ this translation. <STRONG>nonl</STRONG> disables it.
</PRE><H3><a name="h3-nodelay">nodelay</a></H3><PRE>
- The <STRONG>nodelay</STRONG> option causes <STRONG>getch</STRONG> to be a non-blocking call. If no input
- is ready, <STRONG>getch</STRONG> returns <STRONG>ERR</STRONG>. If disabled (<EM>bf</EM> is <STRONG>FALSE</STRONG>), <STRONG>getch</STRONG> waits
- until a key is pressed.
+ <STRONG>nodelay</STRONG> configures the input character reading function to be non-
+ blocking for window <EM>win</EM>. If no input is ready, the reading function
+ returns <STRONG>ERR</STRONG>. If disabled (<EM>bf</EM> is <STRONG>FALSE</STRONG>), the reading function does not
+ return until it has input.
</PRE><H3><a name="h3-notimeout">notimeout</a></H3><PRE>
- When interpreting an escape sequence, <STRONG><A HREF="curs_getch.3x.html">wgetch(3x)</A></STRONG> sets a timer while
- waiting for the next character. If <STRONG>notimeout(</STRONG><EM>win</EM>, <STRONG>TRUE</STRONG>) is called,
- then <STRONG>wgetch</STRONG> does not set a timer. The purpose of the timeout is to
- distinguish sequences produced by a function key from those typed by a
- user.
+ When the input character reading function reads an ESC character, it
+ sets a timer while waiting for the next character. <STRONG>notimeout(</STRONG><EM>win</EM><STRONG>,</STRONG>
+ <STRONG>TRUE)</STRONG> disables this timer. The purpose of the timeout is to
+ distinguish sequences produced by a function key from those typed by a
+ user. To configure the timeout rather than disabling it, see <STRONG>wtimeout</STRONG>
+ below.
+
+
+</PRE><H3><a name="h3-qiflush_noqiflush">qiflush, noqiflush</a></H3><PRE>
+ <STRONG>qiflush</STRONG> and <STRONG>noqiflush</STRONG> configure the terminal driver's treatment of its
+ input and output queues when it handles the interrupt, suspend, or quit
+ characters in <EM>cbreak</EM> and "cooked" modes; on POSIX systems, see
+ <STRONG>termios(3)</STRONG>. The default behavior is inherited from the terminal driver
+ settings. Calling <STRONG>qiflush</STRONG> configures the terminal to flush the queues
+ when any of these events occurs, giving the impression of faster
+ response to user input, but making the library's model of the screen
+ contents incorrect. Calling <STRONG>noqiflush</STRONG> prevents such flushing, but
+ might frustrate impatient users on slow connections if a <EM>curses</EM> update
+ of the screen is in 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 you want output to continue after the handler exits
+ as though the interrupt had not occurred.
</PRE><H3><a name="h3-raw_noraw">raw, noraw</a></H3><PRE>
- The <STRONG>raw</STRONG> and <STRONG>noraw</STRONG> routines place the terminal into or out of raw mode.
- Raw mode is similar to <STRONG>cbreak</STRONG> mode, in that characters typed are
- immediately passed through to the user program. The differences are
- that in raw mode, the interrupt, quit, suspend, and flow control
- characters are all passed through uninterpreted, instead of generating
- a signal. The behavior of the BREAK key depends on other bits in the
- terminal driver that are not set by <EM>curses</EM>.
-
-
-</PRE><H3><a name="h3-qiflush_nqiflush">qiflush, nqiflush</a></H3><PRE>
- When the <STRONG>noqiflush</STRONG> routine is used, normal flush of input and output
- queues associated with the <STRONG>INTR</STRONG>, <STRONG>QUIT</STRONG> and <STRONG>SUSP</STRONG> characters will not be
- done [see <STRONG>termios(3)</STRONG>]. When <STRONG>qiflush</STRONG> is called, the queues will be
- flushed when these control characters are read. You may want to call
- <STRONG>noqiflush</STRONG> in a signal handler if you want output to continue as though
- the interrupt had not occurred, after the handler exits.
+ <STRONG>raw</STRONG> configures the terminal to read input in <EM>raw</EM> <EM>mode</EM>, which is similar
+ to cbreak mode (see <STRONG>cbreak</STRONG> above) except that it furthermore passes
+ through the terminal's configured interrupt, quit, suspend, and flow
+ control characters uninterpreted to the application, instead of
+ generating a signal or acting on I/O flow. The behavior of the
+ terminal's "Break" key (if any) depends on terminal driver
+ configuration parameters that <EM>curses</EM> does not handle. <STRONG>noraw</STRONG> exits raw
+ mode.
</PRE><H3><a name="h3-timeout_wtimeout">timeout, wtimeout</a></H3><PRE>
- The <STRONG>timeout</STRONG> and <STRONG>wtimeout</STRONG> routines set blocking or non-blocking read for
- a given window. If <EM>delay</EM> is negative, a blocking read is used (i.e.,
- waits indefinitely for input). If <EM>delay</EM> is zero, then a non-blocking
- read is used (i.e., <EM>read</EM> returns <STRONG>ERR</STRONG> if no input is waiting). If <EM>delay</EM>
- is positive, then <EM>read</EM> blocks for <EM>delay</EM> milliseconds, and returns <STRONG>ERR</STRONG>
- if there is still no input. Hence, these routines provide the same
- functionality as <STRONG>nodelay</STRONG>, plus the additional capability of being able
- to block for only <EM>delay</EM> milliseconds (where <EM>delay</EM> is positive).
+ <STRONG>wtimeout</STRONG> configures whether a <EM>curses</EM> input character reading function
+ called on window <EM>win</EM> uses blocking or non-blocking reads. If <EM>delay</EM> is
+ negative, a blocking read is used, waiting indefinitely for input. If
+ <EM>delay</EM> is zero, a non-blocking read is used; an input character reading
+ function returns <STRONG>ERR</STRONG> if no input is pending. If <EM>delay</EM> is positive, an
+ input character reading function blocks for <EM>delay</EM> milliseconds, and
+ returns <STRONG>ERR</STRONG> if the delay elapses and there is still no input pending.
+ <STRONG>timeout</STRONG> calls <STRONG>wtimeout</STRONG> on <STRONG>stdscr</STRONG>.
</PRE><H3><a name="h3-typeahead">typeahead</a></H3><PRE>
- <EM>curses</EM> does "line-breakout optimization" by looking for typeahead
- periodically while updating the screen. If input is found, and it is
- coming from a terminal, the current update is postponed until
- <STRONG><A HREF="curs_refresh.3x.html">refresh(3x)</A></STRONG> or <STRONG>doupdate</STRONG> is called again. This allows faster response
- to commands typed in advance. Normally, the input <EM>FILE</EM> pointer passed
- to <STRONG>newterm</STRONG>, or <STRONG>stdin</STRONG> in the case that <STRONG>initscr</STRONG> was used, will be used to
- do this typeahead checking. The <STRONG>typeahead</STRONG> routine specifies that the
- file descriptor <EM>fd</EM> is to be used to check for typeahead instead. If <EM>fd</EM>
- is -1, then no typeahead checking is done.
+ 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.
</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
- All routines that return an integer return <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG>
- (SVr4 specifies only "an integer value other than <STRONG>ERR</STRONG>") upon successful
- completion, unless otherwise noted in the preceding routine
- descriptions.
+ <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
+ success and <STRONG>ERR</STRONG> on failure.
+
+ In <EM>ncurses</EM>, the functions in the previous paragraph return <STRONG>ERR</STRONG> if
- X/Open Curses does not specify any error conditions. In this
- implementation, functions with a window parameter will return an error
- if it is null. Any function will also return an error if the terminal
- was not initialized. Also,
+ <STRONG>o</STRONG> the terminal is not initialized or
- <STRONG>halfdelay</STRONG>
- returns an error if its parameter is outside the range 1..255.
+ <STRONG>o</STRONG> <EM>win</EM> is <STRONG>NULL</STRONG> (except for <STRONG>intrflush</STRONG> and <STRONG>meta</STRONG>, which ignore its
+ value).
+
+ 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>,
+ <STRONG>is_echo</STRONG>, <STRONG>is_nl</STRONG>, and <STRONG>is_raw</STRONG>.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
<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 normal ("cooked") mode from raw and cbreak modes respectively.
- Mixing <STRONG>raw</STRONG>/<STRONG>noraw</STRONG> and <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.
+ restore normal ("cooked") mode from raw and cbreak modes, 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.
</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
- <EM>ncurses</EM> provides four "is_" functions that may be used to detect if the
- corresponding flags were set or reset.
+ <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>
------------------------------
In each case, the function returns
- 1 if the flag is set,
-
- 0 if the flag is reset, or
+ <STRONG>1</STRONG> if the flag is set,
- -1 if the library is not initialized.
+ <STRONG>0</STRONG> if the flag is reset, or
- They were designed for <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>, and are not found in SVr4 <EM>curses</EM>,
- 4.4BSD <EM>curses</EM>, or any other previous <EM>curses</EM> implementation.
+ <STRONG>-1</STRONG> if the library is not initialized.
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
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,
- Version 2 describes these functions.
-
- <EM>ncurses</EM> follows X/Open Curses and the historical practice of AT&T
- <EM>curses</EM> implementations, in that the echo bit is cleared when <EM>curses</EM>
- initializes the terminal state. BSD <EM>curses</EM> differed from this
- slightly; it left the echo bit on at initialization, but the BSD <STRONG>raw</STRONG>
- call turned it off as a side effect. For best portability, set <STRONG>echo</STRONG> or
- <STRONG>noecho</STRONG> explicitly just after initialization, even if your program
- remains in cooked mode.
-
- X/Open Curses is ambiguous regarding whether <STRONG>raw</STRONG> should disable the
- CR/LF translations controlled by <STRONG>nl</STRONG> and <STRONG>nonl</STRONG>. BSD <EM>curses</EM> did turn off
- these translations; AT&T <EM>curses</EM> (at least as late as SVr1) 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
+ Except as noted in section "EXTENSIONS" above, X/Open Curses, Issue 4
+ describes these functions. It specifies no error conditions for them.
+
+ SVr4 <EM>curses</EM> describes a successful return value only as "an integer
+ value other than <STRONG>ERR</STRONG>".
+
+ <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 remains in normal
+ ("cooked") mode.
+
+ 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
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, e.g., from using the <STRONG>-x</STRONG> option of <STRONG>tic</STRONG>,
- then <EM>ncurses</EM> also defines keys for the capabilities whose names begin
- with "k". The corresponding keycodes are generated and (depending on
- previous loads of terminal descriptions) may differ from one execution
- of a program to the next. The generated keycodes are recognized by the
- <STRONG><A HREF="curs_util.3x.html">keyname(3x)</A></STRONG> function (which will then return a name beginning with "k"
- denoting the terminfo 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 establish a specific keycode for a given string. This makes it
- possible for an application to check for an extended capability's
- presence with <STRONG>tigetstr</STRONG>, and reassign the keycode to match its own
- needs.
-
- Low-level applications can use <STRONG>tigetstr</STRONG> to obtain the definition of any
- particular string capability. Higher-level applications which use the
- <EM>curses</EM> <STRONG>wgetch</STRONG> and similar functions to return keycodes rely upon the
- order in which the strings are loaded. If more than one key definition
- has the same string value, then <STRONG>wgetch</STRONG> can return only one keycode.
- Most <EM>curses</EM> implementations (including <EM>ncurses</EM>) load key definitions in
- the order defined by the array of string capability names. The last
- key to be loaded determines the keycode which will be returned. In
- <EM>ncurses</EM>, you may also have extended capabilities interpreted as key
- definitions. These are loaded after the predefined keys, and if a
- capability's value is the same as a previously-loaded key definition,
- the later definition is the one used.
+ current terminal description. If the terminal 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 keycodes are
+ recognized by the <STRONG><A HREF="curs_util.3x.html">keyname(3x)</A></STRONG> function (which then returns a name
+ beginning with "k" denoting the <EM>terminfo</EM> capability name rather than
+ "K", used for <EM>curses</EM> key names). On the other hand, an application can
+ use <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> to bind a specific key to a string of the
+ programmer's choice. This feature enables an application to check for
+ an extended capability's presence with <STRONG><A HREF="curs_terminfo.3x.html">tigetstr(3x)</A></STRONG>, and reassign the
+ keycode to match its own needs.
+
+ 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
+ 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
+ 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
+ key definition, the later definition is the one used.
</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
- Formerly, <EM>ncurses</EM> used <STRONG>nl</STRONG> and <STRONG>nonl</STRONG> 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 <STRONG>CRMOD</STRONG>, while the latter separates these features.
- Because that conversion interferes with output optimization, <EM>ncurses</EM>
- 6.2 (2020) amended <STRONG>nl</STRONG> and <STRONG>nonl</STRONG> to eliminate their effect on output.
+ 4BSD <EM>curses</EM> (1980) introduced <EM>echo</EM>, <EM>noecho</EM>, <EM>nl</EM>, <EM>nonl</EM>, <EM>raw</EM>, and <EM>noraw</EM>.
+
+ SVr2 (1984) featured a new terminal driver, extending the <EM>curses</EM> API to
+ 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
+ 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
+ via a single option "CRMOD", while the latter separates these features.
+ 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="define_key.3x.html">define_key(3x)</A></STRONG>, <STRONG>termios(3)</STRONG>
+ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>,
+ <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>, <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>, <STRONG>termios(3)</STRONG>
-ncurses 6.5 2024-04-13 <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
<li><a href="#h3-nl_nonl">nl, nonl</a></li>
<li><a href="#h3-nodelay">nodelay</a></li>
<li><a href="#h3-notimeout">notimeout</a></li>
+<li><a href="#h3-qiflush_noqiflush">qiflush, noqiflush</a></li>
<li><a href="#h3-raw_noraw">raw, noraw</a></li>
-<li><a href="#h3-qiflush_nqiflush">qiflush, nqiflush</a></li>
<li><a href="#h3-timeout_wtimeout">timeout, wtimeout</a></li>
<li><a href="#h3-typeahead">typeahead</a></li>
</ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_ins_wch.3x,v 1.30 2024/04/20 19:18:18 tom Exp @
+ * @Id: curs_ins_wch.3x,v 1.32 2024/05/25 20:16:27 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 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_ins_wch 3x 2024-05-25 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 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_ins_wch 3x 2024-05-25 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>
</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.
- <STRONG>ins_wch</STRONG>, <STRONG>mvins_wch</STRONG>, and <STRONG>mvwins_wch</STRONG> may be implemented as macros.
-
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
X/Open Curses, Issue 4 describes these functions.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_ins_wstr.3x,v 1.38 2024/04/20 21:23:08 tom Exp @
+ * @Id: curs_ins_wstr.3x,v 1.40 2024/05/25 20:10:58 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 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_ins_wstr 3x 2024-05-25 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 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_ins_wstr 3x 2024-05-25 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>
All functions return the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG> on success.
X/Open Curses does not specify any error conditions. This
- implementation returns an error
+ implementation returns <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the <EM>win</EM> parameter is null or
<STRONG>o</STRONG> if the <EM>wstr</EM> parameter is null or
- <STRONG>o</STRONG> if the <STRONG>wins_wch</STRONG> function returns an error.
+ <STRONG>o</STRONG> if the <STRONG>wins_wch</STRONG> function returns <STRONG>ERR</STRONG>.
Functions prefixed with "mv" first perform cursor movement and fail if
the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_insstr.3x,v 1.51 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_insstr.3x,v 1.53 2024/05/25 20:10:58 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_insstr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_insstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_insstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_insstr 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
All functions return the integer <STRONG>ERR</STRONG> upon failure and <STRONG>OK</STRONG> on success.
X/Open Curses does not specify any error conditions. This
- implementation returns an error
+ implementation returns <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the <EM>win</EM> parameter is null or
<STRONG>o</STRONG> if the <EM>str</EM> parameter is null or
- <STRONG>o</STRONG> the <STRONG><A HREF="curs_insch.3x.html">winsch(3x)</A></STRONG> function returns an error.
+ <STRONG>o</STRONG> the <STRONG><A HREF="curs_insch.3x.html">winsch(3x)</A></STRONG> function returns <STRONG>ERR</STRONG>.
Functions prefixed with "mv" first perform cursor movement and fail if
the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_instr.3x,v 1.51 2024/04/20 21:24:19 tom Exp @
+ * @Id: curs_instr.3x,v 1.53 2024/05/25 20:10:58 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_instr 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_instr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_instr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_instr 3x 2024-05-25 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>
characters actually read into the string.
X/Open Curses defines no error conditions. This implementation returns
- an error
+ <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the <EM>win</EM> parameter is null or
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_inwstr.3x,v 1.41 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_inwstr.3x,v 1.43 2024/05/25 20:10:58 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 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_inwstr 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_inwstr 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_inwstr 3x 2024-05-25 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>
*<STRONG>inwstr</STRONG> routines return <STRONG>OK</STRONG>, and the *<STRONG>innwstr</STRONG> routines return the number
of characters read into the string.
- X/Open defines no error conditions. This implementation returns an
- error
+ X/Open defines no error conditions. This implementation returns <STRONG>ERR</STRONG>
<STRONG>o</STRONG> if the <EM>win</EM> parameter is null or
<STRONG>o</STRONG> if no characters could be read.
- Functions prefixed with "mv" first perform cursor movement and fail if
+ Functions prefixed with "mv" first perform cursor movement and fail if
the position (<EM>y</EM>, <EM>x</EM>) is outside the window boundaries.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
All routines except <STRONG>winnwstr</STRONG> may be macros.
- Each cell in the window holds a complex character (a spacing character
- and zero or more non-spacing characters) together with attributes and
- color. These functions store only the wide characters, ignoring
- attributes and color. Use <STRONG>in_wchstr</STRONG> to return the complex characters
+ Each cell in the window holds a complex character (a spacing character
+ and zero or more non-spacing characters) together with attributes and
+ color. These functions store only the wide characters, ignoring
+ attributes and color. Use <STRONG>in_wchstr</STRONG> to return the complex characters
from a window.
Reading a line that overflows the array pointed to by <EM>wstr</EM> with <STRONG>inwstr</STRONG>,
- <STRONG>mvinwstr</STRONG>, <STRONG>mvwinwstr</STRONG> or <STRONG>winwstr</STRONG> causes undefined results. Therefore,
+ <STRONG>mvinwstr</STRONG>, <STRONG>mvwinwstr</STRONG> or <STRONG>winwstr</STRONG> causes undefined results. Therefore,
the use of <STRONG>innwstr</STRONG>, <STRONG>mvinnwstr</STRONG>, <STRONG>mvwinnwstr</STRONG>, or <STRONG>winnwstr</STRONG> is recommended.
</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_inch.3x.html">curs_inch(3x)</A></STRONG>, <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>, <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>,
+ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>, <STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>, <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>,
<STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_kernel.3x,v 1.61 2024/04/20 21:24:19 tom Exp @
+ * @Id: curs_kernel.3x,v 1.63 2024/05/25 21:13:56 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 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_kernel 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_kernel 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_kernel 3x 2024-05-25 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>
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
<STRONG>def_prog_mode</STRONG>, <STRONG>def_shell_mode</STRONG>, <STRONG>reset_prog_mode</STRONG>, <STRONG>reset_shell_mode</STRONG>,
- <STRONG>resetty</STRONG>, <STRONG>savetty</STRONG>, <STRONG>getsyx</STRONG>, <STRONG>setsyx</STRONG>, <STRONG>ripoffline</STRONG>, <STRONG>curs_set</STRONG>, <STRONG>napms</STRONG> - low-
- level <EM>curses</EM> routines
+ <STRONG>resetty</STRONG>, <STRONG>savetty</STRONG>, <STRONG>getsyx</STRONG>, <STRONG>setsyx</STRONG>, <STRONG>curs_set</STRONG>, <STRONG>mvcur</STRONG>, <STRONG>napms</STRONG>, <STRONG>ripoffline</STRONG> -
+ low-level <EM>curses</EM> routines
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
<STRONG>void</STRONG> <STRONG>getsyx(int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>);</STRONG>
<STRONG>void</STRONG> <STRONG>setsyx(int</STRONG> <EM>y</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>x</EM><STRONG>);</STRONG>
- <STRONG>int</STRONG> <STRONG>ripoffline(int</STRONG> <EM>line</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <STRONG>(*</STRONG><EM>init</EM><STRONG>)(WINDOW</STRONG> <STRONG>*,</STRONG> <STRONG>int));</STRONG>
<STRONG>int</STRONG> <STRONG>curs_set(int</STRONG> <EM>visibility</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>mvcur(int</STRONG> <EM>oldrow</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>oldcol</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>newrow</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>newcol</EM><STRONG>);</STRONG>
<STRONG>int</STRONG> <STRONG>napms(int</STRONG> <EM>ms</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>ripoffline(int</STRONG> <EM>line</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <STRONG>(*</STRONG><EM>init</EM><STRONG>)(WINDOW</STRONG> <STRONG>*,</STRONG> <STRONG>int));</STRONG>
</PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
Few applications will use this feature, most use <STRONG>wmove</STRONG> instead.
+</PRE><H3><a name="h3-curs_set">curs_set</a></H3><PRE>
+ The <STRONG>curs_set</STRONG> routine sets the cursor state to invisible, normal, or
+ very visible for <STRONG>visibility</STRONG> equal to <STRONG>0</STRONG>, <STRONG>1</STRONG>, or <STRONG>2</STRONG> respectively. If the
+ terminal supports the <EM>visibility</EM> requested, the previous <EM>cursor</EM> state
+ is returned; otherwise, <STRONG>ERR</STRONG> is returned.
+
+
+</PRE><H3><a name="h3-mvcur">mvcur</a></H3><PRE>
+ <STRONG>mvcur</STRONG> provides low-level cursor motion. It takes effect immediately,
+ rather than at the next refresh. Unlike the other low-level output
+ functions, which either write to the standard output stream or are
+ passed a function pointer to perform output, <STRONG>mvcur</STRONG> uses a file
+ descriptor derived from the output stream parameter of <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG>.
+
+ One application of <STRONG>mvcur</STRONG> accompanies the temporary use of another
+ program to write to the terminal screen. For example, first call
+ <STRONG><A HREF="curs_refresh.3x.html">refresh(3x)</A></STRONG> to ensure that the screen and the library's model of it is
+ up to date; then call <STRONG>reset_shell_mode</STRONG>; write to the screen with the
+ external application; call <STRONG>reset_prog_mode</STRONG>; and finally call <STRONG>mvcur</STRONG> to
+ set the cursor's location to where <EM>curses</EM> thinks it is, since the
+ library has no knowledge of how the external application moved it.
+
+
+</PRE><H3><a name="h3-napms">napms</a></H3><PRE>
+ <STRONG>napms</STRONG> sleeps for <EM>ms</EM> milliseconds. If <EM>ms</EM> exceeds 30,000 (thirty
+ seconds), it is capped at that value.
+
+
</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>newterm</STRONG>.
-</PRE><H3><a name="h3-curs_set">curs_set</a></H3><PRE>
- The <STRONG>curs_set</STRONG> routine sets the cursor state to invisible, normal, or
- very visible for <STRONG>visibility</STRONG> equal to <STRONG>0</STRONG>, <STRONG>1</STRONG>, or <STRONG>2</STRONG> respectively. If the
- terminal supports the <EM>visibility</EM> requested, the previous <EM>cursor</EM> state
- is returned; otherwise, <STRONG>ERR</STRONG> is returned.
-
-
-</PRE><H3><a name="h3-napms">napms</a></H3><PRE>
- <STRONG>napms</STRONG> sleeps for <EM>ms</EM> milliseconds. If <EM>ms</EM> exceeds 30,000 (thirty
- seconds), it is capped at that value.
-
-
</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
Except for <STRONG>curs_set</STRONG>, these routines always return <STRONG>OK</STRONG>.
X/Open defines no error conditions. In this implementation
<STRONG>def_prog_mode</STRONG>, <STRONG>def_shell_mode</STRONG>, <STRONG>reset_prog_mode</STRONG>, <STRONG>reset_shell_mode</STRONG>
- return an error if the terminal was not initialized, or if the I/O
- call to obtain the terminal settings fails.
+ return <STRONG>ERR</STRONG> if the terminal was not initialized, or if the I/O call
+ to obtain the terminal settings fails.
<STRONG>ripoffline</STRONG>
- returns an error if the maximum number of ripped-off lines exceeds
- the maximum (5).
+ returns <STRONG>ERR</STRONG> if the maximum number of ripped-off lines exceeds the
+ maximum (5).
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
cursor state to restore that.
+</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
+ In <EM>ncurses</EM>, <STRONG>mvcur</STRONG> accepts <STRONG>-1</STRONG> for either or both old coordinates. This
+ value tells <EM>ncurses</EM> that the old location is unknown, and that it must
+ use only absolute motion, as with the <STRONG>cursor_address</STRONG> (<STRONG>cup</STRONG>) capability,
+ rather than the least costly combination of absolute and relative
+ motion.
+
+
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
The <EM>virtual</EM> <EM>screen</EM> functions <STRONG>setsyx</STRONG> and <STRONG>getsyx</STRONG> are not described in
X/Open Curses, Issue 4. All other functions are as described in X/Open
type int. This is misleading, as they are macros with no documented
semantics for the return value.
+ X/Open Curses notes:
+
+ "After use of <EM>mvcur</EM>(), the model Curses maintains of the state
+ of the terminal might not match the actual state of the
+ terminal. 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> data
+ 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 <STRONG>mvcur</STRONG> to accommodate terminals
+ that lack absolute cursor positioning.
+
If interrupted, <EM>ncurses</EM> restarts <STRONG>napms</STRONG>. That, and the limitation to 30
seconds, are different from other implementations.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
<li><a href="#h3-resetty_savetty">resetty, savetty</a></li>
<li><a href="#h3-getsyx">getsyx</a></li>
<li><a href="#h3-setsyx">setsyx</a></li>
-<li><a href="#h3-ripoffline">ripoffline</a></li>
<li><a href="#h3-curs_set">curs_set</a></li>
+<li><a href="#h3-mvcur">mvcur</a></li>
<li><a href="#h3-napms">napms</a></li>
+<li><a href="#h3-ripoffline">ripoffline</a></li>
</ul>
</li>
<li><a href="#h2-RETURN-VALUE">RETURN VALUE</a></li>
<li><a href="#h2-NOTES">NOTES</a></li>
+<li><a href="#h2-EXTENSIONS">EXTENSIONS</a></li>
<li><a href="#h2-PORTABILITY">PORTABILITY</a></li>
<li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
</ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_legacy.3x,v 1.32 2024/03/16 15:35:01 tom Exp @
+ * @Id: curs_legacy.3x,v 1.34 2024/05/25 20:15: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_legacy 3x 2024-03-16 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_legacy 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_legacy 3x 2024-03-16 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_legacy 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>
window parameter is null.
-</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
- All of these interfaces are implemented as macros and functions. The
- macros are suppressed (and only the functions provided) in an "opaque"
- <EM>ncurses</EM> build, which defines the preprocessor symbol <STRONG>NCURSES_OPAQUE</STRONG>.
- See section "ALTERNATE CONFIGURATIONS" in <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>.
-
- The standard forms such as <STRONG>getyx</STRONG> <EM>must</EM> be implemented as macros, and (in
- this implementation) are defined in terms of the functions described
- here, to avoid reliance on internal details of the <EM>WINDOW</EM> structure.
-
-
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
- These functions were supported on Version 7, BSD or System V
- implementations. None of those implementations checked the window
+ These functions were supported on Version 7, BSD or System V
+ implementations. None of those implementations checked the window
parameter.
- The <STRONG>getattrs</STRONG> function and macro are defined to return a (signed)
+ The <STRONG>getattrs</STRONG> function and macro are defined to return a (signed)
integer for compatibility with those implementations although an
unsigned type would have been more appropriate.
-ncurses 6.5 2024-03-16 <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_legacy.3x.html">curs_legacy(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
<li><a href="#h2-SYNOPSIS">SYNOPSIS</a></li>
<li><a href="#h2-DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#h2-RETURN-VALUE">RETURN VALUE</a></li>
-<li><a href="#h2-NOTES">NOTES</a></li>
<li><a href="#h2-PORTABILITY">PORTABILITY</a></li>
<li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
</ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_mouse.3x,v 1.101 2024/05/18 20:03:51 tom Exp @
+ * @Id: curs_mouse.3x,v 1.103 2024/05/25 20:10:58 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 2024-05-18 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_mouse 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_mouse 3x 2024-05-18 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_mouse 3x 2024-05-25 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>
<STRONG>o</STRONG> or if no more events remain in the queue.
- <STRONG>ungetmouse</STRONG> returns an error if the event queue is full.
+ <STRONG>ungetmouse</STRONG> returns <STRONG>ERR</STRONG> if the event queue is full.
<STRONG>mousemask</STRONG> returns the mask of reportable events.
-ncurses 6.5 2024-05-18 <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_outopts.3x,v 1.65 2024/05/11 20:39:53 tom Exp @
+ * @Id: curs_outopts.3x,v 1.67 2024/05/25 20:10:58 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 2024-05-11 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_outopts 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_outopts 3x 2024-05-11 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_outopts 3x 2024-05-25 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>
In this implementation,
- <STRONG>o</STRONG> those functions that have a window pointer will return an error if
- the window pointer is null
+ <STRONG>o</STRONG> those functions that have a window pointer will return <STRONG>ERR</STRONG> if the
+ window pointer is null
- <STRONG>o</STRONG> <STRONG>wsetscrreg</STRONG> returns an error if the scrolling region limits extend
+ <STRONG>o</STRONG> <STRONG>wsetscrreg</STRONG> returns <STRONG>ERR</STRONG> if the scrolling region limits extend
outside the window boundaries.
-ncurses 6.5 2024-05-11 <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_overlay.3x,v 1.43 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_overlay.3x,v 1.45 2024/05/25 20:10:58 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_overlay 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_overlay 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_overlay 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_overlay 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG>
completion.
X/Open defines no error conditions. In this implementation, <STRONG>copywin</STRONG>,
- <STRONG>overlay</STRONG> and <STRONG>overwrite</STRONG> return an error if either of the window pointers
- are null, or if some part of the window would be placed off-screen.
+ <STRONG>overlay</STRONG> and <STRONG>overwrite</STRONG> return <STRONG>ERR</STRONG> if either of the window pointers are
+ null, or if some part of the window would be placed off-screen.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_overlay.3x.html">curs_overlay(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_pad.3x,v 1.61 2024/04/27 17:55:43 tom Exp @
+ * @Id: curs_pad.3x,v 1.63 2024/05/25 20:10:58 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_pad 3x 2024-04-27 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_pad 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_pad 3x 2024-04-27 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_pad 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
implementation
<STRONG>prefresh</STRONG> and <STRONG>pnoutrefresh</STRONG>
- return an error if the window pointer is null, or if the window
- is not really a pad or if the area to refresh extends off-
- screen or if the minimum coordinates are greater than the
- maximum.
+ return <STRONG>ERR</STRONG> if the window pointer is null, or if the window is
+ not really a pad or if the area to refresh extends off-screen
+ or if the minimum coordinates are greater than the maximum.
<STRONG>pechochar</STRONG>
- returns an error if the window is not really a pad, and the
- associated call to <STRONG>wechochar</STRONG> returns an error.
+ returns <STRONG>ERR</STRONG> if the window is not really a pad, and the
+ associated call to <STRONG>wechochar</STRONG> returns <STRONG>ERR</STRONG>.
<STRONG>pecho_wchar</STRONG>
- returns an error if the window is not really a pad, and the
- associated call to <STRONG>wecho_wchar</STRONG> returns an error.
+ returns <STRONG>ERR</STRONG> if the window is not really a pad, and the
+ associated call to <STRONG>wecho_wchar</STRONG> returns <STRONG>ERR</STRONG>.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
BSD <EM>curses</EM> has no <EM>pad</EM> feature.
- SVr2 <EM>curses</EM> (1986) provided the <STRONG>newpad</STRONG> and related functions,
- documenting them in a single line each. SVr3 (1987) provided more
+ SVr2 <EM>curses</EM> (1986) provided the <STRONG>newpad</STRONG> and related functions,
+ documenting them in a single line each. SVr3 (1987) provided more
extensive documentation.
- The documentation does not explain the term <EM>pad</EM>. However, the Apollo
+ The documentation does not explain the term <EM>pad</EM>. However, the Apollo
<EM>Aegis</EM> workstation operating system supported a graphical <EM>pad</EM> feature:
- <STRONG>o</STRONG> These graphical pads could be much larger than the computer's
+ <STRONG>o</STRONG> These graphical pads could be much larger than the computer's
display.
- <STRONG>o</STRONG> The read-only output from a command could be scrolled back to
+ <STRONG>o</STRONG> The read-only output from a command could be scrolled back to
inspect, and select text from the pad.
The two uses may be related.
- X/Open Curses, Issue 4 describes these functions, without significant
- change from the SVr3 documentation. It describes no error conditions.
+ X/Open Curses, Issue 4 describes these functions, without significant
+ change from the SVr3 documentation. It describes no error conditions.
The behavior of <STRONG>subpad</STRONG> if the parent window is not a pad is
undocumented, and is not checked by the vendor Unix implementations:
- <STRONG>o</STRONG> SVr4 <EM>curses</EM> sets a flag in the <EM>WINDOW</EM> structure in <STRONG>newpad</STRONG> which
+ <STRONG>o</STRONG> SVr4 <EM>curses</EM> sets a flag in the <EM>WINDOW</EM> structure in <STRONG>newpad</STRONG> which
tells if the window is a <EM>pad</EM>.
- However, it uses this information only in <STRONG>waddch</STRONG> (to decide if it
- should call <STRONG>wrefresh</STRONG>) and <STRONG>wscrl</STRONG> (to avoid scrolling a pad), and
- does not check in <STRONG>wrefresh</STRONG> to ensure that the pad is refreshed
+ However, it uses this information only in <STRONG>waddch</STRONG> (to decide if it
+ should call <STRONG>wrefresh</STRONG>) and <STRONG>wscrl</STRONG> (to avoid scrolling a pad), and
+ does not check in <STRONG>wrefresh</STRONG> to ensure that the pad is refreshed
properly.
- <STRONG>o</STRONG> Solaris <EM>xcurses</EM> checks whether a window is a pad in <STRONG>wnoutrefresh</STRONG>,
+ <STRONG>o</STRONG> Solaris <EM>xcurses</EM> checks whether a window is a pad in <STRONG>wnoutrefresh</STRONG>,
returning <STRONG>ERR</STRONG> in that case.
- However, it only sets the flag for subwindows if the parent window
- is a pad. Its <STRONG>newpad</STRONG> function does not set this information.
+ However, it only sets the flag for subwindows if the parent window
+ is a pad. Its <STRONG>newpad</STRONG> function does not set this information.
Consequently, the check will never fail.
- It makes no comparable check in <STRONG>pnoutrefresh</STRONG>, though interestingly
- enough, a comment in the source code states that the lack of a
+ It makes no comparable check in <STRONG>pnoutrefresh</STRONG>, though interestingly
+ enough, a comment in the source code states that the lack of a
check was an MKS extension.
- <STRONG>o</STRONG> NetBSD 7 <EM>curses</EM> sets a flag in the <EM>WINDOW</EM> structure for <STRONG>newpad</STRONG> and
- <STRONG>subpad</STRONG>, using this to help with the distinction between
+ <STRONG>o</STRONG> NetBSD 7 <EM>curses</EM> sets a flag in the <EM>WINDOW</EM> structure for <STRONG>newpad</STRONG> and
+ <STRONG>subpad</STRONG>, using this to help with the distinction between
<STRONG>wnoutrefresh</STRONG> and <STRONG>pnoutrefresh</STRONG>.
- It does not check for the case where a subwindow is created in a
+ It does not check for the case where a subwindow is created in a
pad using <STRONG>subwin</STRONG> or <STRONG>derwin</STRONG>.
- The <STRONG>dupwin</STRONG> function returns a regular window when duplicating a
- pad. Likewise, <STRONG>getwin</STRONG> always returns a window, even if the saved
+ The <STRONG>dupwin</STRONG> function returns a regular window when duplicating a
+ pad. Likewise, <STRONG>getwin</STRONG> always returns a window, even if the saved
data was from a pad.
This implementation
<STRONG>o</STRONG> sets a flag in the <EM>WINDOW</EM> structure for <STRONG>newpad</STRONG> and <STRONG>subpad</STRONG>,
- <STRONG>o</STRONG> allows a <STRONG>subwin</STRONG> or <STRONG>derwin</STRONG> call to succeed having a pad parent by
+ <STRONG>o</STRONG> allows a <STRONG>subwin</STRONG> or <STRONG>derwin</STRONG> call to succeed having a pad parent by
forcing the subwindow to be a pad,
- <STRONG>o</STRONG> checks in both <STRONG>wnoutrefresh</STRONG> and <STRONG>pnoutrefresh</STRONG> to ensure that pads
+ <STRONG>o</STRONG> checks in both <STRONG>wnoutrefresh</STRONG> and <STRONG>pnoutrefresh</STRONG> to ensure that pads
and windows are handled distinctly, and
- <STRONG>o</STRONG> ensures that <STRONG>dupwin</STRONG> and <STRONG>getwin</STRONG> treat pads versus windows
+ <STRONG>o</STRONG> ensures that <STRONG>dupwin</STRONG> and <STRONG>getwin</STRONG> treat pads versus windows
consistently.
-ncurses 6.5 2024-04-27 <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_refresh.3x,v 1.46 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_refresh.3x,v 1.48 2024/05/25 20:10:58 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_refresh 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_refresh 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_refresh 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_refresh 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
implementation
<STRONG>wnoutrefresh</STRONG>
- returns an error if the window pointer is null, or if the
- window is really a pad.
+ returns <STRONG>ERR</STRONG> if the window pointer is null, or if the window is
+ really a pad.
<STRONG>wredrawln</STRONG>
- returns an error if the associated call to <STRONG>touchln</STRONG> returns an
- error.
+ return <STRONG>ERR</STRONG> if the associated call to <STRONG>touchln</STRONG> returns <STRONG>ERR</STRONG>.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
X/Open Curses, Issue 4 describes these functions.
- Whether <STRONG>wnoutrefresh</STRONG> copies to the virtual screen the entire contents
+ Whether <STRONG>wnoutrefresh</STRONG> copies to the virtual screen the entire contents
of a window or just its changed portions has never been well-documented
- in historic curses versions (including SVr4). It might be unwise to
- rely on either behavior in programs that might have to be linked with
+ in historic curses versions (including SVr4). It might be unwise to
+ rely on either behavior in programs that might have to be linked with
other curses implementations. Instead, you can do an explicit <STRONG>touchwin</STRONG>
- before the <STRONG>wnoutrefresh</STRONG> call to guarantee an entire-contents copy
+ before the <STRONG>wnoutrefresh</STRONG> call to guarantee an entire-contents copy
anywhere.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_scroll.3x,v 1.43 2024/04/20 18:54:36 tom Exp @
+ * @Id: curs_scroll.3x,v 1.45 2024/05/25 20:16:27 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_scroll 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_scroll 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_scroll 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_scroll 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG>
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
<STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
- <STRONG>int</STRONG> <STRONG>scroll(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>scroll(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>);</STRONG>
<STRONG>int</STRONG> <STRONG>scrl(int</STRONG> <EM>n</EM><STRONG>);</STRONG>
- <STRONG>int</STRONG> <STRONG>wscrl(WINDOW</STRONG> <STRONG>*</STRONG><EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>n</EM><STRONG>);</STRONG>
+ <STRONG>int</STRONG> <STRONG>wscrl(WINDOW</STRONG> <STRONG>*</STRONG> <EM>win</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>n</EM><STRONG>);</STRONG>
</PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
+ <STRONG>scrl</STRONG> and <STRONG>wscrl</STRONG> may be implemented as macros.
+
Unusually, there is no <STRONG>wscroll</STRONG> function; <STRONG>scroll</STRONG> behaves as one would
expect <STRONG>wscroll</STRONG> to, accepting a <EM>WINDOW</EM> pointer argument.
- <STRONG>scrl</STRONG> and <STRONG>scroll</STRONG> may be implemented as macros.
-
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
X/Open Curses, Issue 4 describes these functions. It defines no error
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_slk.3x,v 1.71 2024/04/20 18:54:36 tom Exp @
+ * @Id: curs_slk.3x,v 1.73 2024/05/25 20:10:58 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_slk 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_slk 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_slk 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_slk 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
<STRONG>slk_attroff</STRONG>, <STRONG>slk_attron</STRONG>, <STRONG>slk_clear</STRONG>, <STRONG>slk_noutrefresh</STRONG>, <STRONG>slk_refresh</STRONG>,
<STRONG>slk_touch</STRONG>
- return an error if the terminal or the softkeys were not
+ return <STRONG>ERR</STRONG> if the terminal or the softkeys were not
initialized.
<STRONG>slk_attrset</STRONG>
- returns an error if the terminal or the softkeys were not
+ returns <STRONG>ERR</STRONG> if the terminal or the softkeys were not
initialized.
<STRONG>slk_attr_set</STRONG>
- returns an error if the terminal or the softkeys were not
+ returns <STRONG>ERR</STRONG> if the terminal or the softkeys were not
initialized, or the color pair is outside the range
0..<STRONG>COLOR_PAIRS</STRONG>-1.
<STRONG>slk_color</STRONG>
- returns an error if the terminal or the softkeys were not
+ returns <STRONG>ERR</STRONG> if the terminal or the softkeys were not
initialized, or the color pair is outside the range
0..<STRONG>COLOR_PAIRS</STRONG>-1.
<STRONG>slk_init</STRONG>
- returns an error if the format parameter is outside the range
- 0..3.
+ returns <STRONG>ERR</STRONG> if the format parameter is outside the range 0..3.
<STRONG>slk_label</STRONG>
returns <STRONG>NULL</STRONG> on error.
<STRONG>slk_set</STRONG>
- returns an error if the terminal or the softkeys were not
- initialized, or the <EM>labnum</EM> parameter is outside the range of
- label counts, or if the format parameter is outside the range
+ returns <STRONG>ERR</STRONG> if the terminal or the softkeys were not
+ initialized, or the <EM>labnum</EM> parameter is outside the range of
+ label counts, or if the format parameter is outside the range
0..2, or if memory for the labels cannot be allocated.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
- Most applications would use <STRONG>slk_noutrefresh</STRONG> because a <STRONG>wrefresh</STRONG> is
+ Most applications would use <STRONG>slk_noutrefresh</STRONG> because a <STRONG>wrefresh</STRONG> is
likely to follow soon.
</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
- X/Open Curses documents the <EM>opts</EM> argument as reserved for future use,
- saying that it must be null. This implementation uses that parameter
+ X/Open Curses documents the <EM>opts</EM> argument as reserved for future use,
+ saying that it must be null. This implementation uses that parameter
in ABI 6 for the functions which have a color pair parameter to support
extended color pairs.
- For functions which modify the color, e.g., <STRONG>slk_attr_set</STRONG>, if <EM>opts</EM> is
- set it is treated as a pointer to <EM>int</EM>, and used to set the color pair
+ For functions which modify the color, e.g., <STRONG>slk_attr_set</STRONG>, if <EM>opts</EM> is
+ set it is treated as a pointer to <EM>int</EM>, and used to set the color pair
instead of the <EM>short</EM> pair parameter.
X/Open Curses, Issue 4 describes these functions, with some differences
from SVr4 <EM>curses</EM>:
- <STRONG>o</STRONG> X/Open added functions like the SVr4 attribute-manipulation
- functions <STRONG>slk_attron</STRONG>, <STRONG>slk_attroff</STRONG>, and <STRONG>slk_attrset</STRONG>, but which use
- <EM>attr</EM><STRONG>_</STRONG><EM>t</EM> parameters (rather than <EM>chtype</EM>), along with a reserved <EM>opts</EM>
+ <STRONG>o</STRONG> X/Open added functions like the SVr4 attribute-manipulation
+ functions <STRONG>slk_attron</STRONG>, <STRONG>slk_attroff</STRONG>, and <STRONG>slk_attrset</STRONG>, but which use
+ <EM>attr</EM><STRONG>_</STRONG><EM>t</EM> parameters (rather than <EM>chtype</EM>), along with a reserved <EM>opts</EM>
parameter.
- Two of these new functions (unlike the SVr4 functions) have no
+ Two of these new functions (unlike the SVr4 functions) have no
provision for color: <STRONG>slk_attr_on</STRONG> and <STRONG>slk_attr_off</STRONG>.
The third function (<STRONG>slk_attr_set</STRONG>) has a color pair parameter.
<STRONG>o</STRONG> It added <STRONG>slk_color</STRONG>.
- Although <STRONG>slk_start</STRONG> is declared in the <EM>curses</EM> header file, it was not
+ Although <STRONG>slk_start</STRONG> is declared in the <EM>curses</EM> header file, it was not
documented by SVr4 other than its presence in a list of libtermlib.so.1
symbols. Reading the source code (i.e., Illumos):
<STRONG>o</STRONG> Soft-key groups are an array of <EM>ng</EM> integers.
- <STRONG>o</STRONG> In SVr4, <STRONG>slk_init</STRONG> calls <STRONG>slk_start</STRONG> passing a null for <EM>gp</EM>. For this
- case, <STRONG>slk_start</STRONG> uses the number of groups <EM>ng</EM> (3 for the 3-2-3
+ <STRONG>o</STRONG> In SVr4, <STRONG>slk_init</STRONG> calls <STRONG>slk_start</STRONG> passing a null for <EM>gp</EM>. For this
+ case, <STRONG>slk_start</STRONG> uses the number of groups <EM>ng</EM> (3 for the 3-2-3
layout, 2 for the 4-4 layout) which <STRONG>slk_init</STRONG> provided.
- If <EM>ng</EM> is neither 2 or 3, <STRONG>slk_start</STRONG> checks the terminfo <STRONG>fln</STRONG>
- (label_format) capability, interpreting that as a comma-separated
+ If <EM>ng</EM> is neither 2 or 3, <STRONG>slk_start</STRONG> checks the terminfo <STRONG>fln</STRONG>
+ (label_format) capability, interpreting that as a comma-separated
list of numbers, e.g., "3,2,3" for the 3-2-3 layout.
Finally, if there is no <STRONG>fln</STRONG> capability, <STRONG>slk_start</STRONG> returns <STRONG>ERR</STRONG>.
- <STRONG>o</STRONG> If <STRONG>slk_start</STRONG> is given a non-null <EM>gp</EM>, it copies the <EM>ng</EM> elements of
+ <STRONG>o</STRONG> If <STRONG>slk_start</STRONG> is given a non-null <EM>gp</EM>, it copies the <EM>ng</EM> elements of
the group of soft-keys, up to 16.
- If there are more than 16 elements, <STRONG>slk_start</STRONG> returns an error.
+ If there are more than 16 elements, <STRONG>slk_start</STRONG> returns <STRONG>ERR</STRONG>.
- <STRONG>o</STRONG> The format codes <STRONG>2</STRONG> and <STRONG>3</STRONG> for <STRONG>slk_init</STRONG> were added by <EM>ncurses</EM> in
+ <STRONG>o</STRONG> The format codes <STRONG>2</STRONG> and <STRONG>3</STRONG> for <STRONG>slk_init</STRONG> were added by <EM>ncurses</EM> in
1996. PDCurses 2.4 added this feature in 2001.
The function <STRONG>slk_attr</STRONG> was added by <EM>ncurses</EM> in 1996.
- X/Open Curses does not specify a limit for the number of colors and
+ X/Open Curses does not specify a limit for the number of colors and
color pairs which a terminal can support. However, in its use of <EM>short</EM>
- for the parameters, it carries over SVr4's implementation detail for
+ for the parameters, it carries over SVr4's implementation detail for
the compiled terminfo database, which uses signed 16-bit numbers. This
- implementation provides extended versions of those functions which use
- <EM>int</EM> parameters, allowing applications to use larger color- and pair-
+ implementation provides extended versions of those functions which use
+ <EM>int</EM> parameters, allowing applications to use larger color- and pair-
numbers.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_slk.3x.html">curs_slk(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_terminfo.3x,v 1.136 2024/04/14 00:14:40 tom Exp @
+ * @Id: curs_terminfo.3x,v 1.138 2024/05/25 21:02:40 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_terminfo 3x 2024-04-13 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_terminfo 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_terminfo 3x 2024-04-13 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_terminfo 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
- <STRONG>del_curterm</STRONG>, <STRONG>mvcur</STRONG>, <STRONG>putp</STRONG>, <STRONG>restartterm</STRONG>, <STRONG>set_curterm</STRONG>, <STRONG>setupterm</STRONG>,
- <STRONG>tigetflag</STRONG>, <STRONG>tigetnum</STRONG>, <STRONG>tigetstr</STRONG>, <STRONG>tiparm</STRONG>, <STRONG>tiparm_s</STRONG>, <STRONG>tiscan_s</STRONG>, <STRONG>tparm</STRONG>,
- <STRONG>tputs</STRONG>, <STRONG>vid_attr</STRONG>, <STRONG>vid_puts</STRONG>, <STRONG>vidattr</STRONG>, <STRONG>vidputs</STRONG> - <EM>curses</EM> interfaces to
- <EM>terminfo</EM> database
+ <STRONG>del_curterm</STRONG>, <STRONG>putp</STRONG>, <STRONG>restartterm</STRONG>, <STRONG>set_curterm</STRONG>, <STRONG>setupterm</STRONG>, <STRONG>tigetflag</STRONG>,
+ <STRONG>tigetnum</STRONG>, <STRONG>tigetstr</STRONG>, <STRONG>tiparm</STRONG>, <STRONG>tiparm_s</STRONG>, <STRONG>tiscan_s</STRONG>, <STRONG>tparm</STRONG>, <STRONG>tputs</STRONG>, <STRONG>vid_attr</STRONG>,
+ <STRONG>vid_puts</STRONG>, <STRONG>vidattr</STRONG>, <STRONG>vidputs</STRONG> - <EM>curses</EM> interfaces to <EM>terminfo</EM> database
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
<STRONG>int</STRONG> <STRONG>vid_puts(attr_t</STRONG> <EM>attrs</EM><STRONG>,</STRONG> <STRONG>short</STRONG> <EM>pair</EM><STRONG>,</STRONG> <STRONG>void</STRONG> <STRONG>*</STRONG><EM>opts</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <STRONG>(*</STRONG><EM>putc</EM><STRONG>)(int));</STRONG>
<STRONG>int</STRONG> <STRONG>vid_attr(attr_t</STRONG> <EM>attrs</EM><STRONG>,</STRONG> <STRONG>short</STRONG> <EM>pair</EM><STRONG>,</STRONG> <STRONG>void</STRONG> <STRONG>*</STRONG><EM>opts</EM><STRONG>);</STRONG>
- <STRONG>int</STRONG> <STRONG>mvcur(int</STRONG> <EM>oldrow</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>oldcol</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>newrow</EM><STRONG>,</STRONG> <STRONG>int</STRONG> <EM>newcol</EM><STRONG>);</STRONG>
-
<STRONG>int</STRONG> <STRONG>tigetflag(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG><EM>cap-code</EM><STRONG>);</STRONG>
<STRONG>int</STRONG> <STRONG>tigetnum(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG><EM>cap-code</EM><STRONG>);</STRONG>
<STRONG>char</STRONG> <STRONG>*tigetstr(const</STRONG> <STRONG>char</STRONG> <STRONG>*</STRONG><EM>cap-code</EM><STRONG>);</STRONG>
</PRE><H2><a name="h2-DESCRIPTION">DESCRIPTION</a></H2><PRE>
These low-level functions must be called by programs that deal directly
- with the <EM>terminfo</EM> database to handle certain terminal capabilities,
+ with the <EM>terminfo</EM> database to handle certain terminal capabilities,
such as programming function keys. For all other functionality, <EM>curses</EM>
functions are more suitable and their use is recommended.
- None of these functions use (or are aware of) multibyte character
+ None of these functions use (or are aware of) multibyte character
strings such as UTF-8.
<STRONG>o</STRONG> Capability names and codes use the POSIX portable character set.
- <STRONG>o</STRONG> Capability string values have no associated encoding; they are
+ <STRONG>o</STRONG> Capability string values have no associated encoding; they are
strings of 8-bit characters.
</PRE><H3><a name="h3-Initialization">Initialization</a></H3><PRE>
Initially, <STRONG>setupterm</STRONG> should be called. The high-level <EM>curses</EM> functions
- <STRONG>initscr</STRONG> and <STRONG>newterm</STRONG> call <STRONG>setupterm</STRONG> to initialize the low-level set of
+ <STRONG>initscr</STRONG> and <STRONG>newterm</STRONG> call <STRONG>setupterm</STRONG> to initialize the low-level set of
terminal-dependent variables listed in <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>.
- Applications can use the terminal capabilities either directly (via
+ Applications can use the terminal capabilities either directly (via
header definitions), or by special functions. The header files
- <EM>curses.h</EM> and <EM>term.h</EM> should be included (in that order) to get the
+ <EM>curses.h</EM> and <EM>term.h</EM> should be included (in that order) to get the
definitions for these strings, numbers, and flags.
- The <EM>terminfo</EM> variables <STRONG>lines</STRONG> and <STRONG>columns</STRONG> are initialized by <STRONG>setupterm</STRONG>
+ The <EM>terminfo</EM> variables <STRONG>lines</STRONG> and <STRONG>columns</STRONG> are initialized by <STRONG>setupterm</STRONG>
as follows.
- <STRONG>o</STRONG> If <STRONG>use_env(FALSE)</STRONG> has been called, values for <STRONG>lines</STRONG> and <STRONG>columns</STRONG>
+ <STRONG>o</STRONG> If <STRONG>use_env(FALSE)</STRONG> has been called, values for <STRONG>lines</STRONG> and <STRONG>columns</STRONG>
specified in <EM>terminfo</EM> are used.
- <STRONG>o</STRONG> Otherwise, if the environment variables <EM>LINES</EM> and <EM>COLUMNS</EM> exist,
+ <STRONG>o</STRONG> Otherwise, if the environment variables <EM>LINES</EM> and <EM>COLUMNS</EM> exist,
their values are used. If these environment variables do not exist
- and the program is running in a window, the current window size is
- used. Otherwise, if the environment variables do not exist, the
+ and the program is running in a window, the current window size is
+ used. Otherwise, if the environment variables do not exist, the
values for <STRONG>lines</STRONG> and <STRONG>columns</STRONG> specified in the <EM>terminfo</EM> database are
used.
- Parameterized strings should be passed through <STRONG>tparm</STRONG> to instantiate
- them. All <EM>terminfo</EM> strings (including the output of <STRONG>tparm</STRONG>) should be
- sent to the terminal device with <STRONG>tputs</STRONG> or <STRONG>putp</STRONG>. Call <STRONG>reset_shell_mode</STRONG>
+ Parameterized strings should be passed through <STRONG>tparm</STRONG> to instantiate
+ them. All <EM>terminfo</EM> strings (including the output of <STRONG>tparm</STRONG>) should be
+ sent to the terminal device with <STRONG>tputs</STRONG> or <STRONG>putp</STRONG>. Call <STRONG>reset_shell_mode</STRONG>
to restore the terminal modes before exiting; see <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>.
Programs that use cursor addressing should
Programs that execute shell subprocesses should
- <STRONG>o</STRONG> call <STRONG>reset_shell_mode</STRONG> and output <STRONG>exit_ca_mode</STRONG> before the shell is
+ <STRONG>o</STRONG> call <STRONG>reset_shell_mode</STRONG> and output <STRONG>exit_ca_mode</STRONG> before the shell is
called and
- <STRONG>o</STRONG> output <STRONG>enter_ca_mode</STRONG> and call <STRONG>reset_prog_mode</STRONG> after returning from
+ <STRONG>o</STRONG> output <STRONG>enter_ca_mode</STRONG> and call <STRONG>reset_prog_mode</STRONG> after returning from
the shell.
- <STRONG>setupterm</STRONG> reads in the <EM>terminfo</EM> database, initializing the <EM>terminfo</EM>
- structures, but does not set up the output virtualization structures
+ <STRONG>setupterm</STRONG> reads in the <EM>terminfo</EM> database, initializing the <EM>terminfo</EM>
+ structures, but does not set up the output virtualization structures
used by <EM>curses</EM>. Its parameters follow.
<EM>term</EM> is the terminal type, a character string. If <EM>term</EM> is null, the
environment variable <EM>TERM</EM> is read.
<EM>filedes</EM>
- is the file descriptor used for getting and setting terminal
+ is the file descriptor used for getting and setting terminal
I/O modes.
- Higher-level applications use <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG> to initialize the
- terminal, passing an output <EM>stream</EM> rather than a <EM>descriptor</EM>.
- In <EM>curses</EM>, the two are the same because <STRONG>newterm</STRONG> calls
- <STRONG>setupterm</STRONG>, passing the file descriptor derived from its output
+ Higher-level applications use <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG> to initialize the
+ terminal, passing an output <EM>stream</EM> rather than a <EM>descriptor</EM>.
+ In <EM>curses</EM>, the two are the same because <STRONG>newterm</STRONG> calls
+ <STRONG>setupterm</STRONG>, passing the file descriptor derived from its output
stream parameter.
<EM>errret</EM>
- points to an optional location where an error status can be
- returned to the caller. If <EM>errret</EM> is not null, then <STRONG>setupterm</STRONG>
- returns <STRONG>OK</STRONG> or <STRONG>ERR</STRONG> and stores a status value in the integer
- pointed to by <EM>errret</EM>. A return value of <STRONG>OK</STRONG> combined with
+ points to an optional location where an error status can be
+ returned to the caller. If <EM>errret</EM> is not null, then <STRONG>setupterm</STRONG>
+ returns <STRONG>OK</STRONG> or <STRONG>ERR</STRONG> and stores a status value in the integer
+ pointed to by <EM>errret</EM>. A return value of <STRONG>OK</STRONG> combined with
status of <STRONG>1</STRONG> in <EM>errret</EM> is normal.
If <STRONG>ERR</STRONG> is returned, examine <EM>errret:</EM>
- <STRONG>1</STRONG> means that the terminal is hardcopy, and cannot be used
+ <STRONG>1</STRONG> means that the terminal is hardcopy, and cannot be used
for <EM>curses</EM> applications.
- <STRONG>setupterm</STRONG> determines if the entry is a hardcopy type by
+ <STRONG>setupterm</STRONG> determines if the entry is a hardcopy type by
checking the <STRONG>hardcopy</STRONG> (<STRONG>hc</STRONG>) capability.
- <STRONG>0</STRONG> means that the terminal could not be found, or that it is
- a generic type, having too little information for <EM>curses</EM>
+ <STRONG>0</STRONG> means that the terminal could not be found, or that it is
+ a generic type, having too little information for <EM>curses</EM>
applications to run.
- <STRONG>setupterm</STRONG> determines if the entry is a generic type by
+ <STRONG>setupterm</STRONG> determines if the entry is a generic type by
checking the <STRONG>generic_type</STRONG> (<STRONG>gn</STRONG>) capability.
<STRONG>-1</STRONG> means that the <EM>terminfo</EM> database could not be found.
- If <EM>errret</EM> is null, <STRONG>setupterm</STRONG> reports an error message upon
+ If <EM>errret</EM> is null, <STRONG>setupterm</STRONG> reports an error message upon
finding an error and exits. Thus, the simplest call is:
setupterm((char *)0, 1, (int *)0);
</PRE><H3><a name="h3-The-Terminal-State">The Terminal State</a></H3><PRE>
- <STRONG>setupterm</STRONG> stores its information about the terminal in a <EM>TERMINAL</EM>
+ <STRONG>setupterm</STRONG> stores its information about the terminal in a <EM>TERMINAL</EM>
structure pointed to by the global variable <STRONG>cur_term</STRONG>. If it detects an
error, or decides that the terminal is unsuitable (hardcopy or
- generic), it discards this information, making it not available to
+ generic), it discards this information, making it not available to
applications.
- If <STRONG>setupterm</STRONG> is called repeatedly for the same terminal type, it will
+ If <STRONG>setupterm</STRONG> is called repeatedly for the same terminal type, it will
reuse the information. It maintains only one copy of a given
- terminal's capabilities in memory. If it is called for different
- terminal types, <STRONG>setupterm</STRONG> allocates new storage for each set of
+ terminal's capabilities in memory. If it is called for different
+ terminal types, <STRONG>setupterm</STRONG> allocates new storage for each set of
terminal capabilities.
- <STRONG>set_curterm</STRONG> sets <STRONG>cur_term</STRONG> to <EM>nterm</EM>, and makes all of the <EM>terminfo</EM>
- Boolean, numeric, and string variables use the values from <EM>nterm</EM>. It
+ <STRONG>set_curterm</STRONG> sets <STRONG>cur_term</STRONG> to <EM>nterm</EM>, and makes all of the <EM>terminfo</EM>
+ Boolean, numeric, and string variables use the values from <EM>nterm</EM>. It
returns the old value of <STRONG>cur_term</STRONG>.
- <STRONG>del_curterm</STRONG> frees the space pointed to by <EM>oterm</EM> and makes it available
- for further use. If <EM>oterm</EM> is the same as <STRONG>cur_term</STRONG>, references to any
- of the <EM>terminfo</EM> Boolean, numeric, and string variables thereafter may
- refer to invalid memory locations until another <STRONG>setupterm</STRONG> has been
+ <STRONG>del_curterm</STRONG> frees the space pointed to by <EM>oterm</EM> and makes it available
+ for further use. If <EM>oterm</EM> is the same as <STRONG>cur_term</STRONG>, references to any
+ of the <EM>terminfo</EM> Boolean, numeric, and string variables thereafter may
+ refer to invalid memory locations until another <STRONG>setupterm</STRONG> has been
called.
- <STRONG>restartterm</STRONG> is similar to <STRONG>setupterm</STRONG> and <STRONG>initscr</STRONG>, except that it is
- called after restoring memory to a previous state (for example, when
+ <STRONG>restartterm</STRONG> is similar to <STRONG>setupterm</STRONG> and <STRONG>initscr</STRONG>, except that it is
+ called after restoring memory to a previous state (for example, when
reloading a game saved as a core image dump). <STRONG>restartterm</STRONG> assumes that
- the windows and the input and output options are the same as when
+ the windows and the input and output options are the same as when
memory was saved, but the terminal type and baud rate may be different.
- Accordingly, <STRONG>restartterm</STRONG> saves various terminal state bits, calls
+ Accordingly, <STRONG>restartterm</STRONG> saves various terminal state bits, calls
<STRONG>setupterm</STRONG>, and then restores the bits.
</PRE><H3><a name="h3-Formatting-Output">Formatting Output</a></H3><PRE>
- <STRONG>tparm</STRONG> instantiates the string <EM>str</EM> with parameters <EM>pi</EM>. A pointer is
+ <STRONG>tparm</STRONG> instantiates the string <EM>str</EM> with parameters <EM>pi</EM>. A pointer is
returned to the result of <EM>str</EM> with the parameters applied. Application
developers should keep in mind these quirks of the interface:
- <STRONG>o</STRONG> Although <STRONG>tparm</STRONG>'s actual parameters may be integers or strings, the
+ <STRONG>o</STRONG> Although <STRONG>tparm</STRONG>'s actual parameters may be integers or strings, the
prototype expects <EM>long</EM> (integer) values.
- <STRONG>o</STRONG> Aside from the <STRONG>set_attributes</STRONG> (<STRONG>sgr</STRONG>) capability, most terminal
+ <STRONG>o</STRONG> Aside from the <STRONG>set_attributes</STRONG> (<STRONG>sgr</STRONG>) capability, most terminal
capabilities require no more than one or two parameters.
- <STRONG>o</STRONG> Padding information is ignored by <STRONG>tparm</STRONG>; it is interpreted by
+ <STRONG>o</STRONG> Padding information is ignored by <STRONG>tparm</STRONG>; it is interpreted by
<STRONG>tputs</STRONG>.
- <STRONG>o</STRONG> The capability string is null-terminated. Use "\200" where an
+ <STRONG>o</STRONG> The capability string is null-terminated. Use "\200" where an
ASCII NUL is needed in the output.
- <STRONG>tiparm</STRONG> is a newer form of <STRONG>tparm</STRONG> which uses <EM>stdarg.h</EM> rather than a
- fixed-parameter list. Its numeric parameters are <EM>int</EM>s rather than
+ <STRONG>tiparm</STRONG> is a newer form of <STRONG>tparm</STRONG> which uses <EM>stdarg.h</EM> rather than a
+ fixed-parameter list. Its numeric parameters are <EM>int</EM>s rather than
<EM>long</EM>s.
- Both <STRONG>tparm</STRONG> and <STRONG>tiparm</STRONG> assume that the application passes parameters
- consistent with the terminal description. Two extensions are provided
+ Both <STRONG>tparm</STRONG> and <STRONG>tiparm</STRONG> assume that the application passes parameters
+ consistent with the terminal description. Two extensions are provided
as alternatives to deal with untrusted data.
- <STRONG>o</STRONG> <STRONG>tiparm_s</STRONG> is an extension which is a safer formatting function than
+ <STRONG>o</STRONG> <STRONG>tiparm_s</STRONG> is an extension which is a safer formatting function than
<STRONG>tparm</STRONG> or <STRONG>tiparm</STRONG>, because it allows the developer to tell the <EM>curses</EM>
- library how many parameters to expect in the parameter list, and
+ library how many parameters to expect in the parameter list, and
which may be string parameters.
- The <EM>mask</EM> parameter has one bit set for each of the parameters (up
+ The <EM>mask</EM> parameter has one bit set for each of the parameters (up
to 9) passed as <EM>char</EM> pointers rather than numbers.
- <STRONG>o</STRONG> The extension <STRONG>tiscan_s</STRONG> allows the application to inspect a
+ <STRONG>o</STRONG> The extension <STRONG>tiscan_s</STRONG> allows the application to inspect a
formatting capability to see what the <EM>curses</EM> library would assume.
</PRE><H3><a name="h3-Output-Functions">Output Functions</a></H3><PRE>
- String capabilities can contain padding information, a time delay
+ String capabilities can contain padding information, a time delay
(accommodating performance limitations of hardware terminals) expressed
as <STRONG>$<</STRONG><EM>n</EM><STRONG>></STRONG>, where <EM>n</EM> is a nonnegative integral count of milliseconds. If <EM>n</EM>
exceeds 30,000 (thirty seconds), it is capped at that value.
- <STRONG>tputs</STRONG> interprets time-delay information in the string <EM>str</EM> and outputs
+ <STRONG>tputs</STRONG> interprets time-delay information in the string <EM>str</EM> and outputs
it, executing the delays:
- <STRONG>o</STRONG> The <EM>str</EM> parameter must be a <EM>terminfo</EM> string variable or the return
- value of <STRONG>tparm</STRONG>, <STRONG>tiparm</STRONG>, <STRONG>tgetstr</STRONG>, or <STRONG>tgoto</STRONG>.
-
- The <STRONG>tgetstr</STRONG> and <STRONG>tgoto</STRONG> functions are part of the <EM>termcap</EM> interface,
- which happens to share these function names with the <EM>terminfo</EM> API.
+ <STRONG>o</STRONG> The <EM>str</EM> parameter must be a <EM>terminfo</EM> string variable or the return
+ value of <STRONG>tparm</STRONG> or <STRONG>tiparm</STRONG>.
<STRONG>o</STRONG> <EM>affcnt</EM> is the number of lines affected, or <STRONG>1</STRONG> if not applicable.
applications must provide a null pointer for that argument; but see
section "EXTENSIONS" below.
- <STRONG>mvcur</STRONG> provides low-level cursor motion. It takes effect immediately
- (rather than at the next refresh). Unlike the other low-level output
- functions, which either write to the standard output or pass an output
- function parameter, <STRONG>mvcur</STRONG> uses an output file descriptor derived from
- the output stream parameter of <STRONG><A HREF="curs_initscr.3x.html">newterm(3x)</A></STRONG>.
-
- While <STRONG>putp</STRONG> and <STRONG>mvcur</STRONG> are low-level functions that do not use high-level
- <EM>curses</EM> state, <EM>ncurses</EM> declares them in <EM>curses.h</EM> because System V did
- this (see section "HISTORY" below).
+ While <STRONG>putp</STRONG> is a low-level function that does not use high-level <EM>curses</EM>
+ state, <EM>ncurses</EM> declares it in <EM>curses.h</EM> because System V did this (see
+ section "HISTORY" below).
</PRE><H3><a name="h3-Terminal-Capability-Functions">Terminal Capability Functions</a></H3><PRE>
<STRONG>putp</STRONG> calls <STRONG>tputs</STRONG>, returning the same error codes.
<STRONG>restartterm</STRONG>
- fails if the associated call to <STRONG>setupterm</STRONG> returns an error.
+ fails if the associated call to <STRONG>setupterm</STRONG> returns <STRONG>ERR</STRONG>.
<STRONG>setupterm</STRONG>
fails if it cannot allocate enough memory, or create the initial
keys).
The <EM>ncurses</EM> library checks usage of these capabilities, and returns
- an error if the capability mishandles string parameters. But it
- cannot check if a calling program provides strings in the right
- places for the <STRONG>tparm</STRONG> calls.
+ <STRONG>ERR</STRONG> if the capability mishandles string parameters. But it cannot
+ check if a calling program provides strings in the right places for
+ the <STRONG>tparm</STRONG> calls.
The <STRONG><A HREF="tput.1.html">tput(1)</A></STRONG> program checks its use of these capabilities with a
table, so that it calls <STRONG>tparm</STRONG> correctly.
other than <STRONG>OK</STRONG> or <STRONG>ERR</STRONG> from <STRONG>tputs</STRONG>. It instead returns the length of the
string, and does no error checking.
- X/Open Curses notes that after calling <STRONG>mvcur</STRONG>, the <EM>curses</EM> state may not
- match the actual terminal state, and that an application should touch
- and refresh the window before resuming normal <EM>curses</EM> calls. Both
- <EM>ncurses</EM> and SVr4 <EM>curses</EM> implement <STRONG>mvcur</STRONG> using the <EM>SCREEN</EM> data allocated
- in either <STRONG>initscr</STRONG> or <STRONG>newterm</STRONG>. So though it is documented as a <EM>terminfo</EM>
- function, <STRONG>mvcur</STRONG> is really a <EM>curses</EM> function that is not well specified.
-
- X/Open Curses states that the old location must be given for <STRONG>mvcur</STRONG> to
- accommodate terminals that lack absolute cursor positioning. <EM>ncurses</EM>
- allows the caller to use -1 for either or both old coordinates. The -1
- tells <EM>ncurses</EM> that the old location is unknown, and that it must use
- only absolute motion, as with the <STRONG>cursor_address</STRONG> (<STRONG>cup</STRONG>) capability,
- rather than the least costly combination of absolute and relative
- motion.
-
</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
- SVr2 (1984) introduced the <EM>terminfo</EM> feature. Its programming manual
+ SVr2 (1984) introduced the <EM>terminfo</EM> feature. Its programming manual
mentioned the following low-level functions.
<STRONG>Function</STRONG> <STRONG>Description</STRONG>
<STRONG>mvcur</STRONG> low level cursor motion
<STRONG>putp</STRONG> use <STRONG>tputs</STRONG> to send characters via <EM>putchar</EM>
<STRONG>resetterm</STRONG> set terminal modes to "out of <EM>curses</EM>" state
-
<STRONG>resetty</STRONG> reset terminal flags to stored value
<STRONG>saveterm</STRONG> save current modes as "in <EM>curses</EM>" state
<STRONG>savetty</STRONG> store current terminal flags
<STRONG>vidattr</STRONG> like <STRONG>vidputs</STRONG>, but output through <EM>putchar</EM>
<STRONG>vidputs</STRONG> write string to terminal, applying specified attributes
- The programming manual also mentioned functions provided for <EM>termcap</EM>
+ The programming manual also mentioned functions provided for <EM>termcap</EM>
compatibility (commenting that they "may go away at a later date").
<STRONG>Function</STRONG> <STRONG>Description</STRONG>
<STRONG>tgoto</STRONG> apply parameters to given capability
<STRONG>tputs</STRONG> write characters via a function parameter, applying padding
- Early <EM>terminfo</EM> programs obtained capability values from the <EM>TERMINAL</EM>
+ Early <EM>terminfo</EM> programs obtained capability values from the <EM>TERMINAL</EM>
structure initialized by <STRONG>setupterm</STRONG>.
- SVr3 (1987) extended <EM>terminfo</EM> by adding functions to retrieve
- capability values (like the <EM>termcap</EM> interface), and reusing <STRONG>tgoto</STRONG> and
+ SVr3 (1987) extended <EM>terminfo</EM> by adding functions to retrieve
+ capability values (like the <EM>termcap</EM> interface), and reusing <STRONG>tgoto</STRONG> and
<STRONG>tputs</STRONG>.
<STRONG>Function</STRONG> <STRONG>Description</STRONG>
<STRONG>tigetnum</STRONG> get numeric entry for given <EM>id</EM>
<STRONG>tigetstr</STRONG> get string entry for given <EM>id</EM>
- SVr3 also replaced several of the SVr2 <EM>terminfo</EM> functions that had no
+ SVr3 also replaced several of the SVr2 <EM>terminfo</EM> functions that had no
counterpart in the <EM>termcap</EM> interface, documenting them as obsolete.
<STRONG>Function</STRONG> <STRONG>Replaced</STRONG> <STRONG>by</STRONG>
saveterm def_prog_mode
setterm setupterm
- SVr3 kept the <STRONG>mvcur</STRONG>, <STRONG>vidattr</STRONG>, and <STRONG>vidputs</STRONG> functions, along with <STRONG>putp</STRONG>,
- <STRONG>tparm</STRONG>, and <STRONG>tputs</STRONG>. The latter were needed to support padding, and to
- handle capabilities accessed by functions such as <STRONG>vidattr</STRONG> (which used
+ SVr3 kept the <STRONG>mvcur</STRONG>, <STRONG>vidattr</STRONG>, and <STRONG>vidputs</STRONG> functions, along with <STRONG>putp</STRONG>,
+ <STRONG>tparm</STRONG>, and <STRONG>tputs</STRONG>. The latter were needed to support padding, and to
+ handle capabilities accessed by functions such as <STRONG>vidattr</STRONG> (which used
more than the two parameters supported by <STRONG>tgoto</STRONG>).
- SVr3 introduced the functions for switching between terminal
- descriptions; for example, <STRONG>set_curterm</STRONG>. Some changes reflected
+ SVr3 introduced the functions for switching between terminal
+ descriptions; for example, <STRONG>set_curterm</STRONG>. Some changes reflected
incremental improvements to the SVr2 library.
- <STRONG>o</STRONG> The <EM>TERMINAL</EM> type definition was introduced in SVr3.01, for the
+ <STRONG>o</STRONG> The <EM>TERMINAL</EM> type definition was introduced in SVr3.01, for the
<EM>term</EM> structure provided in SVr2.
- <STRONG>o</STRONG> Various global variables such as <STRONG>boolnames</STRONG> were mentioned in the
- programming manual at this point, though the variables had been
+ <STRONG>o</STRONG> Various global variables such as <STRONG>boolnames</STRONG> were mentioned in the
+ programming manual at this point, though the variables had been
provided in SVr2.
SVr4 (1989) added the <STRONG>vid_attr</STRONG> and <STRONG>vid_puts</STRONG> functions.
- Other low-level functions are declared in the <EM>curses</EM> header files of
- Unix systems, but none are documented. Those noted as "obsolete" by
+ Other low-level functions are declared in the <EM>curses</EM> header files of
+ Unix systems, but none are documented. Those noted as "obsolete" by
SVr3 remained in use by System V's <STRONG>vi(1)</STRONG> editor.
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>, <STRONG><A HREF="curs_memleaks.3x.html">curs_memleaks(3x)</A></STRONG>,
- <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>, <STRONG>putc(3)</STRONG>, <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>,
+ <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>, <STRONG>putc(3)</STRONG>, <STRONG><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>,
<STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
-ncurses 6.5 2024-04-13 <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_touch.3x,v 1.47 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_touch.3x,v 1.49 2024/05/25 20:10:58 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_touch 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_touch 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_touch 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_touch 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
implementation
<STRONG>is_linetouched</STRONG>
- returns an error if the window pointer is null, or if the line
+ returns <STRONG>ERR</STRONG> if the window pointer is null, or if the line
number is outside the window boundaries.
The constant <STRONG>ERR</STRONG> is distinct from <STRONG>TRUE</STRONG> and <STRONG>FALSE</STRONG>, which are the
The actual function returns <STRONG>FALSE</STRONG> when it detects an error.
<STRONG>wtouchln</STRONG>
- returns an error if the window pointer is null, or if the line
+ returns <STRONG>ERR</STRONG> if the window pointer is null, or if the line
number is outside the window boundaries.
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_util.3x,v 1.102 2024/05/11 20:39:53 tom Exp @
+ * @Id: curs_util.3x,v 1.104 2024/05/25 20:10:58 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
-<TITLE>curs_util 3x 2024-05-11 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_util 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_util 3x 2024-05-11 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_util 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
implementation
<STRONG>flushinp</STRONG>
- returns an error if the terminal was not initialized.
+ returns <STRONG>ERR</STRONG> if the terminal was not initialized.
<STRONG>putwin</STRONG>
- returns an error if the associated <STRONG>fwrite</STRONG> calls return an
- error.
+ returns <STRONG>ERR</STRONG> if the associated <STRONG>fwrite</STRONG> calls return <STRONG>ERR</STRONG>.
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
</PRE><H3><a name="h3-filter">filter</a></H3><PRE>
- The SVr4 documentation describes the action of <STRONG>filter</STRONG> only in the
- vaguest terms. The description here is adapted from X/Open Curses
+ The SVr4 documentation describes the action of <STRONG>filter</STRONG> only in the
+ vaguest terms. The description here is adapted from X/Open Curses
(which erroneously fails to describe the disabling of <STRONG>cuu</STRONG>).
</PRE><H3><a name="h3-delay_output-padding">delay_output padding</a></H3><PRE>
- The limitation to 30 seconds and the use of <STRONG>napms</STRONG> differ from other
+ The limitation to 30 seconds and the use of <STRONG>napms</STRONG> differ from other
implementations.
<STRONG>o</STRONG> SVr4 curses does not delay if no padding character is available.
- <STRONG>o</STRONG> NetBSD curses uses <STRONG>napms</STRONG> when no padding character is available,
- but does not take timing into account when using the padding
+ <STRONG>o</STRONG> NetBSD curses uses <STRONG>napms</STRONG> when no padding character is available,
+ but does not take timing into account when using the padding
character.
Neither limits the delay.
</PRE><H3><a name="h3-keyname">keyname</a></H3><PRE>
- The <STRONG>keyname</STRONG> function may return the names of user-defined string
- capabilities which are defined in the terminfo entry via the <STRONG>-x</STRONG> option
+ The <STRONG>keyname</STRONG> function may return the names of user-defined string
+ capabilities which are defined in the terminfo entry via the <STRONG>-x</STRONG> option
of <STRONG>tic</STRONG>. This implementation automatically assigns at run-time keycodes
- to user-defined strings which begin with "k". The keycodes start at
+ to user-defined strings which begin with "k". The keycodes start at
KEY_MAX, but are not guaranteed to be the same value for different runs
- because user-defined codes are merged from all terminal descriptions
- which have been loaded. The <STRONG><A HREF="curs_extend.3x.html">use_extended_names(3x)</A></STRONG> function controls
- whether this data is loaded when the terminal description is read by
+ because user-defined codes are merged from all terminal descriptions
+ which have been loaded. The <STRONG><A HREF="curs_extend.3x.html">use_extended_names(3x)</A></STRONG> function controls
+ whether this data is loaded when the terminal description is read by
the library.
</PRE><H3><a name="h3-nofilter_use_tioctl">nofilter, use_tioctl</a></H3><PRE>
- The <STRONG>nofilter</STRONG> and <STRONG>use_tioctl</STRONG> routines are specific to <EM>ncurses</EM>. They
- were not supported on Version 7, BSD or System V implementations. It
- is recommended that any code depending on <EM>ncurses</EM> extensions be
+ The <STRONG>nofilter</STRONG> and <STRONG>use_tioctl</STRONG> routines are specific to <EM>ncurses</EM>. They
+ were not supported on Version 7, BSD or System V implementations. It
+ is recommended that any code depending on <EM>ncurses</EM> extensions be
conditioned using <STRONG>NCURSES_VERSION</STRONG>.
</PRE><H3><a name="h3-putwin_getwin-file-format">putwin/getwin file-format</a></H3><PRE>
The <STRONG>putwin</STRONG> and <STRONG>getwin</STRONG> functions have several issues with portability:
- <STRONG>o</STRONG> The files written and read by these functions use an
- implementation-specific format. Although the format is an obvious
+ <STRONG>o</STRONG> The files written and read by these functions use an
+ implementation-specific format. Although the format is an obvious
target for standardization, it has been overlooked.
- Interestingly enough, according to the copyright dates in Solaris
- source, the functions (along with <STRONG>scr_init</STRONG>, etc.) originated with
+ Interestingly enough, according to the copyright dates in Solaris
+ source, the functions (along with <STRONG>scr_init</STRONG>, etc.) originated with
the University of California, Berkeley (in 1982) and were later (in
- 1988) incorporated into SVr4. Oddly, there are no such functions
+ 1988) incorporated into SVr4. Oddly, there are no such functions
in the 4.3BSD curses sources.
<STRONG>o</STRONG> Most implementations simply dump the binary <EM>WINDOW</EM> structure to the
- file. These include SVr4 curses, NetBSD and PDCurses, as well as
+ file. These include SVr4 curses, NetBSD and PDCurses, as well as
older <EM>ncurses</EM> versions. This implementation (as well as the X/Open
variant of Solaris curses, dated 1995) uses textual dumps.
- The implementations which use binary dumps use block-I/O (the
- <STRONG>fwrite</STRONG> and <STRONG>fread</STRONG> functions). Those that use textual dumps use
+ The implementations which use binary dumps use block-I/O (the
+ <STRONG>fwrite</STRONG> and <STRONG>fread</STRONG> functions). Those that use textual dumps use
buffered-I/O. A few applications may happen to write extra data in
- the file using these functions. Doing that can run into problems
- mixing block- and buffered-I/O. This implementation reduces the
- problem on writes by flushing the output. However, reading from a
+ the file using these functions. Doing that can run into problems
+ mixing block- and buffered-I/O. This implementation reduces the
+ problem on writes by flushing the output. However, reading from a
file written using mixed schemes may not be successful.
</PRE><H3><a name="h3-unctrl_wunctrl">unctrl, wunctrl</a></H3><PRE>
- X/Open Curses, Issue 4 describes these functions. It states that
+ X/Open Curses, Issue 4 describes these functions. It states that
<STRONG>unctrl</STRONG> and <STRONG>wunctrl</STRONG> will return a null pointer if unsuccessful, but does
- not define any error conditions. This implementation checks for three
+ not define any error conditions. This implementation checks for three
cases:
- <STRONG>o</STRONG> the parameter is a 7-bit US-ASCII code. This is the case that
+ <STRONG>o</STRONG> the parameter is a 7-bit US-ASCII code. This is the case that
X/Open Curses documented.
<STRONG>o</STRONG> the parameter is in the range 128-159, i.e., a C1 control code. If
- <STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG> has been called with a <STRONG>2</STRONG> parameter, <STRONG>unctrl</STRONG>
- returns the parameter, i.e., a one-character string with the
- parameter as the first character. Otherwise, it returns "~@",
+ <STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG> has been called with a <STRONG>2</STRONG> parameter, <STRONG>unctrl</STRONG>
+ returns the parameter, i.e., a one-character string with the
+ parameter as the first character. Otherwise, it returns "~@",
"~A", etc., analogous to "^@", "^A", C0 controls.
X/Open Curses does not document whether <STRONG>unctrl</STRONG> can be called before
pointer.
The strings returned by <STRONG>unctrl</STRONG> in this implementation are determined at
- compile time, showing C1 controls from the upper-128 codes with a "~"
- prefix rather than "^". Other implementations have different
- conventions. For example, they may show both sets of control
- characters with "^", and strip the parameter to 7 bits. Or they may
- ignore C1 controls and treat all of the upper-128 codes as printable.
- This implementation uses 8 bits but does not modify the string to
- reflect locale. The <STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG> function allows the caller
+ compile time, showing C1 controls from the upper-128 codes with a "~"
+ prefix rather than "^". Other implementations have different
+ conventions. For example, they may show both sets of control
+ characters with "^", and strip the parameter to 7 bits. Or they may
+ ignore C1 controls and treat all of the upper-128 codes as printable.
+ This implementation uses 8 bits but does not modify the string to
+ reflect locale. The <STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG> function allows the caller
to change the output of <STRONG>unctrl</STRONG>.
- Likewise, the <STRONG><A HREF="curs_inopts.3x.html">meta(3x)</A></STRONG> function allows the caller to change the output
- of <STRONG>keyname</STRONG>, i.e., it determines whether to use the "M-" prefix for
- "meta" keys (codes in the range 128 to 255). Both
- <STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG> and <STRONG><A HREF="curs_inopts.3x.html">meta(3x)</A></STRONG> succeed only after curses is
- initialized. X/Open Curses does not document the treatment of codes
+ Likewise, the <STRONG><A HREF="curs_inopts.3x.html">meta(3x)</A></STRONG> function allows the caller to change the output
+ of <STRONG>keyname</STRONG>, i.e., it determines whether to use the "M-" prefix for
+ "meta" keys (codes in the range 128 to 255). Both
+ <STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG> and <STRONG><A HREF="curs_inopts.3x.html">meta(3x)</A></STRONG> succeed only after curses is
+ initialized. X/Open Curses does not document the treatment of codes
128 to 159. When treating them as "meta" keys (or if <STRONG>keyname</STRONG> is called
- before initializing curses), this implementation returns strings
+ before initializing curses), this implementation returns strings
"M-^@", "M-^A", etc.
X/Open Curses documents <STRONG>unctrl</STRONG> as declared in <STRONG><unctrl.h></STRONG>, which <EM>ncurses</EM>
- does. However, <EM>ncurses</EM>' <STRONG><curses.h></STRONG> includes <STRONG><unctrl.h></STRONG>, matching the
+ does. However, <EM>ncurses</EM>' <STRONG><curses.h></STRONG> includes <STRONG><unctrl.h></STRONG>, matching the
behavior of SVr4 curses. Other implementations may not do that.
</PRE><H3><a name="h3-use_env_use_tioctl">use_env, use_tioctl</a></H3><PRE>
- If <EM>ncurses</EM> is configured to provide the sp-functions extension, the
- state of <STRONG>use_env</STRONG> and <STRONG>use_tioctl</STRONG> may be updated before creating each
- <EM>screen</EM> rather than once only (<STRONG><A HREF="curs_sp_funcs.3x.html">curs_sp_funcs(3x)</A></STRONG>). This feature of
+ If <EM>ncurses</EM> is configured to provide the sp-functions extension, the
+ state of <STRONG>use_env</STRONG> and <STRONG>use_tioctl</STRONG> may be updated before creating each
+ <EM>screen</EM> rather than once only (<STRONG><A HREF="curs_sp_funcs.3x.html">curs_sp_funcs(3x)</A></STRONG>). This feature of
<STRONG>use_env</STRONG> is not provided by other implementations of curses.
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
- <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>, <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>,
+ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>, <STRONG><A HREF="curs_kernel.3x.html">curs_kernel(3x)</A></STRONG>,
<STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>, <STRONG><A HREF="curs_sp_funcs.3x.html">curs_sp_funcs(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
<STRONG><A HREF="legacy_coding.3x.html">legacy_coding(3x)</A></STRONG>
-ncurses 6.5 2024-05-11 <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: curs_window.3x,v 1.48 2024/04/20 21:20:07 tom Exp @
+ * @Id: curs_window.3x,v 1.50 2024/05/25 20:43: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_window 3x 2024-04-20 ncurses 6.5 Library calls</TITLE>
+<TITLE>curs_window 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">curs_window 3x 2024-04-20 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">curs_window 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
X/Open defines no error conditions. In this implementation
<STRONG>delwin</STRONG>
- returns an error if the window pointer is null, or if the window
- is the parent of another window.
+ returns <STRONG>ERR</STRONG> if the window pointer is null, or if the window is the
+ parent of another window.
<STRONG>derwin</STRONG>
- returns an error if the parent window pointer is null, or if any
- of its ordinates or dimensions is negative, or if the resulting
- window does not fit inside the parent window.
+ returns <STRONG>ERR</STRONG> if the parent window pointer is null, or if any of its
+ ordinates or dimensions is negative, or if the resulting window
+ does not fit inside the parent window.
<STRONG>dupwin</STRONG>
- returns an error if the window pointer is null.
+ returns <STRONG>ERR</STRONG> if the window pointer is null.
This implementation also maintains a list of windows, and checks
that the pointer passed to <STRONG>delwin</STRONG> is one that it created,
returning an error if it was not..
<STRONG>mvderwin</STRONG>
- returns an error if the window pointer is null, or if some part of
- the window would be placed off-screen.
+ returns <STRONG>ERR</STRONG> if the window pointer is null, or if some part of the
+ window would be placed off-screen.
<STRONG>mvwin</STRONG>
- returns an error if the window pointer is null, or if the window
- is really a pad, or if some part of the window would be placed
- off-screen.
+ returns <STRONG>ERR</STRONG> if the window pointer is null, or if the window is
+ really a pad, or if some part of the window would be placed off-
+ screen.
<STRONG>newwin</STRONG>
will fail if either of its beginning ordinates is negative, or if
either the number of lines or columns is negative.
<STRONG>syncok</STRONG>
- returns an error if the window pointer is null.
+ returns <STRONG>ERR</STRONG> if the window pointer is null.
<STRONG>subwin</STRONG>
- returns an error if the parent window pointer is null, or if any
- of its ordinates or dimensions is negative, or if the resulting
- window does not fit inside the parent window.
+ returns <STRONG>ERR</STRONG> if the parent window pointer is null, or if any of its
+ ordinates or dimensions is negative, or if the resulting window
+ does not fit inside the parent window.
The functions which return a window pointer may also fail if there is
insufficient memory for its data structures. Any of these functions
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
X/Open Curses, Issue 4 describes these functions.
- X/Open Curses states regarding <STRONG>delwin</STRONG>:
+ Regarding <EM>delwin</EM>, X/Open Curses states that
- <STRONG>o</STRONG> It must delete subwindows before deleting their parent.
+ [t]he application must delete subwindows before deleting the
+ main window.
- <STRONG>o</STRONG> If <STRONG>delwin</STRONG> is asked to delete a parent window, it can only succeed
- if the curses library keeps a list of the subwindows. SVr4 curses
- kept a count of the number of subwindows rather than a list. It
- simply returned <STRONG>ERR</STRONG> when asked to delete a subwindow. Solaris
- X/Open curses does not even make that check, and will delete a
- parent window which still has subwindows.
+ If <EM>delwin</EM> is asked to delete a parent window, it can succeed only if
+ the <EM>curses</EM> library keeps a list of its subwindows. SVr4 <EM>curses</EM> kept a
+ count of the number of subwindows rather than a list. It simply
+ returned <STRONG>ERR</STRONG> when asked to delete a subwindow. Solaris X/Open <EM>curses</EM>
+ (<EM>xcurses</EM>) does not make even that check, and will delete a parent
+ window that still has subwindows. <EM>PDCurses</EM> also behaves this way.
- <STRONG>o</STRONG> Since release 4.0 (1996), <EM>ncurses</EM> maintains a list of windows for
- each screen, to ensure that a window has no subwindows before
- allowing deletion.
+ <EM>ncurses</EM> 4.0 (1996) and later maintains a list of windows for each
+ screen to ensure that a window has no subwindows before allowing its
+ deletion. NetBSD <EM>curses</EM> has followed suit since 2003.
- <STRONG>o</STRONG> NetBSD copied this feature of <EM>ncurses</EM> in 2003.
- PDCurses follows the scheme used in Solaris X/Open curses.
-
-
-</PRE><H2><a name="h2-BUGS">BUGS</a></H2><PRE>
- The subwindow functions <STRONG>subwin</STRONG>, <STRONG>derwin</STRONG>, <STRONG>mvderwin</STRONG>, <STRONG>wsyncup</STRONG>, <STRONG>wsyncdown</STRONG>,
- <STRONG>wcursyncup</STRONG>, and <STRONG>syncok</STRONG> are flaky, incompletely implemented, and not
- well tested.
-
- System V's <EM>curses</EM> documentation is unclear about what <STRONG>wsyncup</STRONG> and
- <STRONG>wsyncdown</STRONG> actually do. It seems to imply that they are supposed to
- touch only those lines that are affected by changes to a window's
- ancestors. The language here, and behavior of <EM>ncurses</EM>, is patterned on
+ SVr4 <EM>curses</EM> documentation is unclear about what <EM>wsyncup</EM> and <EM>wsyncdown</EM>
+ actually do. It seems to imply that they are supposed to touch only
+ those lines that are affected by changes to a window's ancestors. The
+ description and behavior of these functions in <EM>ncurses</EM> is patterned on
the X/Open Curses standard; this approach may result in slower updates.
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
- <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>,
+ <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>,
<STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>
-ncurses 6.5 2024-04-20 <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="curs_window.3x.html">curs_window(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
<li><a href="#h2-RETURN-VALUE">RETURN VALUE</a></li>
<li><a href="#h2-NOTES">NOTES</a></li>
<li><a href="#h2-PORTABILITY">PORTABILITY</a></li>
-<li><a href="#h2-BUGS">BUGS</a></li>
<li><a href="#h2-SEE-ALSO">SEE ALSO</a></li>
</ul>
</div>
* authorization. *
****************************************************************************
* Author: Thomas E. Dickey 1997
- * @Id: define_key.3x,v 1.44 2024/05/18 20:04:21 tom Exp @
+ * @Id: define_key.3x,v 1.46 2024/05/25 20:15:04 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>define_key 3x 2024-05-18 ncurses 6.5 Library calls</TITLE>
+<TITLE>define_key 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">define_key 3x 2024-05-18 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">define_key 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG> Library calls <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>
binding as it does those in the <EM>terminfo</EM> database entry for the
terminal type.
- A <EM>definition</EM> of <STRONG>NULL</STRONG> removes any existing one <EM>key-code</EM>. Similarly, a
- non-positive <EM>key-code</EM> removes any existing bindings for <EM>definition</EM>.
+ A <EM>definition</EM> of <STRONG>NULL</STRONG> removes any existing binding from <EM>key-code</EM>.
+ Similarly, a non-positive <EM>key-code</EM> removes an existing binding for
+ <EM>definition</EM>, if any.
</PRE><H2><a name="h2-RETURN-VALUE">RETURN VALUE</a></H2><PRE>
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
- <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>, <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>, <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>, <STRONG><A HREF="keybound.3x.html">keybound(3x)</A></STRONG>, <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>,
+ <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>, <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>, <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>, <STRONG><A HREF="keybound.3x.html">keybound(3x)</A></STRONG>, <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>,
<STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
-ncurses 6.5 2024-05-18 <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: form.3x,v 1.54 2024/03/16 15:35:01 tom Exp @
+ * @Id: form.3x,v 1.56 2024/05/25 20:52:38 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>form 3x 2024-03-16 ncurses 6.5 Library calls</TITLE>
+<TITLE>form 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">form 3x 2024-03-16 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">form 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="form.3x.html">form(3x)</A></STRONG> Library calls <STRONG><A HREF="form.3x.html">form(3x)</A></STRONG>
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
- <STRONG>form</STRONG> - curses extension for programming forms
+ <STRONG>form</STRONG> - present user-fillable forms in <EM>curses</EM> windows
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
-ncurses 6.5 2024-03-16 <STRONG><A HREF="form.3x.html">form(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="form.3x.html">form(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
<!--
- $Id: index.html,v 1.12 2020/02/02 23:34:34 tom Exp $
+ $Id: index.html,v 1.13 2024/05/25 22:27:27 tom Exp $
****************************************************************************
- * Copyright 2019,2020 Thomas E. Dickey *
+ * Copyright 2019-2020,2024 Thomas E. Dickey *
* Copyright 2001-2013,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
****************************************************************************
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
-
<html>
<head>
<meta name="generator" content=
- "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
-
+ "HTML Tidy for HTML5 for Linux version 5.6.0">
<title>NCURSES – Manual Pages</title>
<link rel="author" href="mailto:dickey@invisible-island.net">
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
-
<body>
<ul>
<li>Programs:
-
<ul>
<li><a href="captoinfo.1m.html">captoinfo – convert a
termcap description into a terminfo description</a></li>
<li><a href="infotocap.1m.html">infotocap – convert a
terminfo description into a termcap description</a></li>
- <li><a href="tabs.1.html">tabs – set tabs on a
- terminal</a></li>
+ <li><a href="tabs.1.html">tabs – set terminal tab
+ stops</a></li>
- <li><a href="tic.1m.html">tic – the terminfo
- entry-description compiler</a></li>
+ <li><a href="tic.1m.html">tic – compile terminal
+ descriptions for terminfo or termcap</a></li>
- <li><a href="toe.1m.html">toe – table of (terminfo)
- entries</a></li>
+ <li><a href="toe.1m.html">toe – list table of entries
+ of terminfo terminal types</a></li>
<li><a href="tput.1.html">tput – initialize a
- terminal or query terminfo database</a></li>
+ terminal, exercise its capabilities, or query terminfo
+ database</a></li>
- <li><a href="tset.1.html">tset – terminal
- initialization</a></li>
+ <li><a href="tset.1.html">tset – initialize or reset
+ terminal state</a></li>
</ul>
</li>
<li>Scripts:
-
<ul>
<li><a href=
"adacurses6-config.1.html">adacurses*-config</a> –
- helper script for AdaCurses libraries</li>
+ configuration helper for AdaCurses libraries</li>
<li><a href="ncurses6-config.1.html">ncurses*-config</a>
- – helper script for ncurses libraries</li>
+ – configuration helper for ncurses libraries</li>
</ul>
</li>
<li>Libraries:
-
<ul>
- <li><a href="ncurses.3x.html">ncurses – CRT screen
- handling and optimization package</a></li>
+ <li><a href="ncurses.3x.html">ncurses –
+ character-cell terminal interface with optimized output</a></li>
- <li><a href="panel.3x.html">panel – panel stack
- extension for curses</a></li>
+ <li><a href="panel.3x.html">panel – manage
+ overlapping curses windows</a></li>
- <li><a href="form.3x.html">form – curses extension
- for programming forms</a></li>
+ <li><a href="form.3x.html">form – present
+ user-fillable forms in curses windows</a></li>
- <li><a href="menu.3x.html">menu – curses extension
- for programming menus</a></li>
+ <li><a href="menu.3x.html">menu – present menus in
+ curses windows</a></li>
</ul>
</li>
<li>File formats:
-
<ul>
<li><a href="terminfo.5.html">terminfo – terminal
- capability data base</a></li>
+ capability database</a></li>
- <li><a href="term.5.html">term – format of compiled
- term file.</a></li>
+ <li><a href="term.5.html">term – compiled terminfo
+ terminal description</a></li>
- <li><a href="scr_dump.5.html">scr_dump – format of
- curses screen dumps.</a></li>
+ <li><a href="scr_dump.5.html">scr_dump – curses
+ screen dump</a></li>
+ <li><a href="user_caps.5.html">user_caps –
+ user-defined terminfo capability format</a></li>
+ </ul>
+ </li>
+
+ <li>Other information:
+ <ul>
<li><a href="term.7.html">term – conventions for
naming terminal types</a></li>
</ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: menu.3x,v 1.45 2024/03/16 15:35:01 tom Exp @
+ * @Id: menu.3x,v 1.47 2024/05/25 20:52:38 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>menu 3x 2024-03-16 ncurses 6.5 Library calls</TITLE>
+<TITLE>menu 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">menu 3x 2024-03-16 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">menu 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="menu.3x.html">menu(3x)</A></STRONG> Library calls <STRONG><A HREF="menu.3x.html">menu(3x)</A></STRONG>
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
- <STRONG>menu</STRONG> - curses extension for programming menus
+ <STRONG>menu</STRONG> - present menus in <EM>curses</EM> windows
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
-ncurses 6.5 2024-03-16 <STRONG><A HREF="menu.3x.html">menu(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="menu.3x.html">menu(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: ncurses.3x,v 1.217 2024/05/18 20:02:27 tom Exp @
+ * @Id: ncurses.3x,v 1.219 2024/05/25 20:57: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>ncurses 3x 2024-05-18 ncurses 6.5 Library calls</TITLE>
+<TITLE>ncurses 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">ncurses 3x 2024-05-18 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">ncurses 3x 2024-05-25 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>
terminals with output optimized to minimize screen updates. <EM>ncurses</EM>
replaces the <EM>curses</EM> libraries from System V Release 4 Unix ("SVr4") and
4.4BSD Unix, the development of which ceased in the 1990s. This
- document describes <EM>ncurses</EM> version 6.5 (patch 20240518).
+ document describes <EM>ncurses</EM> version 6.5 (patch 20240525).
<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
initscr(); cbreak(); noecho();
- Most applications perform further setup as follows.
+ Most applications would perform further setup as follows.
- intrflush(stdscr, FALSE);
+ noqiflush();
keypad(stdscr, TRUE);
A <EM>curses</EM> program then often enters an event loop of some sort. Call
not be completely displayed. See <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>.
Many terminals support configuration of character cell foreground and
- background colors as well as rendering <EM>attributes</EM>, which cause
- characters to show up in such modes as boldfaced, underlined, or in
- reverse video. See <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>.
+ 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>.
<EM>curses</EM> predefines constants for a small set of forms-drawing graphics
corresponding to the DEC Alternate Character Set (ACS), a feature of
keycaps (alphanumeric and punctuation keys, and the space) appear as-
is. Everything else, including the tab, enter/return, keypad, arrow,
and function keys, appears as a control character or a multibyte <EM>escape</EM>
- <EM>sequence.</EM> <EM>curses</EM> translates the latter into unique <EM>key</EM> <EM>codes.</EM> See
- <STRONG><A HREF="curs_getch.3x.html">getch(3x)</A></STRONG>.
+ <EM>sequence.</EM> <EM>curses</EM> can translate the latter into unique <EM>key</EM> <EM>codes.</EM> See
+ <STRONG><A HREF="curs_inopts.3x.html">keypad(3x)</A></STRONG> and <STRONG><A HREF="curs_getch.3x.html">getch(3x)</A></STRONG>.
<EM>ncurses</EM> provides reimplementations of the SVr4 <STRONG><A HREF="panel.3x.html">panel(3x)</A></STRONG>, <STRONG><A HREF="form.3x.html">form(3x)</A></STRONG>, and
<STRONG><A HREF="menu.3x.html">menu(3x)</A></STRONG> libraries; they permit overlapping windows and ease
overrides the library's use of the screen size obtained from the
operating system.
- The <EM>COLUMNS</EM> and <EM>LINES</EM> variables may be specified independently. This
- property is useful to circumvent misfeatures of legacy terminal type
- descriptions; <STRONG>xterm(1)</STRONG> descriptions specifying 65 lines were once
- notorious. For best results, avoid specifying <STRONG>cols</STRONG> and <STRONG>lines</STRONG>
+ The <EM>COLUMNS</EM> and <EM>LINES</EM> variables may be specified independently.
+ <EM>ncurses</EM> enforces an upper limit of 512 on each when reading the value.
+ This property is useful to circumvent misfeatures of legacy terminal
+ type descriptions; <STRONG>xterm(1)</STRONG> descriptions specifying 65 lines were once
+ notorious. For best results, avoid specifying <STRONG>cols</STRONG> and <STRONG>lines</STRONG>
capability codes in <EM>terminfo</EM> descriptions of terminal emulators.
- <STRONG><A HREF="curs_util.3x.html">use_env(3x)</A></STRONG> can disable use of the process environment in determining
- the screen size. <STRONG><A HREF="curs_util.3x.html">use_tioctl(3x)</A></STRONG> can update <EM>COLUMNS</EM> and <EM>LINES</EM> to match
+ <STRONG><A HREF="curs_util.3x.html">use_env(3x)</A></STRONG> can disable use of the process environment in determining
+ the screen size. <STRONG><A HREF="curs_util.3x.html">use_tioctl(3x)</A></STRONG> can update <EM>COLUMNS</EM> and <EM>LINES</EM> to match
the screen size obtained from system calls or the terminal database.
</PRE><H3><a name="h3-ESCDELAY"><EM>ESCDELAY</EM></a></H3><PRE>
- For <EM>curses</EM> to distinguish the ESC character resulting from a user's
- press of the "Escape" key on the input device from one beginning an
+ For <EM>curses</EM> to distinguish the ESC character resulting from a user's
+ press of the "Escape" key on the input device from one beginning an
<EM>escape</EM> <EM>sequence</EM> (as commonly produced by function keys), it waits after
- receiving the escape character to see if further characters are
- available on the input stream within a short interval. A global
- variable <STRONG>ESCDELAY</STRONG> stores this interval in milliseconds. The default
+ receiving the escape character to see if further characters are
+ available on the input stream within a short interval. A global
+ variable <STRONG>ESCDELAY</STRONG> stores this interval in milliseconds. The default
value of 1000 (one second) is adequate for most uses. This environment
- variable overrides it.
+ variable overrides it; <EM>ncurses</EM> enforces an upper limit of 30,000 (30
+ seconds) when reading the value.
The most common instance where you may wish to change this value is to
work with a remote host over a slow communication channel. If the host
</PRE><H3><a name="h3-NCURSES_GPM_TERMS"><EM>NCURSES_GPM_TERMS</EM></a></H3><PRE>
(Linux only) When <EM>ncurses</EM> is configured to use the GPM interface, this
- variable may list one or more terminal type names against which the
- <EM>TERM</EM> variable (see below) is matched. An empty value disables the GPM
- interface, using <EM>ncurses</EM>'s built-in support for <STRONG>xterm(1)</STRONG> mouse
- protocols instead. If the variable is absent, <EM>ncurses</EM> attempts to open
- GPM if <EM>TERM</EM> contains "linux".
+ variable may list one or more terminal type names, delimited by
+ vertical bars (<STRONG>|</STRONG>) or colons (<STRONG>:</STRONG>), against which the <EM>TERM</EM> variable (see
+ below) is matched. An empty value disables the GPM interface, using
+ <EM>ncurses</EM>'s built-in support for <STRONG>xterm(1)</STRONG> mouse protocols instead. If
+ the variable is absent, <EM>ncurses</EM> attempts to open GPM if <EM>TERM</EM> contains
+ "linux".
</PRE><H3><a name="h3-NCURSES_NO_HARD_TABS"><EM>NCURSES_NO_HARD_TABS</EM></a></H3><PRE>
- <EM>ncurses</EM> may use tab characters in cursor movement optimization. In
- some cases, your terminal driver may not handle them properly. Set
+ <EM>ncurses</EM> may use tab characters in cursor movement optimization. In
+ some cases, your terminal driver may not handle them properly. Set
this environment variable to any value to disable the feature. You can
also adjust your <STRONG>stty(1)</STRONG> settings to avoid the problem.
</PRE><H3><a name="h3-NCURSES_NO_MAGIC_COOKIE"><EM>NCURSES_NO_MAGIC_COOKIE</EM></a></H3><PRE>
- Many terminals store video attributes as a property of a character
- cell, as <EM>curses</EM> does. Historically, some recorded changes in video
- attributes as data that logically <EM>occupies</EM> character cells on the
- display, switching attributes on or off, similarly to tags in a markup
- language; these are termed "magic cookies", and must be subsequently
- overprinted. If the <EM>terminfo</EM> entry for your terminal type does not
+ Many terminals store video attributes as a property of a character
+ cell, as <EM>curses</EM> does. Historically, some recorded changes in video
+ attributes as data that logically <EM>occupies</EM> character cells on the
+ display, switching attributes on or off, similarly to tags in a markup
+ language; these are termed "magic cookies", and must be subsequently
+ overprinted. If the <EM>terminfo</EM> entry for your terminal type does not
adequately describe its handling of magic cookies, set this variable to
any value to instruct <EM>ncurses</EM> to disable attributes entirely.
</PRE><H3><a name="h3-NCURSES_NO_PADDING"><EM>NCURSES_NO_PADDING</EM></a></H3><PRE>
Most terminal type descriptions in the <EM>terminfo</EM> database detail
- hardware devices. Many people use <EM>curses</EM>-based applications in
- terminal emulator programs that run in a windowing environment. These
- programs can duplicate all of the important features of a hardware
- terminal, but often lack their limitations. Chief among these absent
+ hardware devices. Many people use <EM>curses</EM>-based applications in
+ terminal emulator programs that run in a windowing environment. These
+ programs can duplicate all of the important features of a hardware
+ terminal, but often lack their limitations. Chief among these absent
drawbacks is the problem of data flow management; that is, limiting the
- speed of communication to what the hardware could handle. Unless a
- hardware terminal is interfaced into a terminal concentrator (which
- does flow control), an application must manage flow itself to prevent
+ speed of communication to what the hardware could handle. Unless a
+ hardware terminal is interfaced into a terminal concentrator (which
+ does flow control), an application must manage flow itself to prevent
overruns and data loss.
- A solution that comes at no hardware cost is for an application to
- pause after directing a terminal to execute an operation that it
- performs slowly, such as clearing the display. Many terminal type
- descriptions, including that for the VT100, embed delay specifications
- in capabilities. You may wish to use these terminal descriptions
- without paying the performance penalty. Set <EM>NCURSES</EM><STRONG>_</STRONG><EM>NO</EM><STRONG>_</STRONG><EM>PADDING</EM> to any
- value to disable all but mandatory padding. Mandatory padding is used
+ A solution that comes at no hardware cost is for an application to
+ pause after directing a terminal to execute an operation that it
+ performs slowly, such as clearing the display. Many terminal type
+ descriptions, including that for the VT100, embed delay specifications
+ in capabilities. You may wish to use these terminal descriptions
+ without paying the performance penalty. Set <EM>NCURSES</EM><STRONG>_</STRONG><EM>NO</EM><STRONG>_</STRONG><EM>PADDING</EM> to any
+ value to disable all but mandatory padding. Mandatory padding is used
by such terminal capabilities as <STRONG>flash_screen</STRONG> (<STRONG>flash</STRONG>).
</PRE><H3><a name="h3-NCURSES_NO_SETBUF"><EM>NCURSES_NO_SETBUF</EM></a></H3><PRE>
- (Obsolete) Prior to internal changes developed in <EM>ncurses</EM> 5.9 (patches
- 20120825 through 20130126), the library used <STRONG>setbuf(3)</STRONG> to enable fully
- buffered output when initializing the terminal. This was done, as in
- SVr4 <EM>curses</EM>, to increase performance. For testing purposes, both of
- <EM>ncurses</EM> and of certain applications, this feature was made optional.
- Setting this variable disabled output buffering, leaving the output
+ (Obsolete) Prior to internal changes developed in <EM>ncurses</EM> 5.9 (patches
+ 20120825 through 20130126), the library used <STRONG>setbuf(3)</STRONG> to enable fully
+ buffered output when initializing the terminal. This was done, as in
+ SVr4 <EM>curses</EM>, to increase performance. For testing purposes, both of
+ <EM>ncurses</EM> and of certain applications, this feature was made optional.
+ Setting this variable disabled output buffering, leaving the output
stream in the original (usually line-buffered) mode.
- Nowadays, <EM>ncurses</EM> performs its own buffering and does not require this
- workaround; it does not modify the buffering of the standard output
- stream. This approach makes signal handling, as for interrupts, more
- robust. A drawback is that certain unconventional programs mixed
- <STRONG>stdio(3)</STRONG> calls with <EM>ncurses</EM> calls and (usually) got the behavior they
- expected. This is no longer the case; <EM>ncurses</EM> does not write to the
+ Nowadays, <EM>ncurses</EM> performs its own buffering and does not require this
+ workaround; it does not modify the buffering of the standard output
+ stream. This approach makes signal handling, as for interrupts, more
+ robust. A drawback is that certain unconventional programs mixed
+ <STRONG>stdio(3)</STRONG> calls with <EM>ncurses</EM> calls and (usually) got the behavior they
+ expected. This is no longer the case; <EM>ncurses</EM> does not write to the
standard output file descriptor through a <EM>stdio</EM>-buffered stream.
- As a special case, low-level API calls such as <STRONG><A HREF="curs_terminfo.3x.html">putp(3x)</A></STRONG> still use the
- standard output stream. High-level <EM>curses</EM> calls such as <STRONG><A HREF="curs_printw.3x.html">printw(3x)</A></STRONG> do
+ As a special case, low-level API calls such as <STRONG><A HREF="curs_terminfo.3x.html">putp(3x)</A></STRONG> still use the
+ standard output stream. High-level <EM>curses</EM> calls such as <STRONG><A HREF="curs_printw.3x.html">printw(3x)</A></STRONG> do
not.
</PRE><H3><a name="h3-NCURSES_NO_UTF8_ACS"><EM>NCURSES_NO_UTF8_ACS</EM></a></H3><PRE>
- At initialization, <EM>ncurses</EM> inspects the <EM>TERM</EM> environment variable for
- special cases where VT100 forms-drawing characters (and the
- corresponding alternate character set <EM>terminfo</EM> capabilities) are known
+ At initialization, <EM>ncurses</EM> inspects the <EM>TERM</EM> environment variable for
+ special cases where VT100 forms-drawing characters (and the
+ corresponding alternate character set <EM>terminfo</EM> capabilities) are known
to be unsupported by terminal types that otherwise claim VT100
compatibility. Specifically, when running in a UTF-8 locale, the Linux
- virtual console device and the GNU <STRONG>screen(1)</STRONG> program ignore them. Set
+ virtual console device and the GNU <STRONG>screen(1)</STRONG> program ignore them. Set
this variable to a nonzero value to instruct <EM>ncurses</EM> that the
terminal's ACS support is broken; the library then outputs Unicode code
points that correspond to the forms-drawing characters. Set it to zero
(or a non-integer) to disable the special check for terminal type names
- matching "linux" or "screen", directing <EM>ncurses</EM> to assume that the ACS
+ matching "linux" or "screen", directing <EM>ncurses</EM> to assume that the ACS
feature works if the terminal type description advertises it.
- As an alternative to use of this variable, <EM>ncurses</EM> checks for an
+ As an alternative to use of this variable, <EM>ncurses</EM> checks for an
extended <EM>terminfo</EM> numeric capability <STRONG>U8</STRONG> that can be compiled using "<STRONG>tic</STRONG>
<STRONG>-x</STRONG>". Examples follow.
xterm-utf8|xterm relying on UTF-8 line-graphics,
U8#1, use=xterm,
- The two-character name "U8" was chosen to permit its use via <EM>ncurses</EM>'s
+ The two-character name "U8" was chosen to permit its use via <EM>ncurses</EM>'s
<EM>termcap</EM> interface.
</PRE><H3><a name="h3-NCURSES_TRACE"><EM>NCURSES_TRACE</EM></a></H3><PRE>
- At initialization, <EM>ncurses</EM> (in its debugging configuration) checks for
- this variable's presence. If defined with an integral value, the
+ At initialization, <EM>ncurses</EM> (in its debugging configuration) checks for
+ this variable's presence. If defined with an integral value, the
library calls <STRONG><A HREF="curs_trace.3x.html">curses_trace(3x)</A></STRONG> with that value as the argument.
</PRE><H3><a name="h3-TERM"><EM>TERM</EM></a></H3><PRE>
- The <EM>TERM</EM> variable denotes the terminal type. Each is distinct, though
- many are similar. It is commonly set by terminal emulators to help
- applications find a workable terminal description. Some choose a
- popular approximation such as "ansi", "vt100", or "xterm" rather than
- an exact fit to their capabilities. Not infrequently, an application
- will have problems with that approach; for example, a key stroke may
- not operate correctly, or produce no effect but seeming garbage
+ The <EM>TERM</EM> variable denotes the terminal type. Each is distinct, though
+ many are similar. It is commonly set by terminal emulators to help
+ applications find a workable terminal description. Some choose a
+ popular approximation such as "ansi", "vt100", or "xterm" rather than
+ an exact fit to their capabilities. Not infrequently, an application
+ will have problems with that approach; for example, a key stroke may
+ not operate correctly, or produce no effect but seeming garbage
characters on the screen.
- Setting <EM>TERM</EM> has no effect on hardware operation; it affects the way
- applications communicate with the terminal. Likewise, as a general
- rule (<STRONG>xterm(1)</STRONG> being a rare exception), terminal emulators that allow
+ Setting <EM>TERM</EM> has no effect on hardware operation; it affects the way
+ applications communicate with the terminal. Likewise, as a general
+ rule (<STRONG>xterm(1)</STRONG> being a rare exception), terminal emulators that allow
you to specify <EM>TERM</EM> as a parameter or configuration value do not change
their behavior to match that setting.
</PRE><H3><a name="h3-TERMCAP"><EM>TERMCAP</EM></a></H3><PRE>
If <EM>ncurses</EM> is configured with <EM>termcap</EM> support, it checks for a terminal
- type description in <EM>termcap</EM> format if one in <EM>terminfo</EM> format is not
- available. Setting this variable directs <EM>ncurses</EM> to ignore the usual
- <EM>termcap</EM> database location, <EM>/etc/termcap</EM>; see <EM>TERMPATH</EM> below. <EM>TERMCAP</EM>
- should contain either a terminal description (with newlines stripped
- out), or a file name indicating where the information required by the
+ type description in <EM>termcap</EM> format if one in <EM>terminfo</EM> format is not
+ available. Setting this variable directs <EM>ncurses</EM> to ignore the usual
+ <EM>termcap</EM> database location, <EM>/etc/termcap</EM>; see <EM>TERMPATH</EM> below. <EM>TERMCAP</EM>
+ should contain either a terminal description (with newlines stripped
+ out), or a file name indicating where the information required by the
<EM>TERM</EM> environment variable is stored.
</PRE><H3><a name="h3-TERMINFO"><EM>TERMINFO</EM></a></H3><PRE>
- <EM>ncurses</EM> can be configured to read terminal type description databases
- in various locations using different formats. This variable overrides
+ <EM>ncurses</EM> can be configured to read terminal type description databases
+ in various locations using different formats. This variable overrides
the default location.
- <STRONG>o</STRONG> Descriptions in <EM>terminfo</EM> format are normally stored in a directory
- tree using subdirectories named by the common first letters of the
+ <STRONG>o</STRONG> Descriptions in <EM>terminfo</EM> format are normally stored in a directory
+ tree using subdirectories named by the common first letters of the
terminal types named therein. This is the scheme used in System V.
<STRONG>o</STRONG> If <EM>ncurses</EM> is configured to use hashed databases, then <EM>TERMINFO</EM> may
- name its location, such as <EM>/usr/share/terminfo.db</EM>, rather than
+ name its location, such as <EM>/usr/share/terminfo.db</EM>, rather than
<EM>/usr/share/terminfo/</EM>.
- The hashed database uses less disk space and is a little faster than
+ The hashed database uses less disk space and is a little faster than
the directory tree. However, some applications assume the existence of
the directory tree, and read it directly rather than using the <EM>terminfo</EM>
API.
- <STRONG>o</STRONG> If <EM>ncurses</EM> is configured with <EM>termcap</EM> support, this variable may
+ <STRONG>o</STRONG> If <EM>ncurses</EM> is configured with <EM>termcap</EM> support, this variable may
contain the location of a <EM>termcap</EM> file.
<STRONG>o</STRONG> If the value of <EM>TERMINFO</EM> begins with "hex:" or "b64:", <EM>ncurses</EM> uses
TERMINFO=$(infocmp -0 -Q2 -q)
export TERMINFO
- The compiled description is used only if it corresponds to the
+ The compiled description is used only if it corresponds to the
terminal type identified by <EM>TERM</EM>.
- Setting <EM>TERMINFO</EM> is the simplest, but not the only, way to direct
+ Setting <EM>TERMINFO</EM> is the simplest, but not the only, way to direct
<EM>ncurses</EM> to a terminal database. The search path is as follows.
<STRONG>o</STRONG> the last terminal database to which the running <EM>ncurses</EM> application
</PRE><H3><a name="h3-TERMINFO_DIRS"><EM>TERMINFO_DIRS</EM></a></H3><PRE>
- This variable specifies a list of locations, akin to <EM>PATH</EM>, in which
- <EM>ncurses</EM> searches for the terminal type descriptions described by
- <EM>TERMINFO</EM> above. The list items are separated by colons on Unix and
- semicolons on OS/2 EMX. System V <EM>terminfo</EM> lacks a corresponding
+ This variable specifies a list of locations, akin to <EM>PATH</EM>, in which
+ <EM>ncurses</EM> searches for the terminal type descriptions described by
+ <EM>TERMINFO</EM> above. The list items are separated by colons on Unix and
+ semicolons on OS/2 EMX. System V <EM>terminfo</EM> lacks a corresponding
feature; <EM>TERMINFO</EM><STRONG>_</STRONG><EM>DIRS</EM> is an <EM>ncurses</EM> extension.
</PRE><H3><a name="h3-TERMPATH"><EM>TERMPATH</EM></a></H3><PRE>
If <EM>TERMCAP</EM> does not hold a terminal type description or file name, then
- <EM>ncurses</EM> checks the contents of <EM>TERMPATH</EM>, a list of locations, akin to
+ <EM>ncurses</EM> checks the contents of <EM>TERMPATH</EM>, a list of locations, akin to
<EM>PATH</EM>, in which it searches for <EM>termcap</EM> terminal type descriptions. The
list items are separated by colons on Unix and semicolons on OS/2 EMX.
</PRE><H2><a name="h2-ALTERNATE-CONFIGURATIONS">ALTERNATE CONFIGURATIONS</a></H2><PRE>
- Many different <EM>ncurses</EM> configurations are possible, determined by the
- options given to the <EM>configure</EM> script when building the library. Run
- the script with the <STRONG>--help</STRONG> option to peruse them all. A few are of
+ Many different <EM>ncurses</EM> configurations are possible, determined by the
+ options given to the <EM>configure</EM> script when building the library. Run
+ the script with the <STRONG>--help</STRONG> option to peruse them all. A few are of
particular significance to the application developer employing <EM>ncurses</EM>.
<STRONG>--disable-overwrite</STRONG>
<STRONG>#include</STRONG> <STRONG><curses.h></STRONG>
- This option is used to avoid file name conflicts between <EM>ncurses</EM>
- and an existing <EM>curses</EM> installation on the system. If <EM>ncurses</EM> is
- installed disabling overwrite, it puts its header files in a
+ This option is used to avoid file name conflicts between <EM>ncurses</EM>
+ and an existing <EM>curses</EM> installation on the system. If <EM>ncurses</EM> is
+ installed disabling overwrite, it puts its header files in a
subdirectory. Here is an example.
<STRONG>#include</STRONG> <STRONG><ncurses/curses.h></STRONG>
- Installation also omits a symbolic link that would cause the
- compiler's <STRONG>-lcurses</STRONG> option to link object files with <EM>ncurses</EM>
+ Installation also omits a symbolic link that would cause the
+ compiler's <STRONG>-lcurses</STRONG> option to link object files with <EM>ncurses</EM>
instead of the system <EM>curses</EM> library.
- The directory used by this configuration of <EM>ncurses</EM> is shown in
+ The directory used by this configuration of <EM>ncurses</EM> is shown in
section "SYNOPSIS" above.
<STRONG>--enable-widec</STRONG>
- The configure script renames the library and (if the
- <STRONG>--disable-overwrite</STRONG> option is used) puts the header files in a
- different subdirectory. All of the library names have a "w"
+ The configure script renames the library and (if the
+ <STRONG>--disable-overwrite</STRONG> option is used) puts the header files in a
+ different subdirectory. All of the library names have a "w"
appended to them, i.e., instead of
<STRONG>-lncurses</STRONG>
<STRONG>-lncursesw</STRONG>
- You must also enable the wide-character features in the header
- file when compiling for the wide-character library to use the
- extended (wide-character) functions. The symbol which enables
+ You must also enable the wide-character features in the header
+ file when compiling for the wide-character library to use the
+ extended (wide-character) functions. The symbol which enables
these features has changed since X/Open Curses, Issue 4:
- <STRONG>o</STRONG> Originally, the wide-character feature required the symbol
+ <STRONG>o</STRONG> Originally, the wide-character feature required the symbol
<STRONG>_XOPEN_SOURCE_EXTENDED</STRONG> but that was only valid for XPG4
(1996).
- <STRONG>o</STRONG> Later, that was deemed conflicting with <STRONG>_XOPEN_SOURCE</STRONG> defined
+ <STRONG>o</STRONG> Later, that was deemed conflicting with <STRONG>_XOPEN_SOURCE</STRONG> defined
to 500.
- <STRONG>o</STRONG> As of mid-2018, none of the features in this implementation
- require a <STRONG>_XOPEN_SOURCE</STRONG> feature greater than 600. However,
+ <STRONG>o</STRONG> As of mid-2018, none of the features in this implementation
+ require a <STRONG>_XOPEN_SOURCE</STRONG> feature greater than 600. However,
X/Open Curses, Issue 7 (2009) recommends defining it to 700.
- <STRONG>o</STRONG> Alternatively, you can enable the feature by defining
- <STRONG>NCURSES_WIDECHAR</STRONG> with the caveat that some other header file
- than <STRONG>curses.h</STRONG> may require a specific value for <STRONG>_XOPEN_SOURCE</STRONG>
+ <STRONG>o</STRONG> Alternatively, you can enable the feature by defining
+ <STRONG>NCURSES_WIDECHAR</STRONG> with the caveat that some other header file
+ than <STRONG>curses.h</STRONG> may require a specific value for <STRONG>_XOPEN_SOURCE</STRONG>
(or a system-specific symbol).
- The <EM>curses.h</EM> header file installed for the wide-character library
- is designed to be compatible with the non-wide library's header.
- Only the size of the <EM>WINDOW</EM> structure differs; few applications
+ The <EM>curses.h</EM> header file installed for the wide-character library
+ is designed to be compatible with the non-wide library's header.
+ Only the size of the <EM>WINDOW</EM> structure differs; few applications
require more than pointers to <EM>WINDOW</EM>s.
If the headers are installed allowing overwrite, the wide-
- character library's headers should be installed last, to allow
+ character library's headers should be installed last, to allow
applications to be built using either library from the same set of
headers.
<STRONG>--with-pthread</STRONG>
- The configure script renames the library. All of the library
- names have a "t" appended to them (before any "w" added by
+ The configure script renames the library. All of the library
+ names have a "t" appended to them (before any "w" added by
<STRONG>--enable-widec</STRONG>).
The global variables such as <STRONG>LINES</STRONG> are replaced by macros to allow
read-only access. At the same time, setter-functions are provided
- to set these values. Some applications (very few) may require
+ to set these values. Some applications (very few) may require
changes to work with this convention.
<STRONG>--with-shared</STRONG>
<STRONG>--with-normal</STRONG>
<STRONG>--with-debug</STRONG>
<STRONG>--with-profile</STRONG>
- The shared and normal (static) library names differ by their
- suffixes, e.g., <STRONG>libncurses.so</STRONG> and <STRONG>libncurses.a</STRONG>. The debug and
- profiling libraries add a "_g" and a "_p" to the root names
+ The shared and normal (static) library names differ by their
+ suffixes, e.g., <STRONG>libncurses.so</STRONG> and <STRONG>libncurses.a</STRONG>. The debug and
+ profiling libraries add a "_g" and a "_p" to the root names
respectively, e.g., <STRONG>libncurses_g.a</STRONG> and <STRONG>libncurses_p.a</STRONG>.
<STRONG>--with-termlib</STRONG>
- Low-level functions which do not depend upon whether the library
+ Low-level functions which do not depend upon whether the library
supports wide-characters, are provided in the tinfo library.
- By doing this, it is possible to share the tinfo library between
- wide/normal configurations as well as reduce the size of the
+ By doing this, it is possible to share the tinfo library between
+ wide/normal configurations as well as reduce the size of the
library when only low-level functions are needed.
Those functions are described in these pages:
<STRONG>o</STRONG> <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG> - miscellaneous <EM>curses</EM> utility routines
<STRONG>--with-trace</STRONG>
- The <STRONG>trace</STRONG> function normally resides in the debug library, but it
- is sometimes useful to configure this in the shared library.
+ The <STRONG>trace</STRONG> function normally resides in the debug library, but it
+ is sometimes useful to configure this in the shared library.
Configure scripts should check for the function's existence rather
than assuming it is always in the debug library.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
- X/Open Curses permits most functions it specifies to be made available
+ X/Open Curses permits most functions it specifies to be made available
as macros as well. <EM>ncurses</EM> does so
<STRONG>o</STRONG> for functions that return values via their parameters,
<STRONG>o</STRONG> to support obsolete features,
- <STRONG>o</STRONG> to reuse functions (for example, those that move the cursor before
+ <STRONG>o</STRONG> to reuse functions (for example, those that move the cursor before
another operation), and
<STRONG>o</STRONG> in a few special cases.
- If the standard output file descriptor of an <EM>ncurses</EM> program is
- redirected to something that is not a terminal device, the library
- writes screen updates to the standard error file descriptor. This was
+ If the standard output file descriptor of an <EM>ncurses</EM> program is
+ redirected to something that is not a terminal device, the library
+ writes screen updates to the standard error file descriptor. This was
an undocumented feature of SVr3 <EM>curses</EM>.
- See subsection "Header Files" below regarding symbols exposed by
+ See subsection "Header Files" below regarding symbols exposed by
inclusion of <EM>curses.h</EM>.
</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
- <EM>ncurses</EM> enables an application to capture mouse events on certain
+ <EM>ncurses</EM> enables an application to capture mouse events on certain
terminals, including <STRONG>xterm(1)</STRONG>; see <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>.
- <EM>ncurses</EM> provides a means of responding to window resizing events, as
- when running in a GUI terminal emulator application such as <EM>xterm</EM>; see
+ <EM>ncurses</EM> provides a means of responding to window resizing events, as
+ when running in a GUI terminal emulator application such as <EM>xterm</EM>; see
<STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG> and <STRONG><A HREF="wresize.3x.html">wresize(3x)</A></STRONG>.
<EM>ncurses</EM> allows an application to query the terminal for the presence of
a wide variety of special keys; see <STRONG><A HREF="curs_getch.3x.html">has_key(3x)</A></STRONG>.
<EM>ncurses</EM> extends the fixed set of function key capabilities specified by
- X/Open Curses by allowing the application programmer to define
- additional key events at runtime; see <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>, <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>,
+ X/Open Curses by allowing the application programmer to define
+ additional key events at runtime; see <STRONG><A HREF="define_key.3x.html">define_key(3x)</A></STRONG>, <STRONG><A HREF="key_defined.3x.html">key_defined(3x)</A></STRONG>,
<STRONG><A HREF="keybound.3x.html">keybound(3x)</A></STRONG>, and <STRONG><A HREF="keyok.3x.html">keyok(3x)</A></STRONG>.
- <EM>ncurses</EM> can exploit the capabilities of terminals implementing
- ISO 6429/ECMA-48 SGR 39 and SGR 49 sequences, which allow an
- application to reset the terminal to its original foreground and
- background colors. From a user's perspective, the application is able
- to draw colored text on a background whose color is set independently,
+ <EM>ncurses</EM> can exploit the capabilities of terminals implementing
+ ISO 6429/ECMA-48 SGR 39 and SGR 49 sequences, which allow an
+ application to reset the terminal to its original foreground and
+ background colors. From a user's perspective, the application is able
+ to draw colored text on a background whose color is set independently,
providing better control over color contrasts. See <STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG>.
An <EM>ncurses</EM> application can eschew knowledge of <EM>WINDOW</EM> structure
internals, instead using accessor functions such as <STRONG><A HREF="curs_opaque.3x.html">is_scrollok(3x)</A></STRONG>.
- <EM>ncurses</EM> enables an application to direct its output to a printer
+ <EM>ncurses</EM> enables an application to direct its output to a printer
attached to the terminal device; see <STRONG><A HREF="curs_print.3x.html">curs_print(3x)</A></STRONG>.
- <EM>ncurses</EM> offers <STRONG><A HREF="curs_slk.3x.html">slk_attr(3x)</A></STRONG> as a counterpart of <STRONG><A HREF="curs_attr.3x.html">attr_get(3x)</A></STRONG> for soft-
- label key lines, and <STRONG><A HREF="curs_slk.3x.html">extended_slk_color(3x)</A></STRONG> as a form of <STRONG><A HREF="curs_slk.3x.html">slk_color(3x)</A></STRONG>
- that can gather color information from them when many colors are
+ <EM>ncurses</EM> offers <STRONG><A HREF="curs_slk.3x.html">slk_attr(3x)</A></STRONG> as a counterpart of <STRONG><A HREF="curs_attr.3x.html">attr_get(3x)</A></STRONG> for soft-
+ label key lines, and <STRONG><A HREF="curs_slk.3x.html">extended_slk_color(3x)</A></STRONG> as a form of <STRONG><A HREF="curs_slk.3x.html">slk_color(3x)</A></STRONG>
+ that can gather color information from them when many colors are
supported.
- Some extensions are available only if <EM>ncurses</EM> permits modification of
- <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>'s behavior; see <STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG>. <EM>ncurses</EM> is compiled
- to support them; section "ALTERNATE CONFIGURATIONS" describes how.
-
- <EM>ncurses</EM> permits modification of <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>'s behavior; see
+ <EM>ncurses</EM> permits modification of <STRONG><A HREF="unctrl.3x.html">unctrl(3x)</A></STRONG>'s behavior; see
<STRONG><A HREF="legacy_coding.3x.html">use_legacy_coding(3x)</A></STRONG>.
- Rudimentary support for multi-threaded applications may be available;
+ Rudimentary support for multi-threaded applications may be available;
see <STRONG><A HREF="curs_threads.3x.html">curs_threads(3x)</A></STRONG>.
- Functions that ease the management of multiple screens can be exposed;
+ Functions that ease the management of multiple screens can be exposed;
see <STRONG><A HREF="curs_sp_funcs.3x.html">curs_sp_funcs(3x)</A></STRONG>.
- To aid applications to debug their memory usage, <EM>ncurses</EM> optionally
- offers functions to more aggressively free memory it dynamically
+ To aid applications to debug their memory usage, <EM>ncurses</EM> optionally
+ offers functions to more aggressively free memory it dynamically
allocates itself; see <STRONG><A HREF="curs_memleaks.3x.html">curs_memleaks(3x)</A></STRONG>.
- The library facilitates auditing and troubleshooting of its behavior;
+ The library facilitates auditing and troubleshooting of its behavior;
see <STRONG><A HREF="curs_trace.3x.html">curs_trace(3x)</A></STRONG>.
- Compiling <EM>ncurses</EM> with the option <STRONG>-DUSE_GETCAP</STRONG> causes it to fall back
- to reading <EM>/etc/termcap</EM> if the terminal setup code cannot find a <EM>term-</EM>
+ Compiling <EM>ncurses</EM> with the option <STRONG>-DUSE_GETCAP</STRONG> causes it to fall back
+ to reading <EM>/etc/termcap</EM> if the terminal setup code cannot find a <EM>term-</EM>
<EM>info</EM> entry corresponding to <EM>TERM</EM>. Use of this feature is not
- recommended, as it essentially includes an entire <EM>termcap</EM> compiler in
- the <EM>ncurses</EM> startup code, at a cost in memory usage and application
+ recommended, as it essentially includes an entire <EM>termcap</EM> compiler in
+ the <EM>ncurses</EM> startup code, at a cost in memory usage and application
launch latency.
- <EM>PDCurses</EM> and NetBSD <EM>curses</EM> incorporate some <EM>ncurses</EM> extensions.
+ <EM>PDCurses</EM> and NetBSD <EM>curses</EM> incorporate some <EM>ncurses</EM> extensions.
Individual man pages indicate where this is the case.
</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
X/Open Curses defines two levels of conformance, "base" and "enhanced".
The latter includes several additional features, such as wide-character
- and color support. <EM>ncurses</EM> intends base-level conformance with X/Open
- Curses, and supports all features of its enhanced level except the
+ and color support. <EM>ncurses</EM> intends base-level conformance with X/Open
+ Curses, and supports all features of its enhanced level except the
<STRONG>untic</STRONG> utility.
- Differences between X/Open Curses and <EM>ncurses</EM> are documented in the
+ Differences between X/Open Curses and <EM>ncurses</EM> are documented in the
"PORTABILITY" sections of applicable man pages.
</PRE><H3><a name="h3-Error-Checking">Error Checking</a></H3><PRE>
- In many cases, X/Open Curses is vague about error conditions, omitting
+ In many cases, X/Open Curses is vague about error conditions, omitting
some of the SVr4 documentation.
- Unlike other implementations, <EM>ncurses</EM> checks pointer parameters, such
- as those to <EM>WINDOW</EM> structures, to ensure that they are not null. This
- is done primarily to guard against programmer error. The standard
+ Unlike other implementations, <EM>ncurses</EM> checks pointer parameters, such
+ as those to <EM>WINDOW</EM> structures, to ensure that they are not null. This
+ is done primarily to guard against programmer error. The standard
interface does not provide a way for the library to tell an application
- which of several possible errors occurred. An application that relies
- on <EM>ncurses</EM> to check its function parameters for validity limits its
+ which of several possible errors occurred. An application that relies
+ on <EM>ncurses</EM> to check its function parameters for validity limits its
portability and robustness.
</PRE><H3><a name="h3-Padding-Differences">Padding Differences</a></H3><PRE>
- In historical <EM>curses</EM> implementations, delays embedded in the <EM>terminfo</EM>
- capabilities <STRONG>carriage_return</STRONG> (<STRONG>cr</STRONG>), <STRONG>scroll_forward</STRONG> (<STRONG>ind</STRONG>), <STRONG>cursor_left</STRONG>
+ In historical <EM>curses</EM> implementations, delays embedded in the <EM>terminfo</EM>
+ capabilities <STRONG>carriage_return</STRONG> (<STRONG>cr</STRONG>), <STRONG>scroll_forward</STRONG> (<STRONG>ind</STRONG>), <STRONG>cursor_left</STRONG>
(<STRONG>cub1</STRONG>), <STRONG>form_feed</STRONG> (<STRONG>ff</STRONG>), and <STRONG>tab</STRONG> (<STRONG>ht</STRONG>) activated corresponding delay bits
- in the Unix terminal driver. <EM>ncurses</EM> performs all padding by sending
- NUL bytes to the device. This method is slightly more expensive, but
- narrows the interface to the Unix kernel significantly and
+ in the Unix terminal driver. <EM>ncurses</EM> performs all padding by sending
+ NUL bytes to the device. This method is slightly more expensive, but
+ narrows the interface to the Unix kernel significantly and
correspondingly increases the package's portability.
</PRE><H3><a name="h3-Header-Files">Header Files</a></H3><PRE>
- The header file <EM>curses.h</EM> itself includes the header files <EM>stdio.h</EM> and
+ The header file <EM>curses.h</EM> itself includes the header files <EM>stdio.h</EM> and
<EM>unctrl.h</EM>.
X/Open Curses has more to say,
- The inclusion of <EM>curses.h</EM> may make visible all symbols from the
+ The inclusion of <EM>curses.h</EM> may make visible all symbols from the
headers <EM>stdio.h</EM>, <EM>term.h</EM>, <EM>termios.h</EM>, and <EM>wchar.h</EM>.
but does not finish the story. A more complete account follows.
- <STRONG>o</STRONG> Starting with 4BSD <EM>curses</EM> (1980) all implementations have provided
- a <EM>curses.h</EM> file.
+ <STRONG>o</STRONG> The first <EM>curses</EM>, in 4BSD, provided a <EM>curses.h</EM> file.
BSD <EM>curses</EM> code included <EM>curses.h</EM> and <EM>unctrl.h</EM> from an internal
header file <EM>curses.ext</EM>, where "ext" abbreviated "externs".
-ncurses 6.5 2024-05-18 <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
- * @Id: panel.3x,v 1.63 2024/03/16 15:35:01 tom Exp @
+ * @Id: panel.3x,v 1.65 2024/05/25 21:14: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>panel 3x 2024-03-16 ncurses 6.5 Library calls</TITLE>
+<TITLE>panel 3x 2024-05-25 ncurses 6.5 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
-<H1 class="no-header">panel 3x 2024-03-16 ncurses 6.5 Library calls</H1>
+<H1 class="no-header">panel 3x 2024-05-25 ncurses 6.5 Library calls</H1>
<PRE>
<STRONG><A HREF="panel.3x.html">panel(3x)</A></STRONG> Library calls <STRONG><A HREF="panel.3x.html">panel(3x)</A></STRONG>
</PRE><H2><a name="h2-NAME">NAME</a></H2><PRE>
- panel - panel stack extension for <EM>curses</EM>
+ panel - manage overlapping <EM>curses</EM> windows
</PRE><H2><a name="h2-SYNOPSIS">SYNOPSIS</a></H2><PRE>
Except as noted, the <EM>pan</EM> and <EM>window</EM> parameters must be non-null. If
either is null, an error is returned.
- The <STRONG>move_panel</STRONG> function uses <STRONG><A HREF="curs_window.3x.html">mvwin(3x)</A></STRONG>, and returns an error if <STRONG>mvwin</STRONG>
- returns an error.
+ The <STRONG>move_panel</STRONG> function uses <STRONG><A HREF="curs_window.3x.html">mvwin(3x)</A></STRONG>, and returns <STRONG>ERR</STRONG> if <STRONG>mvwin</STRONG>
+ returns <STRONG>ERR</STRONG>.
</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
-ncurses 6.5 2024-03-16 <STRONG><A HREF="panel.3x.html">panel(3x)</A></STRONG>
+ncurses 6.5 2024-05-25 <STRONG><A HREF="panel.3x.html">panel(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>
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 20240518).
+ This document describes <EM>ncurses</EM> version 6.5 (patch 20240525).
</PRE><H3><a name="h3-terminfo-Entry-Syntax"><EM>terminfo</EM> Entry Syntax</a></H3><PRE>
<!--
- $Id: ncurses-intro.html,v 1.57 2022/11/26 19:33:46 tom Exp $
+ $Id: ncurses-intro.html,v 1.58 2024/05/25 22:29:49 tom Exp $
****************************************************************************
- * Copyright 2019-2020,2022 Thomas E. Dickey *
+ * Copyright 2019-2022,2024 Thomas E. Dickey *
* Copyright 2000-2013,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
source-code or documentation; the <code>tic</code> and
<code>infocmp</code> programs are the exceptions.</p>
- <p>System V Release 3 (System III UNIX) from Bell Labs featured a
- rewritten and much-improved <code>curses</code> library, along
- with the <code>tic</code> program (late 1986).</p>
+ <p>System V Release 3 from Bell Labs featured a rewritten and
+ much-improved <code>curses</code> library, along with the
+ <code>tic</code> program (late 1986).</p>
<p>To recap, terminfo is based on Berkeley's termcap database,
but contains a number of improvements and extensions.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_add_wch.3x,v 1.63 2024/05/11 21:31:45 tom Exp $
-.TH curs_add_wch 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_add_wch.3x,v 1.65 2024/05/25 21:13:15 tom Exp $
+.TH curs_add_wch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.I "forms-drawing characters."
The ACS default listed below is used if the
.B \%acs_chars
-.RB ( \%acsc )
+.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
The \*(``acsc char\*('' column corresponds to how the characters are
specified in the
.B \%acs_chars
-.RB ( \%acsc )
+.RB \%( acsc )
string capability,
and the characters in it may appear on the screen if the terminal type's
database entry incorrectly advertises ACS support.
The name \*(``ACS\*('' originates in the Alternate Character Set feature
of the DEC VT100 terminal.
-.PP
+.br
+.ie t .ne 4v
+.el .ne 5v
.TS
Lb Lb Lb Lb Lb
Lb Lb Lb Lb Lb
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_addch.3x,v 1.86 2024/05/11 20:39:53 tom Exp $
-.TH curs_addch 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_addch.3x,v 1.88 2024/05/25 21:13:32 tom Exp $
+.TH curs_addch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.I "forms-drawing characters."
The ACS default listed below is used if the
.B \%acs_chars
-.RB ( \%acsc )
+.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
The \*(``acsc char\*('' column corresponds to how the characters are
specified in the
.B \%acs_chars
-.RB ( \%acsc )
+.RB \%( acsc )
string capability,
and the characters in it may appear on the screen if the terminal type's
database entry incorrectly advertises ACS support.
The name \*(``ACS\*('' originates in the Alternate Character Set feature
of the DEC VT100 terminal.
-.PP
+.br
+.ie t .ne 4v
+.el .ne 5v
.TS
Lb Lb Lb Lb
Lb Lb Lb Lb
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_addstr.3x,v 1.45 2024/04/20 19:18:18 tom Exp $
-.TH curs_addstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_addstr.3x,v 1.47 2024/05/25 20:45:40 tom Exp $
+.TH curs_addstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.B ERR
on failure.
.PP
-X/Open Curses does not specify any error conditions.
-.I \%ncurses
-returns an error
+In
+.IR \%ncurses ","
+they return
+.B ERR
+if
.bP
-if the window pointer is
-.BR NULL ,
+.I win
+is
+.BR NULL ","
.bP
-if the string pointer is
-.BR NULL ,
+.I str
+is
+.BR NULL ","
or
.bP
-if an internal \fB\%waddch\fP(3X) call returns an error.
+an internal \fB\%waddch\fP(3X) call returns
+.BR ERR "."
.PP
Functions prefixed with \*(``mv\*('' first perform cursor movement and
fail if the position
.SH PORTABILITY
X/Open Curses,
Issue 4 describes these functions.
+It specifies no error conditions for them.
.SH SEE ALSO
\fB\%curs_addwstr\fP(3X) describes comparable functions of the
.I \%ncurses
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_addwstr.3x,v 1.37 2024/04/20 19:18:18 tom Exp $
-.TH curs_addwstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_addwstr.3x,v 1.39 2024/05/25 20:10:58 tom Exp $
+.TH curs_addwstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.PP
X/Open Curses does not specify any error conditions.
.I \%ncurses
-returns an error
+returns
+.B ERR
.bP
if the window pointer is
.BR NULL ,
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_attr.3x,v 1.106 2024/05/11 20:39:53 tom Exp $
-.TH curs_attr 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_attr.3x,v 1.108 2024/05/25 20:10:58 tom Exp $
+.TH curs_attr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.PP
This implementation
.bP
-returns an error if the window pointer is null.
+returns
+.B ERR
+if the window pointer is null.
.bP
-returns an error if the color pair parameter
+returns
+.B ERR
+if the color pair parameter
for \fBwcolor_set\fP is outside the range 0..COLOR_PAIRS\-1.
.bP
-does not return an error if either of the parameters of \fBwattr_get\fP
+does not fail if either of the parameters of \fBwattr_get\fP
used for retrieving attribute or color pair values is \fBNULL\fP.
.PP
Functions prefixed with \*(``mv\*('' first perform cursor movement and
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_border.3x,v 1.49 2024/04/20 21:20:07 tom Exp $
-.TH curs_border 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_border.3x,v 1.51 2024/05/25 20:10:58 tom Exp $
+.TH curs_border 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
but this appears to be an error.
.PP
X/Open Curses does not specify any error conditions.
-This implementation returns an error
+This implementation returns
+.B ERR
if the window pointer is null.
.PP
Functions prefixed with \*(``mv\*('' first perform cursor movement and
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_border_set.3x,v 1.36 2024/04/20 21:20:07 tom Exp $
-.TH curs_border_set 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_border_set.3x,v 1.38 2024/05/25 20:10:58 tom Exp $
+.TH curs_border_set 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
Otherwise, they return
\fBERR\fP.
.PP
-Functions using a window parameter return an error if it is null.
+Functions using a window parameter return
+.B ERR
+if it is null.
.PP
Functions prefixed with \*(``mv\*('' first perform cursor movement and
fail if the position
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_clear.3x,v 1.48 2024/04/20 21:20:07 tom Exp $
-.TH curs_clear 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_clear.3x,v 1.50 2024/05/25 20:10:58 tom Exp $
+.TH curs_clear 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
X/Open defines no error conditions.
In this implementation,
.bP
-functions using a window pointer parameter return an error if it is null
+functions using a window pointer parameter return
+.B ERR
+if it is null
.bP
\fBwclrtoeol\fP returns an error
if the cursor position is about to wrap.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_color.3x,v 1.100 2024/04/20 21:24:19 tom Exp $
-.TH curs_color 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_color.3x,v 1.102 2024/05/25 20:10:58 tom Exp $
+.TH curs_color 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.RS 3
.TP 5
\fB\%init_color\fP
-returns an error if the terminal does not support
+returns
+.B ERR
+if the terminal does not support
this feature, e.g., if the \fB\%initialize_color\fP capability is absent
from the terminal description.
.TP 5
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_get_wstr.3x,v 1.48 2024/04/20 19:18:18 tom Exp $
-.TH curs_get_wstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_get_wstr.3x,v 1.50 2024/05/25 20:10:58 tom Exp $
+.TH curs_get_wstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
X/Open defines no error conditions.
.PP
In this implementation,
-these functions return an error
+these functions return
+.B ERR
.bP
if the window pointer is null,
.bP
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_getch.3x,v 1.91 2024/05/18 20:23:57 tom Exp $
-.TH curs_getch 3X 2024-05-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_getch.3x,v 1.93 2024/05/25 20:57:17 tom Exp $
+.TH curs_getch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.IR curses ","
key strokes not from the alphabetic section of the keyboard
(those corresponding to the ECMA-6 character set\(emsee
-\fIascii\fP(7)\(emoptionally modified by either the control or shift
+\fI\%ascii\fP(7)\(emoptionally modified by either the control or shift
keys)
are treated as
.I function
is not well-defined.
.PP
Historically,
-the list of key code macros above was influenced by the
-function-key-rich keyboard of the AT&T 7300
+the list of key code macros above was influenced by the keyboard of the
+AT&T 7300
(also known variously as the \*(``3B1\*('', \*(``Safari 4\*('', and
\*(``UNIX PC\*(''),
-a 1985 machine.
+a 1985 machine rich in function keys.
Today's computer keyboards are based that of the IBM PC/AT and tend to
have fewer.
A
see
\fB\%curs_variables\fP(3X).
.PP
-\fB\%has_key\fP was designed for
+.B \%has_key
+was designed for
.IR \%ncurses ","
and is not found in SVr4
.IR curses ","
.B \%NCURSES_VERSION
preprocessor macro.
.PP
+Except as noted in section \*(``EXTENSIONS\*('' above,
X/Open Curses,
-Issue 4 describes
-\fB\%getch\fP,
-\fB\%wgetch\fP,
-\fB\%mvgetch\fP,
-\fB\%mvwgetch\fP,
-and
-\fB\%ungetch\fP.
+Issue 4 describes these functions.
It specifies no error conditions for them.
.PP
.B \%wgetch
had added them along with
.BR \%KEY_MOUSE "."
.SH SEE ALSO
+ECMA-6 \*(``7-bit coded Character Set\*(''
+\%<https://\*:ecma\-international\*:.org/\
+\*:publications\-and\-standards/\*:standards/\*:ecma\-6/>
+.PP
+ECMA-48 \*(``Control Functions for Coded Character Sets\*(''
+\%<https://\*:ecma\-international\*:.org/\
+\*:publications\-and\-standards/\*:standards/\*:ecma\-48/>
+.PP
\fB\%curs_get_wch\fP(3X) describes comparable functions of the
.I \%ncurses
library in its wide-character configuration
\fB\%curs_variables\fP(3X),
\fB\%resizeterm\fP(3X),
\fB\%ascii\fP(7)
-.PP
-ECMA-6 \*(``7-bit coded Character Set\*(''
-\%<https://\*:ecma\-international\*:.org/\
-\*:publications\-and\-standards/\*:standards/\*:ecma\-6/>
-.PP
-ECMA-48 \*(``Control Functions for Coded Character Sets\*(''
-\%<https://\*:ecma\-international\*:.org/\
-\*:publications\-and\-standards/\*:standards/\*:ecma\-48/>
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_getstr.3x,v 1.59 2024/05/11 20:39:53 tom Exp $
-.TH curs_getstr 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_getstr.3x,v 1.61 2024/05/25 20:10:58 tom Exp $
+.TH curs_getstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
X/Open defines no error conditions.
.PP
In this implementation,
-these functions return an error
+these functions return
+.B ERR
.bP
if the window pointer is null,
.bP
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_in_wchstr.3x,v 1.39 2024/04/20 21:24:19 tom Exp $
-.TH curs_in_wchstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_in_wchstr.3x,v 1.41 2024/05/25 20:10:58 tom Exp $
+.TH curs_in_wchstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
\fBERR\fP.
.PP
X/Open Curses defines no error conditions.
-This implementation returns an error
+This implementation returns
+.B ERR
.bP
if the \fIwin\fP parameter is null or
.bP
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_inch.3x,v 1.54 2024/05/18 20:07:52 tom Exp $
-.TH curs_inch 3X 2024-05-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_inch.3x,v 1.56 2024/05/25 20:10:58 tom Exp $
+.TH curs_inch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.B \%mvwinch
may be implemented as macros.
.PP
-These functions do not return an error if the window contains cells of
+These functions do not fail if the window contains cells of
.I curses
complex characters;
that is,
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_inchstr.3x,v 1.45 2024/04/20 21:20:07 tom Exp $
-.TH curs_inchstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_inchstr.3x,v 1.47 2024/05/25 20:10:58 tom Exp $
+.TH curs_inchstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
retrieved, exclusive of the trailing 0).
.PP
X/Open Curses defines no error conditions.
-This implementation returns an error
+This implementation returns
+.B ERR
.bP
if the \fIwin\fP parameter is null or
.bP
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_initscr.3x,v 1.69 2024/04/20 21:24:19 tom Exp $
-.TH curs_initscr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_initscr.3x,v 1.71 2024/05/25 20:10:58 tom Exp $
+.TH curs_initscr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
X/Open defines no error conditions.
In this implementation
.bP
-\fBendwin\fP returns an error if
+\fBendwin\fP returns
+.B ERR
+if
.RS
.bP
the terminal was not initialized, or
.bP
\fBendwin\fP is called more than once without updating the screen, or
.bP
-\fBreset_shell_mode\fP(3X) returns an error.
+\fBreset_shell_mode\fP(3X) return
+.BR ERR "."
.RE
.bP
\fBnewterm\fP
-returns an error if it cannot allocate the data structures for the screen,
+returns
+.B ERR
+if it cannot allocate the data structures for the screen,
or for the top-level windows within the screen,
i.e.,
\fBcurscr\fP, \fBnewscr\fP, or \fBstdscr\fP.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_inopts.3x,v 1.66 2024/04/13 22:20:29 tom Exp $
-.TH curs_inopts 3X 2024-04-13 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_inopts.3x,v 1.68 2024/05/25 20:41:48 tom Exp $
+.TH curs_inopts 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.ie t .ds '' ''
.el .ds '' ""
.\}
+.
+.de bP
+.ie n .IP \(bu 4
+.el .IP \(bu 2
+..
.SH NAME
\fB\%cbreak\fP,
\fB\%echo\fP,
\fBint echo(void);
\fBint noecho(void);
.PP
-\fBint intrflush(WINDOW *\fIwin\fP, bool \fIbf\fP);
-\fBint keypad(WINDOW *\fIwin\fP, bool \fIbf\fP);
-\fBint meta(WINDOW *\fIwin\fP, bool \fIbf\fP);
-\fBint nodelay(WINDOW *\fIwin\fP, bool \fIbf\fP);
-\fBint notimeout(WINDOW *\fIwin\fP, bool \fIbf\fP);
+\fBint intrflush(WINDOW * \fIwin\fP \fI/* ignored */\fP, bool \fIbf\fP);
+\fBint keypad(WINDOW * \fIwin\fP, bool \fIbf\fP);
+\fBint meta(WINDOW * \fIwin\fP \fI/* ignored */\fP, bool \fIbf\fP);
+\fBint nodelay(WINDOW * \fIwin\fP, bool \fIbf\fP);
+\fBint notimeout(WINDOW * \fIwin\fP, bool \fIbf\fP);
.PP
\fBint nl(void);
\fBint nonl(void);
.PP
-\fBint raw(void);
-\fBint noraw(void);
-.PP
\fBvoid qiflush(void);
\fBvoid noqiflush(void);
.PP
+\fBint raw(void);
+\fBint noraw(void);
+.PP
\fBint halfdelay(int \fItenths\fP);
\fBvoid timeout(int \fIdelay\fP);
-\fBvoid wtimeout(WINDOW *\fIwin\fP, int \fIdelay\fP);
+\fBvoid wtimeout(WINDOW * \fIwin\fP, int \fIdelay\fP);
.PP
\fBint typeahead(int \fIfd\fP);
.PP
\fBint is_raw(void);
.fi
.SH DESCRIPTION
-.I \%ncurses
-provides several functions that let an application change the way input
-from the terminal is handled.
+.I curses
+offers configurable parameters permitting an application to control the
+handling of input from the terminal.
Some are global,
-applying to all windows.
-Others apply only to a specific window.
-Window-specific settings are not automatically applied to new or derived
-windows.
-An application must apply these to each window if the same behavior is
-desired.
+applying to all windows;
+others apply only to a specific window.
+The library does not automatically apply such parameters to new or
+derived windows;
+an application must configure each window for the desired behavior.
+.PP
+Some descriptions below make reference to an
+.IR "input character reading function" ":"
+this is \fB\%wgetch\fP(3X) in the non-wide character
+.I curses
+API and \fB\%wget_wch\fP(3X) in the wide character API.
+In addition to the variant forms of these described in
+\fB\%ncurses\fP(3X),
+the
+.I curses
+functions \fB\%wgetstr\fP(3X) and \fB\%wget_wstr\fP(3X) and their own
+variants call the appropriate input character reading function.
.\"
.SS "cbreak, nocbreak"
Normally,
-the terminal driver buffers typed characters until a newline or carriage
-return is typed.
-The \fB\%cbreak\fP routine disables line buffering and
-erase/kill character-processing
-(interrupt and flow control characters are unaffected),
-making characters typed by the user immediately available to the
+the terminal driver buffers typed characters,
+not delivering them to an application
+until a line feed or carriage return is typed.
+.B \%cbreak
+configures the terminal in
+.IR "cbreak mode" ","
+which disables line buffering
+and erase and kill character processing
+(the interrupt,
+quit,
+suspend,
+and flow control characters are unaffected)
+and makes characters typed by the user immediately available to the
program.
-The \fB\%nocbreak\fP routine returns the terminal to normal (cooked)
-mode.
+.B \%nocbreak
+returns the terminal to normal (\*(``cooked\*('') mode.
.PP
-Initially the terminal may or may not be in \fB\%cbreak\fP mode,
-as the mode is inherited;
+The state of the terminal is unknown to a
+.I curses
+application when it starts;
therefore,
-a program should call \fB\%cbreak\fP or \fB\%nocbreak\fP explicitly.
+a program should call
+.B \%cbreak
+or
+.B \%nocbreak
+explicitly.
Most interactive programs using
.I curses
-set the \fB\%cbreak\fP mode.
-Note that \fB\%cbreak\fP overrides \fBraw\fP.
-[See \fB\%curs_getch\fP(3X) for a discussion of how these routines
-interact with \fBecho\fP and \fB\%noecho\fP.]
+set \%cbreak
+mode.
+Calling
+.B \%cbreak
+overrides
+.BR raw "."
+The man page for the input character reading function
+discusses how
+.B \%cbreak
+and
+.B \%nocbreak
+interact with
+.B echo
+and
+.BR \%noecho "."
.\"
.SS "echo, noecho"
-The \fBecho\fP and \fB\%noecho\fP routines control whether characters
-typed by the user are echoed by \fB\%getch\fP(3X) as they are typed.
-Echoing by the terminal driver is always disabled,
-but initially \fB\%getch\fP is in echo mode,
-so characters typed are echoed.
-Authors of most interactive programs prefer to do
-their own echoing in a controlled area of the screen,
+.B echo
+and
+.B \%noecho
+determine whether characters typed by the user are written to the
+.I curses
+window by the input character reading function as they are typed.
+.I curses
+always disables the terminal driver's own echoing.
+By default,
+a
+.I curses
+window has its echo flag set.
+Authors of most interactive programs prefer
+to do their own echoing in a controlled area of the screen,
or not to echo at all,
-so they disable echoing by calling \fB\%noecho\fP.
-[See \fB\%curs_getch\fP(3X) for a
-discussion of how these routines interact with \fB\%cbreak\fP and
-\fB\%nocbreak\fP.]
+so they call
+.BR \%noecho "."
+The man page for the input character reading function
+discusses how
+.B echo
+and
+.B \%noecho
+interact with
+.B \%cbreak
+and
+.BR \%nocbreak "."
.\"
.SS halfdelay
-The \fB\%halfdelay\fP routine is used for half-delay mode,
-which is similar to \fB\%cbreak\fP mode in that characters typed by the
-user are immediately available to the program.
+.B \%halfdelay
+configures
+.IR "half-delay mode" ","
+which is similar to \%cbreak mode in that characters typed by the user
+are immediately available to the program.
However,
-after blocking for \fItenths\fP tenths of seconds,
-\fBERR\fP is returned if nothing has been typed.
-The value of \fItenths\fP must be a number between 1 and 255.
-Use \fB\%nocbreak\fP to leave half-delay mode.
+after blocking for
+.I tenths
+tenths of seconds,
+an input character reading function returns
+.B ERR
+if no input is pending.
+The value of
+.I tenths
+must be between 1 and 255.
+Use
+.B \%nocbreak
+to leave half-delay mode.
.\"
.SS intrflush
-If the \fB\%intrflush\fP option is enabled
-.RI ( bf
+.B \%intrflush
+calls
+.B \%qiflush
+(see below)
+if
+.I bf
is
-.BR TRUE ),
-and an interrupt key is pressed on the keyboard
-(interrupt,
-break,
-quit),
-all output in the terminal driver queue is flushed,
-giving the effect of faster response to the interrupt,
-but causing
-.I curses
-to have the wrong idea of what is on the screen.
-Disabling the option
-.RI ( bf
+.BR TRUE ","
+and
+.B \%noqiflush
+if
+.I bf
is
-.BR FALSE ),
-prevents the flush.
-The default for the option is inherited from the terminal driver
-settings.
-The
+.BR FALSE "."
+It ignores its
.I win
-argument is ignored.
+argument.
.\"
.SS keypad
-The \fB\%keypad\fP option enables the keypad of the user's terminal.
+.B keypad
+enables recognition of a terminal's function keys.
If
enabled
.RI ( bf
is
.BR TRUE ),
-the user can press a function key
-(such as an arrow key)
-and \fB\%wgetch\fP(3X) returns a single value representing the function
-key,
-as in \fB\%KEY_LEFT\fP.
+the input character reading function returns a value representing
+the function key,
+such as
+.BR KEY_LEFT "."
+(Wide-character API users:
+\fB\%wget_wch\fP(3X) returns
+.B \%KEY_CODE_YES
+to indicate the availability of a function key code in its
+.I wch
+parameter.)
If disabled
-(\fIbf\fP is \fBFALSE\fP),
+.RI ( bf
+is
+.BR FALSE ),
.I curses
does not treat function keys specially and the program has to interpret
-the escape sequences itself.
-If the keypad in the terminal can be turned on
+escape sequences itself.
+If the terminal's keypad can be turned on
(made to transmit)
and off
(made to work locally),
-turning on this option causes the terminal keypad to be turned on when
-\fB\%wgetch\fP(3X) is called.
-The default value for keypad is \fBFALSE\fP.
+.B \%keypad
+configures it consistently with the
+.I bf
+parameter.
+By default,
+a window's keypad mode is off.
.\"
.SS meta
Initially,
-whether the terminal returns 7 or 8 significant bits on input depends on
-the control mode of the terminal driver [see \fI\%termios\fP(3)].
+whether the terminal returns 7- or 8-bit character codes on input
+depends on the configuration of the terminal driver;
+see \fI\%termios\fP(3).
To force 8 bits to be returned,
-invoke
-\fBmeta\fP(\fIwin\fP, \fBTRUE\fP);
+call
+.BR meta( .\|.\|. ,
+.BR TRUE) ;
this is equivalent,
-under POSIX,
+on POSIX systems,
to setting the CS8 flag on the terminal.
To force 7 bits to be returned,
-invoke
-\fBmeta\fP(\fIwin\fP, \fBFALSE\fP);
+call
+.BR meta( .\|.\|. ,
+.BR FALSE) ;
this is equivalent,
-under POSIX,
+on POSIX systems,
to setting the CS7 flag on the terminal.
The window argument,
.IR win ,
is always ignored.
-If the terminfo capabilities
-\fBsmm\fP (meta_on) and
-\fBrmm\fP (meta_off) are defined for the terminal,
-\fBsmm\fP is sent to the terminal when
-\fBmeta\fP(\fIwin\fP, \fBTRUE\fP)
-is called and \fBrmm\fP is sent when
-\fBmeta\fP(\fIwin\fP, \fBFALSE\fP) is called.
+If the
+.I \%term\%info
+string capabilities
+.B \%meta_on
+.RB ( smm )
+and
+.B \%meta_off
+.RB ( rmm )
+are defined for the terminal type,
+enabling meta mode sends
+.B smm
+to the terminal and disabling it sends
+.B rmm
+to the terminal.
.\"
.SS "nl, nonl"
-The \fBnl\fP and \fBnonl\fP routines control whether the underlying
-display device translates the return key into newline on input.
+Initially,
+whether the terminal reports a carriage return
+using the character code for a line feed
+depends on the configuration of the terminal driver;
+see \fI\%termios\fP(3).
+.B nl
+configures the terminal to perform this translation.
+.B nonl
+disables it.
.\"
.SS nodelay
-The \fB\%nodelay\fP option causes \fB\%getch\fP to be a non-blocking
-call.
+.B \%nodelay
+configures the input character reading function to be non-blocking for
+window
+.IR "win" .
If no input is ready,
-\fB\%getch\fP returns \fBERR\fP.
+the reading function returns
+.BR ERR "."
If disabled
.RI ( bf
is
.BR FALSE ),
-\fB\%getch\fP waits until a key is pressed.
+the reading function does not return until it has input.
.SS notimeout
-When interpreting an escape sequence,
-\fB\%wgetch\fP(3X) sets a timer
-while waiting for the next character.
-If
-\fB\%notimeout(\fIwin\fR, \fBTRUE\fP)
-is called,
-then \fB\%wgetch\fP does not set a timer.
+When the input character reading function reads an ESC character,
+it sets a timer while waiting for the next character.
+.BI \%notimeout( win ,
+.B TRUE)
+disables this timer.
The purpose of the timeout is to distinguish sequences produced by a
function key from those typed by a user.
+To configure the timeout rather than disabling it,
+see
+.B \%wtimeout
+below.
+.\"
+.SS "qiflush, noqiflush"
+.\"
+.B \%qiflush
+and
+.B \%noqiflush
+configure the terminal driver's treatment of its input and output queues
+when it handles the interrupt,
+suspend,
+or quit characters in
+.I \%cbreak
+and \*(``cooked\*('' modes;
+on POSIX systems,
+see \fI\%termios\fP(3).
+The default behavior is inherited from the terminal driver settings.
+Calling
+.B \%qiflush
+configures the terminal to flush the queues when any of these events
+occurs,
+giving the impression of faster response to user input,
+but making the library's model of the screen contents incorrect.
+Calling
+.B \%noqiflush
+prevents such flushing,
+but might frustrate impatient users on slow connections if a
+.I curses
+update of the screen is in progress when the event occurs;
+see
+.B \%typeahead
+below for a mitigation of this problem.
+You may want to call
+.B \%noqiflush
+in a signal handler
+if you want output to continue
+after the handler exits
+as though the interrupt had not occurred.
.\"
.SS "raw, noraw"
-The \fBraw\fP and \fB\%noraw\fP routines place the terminal into or out
-of raw mode.
-Raw mode is similar to \fB\%cbreak\fP mode,
-in that characters typed are immediately passed through to the user
-program.
-The differences are that in raw mode,
-the interrupt,
+.B raw
+configures the terminal to read input in
+.IR "raw mode" ,
+which is similar to cbreak mode
+(see
+.B \%cbreak
+above)
+except that it furthermore passes through the terminal's configured
+interrupt,
quit,
suspend,
-and flow control characters are all
-passed through uninterpreted,
-instead of generating a signal.
-The behavior of the BREAK key depends on other bits in the terminal
-driver that are not set by
-.IR curses .
-.\"
-.SS "qiflush, nqiflush"
-When the \fB\%noqiflush\fP routine is used,
-normal flush of input and output queues associated with the \fBINTR\fP,
-\fBQUIT\fP and \fBSUSP\fP characters will not be done
-[see \fB\%termios\fP(3)].
-When
-\fB\%qiflush\fP is called,
-the queues will be flushed when these control characters are read.
-You may want to call \fB\%noqiflush\fP in a signal handler if you want
-output to continue as though the interrupt had not occurred,
-after the handler exits.
+and flow control characters
+uninterpreted to the application,
+instead of generating a signal or acting on I/O flow.
+The behavior of the terminal's \*(``Break\*('' key
+(if any)
+depends on terminal driver configuration parameters that
+.I curses
+does not handle.
+.B \%noraw
+exits raw mode.
.\"
.SS "timeout, wtimeout"
-The \fB\%timeout\fP and \fB\%wtimeout\fP routines set blocking or
-non-blocking read for a given window.
-If \fIdelay\fP is negative,
-a blocking read is used
-(i.e.,
-waits indefinitely for input).
-If \fIdelay\fP is zero,
-then a non-blocking read is used
-(i.e.,
-.I read
-returns \fBERR\fP if no input is waiting).
+.B \%wtimeout
+configures whether a
+.I curses
+input character reading function called on window
+.I win
+uses blocking or non-blocking reads.
If
-\fIdelay\fP is positive,
-then
-.I read
-blocks for \fIdelay\fP milliseconds,
-and returns \fBERR\fP if there is still no input.
-Hence,
-these routines provide the same functionality as \fB\%nodelay\fP,
-plus the additional capability of being able to block for only
-\fIdelay\fP milliseconds
-(where \fIdelay\fP is positive).
+.I delay
+is negative,
+a blocking read is used,
+waiting indefinitely for input.
+If
+.I delay
+is zero,
+a non-blocking read is used;
+an input character reading function returns
+.B ERR
+if no input is pending.
+If
+.I delay
+is positive,
+an input character reading function
+blocks for
+.I delay
+milliseconds,
+and returns
+.B ERR
+if the delay elapses and there is still no input pending.
+.B \%timeout
+calls
+.B \%wtimeout
+on
+.BR stdscr "."
.\"
.SS typeahead
-.I curses
-does \*(``line-breakout optimization\*('' by looking for typeahead
-periodically while updating the screen.
-If input is found,
-and it is coming from a terminal,
-the current update is postponed until
-\fB\%refresh\fP(3X) or \fB\%doupdate\fP is called again.
-This allows faster response to commands typed in advance.
Normally,
-the input
+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,
+allowing faster response to user key strokes.
+The library tests the file descriptor corresponding to the
.I FILE
-pointer passed to \fB\%newterm\fP,
-or \fBstdin\fP in the case that \fB\%initscr\fP was used,
-will be used to do this typeahead checking.
-The \fB\%typeahead\fP routine specifies that the file descriptor
-\fIfd\fP is to be used to check for typeahead instead.
-If \fIfd\fP is
-\-1,
-then no typeahead checking is done.
+stream pointer passed to \fB\%newterm\fP(3X)
+(or
+.I stdin
+if \fB\%initscr\fP(3X) was called),
+for pending input.
+.B \%typeahead
+instructs
+.I curses
+to test file descriptor
+.I fd
+instead.
+An
+.I fd
+of
+.B \-1
+disables the check.
.\"
.SH RETURN VALUE
-All routines that return an integer return \fBERR\fP upon failure and
-\fBOK\fP
-(SVr4 specifies only \*(``an integer value other than \fBERR\fP\*('')
-upon successful completion,
-unless otherwise noted in the preceding routine descriptions.
+.B \%timeout
+and
+.B \%wtimeout
+return no value.
+.PP
+.BR \%cbreak ","
+.BR \%nocbreak ","
+.BR \%echo ","
+.BR \%noecho ","
+.BR \%halfdelay ","
+.BR \%intrflush ","
+.BR \%keypad ","
+.BR \%meta ","
+.BR \%nodelay ","
+.BR \%notimeout ","
+.BR \%nl ","
+.BR \%nonl ","
+.BR \%raw ","
+.BR \%noraw ","
+and
+.B \%typeahead
+return
+.B OK
+on success and
+.B ERR
+on failure.
+.PP
+In
+.IR \%ncurses ","
+the functions in the previous paragraph return
+.B ERR
+if
+.bP
+the terminal is not initialized or
+.bP
+.I win
+is
+.B NULL
+(except for
+.B \%intrflush
+and
+.BR meta ","
+which ignore its value).
+.PP
+Further,
+.B \%halfdelay
+returns
+.B ERR
+if
+.I delay
+is outside the range 1..255.
.PP
-X/Open Curses does not specify any error conditions.
-In this implementation,
-functions with a window parameter will return an error if it is null.
-Any function will also return an error if the terminal was not
-initialized.
-Also,
-.RS 3
-.TP 5
-\fB\%halfdelay\fP
-returns an error
-if its parameter is outside the range 1..255.
-.RE
+See section \*(``EXTENSIONS\*('' below for the
+return values of
+.BR is_cbreak ","
+.BR is_echo ","
+.BR is_nl ","
+and
+.BR is_raw "."
.SH NOTES
-\fBecho\fP,
-\fB\%noecho\fP,
-\fB\%halfdelay\fP,
-\fB\%intrflush\fP,
-\fBmeta\fP,
-\fBnl\fP,
-\fBnonl\fP,
-\fB\%nodelay\fP,
-\fB\%notimeout\fP,
-\fB\%noqiflush\fP,
-\fB\%qiflush\fP,
-\fB\%timeout\fP,
+.BR echo ","
+.BR \%noecho ","
+.BR \%halfdelay ","
+.BR \%intrflush ","
+.BR meta ","
+.BR nl ","
+.BR nonl ","
+.BR \%nodelay ","
+.BR \%notimeout ","
+.BR \%noqiflush ","
+.BR \%qiflush ","
+.BR \%timeout ","
and
-\fB\%wtimeout\fP
+.B \%wtimeout
may be implemented as macros.
.PP
-\fB\%noraw\fP and \fB\%nocbreak\fP follow historical practice in that
-they attempt to restore normal (\*(``cooked\*('') mode
-from raw and cbreak modes respectively.
-Mixing \fBraw\fP/\fB\%noraw\fP and \fB\%cbreak\fP/\fB\%nocbreak\fP calls
-leads to terminal driver control states that are hard to predict or
-understand;
+.B \%noraw
+and
+.B \%nocbreak
+follow historical practice in that they attempt to restore normal
+(\*(``cooked\*('') mode from raw and cbreak modes,
+respectively.
+Mixing
+.BR raw / \%noraw
+calls with
+.BR cbreak / \%nocbreak
+calls leads to terminal driver control states that are hard to predict
+or understand;
doing so is not recommended.
.SH EXTENSIONS
.I \%ncurses
-provides four \*(``is_\*('' functions that may be used to detect if the
-corresponding flags were set or reset.
+provides four \*(``is_\*('' functions corresponding to
+.BR \%cbreak ","
+.BR echo ","
+.BR nl ","
+and
+.BR raw ","
+permitting their states to be queried by the application.
.PP
.TS
center;
.PP
In each case,
the function returns
-.TP 4 \" "-1" + 2n
-1
+.TP 5 \" "-1" + 2n tag separation + 1n fudge for typesetters like grops
+.B 1
if the flag is set,
.TP
-0
+.B 0
if the flag is reset,
or
.TP
-\-1
+.B \-1
if the library is not initialized.
-.PP
-They were designed for
-\fB\%ncurses\fP(3X),
-and are not found in SVr4
-.IR curses ,
-4.4BSD
-.IR curses ,
-or any other previous
-.I curses
-implementation.
.SH PORTABILITY
Applications employing
.I \%ncurses
preprocessor macro.
.PP
Except as noted in section \*(``EXTENSIONS\*('' above,
-X/Open Curses, Issue 4, Version 2 describes these functions.
+X/Open Curses,
+Issue 4 describes these functions.
+It specifies no error conditions for them.
+.PP
+SVr4
+.I curses
+describes a successful return value only as
+\*(``an integer value other than
+.BR ERR \*(''.
.PP
.I \%ncurses
follows X/Open Curses
-and the historical practice of AT&T
-.I curses
-implementations,
-in that the echo bit is cleared when
-.I curses
-initializes the terminal state.
+and the historical practice of System\ V
+.IR curses ","
+clearing the terminal driver's \*(``echo\*('' flag when initializing the
+screen.
BSD
.I curses
-differed from this slightly;
-it left the echo bit on at initialization,
-but the BSD \fBraw\fP call turned it off as a side effect.
+did not,
+but its
+.I raw
+function turned it off as a side effect.
+.\" SGTTY's sg_flags had a "RAW" symbol; termio in SVr1 for the PDP-11
+.\" did not.
+.\" https://minnie.tuhs.org/cgi-bin/utree.pl?file=4BSD/usr/include/curses.h
+.\" https://github.com/ryanwoodsmall/oldsysv/blob/master/sysv-pdp11_man/a_man/man7/termio.7
For best portability,
-set \fBecho\fP or \fB\%noecho\fP explicitly just after initialization,
-even if your program remains in cooked mode.
+call
+.B echo
+or
+.B \%noecho
+explicitly just after initialization,
+even if your program remains in normal (\*(``cooked\*('') mode.
.PP
-X/Open Curses is ambiguous regarding whether \fBraw\fP should disable
-the CR/LF translations controlled by \fBnl\fP and \fBnonl\fP.
+X/Open Curses is ambiguous regarding whether
+.I raw
+should disable the carriage return and line feed translation feature
+controlled by
+.I nl
+and
+.IR \%nonl "."
BSD
.I curses
did turn off these translations;
-AT&T
+System\ V
.I curses
-(at least as late as SVr1)
did not.
.I \%ncurses
does so,
8-bit clean)
connection that the operating system will not alter.
.PP
-When \fB\%keypad\fP is first enabled,
+When
+.B \%keypad
+is first enabled,
.I \%ncurses
loads the key definitions for the current terminal description.
If the terminal description includes extended string capabilities,
-e.g.,
-from using the
+for example,
+by using the
.B \-x
-option of \fB\%@TIC@\fP,
+option of \fB\%@TIC@\fP(1),
then
.I \%ncurses
also defines keys for the capabilities whose names begin with
\*(``k\*(''.
-The corresponding keycodes are generated and
+Corresponding key codes are generated and
(depending on previous loads of terminal descriptions)
may differ from one execution of a program to the next.
The generated keycodes are recognized by the \fB\%keyname\fP(3X)
function
-(which will then return a name beginning with \*(``k\*('' denoting the
-terminfo capability name rather than \*(``K\*('',
+(which then returns a name beginning with \*(``k\*('' denoting the
+.I \%term\%info
+capability name rather than \*(``K\*('',
used for
.I curses
key names).
On the other hand,
-an application can use \fB\%define_key\fP(3X) to establish
-a specific keycode for a given string.
-This makes it possible for an application to check for an extended
-capability's presence with \fB\%tigetstr\fP,
+an application can use \fB\%define_key\fP(3X) to bind
+a specific key to a string of the programmer's choice.
+This feature enables an application to check for an extended
+capability's presence with \fB\%tigetstr\fP(3X),
and reassign the keycode to match its own needs.
.PP
-Low-level applications can use \fB\%tigetstr\fP to obtain the definition
-of any particular string capability.
-Higher-level applications which use the
+Low-level applications can use \fB\%tigetstr\fP(3X) to obtain the
+definition of any string capability.
.I curses
-\fB\%wgetch\fP and similar functions to return keycodes rely upon the
-order in which the strings are loaded.
-If more than one key definition has the same string value,
-then \fB\%wgetch\fP can return only one keycode.
+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
.I curses
implementations
(including
.IR \%ncurses )
load key definitions in the order
-defined by the array of string capability names.
-The last key to be loaded determines the keycode which will be returned.
+they appear in the
+.B \%strfnames
+array of string capability names;
+see \fB\%term_variables\fP(3X).
+.\" ncurses/tinfo/parse_entry.c:lookup_fullname, I think --GBR
+The last capability read using a particular definition determines the
+key code to be reported.
In
.IR \%ncurses ,
-you may also have extended capabilities interpreted as key definitions.
+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
+and if a capability's value is the same as a previously loaded
key definition,
the later definition is the one used.
.SH HISTORY
+4BSD
+.I curses
+(1980)
+introduced
+.IR echo ","
+.IR \%noecho ","
+.IR nl ","
+.IR \%nonl ","
+.IR raw ","
+and
+.IR \%noraw "." \" also crmod and nocrmod, never standardized
+.PP
+SVr2 (1984) featured a new terminal driver,
+extending the
+.I curses
+API to support it with
+.IR \%cbreak ","
+.IR \%nocbreak ","
+.IR \%intrflush ","
+.IR \%keypad ","
+.IR \%meta ","
+.IR \%nodelay ","
+and
+.IR \%typeahead "."
+.PP
+SVr3 (1987)
+added
+.IR \%halfdelay ","
+.IR \%notimeout ","
+and
+.IR \%wtimeout "."
+.I \%qiflush
+and
+.I \%noqiflush
+appeared in SVr3.1 (1987),
+at which point
+.I \%intrflush
+became a wrapper for either of these functions,
+depending on the value of its Boolean argument.
+SVr3.1 also added
+.IR \%timeout "."
+.PP
+.I \%ncurses
+6.5 (2024) introduced
+.IR is_cbreak ","
+.IR is_echo ","
+.IR is_nl ","
+and
+.IR is_raw "."
+.PP
Formerly,
.I \%ncurses
used
-.B \%nl
+.I \%nl
and
-.B \%nonl
+.I \%nonl
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.
(the POSIX terminal API).
In the former,
both input and output were controlled via a single option
-.BR \%CRMOD ,
+\*(``CRMOD\*('',
while the latter separates these features.
Because that conversion interferes with output optimization,
.I \%ncurses
6.2 (2020) amended
-.B \%nl
+.I \%nl
and
-.B \%nonl
+.I \%nonl
to eliminate their effect on output.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_initscr\fP(3X),
\fB\%curs_util\fP(3X),
\fB\%define_key\fP(3X),
+\fB\%term_variables\fP(3X),
\fB\%termios\fP(3)
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_ins_wch.3x,v 1.30 2024/04/20 19:18:18 tom Exp $
-.TH curs_ins_wch 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_ins_wch.3x,v 1.32 2024/05/25 20:16:27 tom Exp $
+.TH curs_ins_wch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.IR x )
is outside the window boundaries.
.SH NOTES
-A terminal's
-.B \%insert_character
-.RB ( ich1 )
-capability
-is not necessarily employed.
-.PP
\fB\%ins_wch\fP,
\fB\%mvins_wch\fP,
and
\fB\%mvwins_wch\fP
may be implemented as macros.
+.PP
+A terminal's
+.B \%insert_character
+.RB ( ich1 )
+capability
+is not necessarily employed.
.SH PORTABILITY
X/Open Curses,
Issue 4 describes these functions.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_ins_wstr.3x,v 1.38 2024/04/20 21:23:08 tom Exp $
-.TH curs_ins_wstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_ins_wstr.3x,v 1.40 2024/05/25 20:10:58 tom Exp $
+.TH curs_ins_wstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
All functions return the integer \fBERR\fP upon failure and \fBOK\fP on success.
.PP
X/Open Curses does not specify any error conditions.
-This implementation returns an error
+This implementation returns
+.B ERR
.bP
if the \fIwin\fP parameter is null or
.bP
if the \fIwstr\fP parameter is null or
.bP
-if the \fBwins_wch\fP function returns an error.
+if the \fBwins_wch\fP function returns
+.BR ERR "."
.PP
Functions prefixed with \*(``mv\*('' first perform cursor movement and
fail if the position
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_insstr.3x,v 1.51 2024/04/20 21:20:07 tom Exp $
-.TH curs_insstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_insstr.3x,v 1.53 2024/05/25 20:10:58 tom Exp $
+.TH curs_insstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
All functions return the integer \fBERR\fP upon failure and \fBOK\fP on success.
.PP
X/Open Curses does not specify any error conditions.
-This implementation returns an error
+This implementation returns
+.B ERR
.bP
if the \fIwin\fP parameter is null or
.bP
if the \fIstr\fP parameter is null or
.bP
-the \fBwinsch\fP(3X) function returns an error.
+the \fBwinsch\fP(3X) function returns
+.BR ERR "."
.PP
Functions prefixed with \*(``mv\*('' first perform cursor movement and
fail if the position
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_instr.3x,v 1.51 2024/04/20 21:24:19 tom Exp $
-.TH curs_instr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_instr.3x,v 1.53 2024/05/25 20:10:58 tom Exp $
+.TH curs_instr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
or the number of characters actually read into the string.
.PP
X/Open Curses defines no error conditions.
-This implementation returns an error
+This implementation returns
+.B ERR
.bP
if the \fIwin\fP parameter is null or
.bP
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_inwstr.3x,v 1.41 2024/04/20 21:20:07 tom Exp $
-.TH curs_inwstr 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_inwstr.3x,v 1.43 2024/05/25 20:10:58 tom Exp $
+.TH curs_inwstr 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
number of characters read into the string.
.PP
X/Open defines no error conditions.
-This implementation returns an error
+This implementation returns
+.B ERR
.bP
if the \fIwin\fP parameter is null or
.bP
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_kernel.3x,v 1.61 2024/04/20 21:24:19 tom Exp $
-.TH curs_kernel 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_kernel.3x,v 1.63 2024/05/25 21:13:56 tom Exp $
+.TH curs_kernel 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
\fB\%savetty\fP,
\fB\%getsyx\fP,
\fB\%setsyx\fP,
-\fB\%ripoffline\fP,
\fB\%curs_set\fP,
-\fB\%napms\fP \-
+\fB\%mvcur\fP,
+\fB\%napms\fP,
+\fB\%ripoffline\fP \-
low-level \fIcurses\fR routines
.SH SYNOPSIS
.nf
\fBvoid getsyx(int \fIy\fP, int \fIx\fP);
\fBvoid setsyx(int \fIy\fP, int \fIx\fP);
.PP
-\fBint ripoffline(int \fIline\fP, int (*\fIinit\fP)(WINDOW *, int));
\fBint curs_set(int \fIvisibility\fP);
+\fBint mvcur(int \fIoldrow\fP, int \fIoldcol\fP, int \fInewrow\fP, int \fInewcol\fP);
\fBint napms(int \fIms\fP);
+\fBint ripoffline(int \fIline\fP, int (*\fIinit\fP)(WINDOW *, int));
.fi
.SH DESCRIPTION
The following routines give low-level access
.PP
Few applications will use this feature,
most use \fBwmove\fP instead.
+.SS curs_set
+The \fBcurs_set\fP routine sets the cursor state to invisible,
+normal, or very visible for \fBvisibility\fP equal to \fB0\fP,
+\fB1\fP, or \fB2\fP respectively.
+If the terminal supports the \fIvisibility\fP requested,
+the previous \fIcursor\fP state is returned;
+otherwise, \fBERR\fP is returned.
+.SS mvcur
+.B \%mvcur
+provides low-level cursor motion.
+It takes effect immediately,
+rather than at the next refresh.
+Unlike the other low-level output functions,
+which either write to the standard output stream
+or are passed a function pointer to perform output,
+.B \%mvcur
+uses a file descriptor derived from the output stream parameter of
+\fB\%newterm\fP(3X).
+.PP
+One application of
+.B \%mvcur
+accompanies the temporary use of another program to write to the
+terminal screen.
+For example,
+first call \fB\%refresh\fP(3X) to ensure that the screen and the
+library's model of it is up to date;
+then call
+.BR \%reset_shell_mode ";"
+write to the screen with the external application;
+call
+.BR \%reset_prog_mode ";"
+and finally call
+.B \%mvcur
+to set the cursor's location to where
+.I \%curses
+thinks it is,
+since the library has no knowledge of how the external application
+moved it.
+.\" https://lists.gnu.org/archive/html/bug-ncurses/2016-10/msg00002.html
+.SS napms
+.B \%napms
+sleeps for
+.I ms
+milliseconds.
+If
+.I ms
+exceeds 30,000
+(thirty seconds),
+it is capped at that value.
.SS ripoffline
.B \%ripoffline
provides access to the same facility that \fB\%slk_init\fP(3X) uses to
.PP
\fBripoffline\fP can be called up to five times before calling \fBinitscr\fP or
\fBnewterm\fP.
-.SS curs_set
-The \fBcurs_set\fP routine sets the cursor state to invisible,
-normal, or very visible for \fBvisibility\fP equal to \fB0\fP,
-\fB1\fP, or \fB2\fP respectively.
-If the terminal supports the \fIvisibility\fP requested,
-the previous \fIcursor\fP state is returned;
-otherwise, \fBERR\fP is returned.
-.SS napms
-.B \%napms
-sleeps for
-.I ms
-milliseconds.
-If
-.I ms
-exceeds 30,000
-(thirty seconds),
-it is capped at that value.
.SH RETURN VALUE
Except for \fBcurs_set\fP, these routines always return \fBOK\fP.
.PP
In this implementation
.TP 5
\fBdef_prog_mode\fP, \fBdef_shell_mode\fP, \fBreset_prog_mode\fP, \fBreset_shell_mode\fP
-return an error
+return
+.B ERR
if the terminal was not initialized, or
if the I/O call to obtain the terminal settings fails.
.TP 5
\fBripoffline\fP
-returns an error if the maximum number of ripped-off lines
+returns
+.B ERR
+if the maximum number of ripped-off lines
exceeds the maximum (5).
.SH NOTES
Note that \fBgetsyx\fP is a macro, so \fB&\fP is not necessary before
invisible or very visible.
There is no way for \fI\%ncurses\fP to determine the initial cursor
state to restore that.
+.SH EXTENSIONS
+In
+.IR \%ncurses ","
+.B \%mvcur
+accepts
+.B \-1
+for either or both old coordinates.
+This value tells
+.I \%ncurses
+that the old location is unknown,
+and that it must use only absolute motion,
+as with the
+.B \%cursor_address
+.RB ( cup )
+capability,
+rather than the least costly combination of absolute and relative
+motion.
.SH PORTABILITY
The \fIvirtual screen\fP functions \fBsetsyx\fP and \fBgetsyx\fP
are not described in X/Open Curses, Issue 4.
This is misleading, as they are macros with no documented semantics
for the return value.
.PP
+X/Open Curses notes:
+.RS
+.PP
+\*(``After use of
+.IR \%mvcur "(),"
+the model Curses maintains of the state of the terminal might not
+match the actual state of the terminal.
+An application should touch and refresh the window before
+resuming conventional use of Curses.\*(''
+.RE
+.PP
+Both
+.I \%ncurses
+and SVr4
+.I curses
+implement
+.B \%mvcur
+using the
+.I SCREEN
+data allocated in either \fB\%initscr\fP(3X) or \fB\%newterm\fP(3X).
+X/Open Curses states that the old location must be given for
+.B \%mvcur
+to accommodate terminals that lack absolute cursor positioning.
+.\" X/Open Curses Issue 7, p. 161
+.PP
If interrupted, \fI\%ncurses\fP restarts \fBnapms\fP.
That, and the limitation to 30 seconds,
are different from other implementations.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_legacy.3x,v 1.32 2024/03/16 15:35:01 tom Exp $
-.TH curs_legacy 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_legacy.3x,v 1.34 2024/05/25 20:15:31 tom Exp $
+.TH curs_legacy 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
Except as noted,
these functions return an integer,
or \fBERR\fP if the window parameter is null.
-.SH NOTES
-All of these interfaces are implemented as macros and functions.
-The macros are suppressed
-(and only the functions provided)
-in an \*(``opaque\*(''
-.I \%ncurses
-build,
-which defines the preprocessor symbol
-.BR \%NCURSES_OPAQUE .
-See section \*(``ALTERNATE CONFIGURATIONS\*('' in \fB\%ncurses\fP(3X).
-.PP
-The standard forms such as \fB\%getyx\fP
-.I must
-be implemented as macros,
-and
-(in this implementation)
-are defined in terms of the functions described here,
-to avoid reliance on internal details of the \fI\%WINDOW\fP structure.
.SH PORTABILITY
These functions were supported on Version 7, BSD or System V implementations.
None of those implementations checked the window parameter.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_mouse.3x,v 1.101 2024/05/18 20:03:51 tom Exp $
-.TH curs_mouse 3X 2024-05-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_mouse.3x,v 1.103 2024/05/25 20:10:58 tom Exp $
+.TH curs_mouse 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.bP
or if no more events remain in the queue.
.PP
-\fB\%ungetmouse\fP returns an error if the event queue is full.
+\fB\%ungetmouse\fP returns
+.B ERR
+if the event queue is full.
.PP
\fB\%mousemask\fP
returns the mask of reportable events.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_outopts.3x,v 1.65 2024/05/11 20:39:53 tom Exp $
-.TH curs_outopts 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_outopts.3x,v 1.67 2024/05/25 20:10:58 tom Exp $
+.TH curs_outopts 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.de bP
.ie n .IP \(bu 4
.el .IP \(bu 2
In this implementation,
.bP
those functions that have a window pointer
-will return an error if the window pointer is null
+will return
+.B ERR
+if the window pointer is null
.bP
\fBwsetscrreg\fP
-returns an error if the scrolling region limits extend outside the
+returns
+.B ERR
+if the scrolling region limits extend outside the
window boundaries.
.SH NOTES
Note that
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_overlay.3x,v 1.43 2024/04/20 21:20:07 tom Exp $
-.TH curs_overlay 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_overlay.3x,v 1.45 2024/05/25 20:10:58 tom Exp $
+.TH curs_overlay 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
X/Open defines no error conditions.
In this implementation,
\fBcopywin\fP,
-\fBoverlay\fP and \fBoverwrite\fP return an error
+\fBoverlay\fP and \fBoverwrite\fP return
+.B ERR
if either of the window pointers are null, or
if some part of the window would be placed off-screen.
.SH NOTES
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_pad.3x,v 1.61 2024/04/27 17:55:43 tom Exp $
-.TH curs_pad 3X 2024-04-27 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_pad.3x,v 1.63 2024/05/25 20:10:58 tom Exp $
+.TH curs_pad 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.RS 3
.TP 5
\fB\%prefresh\fP and \fB\%pnoutrefresh\fP
-return an error
+return
+.B ERR
if the window pointer is null, or
if the window is not really a pad or
if the area to refresh extends off-screen or
if the minimum coordinates are greater than the maximum.
.TP 5
\fBpechochar\fP
-returns an error
+returns
+.B ERR
if the window is not really a pad, and the associated call
-to \fB\%wechochar\fP returns an error.
+to \fB\%wechochar\fP returns
+.BR ERR "."
.TP 5
\fBpecho_wchar\fP
-returns an error
+returns
+.B ERR
if the window is not really a pad, and the associated call
-to \fB\%wecho_wchar\fP returns an error.
+to \fB\%wecho_wchar\fP returns
+.BR ERR "."
.RE
.SH NOTES
\fB\%pechochar\fP may be a macro.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_refresh.3x,v 1.46 2024/04/20 21:20:07 tom Exp $
-.TH curs_refresh 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_refresh.3x,v 1.48 2024/05/25 20:10:58 tom Exp $
+.TH curs_refresh 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.RS 3
.TP 5
\fBwnoutrefresh\fP
-returns an error
+returns
+.B ERR
if the window pointer is null, or
if the window is really a pad.
.TP 5
\fBwredrawln\fP
-returns an error
-if the associated call to \fBtouchln\fP returns an error.
+return
+.B ERR
+if the associated call to \fBtouchln\fP returns
+.BR ERR "."
.RE
.SH NOTES
Note that \fBrefresh\fP and \fBredrawwin\fP may be macros.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_scroll.3x,v 1.43 2024/04/20 18:54:36 tom Exp $
-.TH curs_scroll 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_scroll.3x,v 1.45 2024/05/25 20:16:27 tom Exp $
+.TH curs_scroll 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
\fB\%scroll\fP,
\fB\%scrl\fP,
\fB\%wscrl\fP \-
-scroll a \fIcurses\fR window
+scroll a \fIcurses\fP window
.SH SYNOPSIS
.nf
\fB#include <curses.h>
.PP
-\fBint scroll(WINDOW *\fIwin\fP);
+\fBint scroll(WINDOW * \fIwin\fP);
.PP
\fBint scrl(int \fIn\fP);
-\fBint wscrl(WINDOW *\fIwin\fP, int \fIn\fP);
+\fBint wscrl(WINDOW * \fIwin\fP, int \fIn\fP);
.fi
.SH DESCRIPTION
-\fBscroll\fP scrolls the given window up one line.
+.B scroll
+scrolls the given window up one line.
That is,
every visible line we might number
.I i
the physical screen may be scrolled at the same time;
see \fB\%curscr\fP(3X).
.PP
-\fB\%scrl\fP and \fB\%wscrl\fP scroll
+.B \%scrl
+and
+.B \%wscrl
+scroll
.B \%stdscr
or the specified window up or down depending on the sign of
-.IR n .
+.IR n "."
.bP
For positive
-.IR n ,
-line \fIi\fP+\fIn\fP becomes \fIi\fP (scrolling up);
+.IR n ","
+line
+.IR i + n
+becomes
+.I i
+(scrolling up);
.bP
for negative
-.IR n ,
-line \fIi\fP-\fIn\fP becomes \fIi\fP (scrolling down).
+.IR n ","
+line
+.IR i \- n
+becomes
+.I i
+(scrolling down).
.PP
The cursor does not move.
These functions perform no operation unless scrolling is enabled for the
upon success.
.PP
.I \%ncurses
-returns \fBERR\fP if scrolling is not enabled in the window,
+returns
+.B ERR
+if scrolling is not enabled in the window,
for example with \fB\%scrollok\fP(3X),
or if the
.I \%WINDOW
pointer is null.
.SH NOTES
-Unusually,
-there is no \fB\%wscroll\fP function;
-\fBscroll\fP behaves as one would expect \fB\%wscroll\fP to,
-accepting a \fI\%WINDOW\fP pointer argument.
+.B \%scrl
+and
+.B \%wscrl
+may be implemented as macros.
.PP
-\fB\%scrl\fP and \fB\%scroll\fP may be implemented as macros.
+Unusually,
+there is no
+.B \%wscroll
+function;
+.B scroll
+behaves as one would expect
+.B \%wscroll
+to,
+accepting a
+.I \%WINDOW
+pointer argument.
.SH PORTABILITY
X/Open Curses,
Issue 4 describes these functions.
It defines no error conditions.
.PP
SVr4 specifies only
-\*(``an integer value other than \fBERR\fP\*('' as a successful return
-value.
+\*(``an integer value other than
+.BR ERR \*(''
+as a successful return value.
.PP
SVr4 indicates that the optimization of physically scrolling immediately
if the scroll region is the entire screen \*(``is\*('' performed,
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_slk.3x,v 1.71 2024/04/20 18:54:36 tom Exp $
-.TH curs_slk 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_slk.3x,v 1.73 2024/05/25 20:10:58 tom Exp $
+.TH curs_slk 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
returns the attribute used for the soft keys.
.TP 5
\fBslk_attroff\fP, \fBslk_attron\fP, \fBslk_clear\fP, \fBslk_noutrefresh\fP, \fBslk_refresh\fP, \fBslk_touch\fP
-return an error
+return
+.B ERR
if the terminal or the softkeys were not initialized.
.TP 5
\fBslk_attrset\fP
-returns an error
+returns
+.B ERR
if the terminal or the softkeys were not initialized.
.TP 5
\fBslk_attr_set\fP
-returns an error
+returns
+.B ERR
if the terminal or the softkeys were not initialized, or
the color pair is outside the range 0..\fBCOLOR_PAIRS\fP\-1.
.TP 5
\fBslk_color\fP
-returns an error
+returns
+.B ERR
if the terminal or the softkeys were not initialized, or
the color pair is outside the range 0..\fBCOLOR_PAIRS\fP\-1.
.TP 5
\fBslk_init\fP
-returns an error
+returns
+.B ERR
if the format parameter is outside the range 0..3.
.TP 5
\fBslk_label\fP
returns \fBNULL\fP on error.
.TP 5
\fBslk_set\fP
-returns an error
+returns
+.B ERR
if the terminal or the softkeys were not initialized, or
the \fIlabnum\fP parameter is outside the range of label counts, or
if the format parameter is outside the range 0..2, or if
If \fB\%slk_start\fP is given a non-null \fIgp\fP,
it copies the \fIng\fP elements of the group of soft-keys, up to 16.
.IP
-If there are more than 16 elements, \fB\%slk_start\fP returns an error.
+If there are more than 16 elements, \fB\%slk_start\fP returns
+.BR ERR "."
.bP
The format codes \fB2\fP and \fB3\fP for \fB\%slk_init\fP
were added by \fI\%ncurses\fP in 1996.
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_terminfo.3x,v 1.136 2024/04/14 00:14:40 tom Exp $
-.TH curs_terminfo 3X 2024-04-13 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_terminfo.3x,v 1.138 2024/05/25 21:02:40 tom Exp $
+.TH curs_terminfo 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.
.SH NAME
\fB\%del_curterm\fP,
-\fB\%mvcur\fP,
\fB\%putp\fP,
\fB\%restartterm\fP,
\fB\%set_curterm\fP,
\fBint vid_puts(attr_t \fIattrs\fP, short \fIpair\fP, void *\fIopts\fP, int (*\fIputc\fP)(int));
\fBint vid_attr(attr_t \fIattrs\fP, short \fIpair\fP, void *\fIopts\fP);
.PP
-\fBint mvcur(int \fIoldrow\fP, int \fIoldcol\fP, int \fInewrow\fP, int \fInewcol\fP);
-.PP
\fBint tigetflag(const char *\fIcap-code\fP);
\fBint tigetnum(const char *\fIcap-code\fP);
\fBchar *tigetstr(const char *\fIcap-code\fP);
parameter must be a
.I \%term\%info
string variable or the return value of
-\fB\%tparm\fP,
-\fB\%tiparm\fP,
-\fB\%tgetstr\fP,
-or \fB\%tgoto\fP.
-.IP
-The \fB\%tgetstr\fP and \fB\%tgoto\fP functions are part of the
-.I termcap
-interface,
-which happens to share these function names with the
-.I \%term\%info
-API.
+.B \%tparm
+or
+.BR \%tiparm "."
.bP
.I affcnt
is the number of lines affected,
saying that applications must provide a null pointer for that argument;
but see section \*(``EXTENSIONS\*('' below.
.PP
-\fB\%mvcur\fP provides low-level cursor motion.
-It takes effect immediately
-(rather than at the next refresh).
-Unlike the other low-level output functions,
-which either write to the standard output or pass an output function
-parameter,
-\fB\%mvcur\fP uses an output file descriptor derived from
-the output stream parameter of \fB\%newterm\fP(3X).
-.PP
-While \fB\%putp\fP and \fB\%mvcur\fP are low-level functions that do not
-use high-level
+While \fB\%putp\fP is a low-level function that does not use high-level
.I curses
state,
.I \%ncurses
-declares them in
+declares it in
.I \%curses.h
because System\ V did this
(see section \*(``HISTORY\*('' below).
returning the same error codes.
.TP 5
.B restartterm
-fails if the associated call to \fB\%setupterm\fP returns an error.
+fails if the associated call to \fB\%setupterm\fP returns
+.BR ERR "."
.TP 5
.B setupterm
fails if it cannot allocate enough memory,
the ones used for programmable function keys).
.IP
The \fI\%ncurses\fP library checks usage of these capabilities,
-and returns an error if the capability mishandles string parameters.
+and returns
+.B ERR
+if the capability mishandles string parameters.
But it cannot check if a calling program provides strings in the right
places for the \fB\%tparm\fP calls.
.IP
from \fB\%tputs\fP.
It instead returns the length of the string,
and does no error checking.
-.PP
-X/Open Curses notes that after calling \fB\%mvcur\fP,
-the
-.I curses
-state may not match the actual terminal state,
-and that an application should touch and refresh the window before
-resuming normal
-.I curses
-calls.
-Both
-.I \%ncurses
-and SVr4
-.I curses
-implement \fB\%mvcur\fP using the
-.I SCREEN
-data allocated in either \fB\%initscr\fP or \fB\%newterm\fP.
-So though it is documented as a
-.I \%term\%info
-function,
-\fB\%mvcur\fP is really a
-.I curses
-function that is not well specified.
-.PP
-X/Open Curses states that the old location must be given for
-\fB\%mvcur\fP to accommodate terminals that lack absolute cursor
-positioning.
-.\" X/Open Curses Issue 7, p. 161
-.I \%ncurses
-allows the caller to use \-1 for either or both old coordinates.
-The \-1 tells
-.I \%ncurses
-that the old location is unknown,
-and that it must use only absolute motion,
-as with the
-.B \%cursor_address
-.RB ( cup )
-capability,
-rather than the least costly combination of absolute and relative
-motion.
.\" ********************************************************************
.SH HISTORY
SVr2 (1984) introduced the
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_touch.3x,v 1.47 2024/04/20 21:20:07 tom Exp $
-.TH curs_touch 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_touch.3x,v 1.49 2024/05/25 20:10:58 tom Exp $
+.TH curs_touch 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.SH NAME
\fB\%touchwin\fP,
\fB\%touchline\fP,
.RS 3
.TP 5
\fBis_linetouched\fP
-returns an error
+returns
+.B ERR
if the window pointer is null, or
if the line number is outside the window boundaries.
.IP
The actual function returns \fBFALSE\fP when it detects an error.
.TP 5
\fBwtouchln\fP
-returns an error
+returns
+.B ERR
if the window pointer is null, or
if the line number is outside the window boundaries.
.RE
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_util.3x,v 1.102 2024/05/11 20:39:53 tom Exp $
-.TH curs_util 3X 2024-05-11 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: curs_util.3x,v 1.104 2024/05/25 20:10:58 tom Exp $
+.TH curs_util 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.RS 3
.TP 5
\fBflushinp\fP
-returns an error if the terminal was not initialized.
+returns
+.B ERR
+if the terminal was not initialized.
.TP 5
\fBputwin\fP
-returns an error if the associated \fBfwrite\fP calls return an error.
+returns
+.B ERR
+if the associated \fBfwrite\fP calls return
+.BR ERR "."
.RE
.SH PORTABILITY
.SS filter
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_window.3x,v 1.48 2024/04/20 21:20:07 tom Exp $
-.TH curs_window 3X 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
-.de bP
-.ie n .IP \(bu 4
-.el .IP \(bu 2
-..
+.\" $Id: curs_window.3x,v 1.50 2024/05/25 20:43:47 tom Exp $
+.TH curs_window 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.SH NAME
\fB\%newwin\fP,
\fB\%delwin\fP,
In this implementation
.TP 5
\fBdelwin\fP
-returns an error if the window pointer is null, or
+returns
+.B ERR
+if the window pointer is null, or
if the window is the parent of another window.
.TP 5
\fBderwin\fP
-returns an error if the parent window pointer is null, or
+returns
+.B ERR
+if the parent window pointer is null, or
if any of its ordinates or dimensions is negative, or
if the resulting window does not fit inside the parent window.
.TP 5
\fBdupwin\fP
-returns an error if the window pointer is null.
+returns
+.B ERR
+if the window pointer is null.
.IP
This implementation also maintains a list of windows,
and checks that the pointer passed to \fBdelwin\fP is one that
it created, returning an error if it was not..
.TP 5
\fBmvderwin\fP
-returns an error
+returns
+.B ERR
if the window pointer is null, or
if some part of the window would be placed off-screen.
.TP 5
\fBmvwin\fP
-returns an error
+returns
+.B ERR
if the window pointer is null, or
if the window is really a pad, or
if some part of the window would be placed off-screen.
if either the number of lines or columns is negative.
.TP 5
\fBsyncok\fP
-returns an error
+returns
+.B ERR
if the window pointer is null.
.TP 5
\fBsubwin\fP
-returns an error if the parent window pointer is null, or
+returns
+.B ERR
+if the parent window pointer is null, or
if any of its ordinates or dimensions is negative, or
if the resulting window does not fit inside the parent window.
.PP
.SH PORTABILITY
X/Open Curses, Issue 4 describes these functions.
.PP
-X/Open Curses states regarding \fBdelwin\fP:
-.bP
-It must delete subwindows before deleting their parent.
-.bP
-If \fBdelwin\fP is asked to delete a parent window,
-it can only succeed if the curses library keeps a list of the subwindows.
-SVr4 curses kept a count of the number of subwindows rather than a list.
-It simply returned \fBERR\fP when asked to delete a subwindow.
-Solaris X/Open curses does not even make that check,
-and will delete a parent window which still has subwindows.
-.bP
-Since release 4.0 (1996),
-\fI\%ncurses\fP maintains a list of windows for each screen,
-to ensure that a window has no subwindows before allowing deletion.
-.bP
-NetBSD copied this feature of \fI\%ncurses\fP in 2003.
-.br
-PDCurses follows the scheme used in Solaris X/Open curses.
-.SH BUGS
-The subwindow functions
-\fB\%subwin\fP,
-\fB\%derwin\fP,
-\fB\%mvderwin\fP,
-\fB\%wsyncup\fP,
-\fB\%wsyncdown\fP,
-\fB\%wcursyncup\fP,
-and
-\fB\%syncok\fP
-are flaky,
-incompletely implemented,
-and not well tested.
+Regarding
+.IR \%delwin ","
+X/Open Curses states that
+.RS
+.PP
+[t]he application must delete subwindows before deleting the main
+window.
+.RE
+.PP
+If
+.I \%delwin
+is asked to delete a parent window,
+it can succeed only if the
+.I curses
+library keeps a list of its subwindows.
+SVr4
+.I curses
+kept a count of the number of subwindows rather than a list.
+It simply returned
+.B ERR
+when asked to delete a subwindow.
+Solaris X/Open
+.I curses
+.RI ( \%xcurses )
+does not make even that check,
+and will delete a parent window that still has subwindows.
+.I \%PDCurses
+also behaves this way.
.PP
-System\ V's \fIcurses\fP documentation is unclear about what
-\fB\%wsyncup\fP and \fB\%wsyncdown\fP actually do.
+.I \%ncurses
+4.0 (1996) and later maintains a list of windows for each screen
+to ensure that a window has no subwindows before allowing its deletion.
+NetBSD
+.I curses
+has followed suit since 2003.
+.PP
+SVr4
+.I curses
+documentation is unclear about what
+.I \%wsyncup
+and
+.I \%wsyncdown
+actually do.
It seems to imply that they are supposed to touch only those lines that
are affected by changes to a window's ancestors.
-The language here,
-and behavior of \fI\%ncurses\fP,
+The description and behavior of these functions in
+.I \%ncurses
is patterned on the X/Open Curses standard;
this approach may result in slower updates.
.SH SEE ALSO
.\"
.\" Author: Thomas E. Dickey 1997
.\"
-.\" $Id: define_key.3x,v 1.44 2024/05/18 20:04:21 tom Exp $
-.TH define_key 3X 2024-05-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: define_key.3x,v 1.46 2024/05/25 20:15:04 tom Exp $
+.TH define_key 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.
.de bP
.ie n .IP \(bu 4
.I definition
of
.B NULL
-removes any existing one
+removes any existing binding from
.IR key-code "."
Similarly,
a non-positive
.I key-code
-removes any existing bindings for
-.IR definition "."
+removes an existing binding for
+.IR definition ","
+if any.
.SH RETURN VALUE
.B \%define_key
returns
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: form.3x,v 1.54 2024/03/16 15:35:01 tom Exp $
-.TH form 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: form.3x,v 1.56 2024/05/25 20:52:38 tom Exp $
+.TH form 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
..
.SH NAME
\fBform\fP \-
-curses extension for programming forms
+present user-fillable forms in \fIcurses\fP windows
.SH SYNOPSIS
.nf
\fB#include <form.h>
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: man_db.renames.in,v 1.74 2024/05/11 20:30:32 tom Exp $
+# $Id: man_db.renames.in,v 1.75 2024/05/25 20:26:02 tom Exp $
# Manual-page renamings for the man_db program
#
# Files:
wecho_wchar.3x wecho_wchar.3ncurses
wechochar.3x wechochar.3ncurses
wget_wch.3x wget_wch.3ncurses
+wget_wstr.3x wget_wstr.3ncurses
wgetch.3x wgetch.3ncurses
wgetstr.3x wgetstr.3ncurses
+win_wch.3x win_wch.3ncurses
winch.3x winch.3ncurses
wins_wch.3x wins_wch.3ncurses
winsch.3x winsch.3ncurses
-# $Id: manhtml.aliases,v 1.36 2024/05/11 21:52:17 tom Exp $
+# $Id: manhtml.aliases,v 1.37 2024/05/25 22:40:43 tom Exp $
#***************************************************************************
# Copyright 2019-2023,2024 Thomas E. Dickey *
# Copyright 2013,2017 Free Software Foundation, Inc. *
wecho_wchar(3X) curs_add_wch(3X)
wechochar(3X) curs_addch(3X)
wget_wch(3X) curs_get_wch(3X)
+wget_wstr(3X) curs_get_wstr(3X)
wgetch(3X) curs_getch(3X)
wgetstr(3X) curs_getstr(3X)
win_wch(3X) curs_in_wch(3X)
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: menu.3x,v 1.45 2024/03/16 15:35:01 tom Exp $
-.TH menu 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: menu.3x,v 1.47 2024/05/25 20:52:38 tom Exp $
+.TH menu 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
..
.SH NAME
\fBmenu\fP \-
-curses extension for programming menus
+present menus in \fIcurses\fP windows
.SH SYNOPSIS
.nf
\fB#include <menu.h>
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: ncurses.3x,v 1.217 2024/05/18 20:02:27 tom Exp $
-.TH ncurses 3X 2024-05-18 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: ncurses.3x,v 1.219 2024/05/25 20:57:45 tom Exp $
+.TH ncurses 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
.EE
.RE
.PP
-Most applications perform further setup as follows.
+Most applications would perform further setup as follows.
.PP
.RS 4
.EX
-intrflush(stdscr, FALSE);
+noqiflush();
keypad(stdscr, TRUE);
.EE
.RE
See \fB\%curs_pad\fP(3X).
.PP
Many terminals support configuration of character cell foreground and
-background colors as well as rendering
+background colors as well as
.IR attributes ","
-which cause characters to show up in such modes as
+which cause characters to render in such modes as
boldfaced,
underlined,
or in reverse video.
appears as a control character or a multibyte
.I "escape sequence."
.I curses
-translates the latter into unique
+can translate the latter into unique
.I "key codes."
-See \fB\%getch\fP(3X).
+See \fB\%keypad\fP(3X) and \fB\%getch\fP(3X).
.PP
.I \%ncurses
provides reimplementations of the SVr4 \fBpanel\fP(3X), \fBform\fP(3X),
and
.I \%LINES
variables may be specified independently.
+.I \%ncurses
+enforces an upper limit of 512 on each when reading the value.
This property is useful to circumvent misfeatures of legacy terminal
type descriptions;
\fI\%xterm\fP(1) descriptions specifying 65 lines were once notorious.
The default value of 1000
(one second)
is adequate for most uses.
-This environment variable overrides it.
+This environment variable overrides it;
+.I \%ncurses
+enforces an upper limit of 30,000
+(30 seconds)
+when reading the value.
.PP
The most common instance where you may wish to change this value
is to work with a remote host over a slow communication channel.
When
.I \%ncurses
is configured to use the GPM interface,
-this variable may list one or more terminal type names
+this variable may list one or more terminal type names,
+delimited by vertical bars
+.RB ( | )
+or colons
+.RB ( : ),
against which the
.I TERM
variable
that can gather color information from them when many colors are
supported.
.PP
-Some extensions are available only if
-.I \%ncurses
-permits modification of \fB\%unctrl\fP(3X)'s behavior;
-see \fB\%use_legacy_coding\fP(3X).
-.I \%ncurses
-is compiled to support them;
-section \*(``ALTERNATE CONFIGURATIONS\*('' describes how.
-.PP
.I \%ncurses
permits modification of \fB\%unctrl\fP(3X)'s behavior;
see \fB\%use_legacy_coding\fP(3X).
but does not finish the story.
A more complete account follows.
.bP
-Starting with 4BSD
-.I curses
-(1980)
-all implementations have provided a
+The first
+.IR curses ","
+in 4BSD,
+provided a
.I \%curses.h
file.
.IP
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: panel.3x,v 1.63 2024/03/16 15:35:01 tom Exp $
-.TH panel 3X 2024-03-16 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
+.\" $Id: panel.3x,v 1.65 2024/05/25 21:14:41 tom Exp $
+.TH panel 3X 2024-05-25 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
..
.SH NAME
panel \-
-panel stack extension for \fIcurses\fP
+manage overlapping \fIcurses\fP windows
.SH SYNOPSIS
.nf
\fB#include <panel.h>
an error is returned.
.PP
The \fB\%move_panel\fP function uses \fBmvwin\fP(3X),
-and returns an error if \fB\%mvwin\fP returns an error.
+and returns
+.B ERR
+if \fB\%mvwin\fP returns
+.BR ERR "."
.SH NOTES
The header file \fI\%panel.h\fP itself includes the header file
\fI\%curses.h\fP.
# Report bugs and new terminal descriptions to
# bug-ncurses@gnu.org
#
-# $Revision: 1.1143 $
-# $Date: 2024/03/09 20:01:40 $
+# $Revision: 1.1144 $
+# $Date: 2024/05/25 19:34:27 $
#
# 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
use=vt100+pfkeys, use=xterm+alt47, use=xterm+sl-twm,
use=xterm+x11mouse, use=xterm+256setaf, use=vt220+cvis,
-# iTerm2 3.0.15
+# iTerm2
#
# https://iterm2.com/
# https://github.com/gnachman/iTerm2
# ~/Library/Preferences/com.googlecode.iterm2.plist
# "iTerm" stalled in 2009. A different set of developers began "iTerm2".
#
+# iTerm2 3.5.0
+#
+# NOTES:
+# with esctest:
+# 365 tests passed, 196 known bugs, 2 tests fail intermittently
+# the known bugs include several of the cursor-movement tests
+# the ED, EL tests include those failing intermittently
+# DECCOLM, DECERA, DECSED, DECSERA and SPA do not work
+# most of the DECRPM, DECRQSS reports fail
+# with vttest:
+# reports primary DA as VT420
+# VT420 rectangular operations, as well as DECBI/DEVFI work with margins
+# SRM does not work
+# DECSED, and SPA do not work
+# REP and SD work, SL/SR/SU do not work
+# with tack:
+# status-line does not work
+#
+# The default settings have blinking-text and keypad-application mode disabled.
+# Enabling the latter make it half-working (numlock sends an escape character).
+# About half of the modified function-keys are untestable due to preassigned
+# features.
+#
+# iTerm2 3.5.0 comes with a 4-year-old copy of xterm's terminfo (June 2020),
+# which is modified:
+# + xterm-nrc and xterm+pcfN are removed
+# + the developer made changes to adapt it to the 16-year-old version of
+# ncurses bundled with MacOS, i.e., changing the mouse protocol to the
+# legacy X11 format and reducing the number of colors to 32k (in more than
+# one place). In the former case, the developer was confused about why that
+# was necessary. In the latter, the developer clearly misunderstood how the
+# tools work.
+# + vt420+lrmm is modified, removing smglr and corrupting mgc (again, developer
+# confusion).
+# + the developer added a couple of features, misnaming them as "xterm" blocks:
+# + a copy of kitty+setal renamed to xterm+setulc (and Setulc) is added, but
+# the feature is first mentioned in iTerm2 changes in May 2020, while
+# it is first mention in kitty changes in December 2016.
+# + Smulx is added
+#
+# iTerm2 3.4.0
+#
+# NOTES:
+# with esctest:
+# 293 tests pass, 270 tests fail
+# with tack:
+# minor improvements which do not alter the terminfo
+#
+# iTerm2 3.0.15
+#
# NOTES:
# with vttest:
# reports primary DA as VT100 with AVO: \E[?1;2c
rs2=\E[!p\E[?3;4l\E[4l\E>\E[?1000l,
sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?
%p5%t;2%;m%?%p9%t\016%e\017%;,
- kDN3=\E\E[B, kDN4=\E[1;10B, kDN5=\E[1;5B, kDN6=\E[1;6B,
- kEND3=\E[1;9F, kEND4=\E[1;10F, kEND6=\E[1;6F,
- kEND7=\E[1;13F, kEND8=\E[1;14F, kHOM3=\E[1;9H,
- kHOM4=\E[1;10H, kHOM6=\E[1;6H, kHOM7=\E[1;13H,
- kHOM8=\E[1;14H, kLFT3=\E\E[D, kLFT4=\E[1;10D,
- kLFT5=\E[1;5D, kLFT6=\E[1;6D, kNXT3=\E\E[6~,
- kPRV3=\E\E[5~, kRIT3=\E\E[C, kRIT4=\E[1;10C,
- kRIT5=\E[1;5C, kRIT6=\E[1;6C, kUP3=\E\E[A, kUP4=\E[1;10A,
- kUP5=\E[1;5A, kUP6=\E[1;6A, use=ecma+index,
- use=xterm+alt+title, use=ecma+italics, use=iterm,
- use=bracketed+paste,
+ Smulx=\E[4:%p1%dm, kDN3=\E\E[B, kDN4=\E[1;10B,
+ kDN5=\E[1;5B, kDN6=\E[1;6B, kEND3=\E[1;9F,
+ kEND4=\E[1;10F, kEND6=\E[1;6F, kEND7=\E[1;13F,
+ kEND8=\E[1;14F, kHOM3=\E[1;9H, kHOM4=\E[1;10H,
+ kHOM6=\E[1;6H, kHOM7=\E[1;13H, kHOM8=\E[1;14H,
+ kLFT3=\E\E[D, kLFT4=\E[1;10D, kLFT5=\E[1;5D,
+ kLFT6=\E[1;6D, kNXT3=\E\E[6~, kPRV3=\E\E[5~,
+ kRIT3=\E\E[C, kRIT4=\E[1;10C, kRIT5=\E[1;5C,
+ kRIT6=\E[1;6C, kUP3=\E\E[A, kUP4=\E[1;10A, kUP5=\E[1;5A,
+ kUP6=\E[1;6A, use=ecma+index, use=xterm+alt+title,
+ use=ecma+italics, use=iterm, use=bracketed+paste,
+ use=kitty+setal,
# xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
#
# + modify xgterm to work around line-drawing bug -TD
# + use CSI 3J in vte-2017 (report by Sven Joachim)
#
+# 2024-05-25
+# + review/update iTerm2 for 3.5.0 -TD
+#
######## SHANTIH! SHANTIH! SHANTIH!
/****************************************************************************
- * Copyright 2018-2022,2023 Thomas E. Dickey *
+ * Copyright 2018-2023,2024 Thomas E. Dickey *
* Copyright 1998-2016,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
#define CUR SP_TERMTYPE
#endif
-MODULE_ID("$Id: lib_color.c,v 1.150 2023/09/16 16:39:15 tom Exp $")
+MODULE_ID("$Id: lib_color.c,v 1.151 2024/05/25 23:10:42 tom Exp $")
#ifdef USE_TERM_DRIVER
#define CanChange InfoOf(SP_PARM).canchange
if (sp->_color_pairs == 0) {
TYPE_CALLOC(colorpair_t, have, sp->_color_pairs);
} else if (have > sp->_pair_alloc) {
-#if NCURSES_EXT_COLORS
+#if NCURSES_EXT_COLORS && NCURSES_EXT_FUNCS
colorpair_t *next;
if ((next = typeCalloc(colorpair_t, have)) == 0)
}
#endif
-#if NCURSES_EXT_COLORS
+#if NCURSES_EXT_COLORS && NCURSES_EXT_FUNCS
NCURSES_EXPORT(int)
NCURSES_SP_NAME(init_extended_pair) (NCURSES_SP_DCLx int pair, int f, int b)
{
/****************************************************************************
- * Copyright 2018-2020,2021 Thomas E. Dickey *
+ * Copyright 2018-2021,2024 Thomas E. Dickey *
* Copyright 2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
/*
* Common type definitions and macros for new_pair.c, lib_color.c
*
- * $Id: new_pair.h,v 1.13 2021/09/24 17:52:01 tom Exp $
+ * $Id: new_pair.h,v 1.14 2024/05/25 23:10:33 tom Exp $
*/
#ifndef NEW_PAIR_H
#define ValidPair(sp,pair) \
((sp != 0) && (pair >= 0) && (pair < sp->_pair_limit) && sp->_coloron)
-#if NCURSES_EXT_COLORS
+#if NCURSES_EXT_FUNCS && NCURSES_EXT_COLORS
extern NCURSES_EXPORT(void) _nc_copy_pairs(SCREEN*, colorpair_t*, colorpair_t*, int);
extern NCURSES_EXPORT(void) _nc_free_ordered_pairs(SCREEN*);
extern NCURSES_EXPORT(void) _nc_reset_color_pair(SCREEN*, int, colorpair_t*);
#define NEW_PAIR_INTERNAL 1
#include <curses.priv.h>
-MODULE_ID("$Id: report_offsets.c,v 1.28 2024/02/24 15:59:09 tom Exp $")
+MODULE_ID("$Id: report_offsets.c,v 1.29 2024/05/25 23:00:26 tom Exp $")
#define show_size(type) \
flag = 0; \
show_REENTR(SCREEN, _ttytype);
show_SPFUNC(SCREEN, use_tioctl);
show_WIDECH(SCREEN, _screen_acs_fix);
+#if NCURSES_EXT_FUNCS && NCURSES_EXT_COLORS
show_COLORS(SCREEN, _ordered_pairs);
+#endif
show_TRACES(SCREEN, tracechr_buf);
printf("\n");
#include <curses.priv.h>
-MODULE_ID("$Id: lib_raw.c,v 1.30 2024/03/30 15:54:17 tom Exp $")
+MODULE_ID("$Id: lib_raw.c,v 1.31 2024/05/25 20:18:20 Branden.Robinson Exp $")
#if HAVE_SYS_TERMIO_H
#include <sys/termio.h> /* needed for ISC */
}
#endif
-/*
- * Note:
- * this implementation may be wrong. See the comment under intrflush().
- */
NCURSES_EXPORT(void)
NCURSES_SP_NAME(qiflush) (NCURSES_SP_DCL0)
{
#endif
/*
- * This call does the same thing as the qiflush()/noqiflush() pair. We know
- * for certain that SVr3 intrflush() tweaks the NOFLSH bit; on the other hand,
- * the match (in the SVr4 man pages) between the language describing NOFLSH in
- * termio(7) and the language describing qiflush()/noqiflush() in
- * curs_inopts(3x) is too exact to be coincidence.
+ * This call does the same thing as the qiflush()/noqiflush() pair.
*/
NCURSES_EXPORT(int)
NCURSES_SP_NAME(intrflush) (NCURSES_SP_DCLx WINDOW *win GCC_UNUSED, bool flag)
-ncurses6 (6.5+20240519) unstable; urgency=low
+ncurses6 (6.5+20240525) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 19 May 2024 04:58:02 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 May 2024 06:33:51 -0400
ncurses6 (5.9+20131005) unstable; urgency=low
-ncurses6 (6.5+20240519) unstable; urgency=low
+ncurses6 (6.5+20240525) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 19 May 2024 04:58:02 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 May 2024 06:33:51 -0400
ncurses6 (5.9+20131005) unstable; urgency=low
-ncurses6 (6.5+20240519) unstable; urgency=low
+ncurses6 (6.5+20240525) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sun, 19 May 2024 04:58:02 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 25 May 2024 06:33:51 -0400
ncurses6 (5.9+20120608) unstable; urgency=low
-; $Id: mingw-ncurses.nsi,v 1.649 2024/05/19 08:58:02 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.650 2024/05/25 10:33:51 tom Exp $\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "5"\r
!define VERSION_YYYY "2024"\r
-!define VERSION_MMDD "0519"\r
+!define VERSION_MMDD "0525"\r
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
\r
!define MY_ABI "5"\r
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.5
-Release: 20240519
+Release: 20240525
License: X11
Group: Development/Libraries
URL: https://invisible-island.net/ncurses/
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.5
-Release: 20240519
+Release: 20240525
License: X11
Group: Development/Libraries
URL: https://invisible-island.net/ncurses/
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.5
-Release: 20240519
+Release: 20240525
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz