2014-10-20 10:46:47 +02:00
|
|
|
---
|
2021-03-22 10:15:07 +01:00
|
|
|
aclocal.m4 | 40 ++++++++--------
|
|
|
|
configure | 42 +++++++++-------
|
2021-03-25 11:27:02 +01:00
|
|
|
include/curses.h.in | 5 +-
|
2014-10-20 10:46:47 +02:00
|
|
|
include/termcap.h.in | 2
|
|
|
|
include/tic.h | 4 -
|
|
|
|
man/man_db.renames | 2
|
|
|
|
man/ncurses.3x | 4 +
|
2021-03-22 10:15:07 +01:00
|
|
|
misc/gen-pkgconfig.in | 8 +++
|
2021-02-22 10:10:27 +01:00
|
|
|
misc/terminfo.src | 107 ++++++++++++++++++++++++++++++++++++-------
|
2014-10-20 10:46:47 +02:00
|
|
|
ncurses/Makefile.in | 2
|
|
|
|
ncurses/curses.priv.h | 2
|
2021-03-22 10:15:07 +01:00
|
|
|
ncurses/run_cmd.sh | 11 ++++
|
|
|
|
ncurses/tinfo/MKfallback.sh | 10 +++-
|
|
|
|
ncurses/tinfo/access.c | 28 +++++++++++
|
|
|
|
ncurses/tinfo/lib_setup.c | 3 +
|
2014-10-20 10:46:47 +02:00
|
|
|
ncurses/tinfo/read_entry.c | 2
|
2021-03-22 10:15:07 +01:00
|
|
|
ncurses/tinfo/read_termcap.c | 21 +++++---
|
2017-08-01 10:50:29 +02:00
|
|
|
progs/Makefile.in | 4 -
|
2014-10-20 10:46:47 +02:00
|
|
|
test/test.priv.h | 4 -
|
2021-03-22 10:15:07 +01:00
|
|
|
test/tracemunch | 2
|
2021-03-25 11:27:02 +01:00
|
|
|
20 files changed, 233 insertions(+), 70 deletions(-)
|
2014-10-20 10:46:47 +02:00
|
|
|
|
2011-03-04 16:47:46 +01:00
|
|
|
--- aclocal.m4
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ aclocal.m4 2021-03-25 07:31:47.855523893 +0000
|
2020-10-26 12:01:46 +01:00
|
|
|
@@ -639,7 +639,7 @@ AC_CHECK_SIZEOF(bool,,[
|
|
|
|
AC_CACHE_CHECK(for type of bool, cf_cv_type_of_bool,[
|
2011-03-04 16:47:46 +01:00
|
|
|
rm -f cf_test.out
|
|
|
|
AC_TRY_RUN([
|
|
|
|
-#include <stdlib.h>
|
|
|
|
+//#include <stdlib.h> // conflict with exit declaration
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5637,12 +5637,15 @@ cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
echo "? missing rename for \$cf_source"
|
2011-03-04 16:47:46 +01:00
|
|
|
cf_target="\$cf_source"
|
|
|
|
fi
|
|
|
|
- cf_target="\$cf_subdir\${section}/\${cf_target}"
|
|
|
|
-
|
|
|
|
CF_EOF
|
|
|
|
fi
|
|
|
|
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
|
|
|
+for t in \$cf_target; do
|
|
|
|
+ t="\$cf_subdir\${section}/\${t}"
|
|
|
|
+CF_EOF
|
|
|
|
+
|
|
|
|
+cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
sed -f "$cf_man_alias" \\
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5652,7 +5655,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
else
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
- < "\$i" >\$TMP
|
|
|
|
+ < "\$i" | sed -f $srcdir/edit_man.sed >\$TMP
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
fi
|
|
|
|
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5692,7 +5695,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
mv \$TMP.$cf_so_strip \$TMP
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
- cf_target="\$cf_target.$cf_so_strip"
|
|
|
|
+ t="\$t.$cf_so_strip"
|
|
|
|
CF_EOF
|
|
|
|
fi
|
|
|
|
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5701,23 +5704,23 @@ case "$MANPAGE_FORMAT" in
|
2011-03-04 16:47:46 +01:00
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
if test "\$form" = format ; then
|
2011-03-04 16:47:46 +01:00
|
|
|
# BSDI installs only .0 suffixes in the cat directories
|
2021-01-11 10:55:35 +01:00
|
|
|
- cf_target="\`echo \$cf_target|sed -e 's/\\.[[1-9]]\\+[[a-z]]*/.0/'\`"
|
2011-03-04 16:47:46 +01:00
|
|
|
+ t="\`echo \$t|sed -e 's/\.[[1-9]]\+[[a-z]]*/.0/'\`"
|
|
|
|
fi
|
|
|
|
CF_EOF
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
- suffix=\`basename "\$cf_target" | sed -e 's%^[[^.]]*%%'\`
|
|
|
|
+ suffix=\`basename "\$t" | sed -e 's%^[[^.]]*%%'\`
|
|
|
|
if test "\$verb" = installing ; then
|
|
|
|
- echo "\$verb \$cf_target"
|
|
|
|
- \$INSTALL_DATA \$TMP "\$cf_target"
|
|
|
|
+ echo "\$verb \$t"
|
|
|
|
+ \$INSTALL_DATA \$TMP "\$t"
|
|
|
|
test -d "\$cf_subdir\${section}" &&
|
2011-03-04 16:47:46 +01:00
|
|
|
test -n "\$aliases" && (
|
2021-01-11 10:55:35 +01:00
|
|
|
cd "\$cf_subdir\${section}" && (
|
|
|
|
- cf_source=\`echo "\$cf_target" |sed -e 's%^.*/\\([[^/]][[^/]]*/[[^/]][[^/]]*$\\)%\\1%'\`
|
|
|
|
+ cf_source=\`echo "\$t" |sed -e 's%^.*/\\([[^/]][[^/]]*/[[^/]][[^/]]*$\\)%\\1%'\`
|
|
|
|
test -n "$cf_so_strip" && cf_source=\`echo "\$cf_source" |sed -e 's%\\.$cf_so_strip\$%%'\`
|
|
|
|
- cf_target=\`basename "\$cf_target"\`
|
|
|
|
+ t=\`basename "\$t"\`
|
2011-03-04 16:47:46 +01:00
|
|
|
for cf_alias in \$aliases
|
|
|
|
do
|
2021-01-11 10:55:35 +01:00
|
|
|
if test "\$section" = 1 ; then
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5726,7 +5729,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
if test "$MANPAGE_SYMLINKS" = yes ; then
|
2021-01-11 10:55:35 +01:00
|
|
|
if test -f "\$cf_alias\${suffix}" ; then
|
|
|
|
- if ( cmp -s "\$cf_target" "\$cf_alias\${suffix}" )
|
|
|
|
+ if ( cmp -s "\$t" "\$cf_alias\${suffix}" )
|
2011-03-04 16:47:46 +01:00
|
|
|
then
|
|
|
|
continue
|
|
|
|
fi
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5736,18 +5739,18 @@ CF_EOF
|
2015-04-27 13:55:22 +02:00
|
|
|
case "x$LN_S" in
|
|
|
|
(*-f)
|
2011-03-04 16:47:46 +01:00
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
- $LN_S "\$cf_target" "\$cf_alias\${suffix}"
|
|
|
|
+ $LN_S "\$t" "\$cf_alias\${suffix}"
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
;;
|
2015-04-27 13:55:22 +02:00
|
|
|
(*)
|
2011-03-04 16:47:46 +01:00
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
rm -f "\$cf_alias\${suffix}"
|
|
|
|
- $LN_S "\$cf_target" "\$cf_alias\${suffix}"
|
|
|
|
+ $LN_S "\$t" "\$cf_alias\${suffix}"
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
|
|
|
- elif test "\$cf_target" != "\$cf_alias\${suffix}" ; then
|
|
|
|
+ elif test "\$t" != "\$cf_alias\${suffix}" ; then
|
|
|
|
echo ".so \$cf_source" >\$TMP
|
|
|
|
CF_EOF
|
|
|
|
if test -n "$cf_compress" ; then
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5767,9 +5770,9 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
)
|
|
|
|
)
|
2021-01-11 10:55:35 +01:00
|
|
|
elif test "\$verb" = removing ; then
|
|
|
|
- test -f "\$cf_target" && (
|
|
|
|
- echo "\$verb \$cf_target"
|
|
|
|
- rm -f "\$cf_target"
|
|
|
|
+ test -f "\$t" && (
|
|
|
|
+ echo "\$verb \$t"
|
|
|
|
+ rm -f "\$t"
|
2011-03-04 16:47:46 +01:00
|
|
|
)
|
2021-01-11 10:55:35 +01:00
|
|
|
test -d "\$cf_subdir\${section}" &&
|
2011-03-04 16:47:46 +01:00
|
|
|
test -n "\$aliases" && (
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -5789,6 +5792,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
# echo ".hy 0"
|
|
|
|
cat \$TMP
|
|
|
|
fi
|
|
|
|
+done
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
--- configure
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ configure 2021-03-25 07:31:47.859523818 +0000
|
|
|
|
@@ -5837,7 +5837,7 @@ echo $ECHO_N "checking for an rpath opti
|
2018-08-27 10:02:18 +02:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
(linux*|gnu*|k*bsd*-gnu|freebsd*)
|
|
|
|
- LD_RPATH_OPT="-Wl,-rpath,"
|
|
|
|
+ LD_RPATH_OPT="-Wl,-rpath-link,"
|
|
|
|
;;
|
|
|
|
(openbsd[2-9].*|mirbsd*)
|
|
|
|
LD_RPATH_OPT="-Wl,-rpath,"
|
2021-03-25 11:27:02 +01:00
|
|
|
@@ -7439,7 +7439,7 @@ echo "${ECHO_T}$with_pcre2" >&6
|
2021-02-08 14:52:37 +01:00
|
|
|
|
|
|
|
if test "x$with_pcre2" != xno ; then
|
|
|
|
cf_with_pcre2_ok=no
|
|
|
|
- for cf_with_pcre2 in libpcre2 libpcre2-posix libpcre
|
|
|
|
+ for cf_with_pcre2 in libpcre2 libpcre2-8 libpcre2-posix libpcre
|
|
|
|
do
|
|
|
|
|
|
|
|
if test "$PKG_CONFIG" != none && "$PKG_CONFIG" --exists "$cf_with_pcre2"; then
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14481,12 +14481,15 @@ cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
echo "? missing rename for \$cf_source"
|
2011-03-04 16:47:46 +01:00
|
|
|
cf_target="\$cf_source"
|
|
|
|
fi
|
|
|
|
- cf_target="\$cf_subdir\${section}/\${cf_target}"
|
|
|
|
-
|
|
|
|
CF_EOF
|
|
|
|
fi
|
|
|
|
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
|
|
|
+for t in \$cf_target; do
|
|
|
|
+ t="\$cf_subdir\${section}/\${t}"
|
|
|
|
+CF_EOF
|
|
|
|
+
|
|
|
|
+cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
sed -f "$cf_man_alias" \\
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14496,7 +14499,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
else
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
- < "\$i" >\$TMP
|
|
|
|
+ < "\$i" | sed -f $srcdir/edit_man.sed >\$TMP
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
fi
|
|
|
|
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14536,7 +14539,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
mv \$TMP.$cf_so_strip \$TMP
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
- cf_target="\$cf_target.$cf_so_strip"
|
|
|
|
+ t="\$t.$cf_so_strip"
|
|
|
|
CF_EOF
|
|
|
|
fi
|
|
|
|
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14545,23 +14548,23 @@ case "$MANPAGE_FORMAT" in
|
2011-03-04 16:47:46 +01:00
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
if test "\$form" = format ; then
|
2011-03-04 16:47:46 +01:00
|
|
|
# BSDI installs only .0 suffixes in the cat directories
|
2021-01-11 10:55:35 +01:00
|
|
|
- cf_target="\`echo \$cf_target|sed -e 's/\\.[1-9]\\+[a-z]*/.0/'\`"
|
|
|
|
+ t="\`echo \$t|sed -e 's/\\.[1-9]\\+[a-z]*/.0/'\`"
|
2011-03-04 16:47:46 +01:00
|
|
|
fi
|
|
|
|
CF_EOF
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
- suffix=\`basename "\$cf_target" | sed -e 's%^[^.]*%%'\`
|
|
|
|
+ suffix=\`basename "\$t" | sed -e 's%^[^.]*%%'\`
|
|
|
|
if test "\$verb" = installing ; then
|
|
|
|
- echo "\$verb \$cf_target"
|
|
|
|
- \$INSTALL_DATA \$TMP "\$cf_target"
|
|
|
|
+ echo "\$verb \$t"
|
|
|
|
+ \$INSTALL_DATA \$TMP "\$t"
|
|
|
|
test -d "\$cf_subdir\${section}" &&
|
2011-03-04 16:47:46 +01:00
|
|
|
test -n "\$aliases" && (
|
2021-01-11 10:55:35 +01:00
|
|
|
cd "\$cf_subdir\${section}" && (
|
|
|
|
- cf_source=\`echo "\$cf_target" |sed -e 's%^.*/\\([^/][^/]*/[^/][^/]*$\\)%\\1%'\`
|
|
|
|
+ cf_source=\`echo "\$t" |sed -e 's%^.*/\\([^/][^/]*/[^/][^/]*$\\)%\\1%'\`
|
|
|
|
test -n "$cf_so_strip" && cf_source=\`echo "\$cf_source" |sed -e 's%\\.$cf_so_strip\$%%'\`
|
|
|
|
- cf_target=\`basename "\$cf_target"\`
|
|
|
|
+ t=\`basename "\$t"\`
|
2011-03-04 16:47:46 +01:00
|
|
|
for cf_alias in \$aliases
|
|
|
|
do
|
2021-01-11 10:55:35 +01:00
|
|
|
if test "\$section" = 1 ; then
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14570,7 +14573,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
if test "$MANPAGE_SYMLINKS" = yes ; then
|
2021-01-11 10:55:35 +01:00
|
|
|
if test -f "\$cf_alias\${suffix}" ; then
|
|
|
|
- if ( cmp -s "\$cf_target" "\$cf_alias\${suffix}" )
|
|
|
|
+ if ( cmp -s "\$t" "\$cf_alias\${suffix}" )
|
2011-03-04 16:47:46 +01:00
|
|
|
then
|
|
|
|
continue
|
|
|
|
fi
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14580,18 +14583,18 @@ CF_EOF
|
2015-04-27 13:55:22 +02:00
|
|
|
case "x$LN_S" in
|
|
|
|
(*-f)
|
2011-03-04 16:47:46 +01:00
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
- $LN_S "\$cf_target" "\$cf_alias\${suffix}"
|
|
|
|
+ $LN_S "\$t" "\$cf_alias\${suffix}"
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
;;
|
2015-04-27 13:55:22 +02:00
|
|
|
(*)
|
2011-03-04 16:47:46 +01:00
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
2021-01-11 10:55:35 +01:00
|
|
|
rm -f "\$cf_alias\${suffix}"
|
|
|
|
- $LN_S "\$cf_target" "\$cf_alias\${suffix}"
|
|
|
|
+ $LN_S "\$t" "\$cf_alias\${suffix}"
|
2011-03-04 16:47:46 +01:00
|
|
|
CF_EOF
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
cat >>$cf_edit_man <<CF_EOF
|
|
|
|
- elif test "\$cf_target" != "\$cf_alias\${suffix}" ; then
|
|
|
|
+ elif test "\$t" != "\$cf_alias\${suffix}" ; then
|
|
|
|
echo ".so \$cf_source" >\$TMP
|
|
|
|
CF_EOF
|
|
|
|
if test -n "$cf_compress" ; then
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14611,9 +14614,9 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
)
|
|
|
|
)
|
2021-01-11 10:55:35 +01:00
|
|
|
elif test "\$verb" = removing ; then
|
|
|
|
- test -f "\$cf_target" && (
|
|
|
|
- echo "\$verb \$cf_target"
|
|
|
|
- rm -f "\$cf_target"
|
|
|
|
+ test -f "\$t" && (
|
|
|
|
+ echo "\$verb \$t"
|
|
|
|
+ rm -f "\$t"
|
2011-03-04 16:47:46 +01:00
|
|
|
)
|
2021-01-11 10:55:35 +01:00
|
|
|
test -d "\$cf_subdir\${section}" &&
|
2011-03-04 16:47:46 +01:00
|
|
|
test -n "\$aliases" && (
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -14633,6 +14636,7 @@ cat >>$cf_edit_man <<CF_EOF
|
2011-03-04 16:47:46 +01:00
|
|
|
# echo ".hy 0"
|
|
|
|
cat \$TMP
|
|
|
|
fi
|
|
|
|
+done
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
--- include/curses.h.in
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ include/curses.h.in 2021-03-25 07:31:47.871523593 +0000
|
|
|
|
@@ -69,7 +69,7 @@
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#else
|
|
|
|
-#if @HAVE_STDNORETURN_H@
|
|
|
|
+#if 0
|
|
|
|
#include <stdnoreturn.h>
|
|
|
|
#undef GCC_NORETURN
|
|
|
|
#define GCC_NORETURN _Noreturn
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -198,6 +198,9 @@ typedef @cf_cv_typeof_chtype@ chtype;
|
2014-03-26 14:47:39 +01:00
|
|
|
typedef @cf_cv_typeof_mmask_t@ mmask_t;
|
2011-03-04 16:47:46 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
+#include <features.h>
|
|
|
|
+#include <sys/types.h>
|
|
|
|
+
|
|
|
|
/*
|
|
|
|
* We need FILE, etc. Include this before checking any feature symbols.
|
|
|
|
*/
|
|
|
|
--- include/termcap.h.in
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ include/termcap.h.in 2021-03-25 07:31:47.863523743 +0000
|
2020-02-12 12:30:22 +01:00
|
|
|
@@ -47,6 +47,8 @@ extern "C"
|
2011-03-04 16:47:46 +01:00
|
|
|
{
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
+#include <features.h>
|
|
|
|
+#include <termios.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
2018-04-11 13:50:27 +02:00
|
|
|
#undef NCURSES_OSPEED
|
2011-03-04 16:47:46 +01:00
|
|
|
--- include/tic.h
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ include/tic.h 2021-03-25 07:31:47.863523743 +0000
|
2020-02-12 12:30:22 +01:00
|
|
|
@@ -237,12 +237,12 @@ struct user_table_entry
|
2012-05-31 14:28:59 +02:00
|
|
|
*/
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
/* out-of-band values for representing absent capabilities */
|
|
|
|
-#define ABSENT_BOOLEAN ((signed char)-1) /* 255 */
|
|
|
|
+#define ABSENT_BOOLEAN (-1) /* 255 */
|
|
|
|
#define ABSENT_NUMERIC (-1)
|
|
|
|
#define ABSENT_STRING (char *)0
|
|
|
|
|
|
|
|
/* out-of-band values for representing cancels */
|
|
|
|
-#define CANCELLED_BOOLEAN ((signed char)-2) /* 254 */
|
|
|
|
+#define CANCELLED_BOOLEAN (-2) /* 254 */
|
|
|
|
#define CANCELLED_NUMERIC (-2)
|
|
|
|
#define CANCELLED_STRING (char *)(-1)
|
|
|
|
|
|
|
|
--- man/man_db.renames
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ man/man_db.renames 2021-03-25 07:31:47.863523743 +0000
|
2020-02-12 12:30:22 +01:00
|
|
|
@@ -164,6 +164,7 @@ term.7 term.7
|
2017-03-20 09:52:32 +01:00
|
|
|
term_variables.3x terminfo_variables.3ncurses
|
|
|
|
terminfo.5 terminfo.5
|
|
|
|
terminfo.\\\*n terminfo.5
|
2011-03-04 16:47:46 +01:00
|
|
|
+curs_terminfo.\\\*n terminfo.5
|
2017-03-20 09:52:32 +01:00
|
|
|
tic.1m tic.1
|
|
|
|
toe.1m toe.1
|
|
|
|
tput.1 tput.1
|
2020-02-12 12:30:22 +01:00
|
|
|
@@ -172,6 +173,7 @@ user_caps.5 user_caps.5
|
2019-08-12 10:21:35 +02:00
|
|
|
wresize.3x wresize.3ncurses
|
2011-03-04 16:47:46 +01:00
|
|
|
#
|
|
|
|
# Other:
|
2017-03-20 09:52:32 +01:00
|
|
|
+tack.1 tack.1
|
2011-03-04 16:47:46 +01:00
|
|
|
tack.1m tack.1
|
2017-03-20 09:52:32 +01:00
|
|
|
#
|
|
|
|
getty.1 getty.8
|
2011-03-04 16:47:46 +01:00
|
|
|
--- man/ncurses.3x
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ man/ncurses.3x 2021-03-25 07:31:47.863523743 +0000
|
2020-10-07 09:38:01 +02:00
|
|
|
@@ -139,6 +139,10 @@ after the shell environment variable \fB
|
2011-03-04 16:47:46 +01:00
|
|
|
[See \fBterminfo\fR(\*n) for further details.]
|
2015-08-17 14:39:03 +02:00
|
|
|
.SS Datatypes
|
2011-03-04 16:47:46 +01:00
|
|
|
.PP
|
|
|
|
+Beware: the terminal your program is running may or may not have
|
|
|
|
+the features you expect. Ncurses makes no attempt to check available
|
2015-08-17 14:39:03 +02:00
|
|
|
+features in advance. This is upon the programmer.
|
2011-03-04 16:47:46 +01:00
|
|
|
+.PP
|
|
|
|
The \fBncurses\fR library permits manipulation of data structures,
|
|
|
|
called \fIwindows\fR, which can be thought of as two-dimensional
|
|
|
|
arrays of characters representing all or part of a CRT screen.
|
2014-08-25 16:06:26 +02:00
|
|
|
--- misc/gen-pkgconfig.in
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ misc/gen-pkgconfig.in 2021-03-25 07:31:47.863523743 +0000
|
2020-03-09 10:38:17 +01:00
|
|
|
@@ -92,6 +92,9 @@ do
|
2020-01-07 10:48:33 +01:00
|
|
|
-specs*) # ignore linker specs-files which were used to build library
|
2019-11-15 14:17:21 +01:00
|
|
|
continue
|
|
|
|
;;
|
|
|
|
+ -Wl,--hash-size=*) # ignore hash as gold linker can not do
|
|
|
|
+ continue
|
|
|
|
+ ;;
|
|
|
|
-Wl,-z,*) # ignore flags used to manipulate shared image
|
|
|
|
continue
|
|
|
|
;;
|
2021-01-26 09:08:22 +01:00
|
|
|
@@ -183,6 +186,7 @@ do
|
2015-05-04 13:36:26 +02:00
|
|
|
LIBS="-l$name"
|
2014-08-25 16:06:26 +02:00
|
|
|
|
|
|
|
desc="ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@"
|
|
|
|
+ deps=
|
|
|
|
reqs=
|
|
|
|
|
2019-10-01 10:16:41 +02:00
|
|
|
if [ $name = $MAIN_LIBRARY ]; then
|
2021-01-26 09:08:22 +01:00
|
|
|
@@ -193,9 +197,11 @@ do
|
2014-08-25 16:06:26 +02:00
|
|
|
desc="$desc terminal interface library"
|
|
|
|
elif expr $name : ".*${CXX_NAME}.*" >/dev/null ; then
|
2014-12-16 12:21:56 +01:00
|
|
|
reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}"
|
2014-08-25 16:06:26 +02:00
|
|
|
+ deps="-l$PANEL_LIBRARY -l$MENU_LIBRARY -l$FORM_LIBRARY -l$MAIN_LIBRARY"
|
|
|
|
desc="$desc add-on library"
|
|
|
|
else
|
2014-12-16 12:21:56 +01:00
|
|
|
reqs="$MAIN_LIBRARY${suffix}"
|
2014-08-25 16:06:26 +02:00
|
|
|
+ deps="-l$MAIN_LIBRARY"
|
|
|
|
desc="$desc add-on library"
|
|
|
|
fi
|
|
|
|
|
2021-01-26 09:08:22 +01:00
|
|
|
@@ -205,6 +211,8 @@ do
|
2019-10-01 10:16:41 +02:00
|
|
|
[ $NEED_TINFO != yes ] ; then
|
|
|
|
[ -n "$reqs" ] && reqs="$reqs, "
|
2015-05-04 13:36:26 +02:00
|
|
|
reqs="${reqs}${SUB_LIBRARY}${suffix}"
|
2019-10-01 10:16:41 +02:00
|
|
|
+ [ -n "$deps" ] && deps="$deps "
|
2015-05-04 13:36:26 +02:00
|
|
|
+ deps="${deps}-l${SUB_LIBRARY}"
|
2014-08-25 16:06:26 +02:00
|
|
|
fi
|
|
|
|
|
2019-10-01 10:16:41 +02:00
|
|
|
if [ $name = $MAIN_LIBRARY ]
|
2011-03-04 16:47:46 +01:00
|
|
|
--- misc/terminfo.src
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ misc/terminfo.src 2021-03-25 07:31:47.867523668 +0000
|
2019-06-11 12:39:05 +02:00
|
|
|
@@ -305,7 +305,9 @@ dumb|80-column dumb tty,
|
2011-03-04 16:47:46 +01:00
|
|
|
am,
|
|
|
|
cols#80,
|
2017-04-24 10:26:33 +02:00
|
|
|
bel=^G, cr=\r, cud1=\n, ind=\n,
|
2011-03-04 16:47:46 +01:00
|
|
|
-unknown|unknown terminal type,
|
|
|
|
+unknown|switch|patch|unknown terminal type,
|
|
|
|
+ gn, use=dumb,
|
|
|
|
+net|network|arpanet|dialup|unknown network terminal type,
|
|
|
|
gn, use=dumb,
|
|
|
|
lpr|printer|line printer,
|
|
|
|
OTbs, hc, os,
|
2021-02-22 10:10:27 +01:00
|
|
|
@@ -1013,9 +1015,15 @@ linux-c|linux console 1.3.6+ for older n
|
2011-03-04 16:47:46 +01:00
|
|
|
# The 2.2.x kernels add a private mode that sets the cursor type; use that to
|
|
|
|
# get a block cursor for cvvis.
|
|
|
|
# reported by Frank Heckenbach <frank@g-n-u.de>.
|
|
|
|
+#
|
|
|
|
+# Do not use a block cursor, <werner@suse.de>
|
|
|
|
+# This because many programs do have a workaround for the long time
|
|
|
|
+# missed cvvis entry. A `\E[?1c' in civis will cause a visible but
|
|
|
|
+# zero high cusor ... re-add it for kernels 2.6.11+
|
|
|
|
+#
|
2011-11-18 13:03:18 +01:00
|
|
|
linux2.2|linux 2.2.x console,
|
2011-03-04 16:47:46 +01:00
|
|
|
civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c,
|
|
|
|
- cvvis=\E[?25h\E[?8c, use=linux-c-nc,
|
|
|
|
+ cvvis=\E[?25h\E[?0c, use=linux-c-nc,
|
|
|
|
|
2011-11-18 13:03:18 +01:00
|
|
|
# Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here:
|
2016-05-17 12:41:03 +02:00
|
|
|
# http://lkml.iu.edu/hypermail/linux/kernel/0602.2/0738.html
|
2021-02-22 10:10:27 +01:00
|
|
|
@@ -1048,6 +1056,7 @@ linux2.6|linux 2.6.x console,
|
2020-07-13 11:31:28 +02:00
|
|
|
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxy
|
|
|
|
yzz{{||}}~~,
|
2016-11-28 09:50:37 +01:00
|
|
|
enacs=\E)0, rmacs=^O,
|
2016-10-04 18:40:02 +02:00
|
|
|
+ cvvis=\E[?25h\E[?8c,
|
|
|
|
sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5
|
|
|
|
%t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;,
|
|
|
|
sgr0=\E[m\017, smacs=^N, use=linux2.2,
|
2021-02-22 10:10:27 +01:00
|
|
|
@@ -5347,8 +5356,26 @@ xterm-noapp|xterm with cursor keys in no
|
2011-03-04 16:47:46 +01:00
|
|
|
xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
|
2012-07-31 12:00:00 +02:00
|
|
|
lines#24, use=xterm-old,
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
+# For SuSE Linux: Werner Fink <werner@suse.de>
|
|
|
|
+# Note that the modern xterm does not use escape sequences
|
|
|
|
+# for the numbers on the numpad keys in case of switched
|
|
|
|
+# into application mode and with numlock enabled.
|
|
|
|
+# To test this, use `tput smkx' and `Ctrl-V + key stroke'
|
2012-07-31 12:00:00 +02:00
|
|
|
+xterm-suse|xterm terminal emulator (X.Org X11R7.7 Window System with SuSE LINUX),
|
2011-03-04 16:47:46 +01:00
|
|
|
+ kbs=\177, kdch1=\E[3~,
|
|
|
|
+ kDIV=\EOo, kMUL=\EOj, kMIN=\EOm, kPLS=\EOk,
|
|
|
|
+ kfnd=\E[1~, kslt=\E[4~,
|
|
|
|
+ use=xterm-new,
|
|
|
|
+
|
|
|
|
# This is xterm for ncurses.
|
|
|
|
xterm|xterm terminal emulator (X Window System),
|
|
|
|
+ use=xterm-suse,
|
|
|
|
+
|
|
|
|
+# xterm-debian is identical to xterm-new with the addition of a small
|
|
|
|
+# VT220-ism regarding the backspace and delete keys; this is mandated by
|
|
|
|
+# the keyboard configuration section of the Debian Policy Manual.
|
|
|
|
+xterm-debian|Debian xterm (backspace and delete changed),
|
|
|
|
+ kbs=\177, kdch1=\E[3~,
|
|
|
|
use=xterm-new,
|
|
|
|
|
|
|
|
# This entry assumes that xterm's handling of VT100 SI/SO is disabled by
|
2021-02-22 10:10:27 +01:00
|
|
|
@@ -5693,7 +5720,7 @@ xterms-sun|small (80x24) xterm with sunF
|
2011-03-04 16:47:46 +01:00
|
|
|
|
2011-11-18 13:03:18 +01:00
|
|
|
#### GNOME (VTE)
|
2011-03-04 16:47:46 +01:00
|
|
|
# this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
|
|
|
|
-gnome-rh62|Gnome terminal,
|
|
|
|
+gnome-rh62|Gnome terminal on Red Hat,
|
|
|
|
bce,
|
2017-04-24 10:26:33 +02:00
|
|
|
kdch1=^?, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
|
2011-03-04 16:47:46 +01:00
|
|
|
use=xterm-color,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -5965,10 +5992,14 @@ mgt|Multi GNOME Terminal,
|
2011-11-18 13:03:18 +01:00
|
|
|
#### KDE
|
2011-03-04 16:47:46 +01:00
|
|
|
# This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
|
|
|
|
# or not is debatable).
|
|
|
|
-kvt|KDE terminal,
|
|
|
|
+kvt-rh|KDE terminal,
|
|
|
|
bce, km@,
|
2017-04-24 10:26:33 +02:00
|
|
|
kdch1=^?, kend=\E[F, khome=\E[H, use=xterm-color,
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
+# This is kvt for SuSE because we do not support BrokenByDesign[tm].
|
2017-04-24 10:26:33 +02:00
|
|
|
+kvt|KDE terminal,
|
2018-01-29 11:58:22 +01:00
|
|
|
+ kdch1=\E[3~, use=kvt-rh,
|
2011-03-04 16:47:46 +01:00
|
|
|
+
|
2018-01-29 11:58:22 +01:00
|
|
|
# Konsole 1.0.1 (2001/11/25)
|
2011-03-04 16:47:46 +01:00
|
|
|
# (formerly known as kvt)
|
|
|
|
#
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -6220,7 +6251,7 @@ mlterm3|multi lingual terminal emulator,
|
2014-03-26 14:47:39 +01:00
|
|
|
mlterm2|multi lingual terminal emulator,
|
2011-03-04 16:47:46 +01:00
|
|
|
am, eslok, km, mc5i, mir, msgr, npc, xenl, XT,
|
|
|
|
colors#8, cols#80, it#8, lines#24, pairs#64,
|
|
|
|
- acsc=00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
|
|
|
+ acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
2021-02-01 09:55:32 +01:00
|
|
|
bel=^G, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=\r,
|
2011-03-04 16:47:46 +01:00
|
|
|
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
|
2017-04-24 10:26:33 +02:00
|
|
|
cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -6297,7 +6328,7 @@ rxvt-basic|rxvt terminal base (X Window
|
2016-11-28 09:50:37 +01:00
|
|
|
enacs=\E(B\E)0, flash=\E[?5h$<100/>\E[?5l, home=\E[H,
|
2019-11-11 10:42:33 +01:00
|
|
|
ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
|
|
|
|
ind=\n, is1=\E[?47l\E=\E[?1l,
|
2011-03-04 16:47:46 +01:00
|
|
|
- is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^H,
|
2021-02-01 09:55:32 +01:00
|
|
|
+ is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^?,
|
|
|
|
kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
|
2011-03-04 16:47:46 +01:00
|
|
|
rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
|
|
|
|
rmul=\E[24m,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -6392,8 +6423,8 @@ rxvt-basic|rxvt terminal base (X Window
|
2011-03-04 16:47:46 +01:00
|
|
|
# Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
|
|
|
|
rxvt+pcfkeys|fragment for PC-style fkeys,
|
|
|
|
kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
|
|
|
|
- kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, kcub1=\E[D, kcud1=\E[B,
|
2021-02-22 10:10:27 +01:00
|
|
|
- kcuf1=\E[C, kcuu1=\E[A, kel=\E[8\^, kend=\E[8~, kf1=\E[11~,
|
2011-03-04 16:47:46 +01:00
|
|
|
+ kNXT=\E[6$, kPRV=\E[5$, kRIT=\E[c, kcub1=\EOD, kcud1=\EOB,
|
2021-02-22 10:10:27 +01:00
|
|
|
+ kcuf1=\EOC, kcuu1=\EOA, kel=\E[8\^, kend=\E[8~, kf1=\E[11~,
|
|
|
|
kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
|
|
|
|
kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
|
|
|
|
kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -6483,6 +6514,38 @@ rxvt-cygwin-native|rxvt terminal emulato
|
2016-11-21 10:01:44 +01:00
|
|
|
\302x\263y\363z\362{\343|\330~\376,
|
|
|
|
use=rxvt-cygwin,
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
+# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
|
2015-06-01 10:44:39 +02:00
|
|
|
+# Updated: Özgür Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
|
2011-03-04 16:47:46 +01:00
|
|
|
+# Updated: Marc Lehmann <pcg@goof.com>, 17 Feb 2005
|
|
|
|
+# Updated: Marc Lehmann <schmorp@schmorp.de>, 04 Nov 2008: change init/reset sequences
|
|
|
|
+#
|
|
|
|
+rxvt-unicode|rxvt-unicode terminal (X Window System),
|
|
|
|
+ bw, ccc, hs, mc5i, npc, btns#5, colors#88, lm#0, ncv#0, pairs#256,
|
|
|
|
+ acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
|
|
|
+ dsl=\E]2;\007, ech=\E[%p1%dX, enacs=, flash=\E[?5h$<20/>\E[?5l,
|
|
|
|
+ fsl=^G, indn=\E[%p1%dS,
|
|
|
|
+ initc=\E]4;%p1%d;rgb\:%p2%{65535}%*%{1000}%/%4.4X/%p3%{65535}%*%{1000}%/%4.4X/%p4%{65535}%*%{1000}%/%4.4X\E\\,
|
|
|
|
+ is1=\E[!p,
|
|
|
|
+ is2=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l,
|
|
|
|
+ kIC=\E2$, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, op=\E[39;49m,
|
|
|
|
+ rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l,
|
|
|
|
+ rmcup=\E[r\E[?1049l, rmkx=\E[?1l\E>, rs1=\Ec,
|
|
|
|
+ rs2=\E[r\E[m\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l,
|
|
|
|
+ s2ds=\E*B, s3ds=\E+B,
|
|
|
|
+ setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm,
|
|
|
|
+ setb=%?%p1%{7}%>%t\E[48;5;%p1%dm%e\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;,
|
|
|
|
+ setf=%?%p1%{7}%>%t\E[38;5;%p1%dm%e\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;,
|
|
|
|
+ sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
|
|
|
|
+ sgr0=\E[m\E(B, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
|
|
|
|
+ smcup=\E[?1049h, smkx=\E[?1h\E=,
|
|
|
|
+ tsl=\E]2;, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
|
|
|
|
+ use=rxvt-basic,
|
|
|
|
+
|
|
|
|
+rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System),
|
|
|
|
+ colors#256,
|
|
|
|
+ pairs#32767,
|
|
|
|
+ use=rxvt-unicode,
|
|
|
|
+
|
|
|
|
# This variant is supposed to work with rxvt 2.7.7 when compiled with
|
|
|
|
# NO_BRIGHTCOLOR defined. rxvt needs more work...
|
2015-06-01 10:44:39 +02:00
|
|
|
rxvt-16color|rxvt with 16 colors like aixterm,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -6547,7 +6610,7 @@ Eterm|Eterm-color|Eterm with xterm-style
|
2011-03-04 16:47:46 +01:00
|
|
|
home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
|
2019-11-11 10:42:33 +01:00
|
|
|
il=\E[%p1%dL, il1=\E[L, ind=\n, is1=\E[?47l\E>\E[?1l,
|
2011-03-04 16:47:46 +01:00
|
|
|
is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
|
|
|
|
- kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^H,
|
2017-04-24 10:26:33 +02:00
|
|
|
+ kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^?,
|
2011-03-04 16:47:46 +01:00
|
|
|
kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
|
|
|
|
mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
|
|
|
|
rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -7535,7 +7598,7 @@ pty|4bsd pseudo teletype,
|
2017-01-30 10:01:34 +01:00
|
|
|
# https://github.com/emacs-mirror/emacs/blob/master/lisp/term.el
|
|
|
|
#
|
2011-03-04 16:47:46 +01:00
|
|
|
# The codes supported by the term.el terminal emulation in GNU Emacs 19.30
|
|
|
|
-eterm|gnu emacs term.el terminal emulation,
|
|
|
|
+eterm-19|gnu emacs term.el terminal emulation,
|
|
|
|
am, mir, xenl,
|
|
|
|
cols#80, lines#24,
|
2017-04-24 10:26:33 +02:00
|
|
|
bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=\r,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -7548,6 +7611,13 @@ eterm|gnu emacs term.el terminal emulati
|
2011-03-04 16:47:46 +01:00
|
|
|
rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
|
|
|
|
sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
|
|
|
|
smul=\E[4m,
|
|
|
|
+eterm|emacs|gnu emacs term.el terminal emulation,
|
|
|
|
+ colors#8, pairs#64,
|
|
|
|
+ invis=\E[8m, kcub1=\EOD, kcud1=\EOB,
|
|
|
|
+ kcuf1=\EOC, kcuu1=\EOA, kend=\E[4~,
|
|
|
|
+ khome=\E[1~, knp=\E[6~, kpp=\E[5~,
|
|
|
|
+ setab=\E[%p1%{40}%+%dm, setaf=\E[%p1%{30}%+%dm,
|
|
|
|
+ use=eterm-19,
|
|
|
|
|
|
|
|
# The codes supported by the term.el terminal emulation in GNU Emacs 22.2
|
|
|
|
eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -7675,7 +7745,7 @@ screen|VT 100/ANSI X3.64 virtual termina
|
2015-04-27 13:55:22 +02:00
|
|
|
dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
|
2018-01-22 15:25:00 +01:00
|
|
|
enacs=\E(B\E)0, flash=\Eg, home=\E[H, hpa=\E[%i%p1%dG,
|
|
|
|
ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
|
2019-08-12 10:21:35 +02:00
|
|
|
- ind=\n, indn=\E[%p1%dS, is2=\E)0, kbs=^H, kcbt=\E[Z,
|
|
|
|
+ ind=\n, indn=\E[%p1%dS, is2=\E)0, kbs=^?, kcbt=\E[Z,
|
2021-02-22 10:10:27 +01:00
|
|
|
kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP,
|
|
|
|
kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR,
|
|
|
|
kf4=\EOS, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -7795,6 +7865,13 @@ screen.xterm-xfree86|screen.xterm-new|sc
|
2018-01-22 15:25:00 +01:00
|
|
|
use=xterm+x11mouse, use=xterm-new,
|
2017-05-19 15:43:11 +02:00
|
|
|
#:screen.xterm|screen for modern xterm,
|
|
|
|
#: use=screen.xterm-new,
|
|
|
|
+screen.xterm|screen customized for modern xterm,
|
|
|
|
+ bce@, bw,
|
2018-11-12 15:54:59 +01:00
|
|
|
+ invis@, kIC@, kNXT@, kPRV@, meml@, memu@, rep@,
|
2017-05-19 15:43:11 +02:00
|
|
|
+ sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|
|
|
|
|
+ %t;7%;%?%p4%t;5%;%?%p5%t;2%;m,
|
2018-01-22 15:25:00 +01:00
|
|
|
+ E3@, use=screen+italics, use=screen+fkeys,
|
|
|
|
+ use=xterm+x11mouse, use=xterm-suse,
|
2017-05-19 15:43:11 +02:00
|
|
|
# xterm-r6 does not really support khome/kend unless it is propped up by
|
|
|
|
# the translations resource.
|
|
|
|
screen.xterm-r6|screen customized for X11R6 xterm,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -7882,7 +7959,7 @@ screen2|old VT 100/ANSI X3.64 virtual te
|
2011-03-04 16:47:46 +01:00
|
|
|
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
|
|
|
|
dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
|
|
|
|
el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
|
2017-04-24 10:26:33 +02:00
|
|
|
- il1=\E[L, ind=\n, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
|
|
|
|
+ il1=\E[L, ind=\n, kbs=^?, kcub1=\ED, kcud1=\EB, kcuf1=\EC,
|
2011-03-04 16:47:46 +01:00
|
|
|
kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
|
|
|
|
kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
|
2017-04-24 10:26:33 +02:00
|
|
|
nel=\r\n, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -9780,7 +9857,7 @@ hp700-wy|HP700/41 emulating wyse30,
|
2011-03-04 16:47:46 +01:00
|
|
|
ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
|
|
|
|
sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
|
|
|
|
smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
|
|
|
|
-hp70092|hp70092a|hp70092A|HP 700/92,
|
|
|
|
+hp70092|hp70092a|hp70092A|70092|HP 700/92,
|
|
|
|
am, da, db, xhp,
|
|
|
|
cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
|
|
|
|
acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -17427,7 +17504,7 @@ ibm3101|i3101|IBM 3101-10,
|
2011-03-04 16:47:46 +01:00
|
|
|
cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
|
2017-04-24 10:26:33 +02:00
|
|
|
el=\EI, home=\EH, hts=\E0, ind=\n, kcub1=\ED, kcud1=\EB,
|
|
|
|
kcuf1=\EC, kcuu1=\EA, nel=\r\n, tbc=\EH,
|
2011-03-04 16:47:46 +01:00
|
|
|
-ibm3151|IBM 3151 display,
|
|
|
|
+ibm3151|i3151|IBM 3151 display,
|
|
|
|
is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
|
2016-10-04 18:40:02 +02:00
|
|
|
sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;
|
|
|
|
%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -17685,7 +17762,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
|
2019-07-09 12:52:07 +02:00
|
|
|
tbc=\E[3g, use=ecma+index,
|
2012-06-26 12:51:01 +02:00
|
|
|
# "Megapel" refers to the display adapter, which was used with the IBM RT
|
|
|
|
# aka IBM 6150.
|
2011-03-04 16:47:46 +01:00
|
|
|
-ibm5081|hft|IBM Megapel Color display,
|
|
|
|
+ibm5081|ibmmpel|hft|IBM Megapel Color display,
|
|
|
|
acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B,
|
|
|
|
s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
|
|
|
|
ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
|
|
|
|
--- ncurses/Makefile.in
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/Makefile.in 2021-03-25 07:31:47.867523668 +0000
|
2020-09-15 09:57:21 +02:00
|
|
|
@@ -230,7 +230,7 @@ $(DESTDIR)$(libdir) :
|
2011-03-04 16:47:46 +01:00
|
|
|
../lib : ; mkdir $@
|
|
|
|
|
|
|
|
./fallback.c : $(tinfo)/MKfallback.sh
|
2020-08-18 09:05:39 +02:00
|
|
|
- $(SHELL) -e $(tinfo)/MKfallback.sh $(TERMINFO) $(TERMINFO_SRC) "$(TIC_PATH)" "$(INFOCMP_PATH)" $(FALLBACK_LIST) >$@
|
|
|
|
+ $(SHELL) -e $(srcdir)/run_cmd.sh $(tinfo)/MKfallback.sh $(TERMINFO) $(TERMINFO_SRC) "$(TIC_PATH)" "$(INFOCMP_PATH)" $(FALLBACK_LIST) >$@
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h
|
2015-08-17 14:39:03 +02:00
|
|
|
$(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
|
2011-03-04 16:47:46 +01:00
|
|
|
--- ncurses/curses.priv.h
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/curses.priv.h 2021-03-25 07:31:47.867523668 +0000
|
2020-09-15 09:57:21 +02:00
|
|
|
@@ -2277,6 +2277,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec
|
2011-03-04 16:47:46 +01:00
|
|
|
extern NCURSES_EXPORT(char *) _nc_tracemouse (SCREEN *, MEVENT const *);
|
2014-10-20 10:46:47 +02:00
|
|
|
extern NCURSES_EXPORT(char *) _nc_trace_mmask_t (SCREEN *, mmask_t);
|
2011-03-04 16:47:46 +01:00
|
|
|
extern NCURSES_EXPORT(int) _nc_access (const char *, int);
|
|
|
|
+extern NCURSES_EXPORT(void) _nc_fsid(void);
|
|
|
|
+extern NCURSES_EXPORT(void) _nc_fseid(void);
|
|
|
|
extern NCURSES_EXPORT(int) _nc_baudrate (int);
|
|
|
|
extern NCURSES_EXPORT(int) _nc_freewin (WINDOW *);
|
|
|
|
extern NCURSES_EXPORT(int) _nc_getenv_num (const char *);
|
|
|
|
--- ncurses/run_cmd.sh
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/run_cmd.sh 2021-03-25 07:31:47.867523668 +0000
|
2011-03-04 16:47:46 +01:00
|
|
|
@@ -0,0 +1,11 @@
|
|
|
|
+#!/bin/sh
|
|
|
|
+
|
|
|
|
+PATH=$PWD/../progs:$PATH
|
|
|
|
+if test -n "$LD_LIBRARY_PATH"; then
|
|
|
|
+ LD_LIBRARY_PATH="$PWD/../lib:$LD_LIBRARY_PATH"
|
|
|
|
+else
|
|
|
|
+ LD_LIBRARY_PATH="$PWD/../lib"
|
|
|
|
+fi
|
|
|
|
+export PATH LD_LIBRARY_PATH
|
|
|
|
+
|
|
|
|
+exec ${1+"$@"}
|
|
|
|
--- ncurses/tinfo/MKfallback.sh
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/tinfo/MKfallback.sh 2021-03-25 07:31:47.867523668 +0000
|
2020-08-18 09:05:39 +02:00
|
|
|
@@ -74,6 +74,12 @@ else
|
2011-03-04 16:47:46 +01:00
|
|
|
tmp_info=
|
|
|
|
fi
|
|
|
|
|
|
|
|
+if test -n "$TERMINFO" -a -d "$TERMINFO" ; then
|
2020-08-18 09:05:39 +02:00
|
|
|
+ infocmp_args="-v1 -A $TERMINFO"
|
2011-03-04 16:47:46 +01:00
|
|
|
+else
|
2020-08-18 09:05:39 +02:00
|
|
|
+ infocmp_args="-v1"
|
2011-03-04 16:47:46 +01:00
|
|
|
+fi
|
|
|
|
+
|
|
|
|
cat <<EOF
|
2017-01-09 12:23:17 +01:00
|
|
|
/* This file was generated by $0 */
|
|
|
|
|
2020-08-18 09:05:39 +02:00
|
|
|
@@ -95,7 +101,7 @@ EOF
|
|
|
|
for x in "$@"
|
|
|
|
do
|
|
|
|
echo "/* $x */"
|
|
|
|
- "$infocmp_path" -E "$x" | sed -e 's/\<short\>/NCURSES_INT2/g'
|
|
|
|
+ "$infocmp_path" $infocmp_args -E "$x" | sed -e 's/\<short\>/NCURSES_INT2/g'
|
|
|
|
done
|
|
|
|
|
|
|
|
cat <<EOF
|
|
|
|
@@ -106,7 +112,7 @@ EOF
|
|
|
|
for x in "$@"
|
|
|
|
do
|
|
|
|
echo "$comma /* $x */"
|
|
|
|
- "$infocmp_path" -e "$x"
|
|
|
|
+ "$infocmp_path" $infocmp_args -e "$x"
|
|
|
|
comma=","
|
|
|
|
done
|
|
|
|
|
2011-03-04 16:47:46 +01:00
|
|
|
--- ncurses/tinfo/access.c
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/tinfo/access.c 2021-03-25 07:31:47.867523668 +0000
|
2020-02-12 12:30:22 +01:00
|
|
|
@@ -31,6 +31,10 @@
|
2019-02-06 09:11:10 +01:00
|
|
|
* Author: Thomas E. Dickey *
|
|
|
|
****************************************************************************/
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
+#ifdef linux
|
|
|
|
+# include <sys/fsuid.h>
|
|
|
|
+#endif
|
2019-02-06 09:11:10 +01:00
|
|
|
+
|
|
|
|
#include <curses.priv.h>
|
2011-03-04 16:47:46 +01:00
|
|
|
|
2019-02-06 09:11:10 +01:00
|
|
|
#include <ctype.h>
|
2020-07-13 11:31:28 +02:00
|
|
|
@@ -111,6 +115,30 @@ _nc_basename(char *path)
|
2011-03-04 16:47:46 +01:00
|
|
|
return path + _nc_pathlast(path);
|
|
|
|
}
|
|
|
|
|
|
|
|
+NCURSES_EXPORT(void)
|
|
|
|
+_nc_fsid()
|
|
|
|
+{
|
|
|
|
+#ifdef linux
|
|
|
|
+ int _old_errno = errno;
|
|
|
|
+ setfsuid(getuid());
|
|
|
|
+ setfsgid(getgid());
|
|
|
|
+ errno = _old_errno;
|
|
|
|
+#endif
|
|
|
|
+ return;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+NCURSES_EXPORT(void)
|
|
|
|
+_nc_fseid()
|
|
|
|
+{
|
|
|
|
+#ifdef linux
|
|
|
|
+ int _old_errno = errno;
|
|
|
|
+ setfsuid(geteuid());
|
|
|
|
+ setfsgid(getegid());
|
|
|
|
+ errno = _old_errno;
|
|
|
|
+#endif
|
|
|
|
+ return;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
NCURSES_EXPORT(int)
|
|
|
|
_nc_access(const char *path, int mode)
|
|
|
|
{
|
|
|
|
--- ncurses/tinfo/lib_setup.c
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/tinfo/lib_setup.c 2021-03-25 07:31:47.867523668 +0000
|
2020-09-15 09:57:21 +02:00
|
|
|
@@ -613,6 +613,9 @@ _nc_locale_breaks_acs(TERMINAL *termp)
|
2011-03-04 16:47:46 +01:00
|
|
|
} else if ((value = tigetnum("U8")) >= 0) {
|
|
|
|
result = value; /* use extension feature */
|
|
|
|
} else if ((env = getenv("TERM")) != 0) {
|
|
|
|
+ char *yast = getenv("YAST_DOES_ACS");
|
|
|
|
+ if (yast != 0)
|
|
|
|
+ return 0; /* YaST uses always correct font mappings */
|
|
|
|
if (strstr(env, "linux")) {
|
|
|
|
result = 1; /* always broken */
|
|
|
|
} else if (strstr(env, "screen") != 0
|
|
|
|
--- ncurses/tinfo/read_entry.c
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/tinfo/read_entry.c 2021-03-25 07:31:47.867523668 +0000
|
2021-02-15 12:39:21 +01:00
|
|
|
@@ -551,6 +551,7 @@ _nc_read_file_entry(const char *const fi
|
2016-06-06 15:27:47 +02:00
|
|
|
FILE *fp = 0;
|
|
|
|
int code;
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
+ _nc_fsid();
|
|
|
|
if (_nc_access(filename, R_OK) < 0
|
2019-03-25 12:21:41 +01:00
|
|
|
|| (fp = fopen(filename, BIN_R)) == 0) {
|
2011-11-18 13:03:18 +01:00
|
|
|
TR(TRACE_DATABASE, ("cannot open terminfo %s (errno=%d)", filename, errno));
|
2021-02-15 12:39:21 +01:00
|
|
|
@@ -571,6 +572,7 @@ _nc_read_file_entry(const char *const fi
|
2011-03-04 16:47:46 +01:00
|
|
|
}
|
|
|
|
fclose(fp);
|
|
|
|
}
|
|
|
|
+ _nc_fseid();
|
|
|
|
|
|
|
|
return (code);
|
|
|
|
}
|
|
|
|
--- ncurses/tinfo/read_termcap.c
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ ncurses/tinfo/read_termcap.c 2021-03-25 07:31:47.867523668 +0000
|
2020-02-12 12:30:22 +01:00
|
|
|
@@ -323,14 +323,18 @@ _nc_getent(
|
2011-03-04 16:47:46 +01:00
|
|
|
*/
|
|
|
|
if (fd >= 0) {
|
|
|
|
(void) lseek(fd, (off_t) 0, SEEK_SET);
|
|
|
|
- } else if ((_nc_access(db_array[current], R_OK) < 0)
|
|
|
|
- || (fd = open(db_array[current], O_RDONLY, 0)) < 0) {
|
|
|
|
- /* No error on unfound file. */
|
|
|
|
- if (errno == ENOENT)
|
|
|
|
- continue;
|
|
|
|
- free(record);
|
|
|
|
- return (TC_SYS_ERR);
|
|
|
|
} else {
|
|
|
|
+ _nc_fsid();
|
|
|
|
+ if ((_nc_access(db_array[current], R_OK) < 0) ||
|
|
|
|
+ (fd = open(db_array[current], O_RDONLY, 0)) < 0) {
|
|
|
|
+ _nc_fseid();
|
|
|
|
+ /* No error on unfound file. */
|
|
|
|
+ if (errno == ENOENT)
|
|
|
|
+ continue;
|
|
|
|
+ free(record);
|
|
|
|
+ return (TC_SYS_ERR);
|
|
|
|
+ }
|
|
|
|
+ _nc_fseid();
|
|
|
|
myfd = TRUE;
|
|
|
|
}
|
|
|
|
lineno = 0;
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -1125,8 +1129,10 @@ _nc_read_termcap_entry(const char *const
|
2011-03-04 16:47:46 +01:00
|
|
|
for (i = 0; i < filecount; i++) {
|
|
|
|
|
2011-11-18 13:03:18 +01:00
|
|
|
TR(TRACE_DATABASE, ("Looking for %s in %s", tn, termpaths[i]));
|
2011-03-04 16:47:46 +01:00
|
|
|
+ _nc_fsid();
|
|
|
|
if (_nc_access(termpaths[i], R_OK) == 0
|
|
|
|
&& (fp = fopen(termpaths[i], "r")) != (FILE *) 0) {
|
|
|
|
+ _nc_fseid();
|
|
|
|
_nc_set_source(termpaths[i]);
|
|
|
|
|
|
|
|
/*
|
2021-04-26 10:05:52 +02:00
|
|
|
@@ -1138,6 +1144,7 @@ _nc_read_termcap_entry(const char *const
|
2011-03-04 16:47:46 +01:00
|
|
|
|
|
|
|
(void) fclose(fp);
|
|
|
|
}
|
|
|
|
+ _nc_fseid();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (copied != 0)
|
2017-08-01 10:50:29 +02:00
|
|
|
--- progs/Makefile.in
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ progs/Makefile.in 2021-03-25 07:31:47.867523668 +0000
|
2020-08-05 09:54:07 +02:00
|
|
|
@@ -101,7 +101,7 @@ CFLAGS_LIBTOOL = $(CCFLAGS)
|
2020-07-07 16:00:17 +02:00
|
|
|
CFLAGS_NORMAL = $(CCFLAGS) -DNCURSES_STATIC
|
2020-08-05 09:54:07 +02:00
|
|
|
CFLAGS_DEBUG = $(CCFLAGS) -DNCURSES_STATIC @CC_G_OPT@ -DTRACE
|
|
|
|
CFLAGS_PROFILE = $(CCFLAGS) -DNCURSES_STATIC -pg
|
2017-08-01 10:50:29 +02:00
|
|
|
-CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
|
|
|
|
+CFLAGS_SHARED = $(CCFLAGS) -fPIE
|
|
|
|
|
|
|
|
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
|
|
|
|
|
2020-02-12 12:30:22 +01:00
|
|
|
@@ -118,7 +118,7 @@ LDFLAGS_LIBTOOL = $(LDFLAGS) $(CFLAGS_LI
|
2017-08-01 10:50:29 +02:00
|
|
|
LDFLAGS_NORMAL = $(LDFLAGS) $(CFLAGS_NORMAL)
|
|
|
|
LDFLAGS_DEBUG = $(LDFLAGS) $(CFLAGS_DEBUG)
|
|
|
|
LDFLAGS_PROFILE = $(LDFLAGS) $(CFLAGS_PROFILE)
|
|
|
|
-LDFLAGS_SHARED = $(LDFLAGS) $(CFLAGS_SHARED) @LD_SHARED_OPTS@
|
|
|
|
+LDFLAGS_SHARED = $(LDFLAGS) $(CFLAGS_SHARED) -pie
|
|
|
|
|
|
|
|
LDFLAGS_DEFAULT = $(LDFLAGS_@DFT_UPR_MODEL@)
|
|
|
|
|
2011-03-04 16:47:46 +01:00
|
|
|
--- test/test.priv.h
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ test/test.priv.h 2021-03-25 07:31:47.867523668 +0000
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -1037,12 +1037,12 @@ extern char *_nc_strstr(const char *, co
|
2011-03-04 16:47:46 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* out-of-band values for representing absent capabilities */
|
|
|
|
-#define ABSENT_BOOLEAN ((signed char)-1) /* 255 */
|
|
|
|
+#define ABSENT_BOOLEAN (char)-1) /* 255 */
|
|
|
|
#define ABSENT_NUMERIC (-1)
|
|
|
|
#define ABSENT_STRING (char *)0
|
|
|
|
|
|
|
|
/* out-of-band values for representing cancels */
|
|
|
|
-#define CANCELLED_BOOLEAN ((signed char)-2) /* 254 */
|
|
|
|
+#define CANCELLED_BOOLEAN (-2) /* 254 */
|
|
|
|
#define CANCELLED_NUMERIC (-2)
|
|
|
|
#define CANCELLED_STRING (char *)(-1)
|
|
|
|
|
2021-03-22 10:15:07 +01:00
|
|
|
--- test/tracemunch
|
2021-03-25 11:27:02 +01:00
|
|
|
+++ test/tracemunch 2021-03-25 07:31:47.867523668 +0000
|
2021-03-22 10:15:07 +01:00
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/usr/bin/env perl
|
|
|
|
+#!/usr/bin/perl
|
|
|
|
# $Id: tracemunch,v 1.40 2021/02/13 19:29:12 tom Exp $
|
|
|
|
##############################################################################
|
|
|
|
# Copyright 2018-2020,2021 Thomas E. Dickey #
|