Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index fcde02df0b6d..feac4ca5a746 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -55,6 +55,11 @@
 OLD_FILES+=usr/tests/usr.bin/m4/legacy_test
 OLD_FILES+=usr/tests/usr.bin/m4/regress.sh
 
+# 20260114: remove ncurses html documentation
+OLD_FILES+=usr/share/doc/ncurses/hackguide.html
+OLD_FILES+=usr/share/doc/ncurses/ncurses-intro.html
+OLD_DIRS+=usr/share/doc/ncurses
+
 # 20251218: Remove old MLINK to apmconf(8)
 OLD_FILES+=usr/share/man/man8/apmconf.8.gz
 
diff --git a/contrib/ncurses/AUTHORS b/contrib/ncurses/AUTHORS
index 09dfc9a9efa6..f588fc44f2f4 100644
--- a/contrib/ncurses/AUTHORS
+++ b/contrib/ncurses/AUTHORS
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright 2020,2021 Thomas E. Dickey                                      --
+-- Copyright 2020-2024,2025 Thomas E. Dickey                                 --
 -- Copyright 2006,2017 Free Software Foundation, Inc.                        --
 --                                                                           --
 -- Permission is hereby granted, free of charge, to any person obtaining a   --
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: AUTHORS,v 1.5 2021/06/17 21:20:30 tom Exp $
+-- $Id: AUTHORS,v 1.8 2025/11/12 01:25:55 tom Exp $
 -------------------------------------------------------------------------------
 These are the principal authors/contributors of ncurses since 1.9.9e,
 in decreasing order of their contribution:
@@ -36,5 +36,6 @@ JPF	Juergen Pfeifer
 ESR	Eric S Raymond
 AVL	Alexander V Lukyanov
 PB	Philippe Blain
+GBR	Branden Robinson
 SV	Sven Verdoolaege
-NB  Nicolas Boulenguez
+NB	Nicolas Boulenguez
diff --git a/contrib/ncurses/COPYING b/contrib/ncurses/COPYING
index 540047f121f1..6182a3bc671f 100644
--- a/contrib/ncurses/COPYING
+++ b/contrib/ncurses/COPYING
@@ -1,4 +1,4 @@
-Copyright 2018-2023,2024 Thomas E. Dickey
+Copyright 2018-2024,2025 Thomas E. Dickey
 Copyright 1998-2017,2018 Free Software Foundation, Inc.
 
 Permission is hereby granted, free of charge, to any person obtaining a
@@ -26,4 +26,4 @@ sale, use or other dealings in this Software without prior written
 authorization.
 
 -- vile:txtmode fc=72
--- $Id: COPYING,v 1.13 2024/01/05 21:13:17 tom Exp $
+-- $Id: COPYING,v 1.14 2025/01/04 10:53:46 tom Exp $
diff --git a/contrib/ncurses/INSTALL b/contrib/ncurses/INSTALL
index a2076eeec261..fea738a4c465 100644
--- a/contrib/ncurses/INSTALL
+++ b/contrib/ncurses/INSTALL
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright 2018-2023,2024 Thomas E. Dickey                                 --
+-- Copyright 2018-2024,2025 Thomas E. Dickey                                 --
 -- Copyright 1998-2017,2018 Free Software Foundation, Inc.                   --
 --                                                                           --
 -- Permission is hereby granted, free of charge, to any person obtaining a   --
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: INSTALL,v 1.254 2024/04/27 14:21:05 tom Exp $
+-- $Id: INSTALL,v 1.263 2025/12/30 20:42:25 tom Exp $
 ---------------------------------------------------------------------
              How to install Ncurses/Terminfo on your system
 ---------------------------------------------------------------------
@@ -550,8 +550,8 @@ CONFIGURE OPTIONS:
 	problem.
 
     --enable-bsdpad
