ncurses 6.2 - patch 20210710

+ improve history section for tset manpage based on the 1BSD tarball,
  which preceded BSD's SCCS checkins by more than three years.
+ improve CF_XOPEN_CURSES macro used in test/configure (report by Urs
  Jansen).
+ further improvement of libtool configuration, adding a dependency of
  the install.tic rule, etc., on the library in the build-tree.
+ update config.sub
This commit is contained in:
Thomas E. Dickey 2021-07-11 00:15:38 +00:00
parent f259fb41d8
commit 91d451ffc4
33 changed files with 1107 additions and 1062 deletions

11
NEWS
View File

@ -26,7 +26,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- $Id: NEWS,v 1.3680 2021/07/03 19:02:51 tom Exp $
-- $Id: NEWS,v 1.3683 2021/07/10 22:55:59 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
@ -46,6 +46,15 @@ See the AUTHORS file for the corresponding full names.
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
20210710
+ improve history section for tset manpage based on the 1BSD tarball,
which preceded BSD's SCCS checkins by more than three years.
+ improve CF_XOPEN_CURSES macro used in test/configure (report by Urs
Jansen).
+ further improvement of libtool configuration, adding a dependency of
the install.tic rule, etc., on the library in the build-tree.
+ update config.sub
20210703
+ amend libtool configuration to add dependency for install.tic, etc.,
in ncurses/Makefile on the lower-level libraries.

View File

@ -1 +1 @@
5:0:10 6.2 20210703
5:0:10 6.2 20210710

1053
config.guess vendored

File diff suppressed because it is too large Load Diff

30
config.sub vendored
View File

@ -1,9 +1,10 @@
#! /bin/sh
# Configuration validation subroutine script.
# Copyright 2021 Thomas E. Dickey
# Copyright 1992-2021 Free Software Foundation, Inc.
timestamp='2021-04-30'
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2021-07-03'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -51,6 +52,13 @@ timestamp='2021-04-30'
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
# The "shellcheck disable" line above the timestamp inhibits complaints
# about features and limitations of the classic Bourne shell that were
# superseded or lifted in POSIX. However, this script identifies a wide
# variety of pre-POSIX systems that do not have POSIX shells at all, and
# even some reasonably current systems (Solaris 10 as case-in-point) still
# have a pre-POSIX /bin/sh.
me=`echo "$0" | sed -e 's,.*/,,'`
usage="\
@ -1166,7 +1174,7 @@ case $cpu-$vendor in
| alphapca5[67] | alpha64pca5[67] \
| am33_2.0 \
| amdgcn \
| arc | arceb | arc64 \
| arc | arceb | arc32 | arc64 \
| arm | arm[lb]e | arme[lb] | armv* \
| avr | avr32 \
| asmjs \
@ -1293,15 +1301,15 @@ then
case $basic_os in
gnu/linux*)
kernel=linux
os=`echo $basic_os | sed -e 's|gnu/linux|gnu|'`
os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
;;
os2-emx)
kernel=os2
os=`echo $basic_os | sed -e 's|os2-emx|emx|'`
os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
;;
nto-qnx*)
kernel=nto
os=`echo $basic_os | sed -e 's|nto-qnx|qnx|'`
os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
;;
*-*)
# shellcheck disable=SC2162
@ -1312,11 +1320,11 @@ EOF
# Default OS when just kernel was specified
nto*)
kernel=nto
os=`echo $basic_os | sed -e 's|nto|qnx|'`
os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
;;
linux*)
kernel=linux
os=`echo $basic_os | sed -e 's|linux|gnu|'`
os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
;;
*)
kernel=
@ -1337,7 +1345,7 @@ case $os in
os=cnk
;;
solaris1 | solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
os=`echo "$os" | sed -e 's|solaris1|sunos4|'`
;;
solaris)
os=solaris2
@ -1366,7 +1374,7 @@ case $os in
os=sco3.2v4
;;
sco3.2.[4-9]*)
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
os=`echo "$os" | sed -e 's/sco3.2./sco3.2v/'`
;;
sco*v* | scout)
# Don't match below
@ -1442,7 +1450,7 @@ case $os in
;;
# Preserve the version number of sinix5.
sinix5.*)
os=`echo $os | sed -e 's|sinix|sysv|'`
os=`echo "$os" | sed -e 's|sinix|sysv|'`
;;
sinix*)
os=sysv4

View File

@ -26,7 +26,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# $Id: dist.mk,v 1.1423 2021/07/03 13:09:18 tom Exp $
# $Id: dist.mk,v 1.1424 2021/07/10 10:38:50 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
@ -38,7 +38,7 @@ SHELL = /bin/sh
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 2
NCURSES_PATCH = 20210703
NCURSES_PATCH = 20210710
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)

View File

@ -126,7 +126,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -199,7 +199,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -150,7 +150,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -248,7 +248,7 @@
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "form_" for detailed
descriptions of the entry points.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -514,7 +514,7 @@
https://invisible-island.net/ncurses/tctest.html
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -91,7 +91,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -223,7 +223,7 @@
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG> and related pages whose names begin "menu_" for detailed
descriptions of the entry points.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -60,7 +60,7 @@
method of updating character screens with reasonable optimization.
This implementation is "new curses" (ncurses) and is the approved
replacement for 4.4BSD classic curses, which has been discontinued.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).
The <STRONG>ncurses</STRONG> library emulates the curses library of System V Release 4
UNIX, and XPG4 (X/Open Portability Guide) curses (also known as XSI

View File

@ -113,7 +113,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -281,7 +281,7 @@
</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_variables.3x.html">curs_variables(3x)</A></STRONG>,
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -207,7 +207,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -106,7 +106,7 @@
have, by specifying how to perform screen operations, and by specifying
padding requirements and initialization sequences.
This manual describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This manual describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).
</PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE>

View File

@ -461,7 +461,7 @@
<STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>,
<STRONG><A HREF="term.5.html">term(5)</A></STRONG>. <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>. <STRONG><A HREF="user_caps.5.html">user_caps(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).
</PRE><H2><a name="h2-AUTHOR">AUTHOR</a></H2><PRE>

View File

@ -171,7 +171,7 @@
<STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>,
<STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -526,7 +526,7 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="tabs.1.html">tabs(1)</A></STRONG>, <STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="curs_termcap.3x.html">curs_termcap(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: tset.1,v 1.56 2021/06/17 21:26:02 tom Exp @
* @Id: tset.1,v 1.57 2021/07/10 22:50:45 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
@ -259,27 +259,21 @@
</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
A <STRONG>reset</STRONG> command appeared in 2BSD (April 1979), written by Kurt Shoens.
A <STRONG>reset</STRONG> command appeared in 1BSD (March 1978), written by Kurt Shoens.
This program set the <EM>erase</EM> and <EM>kill</EM> characters to <STRONG>^H</STRONG> (backspace) and <STRONG>@</STRONG>
respectively. Mark Horton improved that in 3BSD (October 1979), adding
<EM>intr</EM>, <EM>quit</EM>, <EM>start</EM>/<EM>stop</EM> and <EM>eof</EM> characters as well as changing the
program to avoid modifying any user settings.
program to avoid modifying any user settings. That version of <STRONG>reset</STRONG>
did not use the termcap database.
Later in 4.1BSD (December 1980), Mark Horton added a call to the <STRONG>tset</STRONG>
program using the <STRONG>-I</STRONG> and <STRONG>-Q</STRONG> options, i.e., using that to improve the
terminal modes. With those options, that version of <STRONG>reset</STRONG> did not use
the termcap database.
A separate <STRONG>tset</STRONG> command was provided in 1BSD by Eric Allman, using the
termcap database. Allman's comments in the source code indicate that
he began work in October 1977, continuing development over the next few
years.
A separate <STRONG>tset</STRONG> command was provided in 2BSD by Eric Allman. While the
oldest published source (from 1979) provides both <STRONG>tset</STRONG> and <STRONG>reset</STRONG>,
Allman's comments in the 2BSD source code indicate that he began work
in October 1977, continuing development over the next few years.
In September 1980, Eric Allman modified <STRONG>tset</STRONG>, adding the code from the
existing "reset" feature when <STRONG>tset</STRONG> was invoked as <STRONG>reset</STRONG>. Rather than
simply copying the existing program, in this merged version, <STRONG>tset</STRONG> used
the termcap database to do additional (re)initialization of the
terminal. This version appeared in 4.1cBSD, late in 1982.
According to comments in the source code, the <STRONG>tset</STRONG> program was modified
in September 1980, to use logic copied from the 3BSD "reset" when it
was invoked as <STRONG>reset</STRONG>. This version appeared in 4.1cBSD, late in 1982.
Other developers (e.g., Keith Bostic and Jim Bloom) continued to modify
<STRONG>tset</STRONG> until 4.4BSD was released in 1993.
@ -391,7 +385,7 @@
<STRONG>csh(1)</STRONG>, <STRONG>sh(1)</STRONG>, <STRONG>stty(1)</STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG>tty(4)</STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>,
<STRONG>ttys(5)</STRONG>, <STRONG>environ(7)</STRONG>
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210626).
This describes <STRONG>ncurses</STRONG> version 6.2 (patch 20210710).

View File

@ -26,7 +26,7 @@
* authorization. *
****************************************************************************/
/* $Id: nc_access.h,v 1.1 2021/06/26 21:38:47 tom Exp $ */
/* $Id: nc_access.h,v 1.2 2021/07/10 22:07:06 tom Exp $ */
#ifndef NC_ACCESS_included
#define NC_ACCESS_included 1
@ -34,6 +34,7 @@
#include <ncurses_cfg.h>
#include <curses.h>
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {

View File

@ -27,7 +27,7 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: tset.1,v 1.56 2021/06/17 21:26:02 tom Exp $
.\" $Id: tset.1,v 1.57 2021/07/10 22:50:45 tom Exp $
.TH @TSET@ 1 ""
.ie \n(.g .ds `` \(lq
.el .ds `` ``
@ -284,33 +284,24 @@ and that \fBcsh\fR users insert a backslash character (\*(``\e\*('') before
any exclamation marks (\*(``!\*('').
.SH HISTORY
.PP
A \fBreset\fP command appeared in 2BSD (April 1979), written by Kurt Shoens.
A \fBreset\fP command appeared in 1BSD (March 1978), written by Kurt Shoens.
This program set the \fIerase\fP and \fIkill\fP characters
to \fB^H\fP (backspace) and \fB@\fP respectively.
Mark Horton improved that in 3BSD (October 1979), adding
\fIintr\fP, \fIquit\fP, \fIstart\fP/\fIstop\fP and \fIeof\fP characters
as well as changing the program to avoid modifying any user settings.
That version of \fBreset\fP did not use the termcap database.
.PP
Later in 4.1BSD (December 1980),
Mark Horton added a call to the \fBtset\fP program
using the \fB\-I\fP and \fB\-Q\fP options, i.e.,
using that to improve the terminal modes.
With those options,
that version of \fBreset\fP did not use the termcap database.
.PP
A separate \fBtset\fP command was provided in 2BSD by Eric Allman.
While the oldest published source (from 1979)
provides both \fBtset\fP and \fBreset\fP,
Allman's comments in the 2BSD source code indicate
A separate \fBtset\fP command was provided in 1BSD by Eric Allman,
using the termcap database.
Allman's comments in the source code indicate
that he began work in October 1977,
continuing development over the next few years.
.PP
In September 1980, Eric Allman modified \fBtset\fP,
adding the code from the existing \*(``reset\*(''
feature when \fBtset\fP was invoked as \fBreset\fP.
Rather than simply copying the existing program,
in this merged version, \fBtset\fP used the termcap database
to do additional (re)initialization of the terminal.
According to comments in the source code,
the \fBtset\fP program was modified in September 1980,
to use logic copied from the 3BSD \*(``reset\*(''
when it was invoked as \fBreset\fP.
This version appeared in 4.1cBSD, late in 1982.
.PP
Other developers (e.g., Keith Bostic and Jim Bloom)

View File

@ -1,4 +1,4 @@
# $Id: mk-1st.awk,v 1.114 2021/07/03 20:05:20 tom Exp $
# $Id: mk-1st.awk,v 1.115 2021/07/10 17:15:43 tom Exp $
##############################################################################
# Copyright 2018-2020,2021 Thomas E. Dickey #
# Copyright 1998-2016,2017 Free Software Foundation, Inc. #
@ -465,7 +465,14 @@ END {
else if ( MODEL == "LIBTOOL" )
{
end_name = lib_name;
printf "../lib/%s : $(%s_OBJS)\n", lib_name, OBJS
printf "../lib/%s : \\\n", lib_name
if ( (name != TermlibRoot ) && ( index(name, "++") == 0 ) && ( index(name, "tic") == 1 || index(name, "ncurses") == 1 ) ) {
printf "\t\t../lib/lib%s.la \\\n", TermlibRoot;
if ( index(name, "tic") == 1 && index(TermlibRoot, "ncurses") != 1 ) {
printf "\t\t../lib/lib%s%s.la \\\n", "ncurses", LIB_SUFFIX;
}
}
printf "\t\t$(%s_OBJS)\n", OBJS
if ( is_ticlib() ) {
which_list = "TICS_LIST";
} else if ( is_termlib() ) {

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20210703) unstable; urgency=low
ncurses6 (6.2+20210710) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Jul 2021 09:09:18 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Mon, 05 Jul 2021 07:05:25 -0400
ncurses6 (5.9-20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20210703) unstable; urgency=low
ncurses6 (6.2+20210710) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Jul 2021 09:09:18 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Mon, 05 Jul 2021 07:05:25 -0400
ncurses6 (5.9-20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.2+20210703) unstable; urgency=low
ncurses6 (6.2+20210710) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Sat, 03 Jul 2021 09:09:18 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Mon, 05 Jul 2021 07:05:25 -0400
ncurses6 (5.9-20120608) unstable; urgency=low

View File

@ -1,4 +1,4 @@
; $Id: mingw-ncurses.nsi,v 1.465 2021/07/03 13:09:18 tom Exp $
; $Id: mingw-ncurses.nsi,v 1.466 2021/07/10 10:38:50 tom Exp $
; TODO add examples
; TODO bump ABI to 6
@ -10,7 +10,7 @@
!define VERSION_MAJOR "6"
!define VERSION_MINOR "2"
!define VERSION_YYYY "2021"
!define VERSION_MMDD "0703"
!define VERSION_MMDD "0710"
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}
!define MY_ABI "5"

View File

@ -3,7 +3,7 @@
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.2
Release: 20210703
Release: 20210710
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,7 +1,7 @@
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.2
Release: 20210703
Release: 20210710
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

View File

@ -1,7 +1,7 @@
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.2
Release: 20210703
Release: 20210710
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz

15
test/aclocal.m4 vendored
View File

@ -27,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written *
dnl authorization. *
dnl***************************************************************************
dnl
dnl $Id: aclocal.m4,v 1.196 2021/07/03 20:21:44 tom Exp $
dnl $Id: aclocal.m4,v 1.197 2021/07/10 21:40:29 tom Exp $
dnl
dnl Author: Thomas E. Dickey
dnl
@ -4225,7 +4225,7 @@ fi
AC_SUBST(no_x11_rgb)
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_XOPEN_CURSES version: 16 updated: 2021/01/02 09:31:20
dnl CF_XOPEN_CURSES version: 17 updated: 2021/07/10 12:22:27
dnl ---------------
dnl Test if we should define X/Open source for curses, needed on Digital Unix
dnl 4.x, to see the extended functions, but breaks on IRIX 6.x.
@ -4245,15 +4245,14 @@ AC_TRY_LINK([
make an error
#endif
#endif
#ifdef NCURSES_VERSION
#ifdef NCURSES_WIDECHAR
make an error /* prefer to fall-through on the second checks */
#endif
cchar_t check;
int check2 = curs_set((int)sizeof(check));
#endif
long x = winnstr(stdscr, "", 0);
int x1, y1;
#ifdef NCURSES_VERSION
(void)check2;
#endif
getbegyx(stdscr, y1, x1);
(void)x;
(void)y1;
@ -4267,16 +4266,12 @@ AC_TRY_LINK([
#define $cf_try_xopen_extension 1
#include <stdlib.h>
#include <${cf_cv_ncurses_header:-curses.h}>],[
#ifdef NCURSES_VERSION
cchar_t check;
int check2 = curs_set((int)sizeof(check));
#endif
long x = winnstr(stdscr, "", 0);
int x1, y1;
getbegyx(stdscr, y1, x1);
#ifdef NCURSES_VERSION
(void)check2;
#endif
(void)x;
(void)y1;
(void)x1;

929
test/configure vendored

File diff suppressed because it is too large Load Diff