-- sale, use or other dealings in this Software without prior written --
-- authorization. --
-------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3185 2018/09/08 23:29:00 tom Exp $
+-- $Id: NEWS,v 1.3190 2018/09/22 21:23:32 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.
+20180922
+ + ignore interrupted system-call in test/ncurses's command-line, e.g.,
+ if the terminal were resized.
+ + add shift/control/alt logic for decoding xterm's 1006 mode (Redhat
+ #1610681, cf: 20141011).
+ + modify rpm test-packages to not use --disable-relink with Redhat,
+ since Fedora 28's tools do not work with that feature.
+
20180908
+ document --with-pcre2 configure option in INSTALL.
+ improve workaround for special case in PutAttrChar() where a cell is
-5:0:10 6.1 20180908
+5:0:10 6.1 20180922
# use or other dealings in this Software without prior written #
# authorization. #
##############################################################################
-# $Id: dist.mk,v 1.1240 2018/09/08 14:15:19 tom Exp $
+# $Id: dist.mk,v 1.1242 2018/09/22 16:36:59 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 = 1
-NCURSES_PATCH = 20180908
+NCURSES_PATCH = 20180922
# We don't append the patch to the version, since this only applies to releases
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
/****************************************************************************
- * Copyright (c) 1998-2016,2017 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2017,2018 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 *
#define CUR SP_TERMTYPE
#endif
-MODULE_ID("$Id: lib_mouse.c,v 1.176 2017/11/18 22:12:06 Vassili.Courzakis Exp $")
+MODULE_ID("$Id: lib_mouse.c,v 1.177 2018/09/22 19:54:21 tom Exp $")
#include <tic.h>
{
bool result;
+ _tracef("decode_X10_bstate %#x", intro);
eventp->bstate = 0;
if (!handle_wheel(sp, eventp, (int) intro, (intro & 96) == 96)) {
} else {
eventp->bstate = REPORT_MOUSE_POSITION;
}
+ if (b & 4) {
+ eventp->bstate |= BUTTON_SHIFT;
+ }
+ if (b & 8) {
+ eventp->bstate |= BUTTON_ALT;
+ }
+ if (b & 16) {
+ eventp->bstate |= BUTTON_CTRL;
+ }
}
result = (eventp->bstate & REPORT_MOUSE_POSITION) ? TRUE : FALSE;
eventp->x = (data.params[1] ? (data.params[1] - 1) : 0);
-ncurses6 (6.1+20180908) unstable; urgency=low
+ncurses6 (6.1+20180922) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 08 Sep 2018 10:15:19 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 22 Sep 2018 12:36:59 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.1+20180908) unstable; urgency=low
+ncurses6 (6.1+20180922) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 08 Sep 2018 10:15:19 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 22 Sep 2018 12:36:59 -0400
ncurses6 (5.9-20131005) unstable; urgency=low
-ncurses6 (6.1+20180908) unstable; urgency=low
+ncurses6 (6.1+20180922) unstable; urgency=low
* latest weekly patch
- -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 08 Sep 2018 10:15:19 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net> Sat, 22 Sep 2018 12:36:59 -0400
ncurses6 (5.9-20120608) unstable; urgency=low
-; $Id: mingw-ncurses.nsi,v 1.287 2018/09/08 14:15:19 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.289 2018/09/22 16:36:59 tom Exp $\r
\r
; TODO add examples\r
; TODO bump ABI to 6\r
!define VERSION_MAJOR "6"\r
!define VERSION_MINOR "1"\r
!define VERSION_YYYY "2018"\r
-!define VERSION_MMDD "0908"\r
+!define VERSION_MMDD "0922"\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.1
-Release: 20180908
+Release: 20180922
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
Summary: shared libraries for terminal handling
Name: ncurses6
Version: 6.1
-Release: 20180908
+Release: 20180922
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
%define _disable_ld_build_id 1
%endif
+%if %{is_redhat}
+# workaround for toolset breakage in Fedora 28
+%define _test_relink --enable-relink
+%else
+%define _test_relink --disable-relink
+%endif
+
%setup -q -n ncurses-%{version}-%{release}
%build
-%define my_srcdir ..
%define CFG_OPTS \\\
--target %{_target_platform} \\\
--prefix=%{_prefix} \\\
--disable-leaks \\\
--disable-macros \\\
--disable-overwrite \\\
- --disable-relink \\\
+ %{_test_relink} \\\
--disable-termcap \\\
--enable-hard-tabs \\\
--enable-opaque-curses \\\
CFLAGS="%{CC_NORMAL}" \
RPATH_LIST=../lib:%{_libdir} \
%configure %{CFG_OPTS}
+
make
%install
Summary: Curses library with POSIX thread support.
Name: ncursest6
Version: 6.1
-Release: 20180908
+Release: 20180922
License: X11
Group: Development/Libraries
Source: ncurses-%{version}-%{release}.tgz
%define _disable_ld_build_id 1
%endif
+%if %{is_redhat}
+# workaround for toolset breakage in Fedora 28
+%define _test_relink --enable-relink
+%else
+%define _test_relink --disable-relink
+%endif
+
%setup -q -n ncurses-%{version}-%{release}
%build
--disable-leaks \\\
--disable-macros \\\
--disable-overwrite \\\
- --disable-relink \\\
+ %{_test_relink} \\\
--disable-termcap \\\
--enable-hard-tabs \\\
--enable-opaque-curses \\\
Author: Eric S. Raymond <esr@snark.thyrsus.com> 1993
Thomas E. Dickey (beginning revision 1.27 in 1996).
-$Id: ncurses.c,v 1.507 2018/06/23 21:35:06 tom Exp $
+$Id: ncurses.c,v 1.508 2018/09/22 21:21:43 tom Exp $
***************************************************************************/
if (read(fileno(stdin), &ch, (size_t) 1) <= 0) {
if (command == 0)
command = 'q';
+ if (errno == EINTR) {
+ clearerr(stdin);
+ continue;
+ }
break;
} else if (command == 0 && !isspace(UChar(ch))) {
command = ch;