-	Recognize BSD-style prefix padding.  Some ancient BSD programs (such as
-	nethack) call tputs("50") to implement delays.
+	Recognize BSD-style prefix padding.  Some programs written using
+	the BSD curses API use tputs("50") to implement delays.
 
     --enable-check-size
 	Compile-in feature to detect screensize for terminals which do not
@@ -587,7 +587,8 @@ CONFIGURE OPTIONS:
 	as such to the debugger.  See also the --disable-macros option.
 
     --enable-exp-win32
-	When configuring for MinGW, use the experimental Windows 10 driver.
+	This is an obsolete option used for configuring the Windows 10 driver
+	for MinGW.
 
     --enable-ext-colors
 	Extend the cchar_t structure to allow more than 16 colors to be
@@ -650,6 +651,12 @@ CONFIGURE OPTIONS:
 	may not be accurate, or that your stty settings have disabled the use
 	of tabs.
 
+    --enable-install-prefix
+	Extend the --with-install-prefix feature to replace the prefix value
+	with $DESTDIR rather than simply prepending $DESTDIR to install
+	pathnames.  This works with any "make" which supports AT&T style
+	variable substitution.
+
     --enable-interop
 	Compile-in experimental interop bindings.  These provide generic types
 	for the form-library.
@@ -660,6 +667,10 @@ CONFIGURE OPTIONS:
 	systems).  If you do not specify this option, the configure script
 	checks the current filesystem.
 
+    --enable-named-pipes
+	Compile-in support for named pipes, used to connect to Windows 10
+	pseudo-console.
+
     --enable-no-padding
 	Compile-in support for the $NCURSES_NO_PADDING environment variable,
 	which allows you to suppress the effect of non-mandatory padding in
@@ -703,7 +714,7 @@ CONFIGURE OPTIONS:
 	Use rpath option when generating shared libraries, and (with some
 	restrictions) when linking the corresponding programs.  This originally
 	(in 1997) applied mainly to systems using the GNU linker (read the
-	manpage).
+	man page).
 
 	More recently it is useful for systems that require special treatment
 	shared libraries in "unusual" locations.  The "system" libraries reside
@@ -768,9 +779,9 @@ CONFIGURE OPTIONS:
 	unless you have disabled the extended functions.
 
     --enable-term-driver
-	Enable experimental terminal-driver.  This is currently used for the
-	MinGW port, by providing a way to substitute the low-level terminfo
-	library with different terminal drivers.
+	Enable terminal-driver.  This is required for the MinGW port, by
+	providing a way to substitute the low-level terminfo library with
+	different terminal drivers.
 
     --enable-termcap
 	Compile in support for reading terminal descriptions from termcap if no
@@ -1097,34 +1108,35 @@ CONFIGURE OPTIONS:
 		./configure --enable-static
 
     --with-manpage-aliases
-	Tell the configure script you wish to create entries in the
-	man-directory for aliases to manpages which list them, e.g., the
-	functions in the panel manpage.  This is the default.  You can disable
-	it if your man program does this.  You can also disable
-	--with-manpage-symlinks to install files containing a ".so" command
-	rather than symbolic links.
+	Create files in subdirectories of the installation "man" directory that
+	alias the man pages documenting them.  For example, the "beep" man page
+	also documents the function "flash".  This is the default.  You can
+	disable this procedure if your system's makewhatis(8) or mandb(8)
+	program indexes the directory to which the pages are installed.  If you
+	disable man page symlinks by specifying "--without-manpage-symlinks",
+	the alias pages are created as stubs containing ".so" *roff requests.
 
     --with-manpage-format=XXX
-	Tell the configure script how you would like to install man-pages.  The
-	option value must be one of these:  gzip, compress, BSDI, normal,
-	formatted.  If you do not give this option, the configure script
+	Tell the configure script how you would like to install man pages.  The
+	option value must be one of these: "gzip", "compress", "BSDI", "normal",
+	"formatted".  If you do not specify this option, the configure script
 	attempts to determine which is the case.
 
     --with-manpage-renames=XXX
