+ improve description of tgoto parameters (report by Steffen Nurpmeso).
+ amend workaround for Solaris line-drawing to restore a special case
that maps Unicode line-drawing characters into the acsc string for
non-Unicode locales (Debian #816888).
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.2580 2016/03/12 18:59:41 tom Exp $
+-- $Id: NEWS,v 1.2583 2016/03/19 23:00:31 tom Exp $
-------------------------------------------------------------------------------
This is a log of changes that ncurses has gone through since Zeyd started
Changes through 1.9.9e did not credit all contributions;
it is not possible to add this information.
+20160319
+ + improve description of tgoto parameters (report by Steffen Nurpmeso).
+ + amend workaround for Solaris line-drawing to restore a special case
+ that maps Unicode line-drawing characters into the acsc string for
+ non-Unicode locales (Debian #816888).
+
20160312
+ modified test/filter.c to illustrate an alternative to getnstr, that
polls for input while updating a clock on the right margin as well
-5:0:9 6.0 20160312
+5:0:9 6.0 20160319
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1097 2016/03/12 14:38:16 tom Exp $
+# $Id: dist.mk,v 1.1098 2016/03/19 14:38:08 tom Exp $
# Makefile for creating ncurses distributions.
#
# This only needs to be used directly as a makefile by developers, but
# These define the major/minor/patch versions of ncurses.
NCURSES_MAJOR = 6
NCURSES_MINOR = 0
-NCURSES_PATCH = 20160312
+NCURSES_PATCH = 20160319
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
.\"***************************************************************************
-.\" Copyright (c) 1998-2013,2015 Free Software Foundation, Inc. *
+.\" Copyright (c) 1998-2015,2016 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
.\" copy of this software and associated documentation files (the *
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: curs_termcap.3x,v 1.31 2015/04/26 00:49:10 tom Exp $
+.\" $Id: curs_termcap.3x,v 1.32 2016/03/19 22:52:25 tom Exp $
.TH curs_termcap 3X ""
.de bP
.IP \(bu 4
\fBtgetstr\fR are compared in lookups.
.SS FORMATTING CAPABILITIES
.PP
-The \fBtgoto\fR routine instantiates the parameters into the given capability.
-The output from this routine is to be passed to \fBtputs\fR.
+The \fBtgoto\fR routine expands the given capability using the parameters.
+.bP
+Because the capability may have padding characters,
+the output of \fBtgoto\fP should be passed to \fBtputs\fR
+rather than some other output function such as \fBprintf\fP.
+.bP
+While \fBtgoto\fP is assumed to be used for the two-parameter
+cursor positioning capability,
+termcap applications also use it for single-parameter capabilities.
+.IP
+Doing this shows a quirk in \fBtgoto\fP: most hardware
+terminals use cursor addressing with \fIrow\fP first,
+but the original developers of the termcap interface chose to
+put the \fIcolumn\fP parameter first.
+The \fBtgoto\fP function swaps the order of parameters.
+It does this also for calls requiring only a single parameter.
+In that case, the first parameter is merely a placeholder.
+.bP
+Normally the ncurses library is compiled with terminfo support.
+In that case, \fBtgoto\fP uses \fBtparm\fP (a more capable formatter).
.PP
The \fBtputs\fR routine is described on the \fBcurs_terminfo\fR(3X) manual
page. It can retrieve capabilities by either termcap or terminfo name.
/****************************************************************************
- * Copyright (c) 2002-2014,2015 Free Software Foundation, Inc. *
+ * Copyright (c) 2002-2015,2016 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
#include <curses.priv.h>
-MODULE_ID("$Id: lib_wacs.c,v 1.16 2015/12/19 23:29:03 tom Exp $")
+MODULE_ID("$Id: lib_wacs.c,v 1.17 2016/03/19 19:00:09 tom Exp $")
NCURSES_EXPORT_VAR(cchar_t) * _nc_wacs = 0;
#endif
m = table[n].map;
- SetChar(_nc_wacs[m],
- table[n].value[(active && (wide == 1)) ? 1 : 0],
- A_NORMAL);
+ if (active && (wide == 1)) {
+ SetChar(_nc_wacs[m], table[n].value[1], A_NORMAL);
+ } else if (acs_map[m] & A_ALTCHARSET) {
+ SetChar(_nc_wacs[m], m, A_ALTCHARSET);
+ } else {
+ SetChar(_nc_wacs[m], table[n].value[0], A_NORMAL);
+ }
T(("#%d, wide:%d SetChar(%c, %#04x) = %s",
n, wide, m,
-ncurses6 (6.0+20160312) unstable; urgency=low
+ncurses6 (6.0+20160319) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 12 Mar 2016 09:38:16 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 19 Mar 2016 10:38:08 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.0+20160312) unstable; urgency=low
+ncurses6 (6.0+20160319) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 12 Mar 2016 09:38:16 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 19 Mar 2016 10:38:08 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.0+20160312) unstable; urgency=low
+ncurses6 (6.0+20160319) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 12 Mar 2016 09:38:16 -0500
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 19 Mar 2016 10:38:08 -0400
ncurses6 (5.9-20120608) unstable; urgency=low
-; $Id: mingw-ncurses.nsi,v 1.149 2016/03/12 14:38:16 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.150 2016/03/19 14:38:08 tom Exp $\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "0"\r
!define VERSION_YYYY "2016"\r
-!define VERSION_MMDD "0312"\r
+!define VERSION_MMDD "0319"\r
!define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
\r
!define MY_ABI "5"\r
Summary: shared libraries for terminal handling
Name: mingw32-ncurses6
Version: 6.0
-Release: 20160312
+Release: 20160319
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.0
-Release: 20160312
+Release: 20160319
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz