snapshot of project "ncurses", label v6_4_20231111

This commit is contained in:
Thomas E. Dickey 2023-11-11 23:22:39 +00:00
parent 4d13ad3611
commit ed04a151b7
No known key found for this signature in database
GPG Key ID: CC2AF4472167BE03
58 changed files with 668 additions and 590 deletions

View File

@ -1218,6 +1218,7 @@
./test/test_addwstr.c
./test/test_arrays.c
./test/test_delwin.c
./test/test_endwin.c
./test/test_get_wstr.c
./test/test_getstr.c
./test/test_instr.c

11
NEWS
View File

@ -26,7 +26,7 @@
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
-- $Id: NEWS,v 1.4025 2023/11/04 21:45:02 tom Exp $
-- $Id: NEWS,v 1.4031 2023/11/11 23:13:58 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.
20231111
+ used "infocmp -u" to help trim redundant capabilities -TD
+ add limit checks in infocmp needed when processing extended
capabilities with the "-u" option.
+ fix inconsistent sort-order in see-also sections of manpages.
+ fix a few compiler warnings for Solaris 10.
+ modify endwin() to return an error if it is called again without an
intervening screen update (report by Rajeev Pillai, NetBSD #57592).
20231104
+ modify reset command to avoid altering clocal if the terminal uses a
modem (prompted by discussion with Werner Fink, Michal Suchanek,

View File

@ -1 +1 @@
5:0:10 6.4 20231104
5:0:10 6.4 20231111

View File

@ -26,7 +26,7 @@
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
# $Id: dist.mk,v 1.1575 2023/11/04 10:01:01 tom Exp $
# $Id: dist.mk,v 1.1576 2023/11/11 10:45:00 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 = 4
NCURSES_PATCH = 20231104
NCURSES_PATCH = 20231111
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_border_set.3x,v 1.27 2023/10/07 21:19:07 tom Exp @
* @Id: curs_border_set.3x,v 1.29 2023/11/11 11:38:35 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
<TITLE>curs_border_set 3x 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_border_set 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_border_set 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_border_set 3x 2023-11-11 ncurses 6.4 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>
@ -157,11 +157,11 @@
</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="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_border_set.3x.html">curs_border_set(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_color.3x,v 1.87 2023/10/21 10:28:36 tom Exp @
* @Id: curs_color.3x,v 1.89 2023/11/11 11:38:59 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 2023-10-21 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_color 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_color 3x 2023-10-21 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_color 3x 2023-11-11 ncurses 6.4 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>
@ -520,12 +520,12 @@
</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_attr.3x.html">curs_attr(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
<STRONG><A HREF="default_colors.3x.html">default_colors(3x)</A></STRONG>
ncurses 6.4 2023-10-21 <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_get_wch.3x,v 1.26 2023/10/07 21:19:07 tom Exp @
* @Id: curs_get_wch.3x,v 1.28 2023/11/11 11:39: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_get_wch 3x 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_get_wch 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_get_wch 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_get_wch 3x 2023-11-11 ncurses 6.4 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
@ -148,12 +148,12 @@
</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_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>,
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_getch.3x.html">curs_getch(3x)</A></STRONG>, <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>, <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>,
<STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_get_wstr.3x,v 1.37 2023/10/07 21:19:07 tom Exp @
* @Id: curs_get_wstr.3x,v 1.39 2023/11/11 11:39:29 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 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_get_wstr 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_get_wstr 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_get_wstr 3x 2023-11-11 ncurses 6.4 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>
@ -183,11 +183,11 @@
</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_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_getstr.3x.html">curs_getstr(3x)</A></STRONG>, <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_get_wstr.3x.html">curs_get_wstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_getcchar.3x,v 1.38 2023/10/07 21:19:07 tom Exp @
* @Id: curs_getcchar.3x,v 1.40 2023/11/11 11:39:43 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
<TITLE>curs_getcchar 3x 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_getcchar 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_getcchar 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_getcchar 3x 2023-11-11 ncurses 6.4 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG>
@ -192,11 +192,11 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>, <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG>wcwidth(3)</STRONG>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>, <STRONG><A HREF="curs_color.3x.html">curs_color(3x)</A></STRONG>, <STRONG>wcwidth(3)</STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_getcchar.3x.html">curs_getcchar(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_in_wchstr.3x,v 1.26 2023/10/07 21:19:07 tom Exp @
* @Id: curs_in_wchstr.3x,v 1.28 2023/11/11 11:42:45 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
<TITLE>curs_in_wchstr 3x 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_in_wchstr 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_in_wchstr 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_in_wchstr 3x 2023-11-11 ncurses 6.4 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>
@ -99,12 +99,12 @@
</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_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_instr.3x.html">curs_instr(3x)</A></STRONG>, <STRONG><A HREF="curs_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>
<STRONG><A HREF="curs_inchstr.3x.html">curs_inchstr(3x)</A></STRONG>
<STRONG><A HREF="ncurses.3x.html">curses(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_inwstr.3x.html">curs_inwstr(3x)</A></STRONG>,
<STRONG><A HREF="curs_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_in_wchstr.3x.html">curs_in_wchstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_initscr.3x,v 1.53 2023/10/07 21:19:07 tom Exp @
* @Id: curs_initscr.3x,v 1.54 2023/11/11 23:20:20 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 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_initscr 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_initscr 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_initscr 3x 2023-11-11 ncurses 6.4 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>
@ -157,7 +157,13 @@
X/Open defines no error conditions. In this implementation
<STRONG>o</STRONG> <STRONG>endwin</STRONG> returns an error if the terminal was not initialized.
<STRONG>o</STRONG> <STRONG>endwin</STRONG> returns an error 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>newterm</STRONG> returns an error if it cannot allocate the data structures
for the screen, or for the top-level windows within the screen,
@ -294,7 +300,7 @@
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_ins_wstr.3x,v 1.23 2023/10/07 22:22:46 tom Exp @
* @Id: curs_ins_wstr.3x,v 1.25 2023/11/11 11:43:21 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
<TITLE>curs_ins_wstr 3x 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_ins_wstr 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_ins_wstr 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_ins_wstr 3x 2023-11-11 ncurses 6.4 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>
@ -104,11 +104,11 @@
</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_insstr.3x.html">curs_insstr(3x)</A></STRONG>, <STRONG><A HREF="curs_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>, <STRONG><A HREF="curs_ins_wch.3x.html">curs_ins_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_in_wch.3x.html">curs_in_wch(3x)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_ins_wstr.3x.html">curs_ins_wstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_insstr.3x,v 1.40 2023/10/07 21:19:07 tom Exp @
* @Id: curs_insstr.3x,v 1.42 2023/11/11 11:46:07 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 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_insstr 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_insstr 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_insstr 3x 2023-11-11 ncurses 6.4 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>
@ -106,11 +106,11 @@
</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_util.3x.html">curs_util(3x)</A></STRONG>, <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>, <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>, <STRONG><A HREF="curs_inch.3x.html">curs_inch(3x)</A></STRONG>, <STRONG><A HREF="curs_util.3x.html">curs_util(3x)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_insstr.3x.html">curs_insstr(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_memleaks.3x,v 1.29 2023/10/21 10:28:36 tom Exp @
* @Id: curs_memleaks.3x,v 1.31 2023/11/11 11:46:43 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_memleaks 3x 2023-10-21 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_memleaks 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_memleaks 3x 2023-10-21 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_memleaks 3x 2023-11-11 ncurses 6.4 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_memleaks.3x.html">curs_memleaks(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_memleaks.3x.html">curs_memleaks(3x)</A></STRONG>
@ -128,11 +128,11 @@
</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
<STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(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_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
ncurses 6.4 2023-10-21 <STRONG><A HREF="curs_memleaks.3x.html">curs_memleaks(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_memleaks.3x.html">curs_memleaks(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_outopts.3x,v 1.48 2023/10/07 22:54:10 tom Exp @
* @Id: curs_outopts.3x,v 1.50 2023/11/11 11:46:54 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 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_outopts 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_outopts 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_outopts 3x 2023-11-11 ncurses 6.4 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>
@ -201,11 +201,11 @@
</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_addch.3x.html">curs_addch(3x)</A></STRONG>, <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>, <STRONG><A HREF="curs_initscr.3x.html">curs_initscr(3x)</A></STRONG>,
<STRONG><A HREF="curs_scroll.3x.html">curs_scroll(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="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_scroll.3x.html">curs_scroll(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_pad.3x,v 1.45 2023/10/21 10:29:45 tom Exp @
* @Id: curs_pad.3x,v 1.47 2023/11/11 11:47:10 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
<TITLE>curs_pad 3x 2023-10-21 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_pad 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_pad 3x 2023-10-21 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_pad 3x 2023-11-11 ncurses 6.4 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>
@ -228,11 +228,11 @@
</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_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="curs_touch.3x.html">curs_touch(3x)</A></STRONG>, <STRONG><A HREF="curs_addch.3x.html">curs_addch(3x)</A></STRONG>
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_addch.3x.html">curs_addch(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>
ncurses 6.4 2023-10-21 <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_pad.3x.html">curs_pad(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -27,19 +27,19 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_scr_dump.3x,v 1.31 2023/10/07 21:19:07 tom Exp @
* @Id: curs_scr_dump.3x,v 1.33 2023/11/11 11:47:41 tom Exp @
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="generator" content="Manpage converted by man2html - see https://invisible-island.net/scripts/readme.html#others_scripts">
<TITLE>curs_scr_dump 3x 2023-10-07 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_scr_dump 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_scr_dump 3x 2023-10-07 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_scr_dump 3x 2023-11-11 ncurses 6.4 Library calls</H1>
<PRE>
<STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG> Library calls <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>
@ -122,11 +122,11 @@
</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_util.3x.html">curs_util(3x)</A></STRONG>,
<STRONG><A HREF="scr_dump.5.html">scr_dump(5)</A></STRONG>, <STRONG>system(3)</STRONG>
<STRONG>system(3)</STRONG>, <STRONG><A HREF="scr_dump.5.html">scr_dump(5)</A></STRONG>
ncurses 6.4 2023-10-07 <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_scr_dump.3x.html">curs_scr_dump(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -28,7 +28,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: curs_terminfo.3x,v 1.115 2023/10/21 10:31:22 tom Exp @
* @Id: curs_terminfo.3x,v 1.117 2023/11/11 11:48:04 tom Exp @
* ***************************************************************************
* ***************************************************************************
* ***************************************************************************
@ -44,12 +44,12 @@
<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 2023-10-21 ncurses 6.4 Library calls</TITLE>
<TITLE>curs_terminfo 3x 2023-11-11 ncurses 6.4 Library calls</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">curs_terminfo 3x 2023-10-21 ncurses 6.4 Library calls</H1>
<H1 class="no-header">curs_terminfo 3x 2023-11-11 ncurses 6.4 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>
@ -694,12 +694,12 @@
</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><A HREF="term_variables.3x.html">term_variables(3x)</A></STRONG>, <STRONG>putc(3)</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.4 2023-10-21 <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>
</PRE>
<div class="nav">
<ul>

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.4 (patch 20231028).
This describes <STRONG>ncurses</STRONG> version 6.4 (patch 20231111).
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

@ -27,7 +27,7 @@
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************
* @Id: term.7,v 1.40 2023/10/14 19:18:14 tom Exp @
* @Id: term.7,v 1.42 2023/11/11 11:48:16 tom Exp @
*SH SYNOPSIS
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
@ -35,12 +35,12 @@
<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>term 7 2023-10-14 ncurses 6.4 Miscellaneous</TITLE>
<TITLE>term 7 2023-11-11 ncurses 6.4 Miscellaneous</TITLE>
<link rel="author" href="mailto:bug-ncurses@gnu.org">
</HEAD>
<BODY>
<H1 class="no-header">term 7 2023-10-14 ncurses 6.4 Miscellaneous</H1>
<H1 class="no-header">term 7 2023-11-11 ncurses 6.4 Miscellaneous</H1>
<PRE>
<STRONG><A HREF="term.7.html">term(7)</A></STRONG> Miscellaneous <STRONG><A HREF="term.7.html">term(7)</A></STRONG>
@ -213,11 +213,11 @@
</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="terminfo.5.html">terminfo(5)</A></STRONG>, <STRONG><A HREF="term.5.html">term(5)</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>
ncurses 6.4 2023-10-14 <STRONG><A HREF="term.7.html">term(7)</A></STRONG>
ncurses 6.4 2023-11-11 <STRONG><A HREF="term.7.html">term(7)</A></STRONG>
</PRE>
<div class="nav">
<ul>

View File

@ -105,7 +105,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.4 (patch 20231028).
This manual describes <STRONG>ncurses</STRONG> version 6.4 (patch 20231111).
</PRE><H3><a name="h3-Terminfo-Entry-Syntax">Terminfo Entry Syntax</a></H3><PRE>

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_border_set.3x,v 1.27 2023/10/07 21:19:07 tom Exp $
.TH curs_border_set 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_border_set.3x,v 1.29 2023/11/11 11:38:35 tom Exp $
.TH curs_border_set 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -194,7 +194,7 @@ Functions with a \*(``mv\*('' prefix first perform a cursor movement using
\fBwmove\fP, and return an error if the position is outside the window,
or if the window pointer is null.
.SH SEE ALSO
\fB\%ncurses\fP(3X),
\fB\%curses\fP(3X),
\fB\%curs_add_wch\fP(3X),
\fB\%curs_border\fP(3X),
\fB\%curs_outopts\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_color.3x,v 1.87 2023/10/21 10:28:36 tom Exp $
.TH curs_color 3X 2023-10-21 "ncurses 6.4" "Library calls"
.\" $Id: curs_color.3x,v 1.89 2023/11/11 11:38:59 tom Exp $
.TH curs_color 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -531,7 +531,7 @@ allowing applications to use larger color- and pair-numbers.
The \fB\%reset_color_pairs\fP function is an extension of ncurses.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_initscr\fP(3X),
\fB\%curs_attr\fP(3X),
\fB\%curs_initscr\fP(3X),
\fB\%curs_variables\fP(3X),
\fB\%default_colors\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_get_wch.3x,v 1.26 2023/10/07 21:19:07 tom Exp $
.TH curs_get_wch 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_get_wch.3x,v 1.28 2023/11/11 11:39:15 tom Exp $
.TH curs_get_wch 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -191,7 +191,7 @@ or if the window pointer is null.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_getch\fP(3X),
\fB\%curs_ins_wch\fP(3X),
\fB\%curs_inopts\fP(3X),
\fB\%curs_ins_wch\fP(3X),
\fB\%curs_move\fP(3X),
\fB\%curs_refresh\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_get_wstr.3x,v 1.37 2023/10/07 21:19:07 tom Exp $
.TH curs_get_wstr 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_get_wstr.3x,v 1.39 2023/11/11 11:39:29 tom Exp $
.TH curs_get_wstr 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -218,5 +218,5 @@ NetBSD 7 curses imitates ncurses 6.1 in this regard,
treating a \fB\-1\fP as an indefinite number of characters.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_get_wch\fP(3X),
\fB\%curs_getstr\fP(3X)
\fB\%curs_getstr\fP(3X),
\fB\%curs_get_wch\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_getcchar.3x,v 1.38 2023/10/07 21:19:07 tom Exp $
.TH curs_getcchar 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_getcchar.3x,v 1.40 2023/11/11 11:39:43 tom Exp $
.TH curs_getcchar 3X 2023-11-11 "ncurses 6.4" "Library calls"
.de bP
.ie n .IP \(bu 4
.el .IP \(bu 2
@ -182,7 +182,7 @@ including using them for ligatures between characters
Unicode does not limit the (analogous) number of combining characters,
so some applications may be affected.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_attr\fP(3X),
\fB\%curs_color\fP(3X),
\fB\%curses\fP(3X),
\fB\%wcwidth\fP(3)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_in_wchstr.3x,v 1.26 2023/10/07 21:19:07 tom Exp $
.TH curs_in_wchstr 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_in_wchstr.3x,v 1.28 2023/11/11 11:42:45 tom Exp $
.TH curs_in_wchstr 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -115,7 +115,7 @@ This implementation checks for null pointers,
returning \fBERR\fP in that case.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_in_wch\fP(3X),
\fB\%curs_inchstr\fP(3X),
\fB\%curs_instr\fP(3X),
\fB\%curs_inwstr\fP(3X)
\fB\%curs_inchstr\fP(3X)
\fB\%curs_inwstr\fP(3X),
\fB\%curs_in_wch\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_initscr.3x,v 1.53 2023/10/07 21:19:07 tom Exp $
.TH curs_initscr 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_initscr.3x,v 1.54 2023/11/11 23:20:20 tom Exp $
.TH curs_initscr 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -155,7 +155,15 @@ Routines that return pointers always return \fBNULL\fP on error.
X/Open defines no error conditions.
In this implementation
.bP
\fBendwin\fP returns an error if the terminal was not initialized.
\fBendwin\fP returns an error 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.
.RE
.bP
\fBnewterm\fP
returns an error if it cannot allocate the data structures for the screen,

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_ins_wstr.3x,v 1.23 2023/10/07 22:22:46 tom Exp $
.TH curs_ins_wstr 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_ins_wstr.3x,v 1.25 2023/11/11 11:43:21 tom Exp $
.TH curs_ins_wstr 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -104,5 +104,5 @@ or if the window pointer is null.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_insstr\fP(3X),
\fB\%curs_in_wch\fP(3X),
\fB\%curs_ins_wch\fP(3X)
\fB\%curs_ins_wch\fP(3X),
\fB\%curs_in_wch\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_insstr.3x,v 1.40 2023/10/07 21:19:07 tom Exp $
.TH curs_insstr 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_insstr.3x,v 1.42 2023/11/11 11:46:07 tom Exp $
.TH curs_insstr 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -101,6 +101,6 @@ This is probably an error, since it makes this group of functions inconsistent.
Also, no implementation of curses documents this inconsistency.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_util\fP(3X),
\fB\%curs_clear\fP(3X),
\fB\%curs_inch\fP(3X)
\fB\%curs_inch\fP(3X),
\fB\%curs_util\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_memleaks.3x,v 1.29 2023/10/21 10:28:36 tom Exp $
.TH curs_memleaks 3X 2023-10-21 "ncurses 6.4" "Library calls"
.\" $Id: curs_memleaks.3x,v 1.31 2023/11/11 11:46:43 tom Exp $
.TH curs_memleaks 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -124,6 +124,6 @@ using \fB\%del_curterm\fP.
In this case, there is a global variable \fB\%cur_term\fP which can be
used as parameter.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_initscr\fP(3X),
\fB\%curs_terminfo\fP(3X),
\fB\%curses\fP(3X)
\fB\%curs_terminfo\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_outopts.3x,v 1.48 2023/10/07 22:54:10 tom Exp $
.TH curs_outopts 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_outopts.3x,v 1.50 2023/11/11 11:46:54 tom Exp $
.TH curs_outopts 3X 2023-11-11 "ncurses 6.4" "Library calls"
.de bP
.ie n .IP \(bu 4
.el .IP \(bu 2
@ -203,6 +203,6 @@ emulators.
\fB\%curs_addch\fP(3X),
\fB\%curs_clear\fP(3X),
\fB\%curs_initscr\fP(3X),
\fB\%curs_scroll\fP(3X),
\fB\%curs_refresh\fP(3X),
\fB\%curs_scroll\fP(3X),
\fB\%curs_variables\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_pad.3x,v 1.45 2023/10/21 10:29:45 tom Exp $
.TH curs_pad 3X 2023-10-21 "ncurses 6.4" "Library calls"
.\" $Id: curs_pad.3x,v 1.47 2023/11/11 11:47:10 tom Exp $
.TH curs_pad 3X 2023-11-11 "ncurses 6.4" "Library calls"
.de bP
.ie n .IP \(bu 4
.el .IP \(bu 2
@ -231,6 +231,6 @@ ensures that \fB\%dupwin\fP and \fB\%getwin\fP treat
pads versus windows consistently.
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%curs_addch\fP(3X),
\fB\%curs_refresh\fP(3X),
\fB\%curs_touch\fP(3X),
\fB\%curs_addch\fP(3X)
\fB\%curs_touch\fP(3X)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_scr_dump.3x,v 1.31 2023/10/07 21:19:07 tom Exp $
.TH curs_scr_dump 3X 2023-10-07 "ncurses 6.4" "Library calls"
.\" $Id: curs_scr_dump.3x,v 1.33 2023/11/11 11:47:41 tom Exp $
.TH curs_scr_dump 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -114,5 +114,5 @@ considered invalid "if the time-stamp of the tty is old" but do not define
\fB\%curs_initscr\fP(3X),
\fB\%curs_refresh\fP(3X),
\fB\%curs_util\fP(3X),
\fB\%scr_dump\fP(5),
\fB\%system\fP(3)
\fB\%system\fP(3),
\fB\%scr_dump\fP(5)

View File

@ -28,8 +28,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_terminfo.3x,v 1.115 2023/10/21 10:31:22 tom Exp $
.TH curs_terminfo 3X 2023-10-21 "ncurses 6.4" "Library calls"
.\" $Id: curs_terminfo.3x,v 1.117 2023/11/11 11:48:04 tom Exp $
.TH curs_terminfo 3X 2023-11-11 "ncurses 6.4" "Library calls"
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -781,6 +781,6 @@ In that case, the old location is unknown.
\fB\%curs_memleaks\fP(3X),
\fB\%curs_termcap\fP(3X),
\fB\%curs_variables\fP(3X),
\fB\%term_variables\fP(3X),
\fB\%putc\fP(3),
\fB\%term_variables\fP(3X),
\fB\%terminfo\fP(\*n)

View File

@ -27,8 +27,8 @@
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: term.7,v 1.40 2023/10/14 19:18:14 tom Exp $
.TH term 7 2023-10-14 "ncurses 6.4" Miscellaneous
.\" $Id: term.7,v 1.42 2023/11/11 11:48:16 tom Exp $
.TH term 7 2023-11-11 "ncurses 6.4" Miscellaneous
.ie \n(.g \{\
.ds `` \(lq
.ds '' \(rq
@ -230,5 +230,5 @@ tty line initialization (AT&T-like UNIXes)
tty line initialization (BSD-like UNIXes)
.SH SEE ALSO
\fB\%curses\fP(3X),
\fB\%terminfo\fP(\*n),
\fB\%term\fP(\*n)
\fB\%term\fP(\*n),
\fB\%terminfo\fP(\*n)

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
/****************************************************************************
* Copyright 2020 Thomas E. Dickey *
* Copyright 2020,2023 Thomas E. Dickey *
* Copyright 1998-2014,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@ -43,7 +43,7 @@
#include <curses.priv.h>
MODULE_ID("$Id: lib_endwin.c,v 1.25 2020/02/02 23:34:34 tom Exp $")
MODULE_ID("$Id: lib_endwin.c,v 1.28 2023/11/11 21:27:32 tom Exp $")
NCURSES_EXPORT(int)
NCURSES_SP_NAME(endwin) (NCURSES_SP_DCL0)
@ -52,20 +52,24 @@ NCURSES_SP_NAME(endwin) (NCURSES_SP_DCL0)
T((T_CALLED("endwin(%p)"), (void *) SP_PARM));
if (SP_PARM) {
if (SP_PARM != NULL) {
if (SP_PARM->_endwin != ewSuspend) {
#ifdef USE_TERM_DRIVER
TERMINAL_CONTROL_BLOCK *TCB = TCBOf(SP_PARM);
TERMINAL_CONTROL_BLOCK *TCB = TCBOf(SP_PARM);
SP_PARM->_endwin = ewSuspend;
if (TCB && TCB->drv && TCB->drv->td_scexit)
TCB->drv->td_scexit(SP_PARM);
SP_PARM->_endwin = ewSuspend;
if (TCB && TCB->drv && TCB->drv->td_scexit)
TCB->drv->td_scexit(SP_PARM);
#else
SP_PARM->_endwin = ewSuspend;
SP_PARM->_mouse_wrap(SP_PARM);
_nc_screen_wrap();
_nc_mvcur_wrap(); /* wrap up cursor addressing */
SP_PARM->_endwin = ewSuspend;
SP_PARM->_mouse_wrap(SP_PARM);
_nc_screen_wrap();
_nc_mvcur_wrap(); /* wrap up cursor addressing */
#endif
code = NCURSES_SP_NAME(reset_shell_mode) (NCURSES_SP_ARG);
code = OK;
}
if (NCURSES_SP_NAME(reset_shell_mode) (NCURSES_SP_ARG) == ERR)
code = ERR;
}
returnCode(code);

View File

@ -35,7 +35,7 @@
****************************************************************************/
/*
* $Id: curses.priv.h,v 1.676 2023/09/23 18:46:47 tom Exp $
* $Id: curses.priv.h,v 1.677 2023/11/10 15:11:11 tom Exp $
*
* curses.priv.h
*
@ -956,7 +956,8 @@ extern NCURSES_EXPORT_VAR(NCURSES_GLOBALS) _nc_globals;
extern NCURSES_EXPORT_VAR(NCURSES_PRESCREEN) _nc_prescreen;
typedef enum {
ewInitial = 0,
ewUnknown = 0,
ewInitial,
ewRunning,
ewSuspend
} ENDWIN;

View File

@ -1,8 +1,8 @@
ncurses6 (6.4+20231104) unstable; urgency=low
ncurses6 (6.4+20231111) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Mon, 30 Oct 2023 19:59:49 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Fri, 10 Nov 2023 05:36:12 -0500
ncurses6 (5.9+20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.4+20231104) unstable; urgency=low
ncurses6 (6.4+20231111) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Mon, 30 Oct 2023 19:59:49 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Fri, 10 Nov 2023 05:36:12 -0500
ncurses6 (5.9+20131005) unstable; urgency=low

View File

@ -1,8 +1,8 @@
ncurses6 (6.4+20231104) unstable; urgency=low
ncurses6 (6.4+20231111) unstable; urgency=low
* latest weekly patch
-- Thomas E. Dickey <dickey@invisible-island.net> Mon, 30 Oct 2023 19:59:49 -0400
-- Thomas E. Dickey <dickey@invisible-island.net> Fri, 10 Nov 2023 05:36:12 -0500
ncurses6 (5.9+20120608) unstable; urgency=low

View File

@ -1,4 +1,4 @@
; $Id: mingw-ncurses.nsi,v 1.615 2023/11/03 07:58:06 tom Exp $
; $Id: mingw-ncurses.nsi,v 1.616 2023/11/10 10:36:12 tom Exp $
; TODO add examples
; TODO bump ABI to 6
@ -10,7 +10,7 @@
!define VERSION_MAJOR "6"
!define VERSION_MINOR "4"
!define VERSION_YYYY "2023"
!define VERSION_MMDD "1104"
!define VERSION_MMDD "1111"
!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.4
Release: 20231104
Release: 20231111
License: X11
Group: Development/Libraries
URL: https://invisible-island.net/ncurses/

View File

@ -1,7 +1,7 @@
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.4
Release: 20231104
Release: 20231111
License: X11
Group: Development/Libraries
URL: https://invisible-island.net/ncurses/

View File

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

View File

@ -43,7 +43,7 @@
#include <dump_entry.h>
MODULE_ID("$Id: infocmp.c,v 1.157 2023/05/27 20:13:10 tom Exp $")
MODULE_ID("$Id: infocmp.c,v 1.158 2023/11/11 18:25:52 tom Exp $")
#define MAX_STRING 1024 /* maximum formatted string */
@ -209,15 +209,18 @@ use_predicate(unsigned type, PredIdx idx)
* unlike numbers and strings, whose cancelled/absent state is
* recorded in the terminfo database.
*/
for (ep = &entries[1]; ep < entries + termcount; ep++)
if (ep->tterm.Booleans[idx] == TRUE) {
is_set = entries[0].tterm.Booleans[idx];
break;
if (idx < NUM_BOOLEANS(&(entries[0].tterm))) {
for (ep = &entries[1]; ep < entries + termcount; ep++) {
if (idx < NUM_BOOLEANS(&(ep->tterm))
&& ep->tterm.Booleans[idx] == TRUE) {
is_set = entries[0].tterm.Booleans[idx];
break;
}
}
if (is_set != entries[0].tterm.Booleans[idx])
return (!is_set);
else
return (FAIL);
if (is_set != entries[0].tterm.Booleans[idx])
return (!is_set);
}
return (FAIL);
}
case NUMBER:
@ -229,16 +232,18 @@ use_predicate(unsigned type, PredIdx idx)
* capability gets the first non-default value found
* in the sequence of use entries'.
*/
for (ep = &entries[1]; ep < entries + termcount; ep++)
if (VALID_NUMERIC(ep->tterm.Numbers[idx])) {
value = ep->tterm.Numbers[idx];
break;
}
if (idx < NUM_NUMBERS(&(entries[0].tterm))) {
for (ep = &entries[1]; ep < entries + termcount; ep++)
if (idx < NUM_NUMBERS(&(ep->tterm))
&& VALID_NUMERIC(ep->tterm.Numbers[idx])) {
value = ep->tterm.Numbers[idx];
break;
}
if (value != entries[0].tterm.Numbers[idx])
return (value != ABSENT_NUMERIC);
else
return (FAIL);
if (value != entries[0].tterm.Numbers[idx])
return (value != ABSENT_NUMERIC);
}
return (FAIL);
}
case STRING:
@ -252,18 +257,20 @@ use_predicate(unsigned type, PredIdx idx)
* capability gets the first non-default value found
* in the sequence of use entries'.
*/
for (ep = &entries[1]; ep < entries + termcount; ep++)
if (ep->tterm.Strings[idx]) {
usestr = ep->tterm.Strings[idx];
break;
}
if (idx < NUM_STRINGS(&(entries[0].tterm))) {
for (ep = &entries[1]; ep < entries + termcount; ep++)
if (idx < NUM_STRINGS(&(ep->tterm))
&& ep->tterm.Strings[idx]) {
usestr = ep->tterm.Strings[idx];
break;
}
if (usestr == ABSENT_STRING && termstr == ABSENT_STRING)
return (FAIL);
else if (!usestr || !termstr || capcmp(idx, usestr, termstr))
return (TRUE);
else
return (FAIL);
if (usestr == ABSENT_STRING && termstr == ABSENT_STRING)
return (FAIL);
else if (!usestr || !termstr || capcmp(idx, usestr, termstr))
return (TRUE);
}
return (FAIL);
}
}

View File

@ -27,7 +27,7 @@
* authorization. *
****************************************************************************/
/*
* $Id: demo_forms.c,v 1.62 2023/05/27 20:13:10 tom Exp $
* $Id: demo_forms.c,v 1.63 2023/11/11 00:29:53 tom Exp $
*
* Demonstrate a variety of functions from the form library.
* Thomas Dickey - 2003/4/26
@ -154,7 +154,7 @@ make_label(const char *label, int frow, int fcol)
if (f) {
set_field_buffer(f, 0, label);
set_field_opts(f, (int) ((unsigned) field_opts(f) & ~O_ACTIVE));
set_field_opts(f, (int) ((unsigned) field_opts(f) & (unsigned) ~O_ACTIVE));
}
return (f);
}

View File

@ -1,5 +1,5 @@
/****************************************************************************
* Copyright 2018,2020 Thomas E. Dickey *
* Copyright 2018-2020,2023 Thomas E. Dickey *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@ -26,7 +26,7 @@
* authorization. *
****************************************************************************/
/*
* $Id: dump_window.c,v 1.4 2020/02/02 23:34:34 tom Exp $
* $Id: dump_window.c,v 1.5 2023/11/11 00:30:50 tom Exp $
*/
#include <dump_window.h>
@ -97,7 +97,7 @@ dump_window(WINDOW *w)
char aa;
char pp;
temp = ((data & A_ATTRIBUTES) & (~A_COLOR));
temp = ((data & A_ATTRIBUTES) & (chtype) (~A_COLOR));
if (temp) {
if (temp & A_ALTCHARSET) {
aa = (temp & A_BOLD) ? 'A' : 'a';

View File

@ -1,5 +1,5 @@
/****************************************************************************
* Copyright 2020-2021,2022 Thomas E. Dickey *
* Copyright 2020-2022,2023 Thomas E. Dickey *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@ -26,7 +26,7 @@
* authorization. *
****************************************************************************/
/*
* $Id: dup_field.c,v 1.7 2022/12/10 23:31:31 tom Exp $
* $Id: dup_field.c,v 1.8 2023/11/11 00:29:10 tom Exp $
*
* Demonstrate dup_field().
*/
@ -116,7 +116,7 @@ make_label(const char *label, int frow, int fcol)
if (f) {
set_field_buffer(f, 0, label);
set_field_opts(f, (int) ((unsigned) field_opts(f) & ~O_ACTIVE));
set_field_opts(f, (int) ((unsigned) field_opts(f) & (unsigned) ~O_ACTIVE));
}
return (f);
}

View File

@ -27,7 +27,7 @@
* authorization. *
****************************************************************************/
/*
* $Id: list_keys.c,v 1.32 2023/06/24 13:57:11 tom Exp $
* $Id: list_keys.c,v 1.33 2023/11/11 00:35:05 tom Exp $
*
* Author: Thomas E Dickey
*
@ -52,7 +52,10 @@
static bool f_opt = FALSE;
static bool m_opt = FALSE;
static bool t_opt = FALSE;
#if NCURSES_XNAMES || HAVE_USE_EXTENDED_NAMES
static bool x_opt = FALSE;
#endif
typedef enum {
ktCursor
@ -471,7 +474,7 @@ main(int argc, char *argv[])
case 't':
t_opt = TRUE;
break;
#ifdef NCURSES_VERSION
#if NCURSES_XNAMES || HAVE_USE_EXTENDED_NAMES
case 'x':
x_opt = TRUE;
break;

View File

@ -1,6 +1,6 @@
# $Id: modules,v 1.78 2022/08/13 20:53:43 tom Exp $
# $Id: modules,v 1.79 2023/11/10 11:48:20 tom Exp $
##############################################################################
# Copyright 2018-2021,2022 Thomas E. Dickey #
# Copyright 2018-2022,2023 Thomas E. Dickey #
# Copyright 1998-2016,2017 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
@ -102,6 +102,7 @@ test_addstr progs $(srcdir) $(HEADER_DEPS) $(srcdir)/linedata.h
test_addwstr progs $(srcdir) $(HEADER_DEPS) $(srcdir)/linedata.h
test_arrays progs $(srcdir) $(HEADER_DEPS)
test_delwin progs $(srcdir) $(HEADER_DEPS)
test_endwin progs $(srcdir) $(HEADER_DEPS)
test_get_wstr progs $(srcdir) $(HEADER_DEPS)
test_getstr progs $(srcdir) $(HEADER_DEPS)
test_instr progs $(srcdir) $(HEADER_DEPS)

View File

@ -1,5 +1,5 @@
/****************************************************************************
* Copyright 2020-2021,2022 Thomas E. Dickey *
* Copyright 2020-2022,2023 Thomas E. Dickey *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@ -26,7 +26,7 @@
* authorization. *
****************************************************************************/
/*
* $Id: move_field.c,v 1.14 2022/12/10 23:31:31 tom Exp $
* $Id: move_field.c,v 1.15 2023/11/11 00:28:19 tom Exp $
*
* Demonstrate move_field().
*/
@ -116,7 +116,7 @@ make_label(const char *label, int frow, int fcol)
if (f) {
set_field_buffer(f, 0, label);
set_field_opts(f, (int) ((unsigned) field_opts(f) & ~O_ACTIVE));
set_field_opts(f, (int) ((unsigned) field_opts(f) & (unsigned) ~O_ACTIVE));
}
return (f);
}

View File

@ -41,7 +41,7 @@ AUTHOR
Author: Eric S. Raymond <esr@snark.thyrsus.com> 1993
Thomas E. Dickey (beginning revision 1.27 in 1996).
$Id: ncurses.c,v 1.535 2023/05/27 20:13:10 tom Exp $
$Id: ncurses.c,v 1.538 2023/11/11 01:23:59 tom Exp $
***************************************************************************/
@ -3157,7 +3157,7 @@ color_edit(bool recur GCC_UNUSED)
*
****************************************************************************/
static bool
cycle_attr(int ch, unsigned *at_code, chtype *attr, ATTR_TBL * list, unsigned limit)
cycle_attr(int ch, unsigned *at_code, attr_t *attr, ATTR_TBL * list, unsigned limit)
{
bool result = TRUE;
@ -3318,7 +3318,7 @@ slk_test(bool recur GCC_UNUSED)
int c, fmt = 1;
char buf[9];
char *s;
chtype attr = A_NORMAL;
attr_t attr = A_NORMAL;
unsigned at_code = 0;
#if HAVE_SLK_COLOR
int fg = COLOR_BLACK;
@ -3408,7 +3408,7 @@ slk_test(bool recur GCC_UNUSED)
default:
if (cycle_attr(c, &at_code, &attr, my_list, my_size)) {
slk_attrset(attr);
slk_attrset((chtype) attr);
slk_touch();
slk_noutrefresh();
break;
@ -3824,7 +3824,7 @@ acs_test(bool recur GCC_UNUSED)
const char *pch_kludge = ((term != 0 && strstr(term, "linux"))
? "p=PC, "
: "");
chtype attr = A_NORMAL;
attr_t attr = A_NORMAL;
int digit = 0;
int repeat = 1;
int fg = COLOR_BLACK;
@ -6369,7 +6369,7 @@ make_label(int frow, int fcol, NCURSES_CONST char *label)
if (f) {
set_field_buffer(f, 0, label);
set_field_opts(f, (int) ((unsigned) field_opts(f) & ~O_ACTIVE));
set_field_opts(f, (int) ((unsigned) field_opts(f) & (unsigned) ~O_ACTIVE));
}
return (f);
}

View File

@ -1,4 +1,4 @@
# $Id: programs,v 1.55 2022/08/13 23:37:10 tom Exp $
# $Id: programs,v 1.56 2023/11/10 11:48:38 tom Exp $
##############################################################################
# Copyright 2018-2021,2022 Thomas E. Dickey #
# Copyright 2006-2016,2017 Free Software Foundation, Inc. #
@ -97,6 +97,7 @@ test_addstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_addstr
test_addwstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_addwstr
test_arrays $(LDFLAGS_TINFO) $(LOCAL_LIBS) test_arrays
test_delwin $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_delwin
test_endwin $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_endwin
test_get_wstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_get_wstr popup_msg
test_getstr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_getstr popup_msg
test_instr $(LDFLAGS_CURSES) $(LOCAL_LIBS) test_instr

View File

@ -30,7 +30,7 @@
/****************************************************************************
* Author: Thomas E. Dickey 1996-on *
****************************************************************************/
/* $Id: test.priv.h,v 1.216 2023/04/23 23:38:22 tom Exp $ */
/* $Id: test.priv.h,v 1.217 2023/11/11 00:23:26 tom Exp $ */
#ifndef __TEST_PRIV_H
#define __TEST_PRIV_H 1
@ -765,11 +765,11 @@ extern int optind;
#define VERSION_COMMON() \
static char *version_common(char **argv) { \
char *base = argv[0]; \
char *leaf = strrchr(base, '/'); \
char *part = strrchr(base, '/'); \
char *result = malloc(strlen(base) + 80); \
if (result != NULL) { \
if (leaf++ == NULL) leaf = base; \
sprintf(result, "%.20s: ", leaf); \
if (part++ == NULL) part = base; \
sprintf(result, "%.20s: ", part); \
format_version(result + strlen(result)); \
} \
return result; \

132
test/test_endwin.c Normal file
View File

@ -0,0 +1,132 @@
/****************************************************************************
* Copyright 2023 Thomas E. Dickey *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* "Software"), to deal in the Software without restriction, including *
* without limitation the rights to use, copy, modify, merge, publish, *
* distribute, distribute with modifications, sublicense, and/or sell *
* copies of the Software, and to permit persons to whom the Software is *
* furnished to do so, subject to the following conditions: *
* *
* The above copyright notice and this permission notice shall be included *
* in all copies or substantial portions of the Software. *
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
* THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
* *
* Except as contained in this notice, the name(s) of the above copyright *
* holders shall not be used in advertising or otherwise to promote the *
* sale, use or other dealings in this Software without prior written *
* authorization. *
****************************************************************************/
/*
* $Id: test_endwin.c,v 1.2 2023/11/10 15:17:19 tom Exp $
*/
#include <test.priv.h>
static void
usage(int ok)
{
static const char *msg[] =
{
"Usage: test_endwin [options]"
,""
,"Options:"
," -e call endwin() an extra time"
," -i call initscr() before endwin()"
," -n call newterm() before endwin()"
," -r call refresh() before endwin()"
," -s call getch() after endwin(), to refresh screen"
,""
,USAGE_COMMON
};
size_t n;
for (n = 0; n < SIZEOF(msg); n++)
fprintf(stderr, "%s\n", msg[n]);
ExitProgram(ok ? EXIT_SUCCESS : EXIT_FAILURE);
}
/* *INDENT-OFF* */
VERSION_COMMON()
/* *INDENT-ON* */
#define status(opt,name,rc) if (opt) printf(" %s: %s", name, (rc) == OK ? "OK" : "ERR")
int
main(int argc, char *argv[])
{
int ch;
int rc_r = OK;
int rc_e1 = OK;
int rc_e2 = OK;
int rc_e3 = OK;
SCREEN *sp = NULL;
bool opt_e = FALSE;
bool opt_i = FALSE;
bool opt_n = FALSE;
bool opt_r = FALSE;
bool opt_s = FALSE;
while ((ch = getopt(argc, argv, "einrs" OPTS_COMMON)) != -1) {
switch (ch) {
case 'e':
opt_e = TRUE;
break;
case 'i':
opt_i = TRUE;
break;
case 'n':
opt_n = TRUE;
break;
case 'r':
opt_r = TRUE;
break;
case 's':
opt_s = TRUE;
break;
case OPTS_VERSION:
show_version(argv);
ExitProgram(EXIT_SUCCESS);
default:
usage(ch == OPTS_USAGE);
/* NOTREACHED */
}
}
if (optind < argc)
usage(FALSE);
if (opt_i && opt_n)
usage(TRUE);
if (opt_i) {
initscr();
} else if (opt_n) {
sp = newterm(NULL, stdout, stdin);
}
if (opt_r) {
rc_r = refresh();
}
rc_e1 = endwin();
if (opt_e) {
rc_e2 = endwin();
}
if (opt_s) {
getch();
rc_e3 = endwin();
}
printf("status:");
status(opt_i, "initscr(-i)", OK);
status(opt_n, "newterm(-n)", (sp != NULL) ? OK : ERR);
status(opt_r, "refresh(-r)", rc_r);
status(TRUE, "endwin", rc_e1);
status(opt_e, "endwin(-e)", rc_e2);
status(opt_s, "endwin(-s)", rc_e3);
printf("\n");
ExitProgram(EXIT_SUCCESS);
}

View File

@ -29,7 +29,7 @@
/*
* Author: Thomas E. Dickey
*
* $Id: test_tparm.c,v 1.37 2023/04/28 23:12:00 tom Exp $
* $Id: test_tparm.c,v 1.39 2023/11/11 01:00:03 tom Exp $
*
* Exercise tparm/tiparm, either for all possible capabilities with fixed
* parameters, or one capability with specific combinations of parameters.
@ -69,11 +69,17 @@ failed(const char *msg)
#if HAVE_TIGETSTR
static int a_opt;
static int i_opt;
static int p_opt;
static int s_opt;
static int v_opt;
#if HAVE_TIPARM
static int i_opt;
#endif
#if HAVE_TIPARM_S
static int s_opt;
#endif
/*
* Total tests (and failures):
*/
@ -605,6 +611,8 @@ main(int argc, char *argv[])
all_caps[len_caps++] = strdup(ExtStrname(term, (int) n, strnames));
}
}
#else
(void) std_caps;
#endif
/*