-	Tell the configure script that you wish to rename the manpages while
-	installing.  Currently the only distribution which does this is Debian.
+	Tell the configure script that you wish to rename the man pages when
+	installing them.  Debian and distributions descended from it do this.
 	The option value specifies the name of a file that lists the renamed
-	files, e.g., $srcdir/man/man_db.renames
+	files, e.g., "$srcdir/man/man_db.renames".
 
     --with-manpage-symlinks
 	Tell the configure script that you wish to make symbolic links in the
-	man-directory for aliases to the man-pages.  This is the default, but
-	can be disabled for systems that provide this automatically.  Doing
-	this on systems that do not support symbolic links will result in
-	copying the man-page for each alias.
+	man-directory for aliases to the man pages.  This is the default, but
+	can be disabled for systems that provide this service automatically.
+	Doing this on systems that do not support symbolic links creates a copy
+	of the target man page for each alias.
 
     --with-manpage-tbl
-	Tell the configure script that you wish to preprocess the manpages
+	Tell the configure script that you wish to preprocess the man pages
 	by running them through tbl to generate tables understandable by
 	nroff.
 
@@ -1182,11 +1194,11 @@ CONFIGURE OPTIONS:
     --with-pkg-config-libdir[=DIR]
 	If pkg-config was found, override the automatic check for its library
 	path.  The optional DIR value can be
-	
+
 	"auto", automatically use pkg-config's library directory, or
-	
+
 	"libdir", use a ${libdir}/pkgconfig (based on the configuration), or
-	
+
 	a directory path, i.e., beginning with "/".
 
 	The configure script allows only a single directory, because
@@ -1351,11 +1363,9 @@ CONFIGURE OPTIONS:
 	several builds, some symbols will be listed in the the ".map" files
 	that do not happen to be present in one configuration or another.
 
-	The sample ".map" (and ".sym") files are generated using a set of
-	scripts which build several configurations for each release version,
-	checking to see which of the "_nc_" symbols can be made local.  In
-	addition to the ncurses libraries and programs, the symbols used
-	by the "tack" program before version 1.08 are made global.
+	The sample ".map" (and ".sym") files were generated using a set of
+	scripts which built several configurations for each release version,
+	checking to see which of the "_nc_" symbols can be made local.
 
 	These sample ".map" files will not cover all possible combinations.
 	In some cases, e.g., when using the --with-weak-symbols option, you
@@ -1393,10 +1403,10 @@ CONFIGURE OPTIONS:
 
     --without-curses-h
 	Don't install the ncurses header with the name "curses.h".  Rather,
-	install as "ncurses.h" and modify the installed headers and manpages
+	install as "ncurses.h" and modify the installed headers and man pages
 	accordingly.
 
-	Likewise, do not install an alias "curses" for the ncurses manpage.
+	Likewise, do not install an alias "curses" for the ncurses man page.
 
     --without-cxx
 	XSI curses declares "bool" as part of the interface.  C++ also declares
@@ -1419,7 +1429,7 @@ CONFIGURE OPTIONS:
 	Do not use dlsym() to load GPM dynamically.
 
     --without-manpages
-	Tell the configure script to suppress the install of ncurses' manpages.
+	Tell the configure script to suppress the install of ncurses' man pages.
 
     --without-progs
 	Tell the configure script to suppress the build of ncurses' application
@@ -1451,7 +1461,32 @@ COMPATIBILITY WITH OLDER RELEASES:
     you may encounter when building a system with different versions of
     ncurses:
 
-    6.5 (Apt 27, 2024)
+    6.6 (Dec 30, 2025)
+	Interface changes:
+
+	+ none
+
+	Added extensions:
+
+	+ none
+
+	Added internal functions (other than "_sp" variants):
+
+	+ _nc_is_path_found
+
+	Removed internal functions:
+
+	+ none
+
+	Modified internal functions:
+
+	+ These now pass a const parameter:  _nc_has_mouse,
+	  _nc_reset_color_pair, _nc_free_entry, and _nc_timed_wait.
+	+ These now use a NCURSES_BOOL where an int was used: 
+	  _nc_setupscreen, _nc_keypad, _nc_unicode_locale, and
+	  _nc_retrace_bool.
+
+    6.5 (Apr 27, 2024)
 	Interface changes:
 
 	+ the WINDOW structure and some related internal data types declared
diff --git a/contrib/ncurses/MANIFEST b/contrib/ncurses/MANIFEST
index a9395d2f8a09..dc791dbe0f1c 100644
--- a/contrib/ncurses/MANIFEST
+++ b/contrib/ncurses/MANIFEST
@@ -36,6 +36,8 @@
 ./Ada95/mk-pkg.awk
 ./Ada95/package/AdaCurses-doc.spec
 ./Ada95/package/AdaCurses.spec
+./Ada95/package/debian/adacurses.lintian-overrides
+./Ada95/package/debian/adacurses.triggers
 ./Ada95/package/debian/compat
 ./Ada95/package/debian/control
 ./Ada95/package/debian/copyright
@@ -556,21 +558,18 @@
 ./include/headers
 ./include/nc_access.h
 ./include/nc_alloc.h
-./include/nc_mingw.h
 ./include/nc_panel.h
 ./include/nc_string.h
 ./include/nc_termios.h
 ./include/nc_tparm.h
-./include/nc_win32.h
+./include/nc_win32.h.in
 ./include/ncurses_cfg.hin
 ./include/ncurses_defs
 ./include/ncurses_dll.h.in
-./include/ncurses_mingw.h
 ./include/term_entry.h
 ./include/termcap.h.in
 ./include/tic.h
 ./include/unctrl.h.in
-./include/win32_curses.h
 ./install-sh
 ./man/MKada_config.in
 ./man/MKncu_config.in
@@ -900,6 +899,7 @@
 ./ncurses/llib-ltinfow
 ./ncurses/modules
 ./ncurses/new_pair.h
+./ncurses/report_ctype.c
 ./ncurses/report_hashing.c
 ./ncurses/report_offsets.c
 ./ncurses/term.priv.h
@@ -1007,12 +1007,11 @@
 ./ncurses/win32con/gettimeofday.c
 ./ncurses/win32con/wcwidth.c
 ./ncurses/win32con/win32_driver.c
-./ncurses/win32con/win_driver.c
 ./package/debian-mingw/changelog
 ./package/debian-mingw/compat
 ./package/debian-mingw/control
 ./package/debian-mingw/copyright
-./package/debian-mingw/mingw32-ncurses6.lintian-overrides
+./package/debian-mingw/mingw32-ncurses6td.lintian-overrides
 ./package/debian-mingw/rules
 ./package/debian-mingw/source/format
 ./package/debian-mingw/watch
@@ -1020,7 +1019,7 @@
 ./package/debian-mingw64/compat
 ./package/debian-mingw64/control
 ./package/debian-mingw64/copyright
-./package/debian-mingw64/mingw64-ncurses6.lintian-overrides
+./package/debian-mingw64/mingw64-ncurses6td.lintian-overrides
 ./package/debian-mingw64/rules
 ./package/debian-mingw64/source/format
 ./package/debian-mingw64/watch
@@ -1028,10 +1027,10 @@
 ./package/debian/compat
 ./package/debian/control
 ./package/debian/copyright
-./package/debian/ncurses6.lintian-overrides
-./package/debian/ncurses6.triggers
-./package/debian/ncursest6.lintian-overrides
-./package/debian/ncursest6.triggers
+./package/debian/ncurses6td.lintian-overrides
+./package/debian/ncurses6td.triggers
+./package/debian/ncursest6td.lintian-overrides
+./package/debian/ncursest6td.triggers
 ./package/debian/rules
 ./package/debian/source/format
 ./package/debian/watch
@@ -1190,6 +1189,8 @@
 ./test/package/debian/control
 ./test/package/debian/copyright
 ./test/package/debian/docs
+./test/package/debian/ncurses-examples.lintian-overrides
+./test/package/debian/ncursest-examples.lintian-overrides
 ./test/package/debian/rules
 ./test/package/debian/source/format
 ./test/package/debian/watch
diff --git a/contrib/ncurses/Makefile.in b/contrib/ncurses/Makefile.in
index 1303e171cfa1..9a55006e0331 100644
--- a/contrib/ncurses/Makefile.in
+++ b/contrib/ncurses/Makefile.in
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.46 2022/10/01 22:53:36 tom Exp $
+# $Id: Makefile.in,v 1.51 2025/10/25 18:01:01 tom Exp $
 ##############################################################################
-# Copyright 2018-2021,2022 Thomas E. Dickey                                  #
+# Copyright 2018-2022,2025 Thomas E. Dickey                                  #
 # Copyright 1998-2014,2015 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -35,11 +35,10 @@
 SHELL 		= @SHELL@
 VPATH		= @srcdir@
 
-DESTDIR=@DESTDIR@
-RPATH_LIST=@RPATH_LIST@
-TOP_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
-
 @SET_MAKE@
+@SET_DESTDIR@
+RPATH_LIST	= @RPATH_LIST@
+TOP_MFLAGS	= DESTDIR="$(DESTDIR)" RPATH_LIST="$(RPATH_LIST)"
 
 NCURSES_MAJOR	= @NCURSES_MAJOR@
 NCURSES_MINOR	= @NCURSES_MINOR@
@@ -93,6 +92,7 @@ preinstall :
 	@ echo ''
 	@ echo '       extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
 	@ echo '       xterm terminfo: '@WHICH_XTERM@
+	@ echo '           ABI suffix: '`if test -n "@ABI_SUFFIX@"; then echo @ABI_SUFFIX@; else echo "(none)"; fi`
 	@ echo ''
 	@ echo '        bin directory: '$(bindir)
 	@ echo '        lib directory: '$(libdir)
@@ -114,13 +114,10 @@ preinstall :
 distclean \
 realclean ::
 
-check :
-	@ echo The test-programs are interactive
-
-
 # Put the common rules here so that we can easily construct the list of
 # directories to visit.
 all \
+check \
 clean \
 distclean \
 mostlyclean \
diff --git a/contrib/ncurses/Makefile.os2 b/contrib/ncurses/Makefile.os2
index bc3407d65750..68d4f898413d 100644
--- a/contrib/ncurses/Makefile.os2
+++ b/contrib/ncurses/Makefile.os2
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright 2020,2021 Thomas E. Dickey                                       #
+# Copyright 2020-2021,2025 Thomas E. Dickey                                  #
 # Copyright 1998-2000,2006 Free Software Foundation, Inc.                    #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
@@ -26,7 +26,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ################################################################################
-# $Id: Makefile.os2,v 1.13 2021/06/17 21:20:30 tom Exp $
+# $Id: Makefile.os2,v 1.15 2025/07/12 10:48:01 tom Exp $
 #
 # Wrapper Makefile for ncurses library under OS/2.
 # Author:  Juan Jose Garcia Ripoll <worm@arrakis.es>.
@@ -247,7 +247,7 @@ OS2NAME=ncurses-$(NCURSES_MAJOR).$(NCURSES_MINOR)-emx
 os2dist :
 	$(MAKE) -f Makefile.os2 os2clean
 	./configure --without-debug --with-install-prefix=`pwd|sed -e 's@^.:@@'`/$(OS2NAME)
-	$(MAKE) -f Makefile.os2 $(CF_MFLAGS) install.os2
+	$(MAKE) -f Makefile.os2 install.os2
 	-rm -f $(OS2NAME).zip
 	echo NCurses-$(NCURSES_MAJOR).$(NCURSES_MINOR)-$(NCURSES_PATCH) for emx > $(OS2NAME)/FILE_ID.DIZ
 	echo Binary release. >> $(OS2NAME)/FILE_ID.DIZ
diff --git a/contrib/ncurses/NEWS b/contrib/ncurses/NEWS
index 8bedbc8264e1..c10767b675c8 100644
--- a/contrib/ncurses/NEWS
+++ b/contrib/ncurses/NEWS
@@ -1,5 +1,5 @@
 -------------------------------------------------------------------------------
--- Copyright 2018-2023,2024 Thomas E. Dickey                                 --
+-- Copyright 2018-2024,2025 Thomas E. Dickey                                 --
 -- Copyright 1998-2017,2018 Free Software Foundation, Inc.                   --
 --                                                                           --
 -- Permission is hereby granted, free of charge, to any person obtaining a   --
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.4114 2024/04/27 18:00:35 tom Exp $
+-- $Id: NEWS,v 1.4390 2025/12/30 20:31:07 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -46,6 +46,575 @@ 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.
 
+20251230 6.6 release for upload to ftp.gnu.org
+	+ update announcement
+	+ corrected an ifdef needed for mouse support in MinGW/Windows
+	+ eliminate remaining duplicate code between MinGW/Windows drivers
+
+20251227
+	+ make win32_curses.h obsolete in favor of nc_win32.h
+	+ modify MinGW32 configuration to account for its use of Windows-style
+	  pathnames in filesystem checks.
+	+ replace --enable-exp-win32 option with --enable-named-pipes
+
+20251220
+	> in-progress work to merge MinGW/Windows port.
+	  + eliminate EXP_WIN32_DRIVER with USE_NAMED_PIPES
+	  + change MS_TERMINAL to DEFAULT_TERM_VAR
+
+20251213
+	+ in-progress work to merge MinGW/Windows port.
+	+ add a null-pointer check in tic -c option.
+	+ add a limit-check in infocmp -i option (report/example by Yixuan Cao).
+
+20251206
+	+ in-progress work to merge MinGW/Windows port.
+
+20251129
+	+ in-progress work to merge MinGW/Windows port.
+
+20251123
+	+ revert change using NCURSES_SBOOL in tic.h which interfered with
+	  sign-extension in tigetflag (Debian #1121191, cf:  20251101).
+
+20251122
+	+ in-progress work to merge MinGW/Windows port.
+	+ correct expression for TINFO_LIB variable in misc/ncurses-config.in
+	  (Debian #1121208, cf: 20251004).
+
+20251115
+	+ check for special case of wcrtomb() converting a single byte code to
+	  a different single byte code, which glibc does for code 160 in the
+	  KOI8-R encoding (report by Yury V Zaytsev).
+	+ improve formatting/style of manpages (patches by Branden Robinson).
+	+ amend recent changes to mouse handling to avoid a case which caused
+	  a loop in wgetch until additional input is provided (htop #1769,
+	  cf: 20250913).
+
+20251101
+	+ adjust generated terminfo.5 to omit tbl "x" column modifier if that
+	  is unsupported, i.e., with old nroff/tbl (adapted from patch by
+	  Branden Robinson).
+	+ in-progress work to merge MinGW/Windows port.
+
+20251025
+	+ amend locale-portability fix in tty_update.c (MidnightCommander #4799,
+	  cf: 20240203).
+	+ add testing utility report_ctype
+	+ update configure macros, improving check for $host_os
+	+ correct a recent change to curs_termino.3x, along with formatting
+	  fixes for manpages.
+	+ corrected note about box() in curs_border.3x (patch by Jakub Horky,
+	  cf: 20250201).
+
+20251018
+	+ add check for build-time utilities, in case cross-compiling is setup
+	  with an invalid $BUILD_CC (prompted by discussion with Stas Sergeev).
+	+ modify configure-script and makefiles to make it easier to override
+	  the "--with-install-prefix" default with environment variable
+	  (report by Stas Sergeev).
+
+20251010
*** 103520 LINES SKIPPED ***


home | help