diff --git a/ncurses-6.0-patches.tar.bz2 b/ncurses-6.0-patches.tar.bz2
index 2f71a89..3acd03d 100644
--- a/ncurses-6.0-patches.tar.bz2
+++ b/ncurses-6.0-patches.tar.bz2
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:92310612cbe939ebd4711dc9557113ba46b9abcf6ac528c37ef158ecb207e670
-size 1294763
+oid sha256:bcb134b70aeb51a01742f2b4bfeaec25bc38659f3e889f939ce4b2f952feee68
+size 1313444
diff --git a/ncurses-6.0.dif b/ncurses-6.0.dif
index 268bc4c..13a4598 100644
--- a/ncurses-6.0.dif
+++ b/ncurses-6.0.dif
@@ -21,7 +21,7 @@
  19 files changed, 240 insertions(+), 80 deletions(-)
 
 --- aclocal.m4
-+++ aclocal.m4	2016-10-13 08:37:55.317157744 +0000
++++ aclocal.m4	2016-11-21 08:55:04.418932316 +0000
 @@ -564,7 +564,7 @@ AC_MSG_CHECKING([for size of bool])
  AC_CACHE_VAL(cf_cv_type_of_bool,[
  	rm -f cf_test.out
@@ -150,7 +150,7 @@
  esac
  done
 --- configure
-+++ configure	2016-10-13 08:37:55.321157664 +0000
++++ configure	2016-11-21 08:55:04.422932233 +0000
 @@ -5895,7 +5895,7 @@ case $cf_cv_system_name in
  	fi
  	;;
@@ -287,7 +287,7 @@
  	# the next lines are needed for linking libtic over libncurses
  	TINFO_NAME=${LIB_NAME}
 --- include/curses.h.in
-+++ include/curses.h.in	2016-10-13 08:37:55.321157664 +0000
++++ include/curses.h.in	2016-11-21 08:55:04.422932233 +0000
 @@ -165,6 +165,9 @@ typedef @cf_cv_typeof_chtype@ chtype;
  typedef @cf_cv_typeof_mmask_t@ mmask_t;
  #endif
@@ -299,7 +299,7 @@
   * We need FILE, etc.  Include this before checking any feature symbols.
   */
 --- include/termcap.h.in
-+++ include/termcap.h.in	2016-10-13 08:37:55.321157664 +0000
++++ include/termcap.h.in	2016-11-21 08:55:04.422932233 +0000
 @@ -46,6 +46,8 @@ extern "C"
  {
  #endif /* __cplusplus */
@@ -310,7 +310,7 @@
  
  #undef  NCURSES_CONST 
 --- include/tic.h
-+++ include/tic.h	2016-10-13 08:37:55.321157664 +0000
++++ include/tic.h	2016-11-21 08:55:04.422932233 +0000
 @@ -231,12 +231,12 @@ extern NCURSES_EXPORT(const struct alias
   */
  
@@ -327,7 +327,7 @@
  #define CANCELLED_STRING	(char *)(-1)
  
 --- man/man_db.renames
-+++ man/man_db.renames	2016-10-13 08:37:55.321157664 +0000
++++ man/man_db.renames	2016-11-21 08:55:04.422932233 +0000
 @@ -167,6 +167,8 @@ tput.1				tput.1
  tset.1				tset.1
  vprintf.3s			vprintf.3
@@ -338,7 +338,7 @@
  # Other:
  tack.1m				tack.1
 --- man/ncurses.3x
-+++ man/ncurses.3x	2016-10-13 08:37:55.321157664 +0000
++++ man/ncurses.3x	2016-11-21 08:55:04.422932233 +0000
 @@ -121,6 +121,10 @@ after the shell environment variable \fB
  [See \fBterminfo\fR(\*n) for further details.]
  .SS Datatypes
@@ -351,7 +351,7 @@
  called \fIwindows\fR, which can be thought of as two-dimensional
  arrays of characters representing all or part of a CRT screen.
 --- misc/gen-pkgconfig.in
-+++ misc/gen-pkgconfig.in	2016-10-13 08:37:55.321157664 +0000
++++ misc/gen-pkgconfig.in	2016-11-21 08:55:04.422932233 +0000
 @@ -76,7 +76,7 @@ if test "$includedir" != "/usr/include"
  fi
  
@@ -391,7 +391,7 @@
  
  	echo "** creating ${name}${suffix}.pc"
 --- misc/ncurses-config.in
-+++ misc/ncurses-config.in	2016-10-13 08:37:55.321157664 +0000
++++ misc/ncurses-config.in	2016-11-21 08:55:04.422932233 +0000
 @@ -100,7 +100,7 @@ while test $# -gt 0; do
  	# compile/link
  	--cflags)
@@ -402,7 +402,7 @@
  		fi
  		if test "${includedir}" != /usr/include ; then
 --- misc/terminfo.src
-+++ misc/terminfo.src	2016-10-13 08:37:55.385156367 +0000
++++ misc/terminfo.src	2016-11-21 09:00:40.276070162 +0000
 @@ -301,7 +301,9 @@ dumb|80-column dumb tty,
  	am,
  	cols#80,
@@ -414,7 +414,7 @@
  	gn, use=dumb,
  lpr|printer|line printer,
  	OTbs, hc, os,
-@@ -1339,7 +1341,7 @@ nsterm|Apple_Terminal|AppKit Terminal.ap
+@@ -1347,7 +1349,7 @@ nsterm|Apple_Terminal|AppKit Terminal.ap
  #
  # NOTE: When tack tests (csr) + (nel) iTerm.app crashes, so (csr) is
  # disabled.
@@ -423,7 +423,7 @@
  	bce, bw@,
  	csr@, dim@, kend=\EOF, khome=\EOH,
  	sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?
-@@ -1728,9 +1730,15 @@ linux-c|linux console 1.3.6+ for older n
+@@ -1737,9 +1739,15 @@ linux-c|linux console 1.3.6+ for older n
  # The 2.2.x kernels add a private mode that sets the cursor type; use that to
  # get a block cursor for cvvis.
  # reported by Frank Heckenbach <frank@g-n-u.de>.
@@ -440,7 +440,7 @@
  
  # Linux 2.6.x has a fix for SI/SO to work with UTF-8 encoding added here:
  #	http://lkml.iu.edu/hypermail/linux/kernel/0602.2/0738.html
-@@ -1745,6 +1753,7 @@ linux2.6|linux 2.6.x console,
+@@ -1754,6 +1762,7 @@ linux2.6|linux 2.6.x console,
  	acsc=++\,\,--..00__``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwx
  	     xyyzz{{||}c~~,
  	enacs=\E(B\E)0, rmacs=^O,
@@ -448,7 +448,7 @@
  	sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5
  	    %t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;,
  	sgr0=\E[m\017, smacs=^N, use=linux2.2,
-@@ -3163,6 +3172,7 @@ vt132|DEC vt132,
+@@ -3180,6 +3189,7 @@ vt132|DEC vt132,
  # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
  # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
  # PF1--PF4 are used as F1--F4.
@@ -456,7 +456,7 @@
  #
  # added msgr -TD
  vt220-old|vt200-old|DEC VT220 in vt100 emulation mode,
-@@ -3173,7 +3183,7 @@ vt220-old|vt200-old|DEC VT220 in vt100 e
+@@ -3190,7 +3200,7 @@ vt220-old|vt200-old|DEC VT220 in vt100 e
  	bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l,
  	clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M,
  	csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C,
@@ -465,7 +465,7 @@
  	dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I,
  	if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>,
  	is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B,
-@@ -3334,6 +3344,7 @@ vt320nam|v320n|DEC VT320 in vt100 emul.
+@@ -3351,6 +3361,7 @@ vt320nam|v320n|DEC VT320 in vt100 emul.
  # to SMASH the 1k-barrier...
  # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
  # (vt320: uncommented <fsl> --esr)
@@ -473,7 +473,7 @@
  vt320|vt300|dec vt320 7 bit terminal,
  	am, hs, mir, msgr, xenl,
  	cols#80, lines#24, wsl#80,
-@@ -3343,7 +3354,7 @@ vt320|vt300|dec vt320 7 bit terminal,
+@@ -3360,7 +3371,7 @@ vt320|vt300|dec vt320 7 bit terminal,
  	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
  	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
  	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
@@ -482,7 +482,7 @@
  	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I,
  	hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED,
  	is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H,
-@@ -3814,6 +3825,7 @@ putty+fnkeys+sco|SCO fn-keys for PuTTY,
+@@ -3832,6 +3843,7 @@ putty+fnkeys+sco|SCO fn-keys for PuTTY,
  # retrieving the window title, and for setting the window size (i.e., using
  # "resize -s"), though it does not pass SIGWINCH to the application if the
  # user resizes the window with the mouse.
@@ -490,7 +490,7 @@
  teraterm2.3|Tera Term Pro,
  	km, xon@,
  	ncv#43, vt@,
-@@ -3822,7 +3834,7 @@ teraterm2.3|Tera Term Pro,
+@@ -3840,7 +3852,7 @@ teraterm2.3|Tera Term Pro,
  	     \264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
  	blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J,
  	cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
@@ -499,7 +499,7 @@
  	dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
  	flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG,
  	il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~,
-@@ -4028,6 +4040,7 @@ xterm-old|antique xterm version,
+@@ -4046,6 +4058,7 @@ xterm-old|antique xterm version,
  	use=xterm-r6,
  # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
  # The name has been changed and some aliases have been removed.
@@ -507,7 +507,7 @@
  xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System),
  	OTbs, am, bce, km, mir, msgr, xenl, XT,
  	cols#80, it#8, lines#24, ncv@,
-@@ -4037,7 +4050,7 @@ xterm-xf86-v32|xterm terminal emulator (
+@@ -4055,7 +4068,7 @@ xterm-xf86-v32|xterm terminal emulator (
  	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
  	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
  	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
@@ -516,7 +516,7 @@
  	ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
  	flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
  	ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL,
-@@ -4528,8 +4541,26 @@ xterm-noapp|xterm with cursor keys in no
+@@ -4547,8 +4560,26 @@ xterm-noapp|xterm with cursor keys in no
  xterm-24|vs100|xterms|xterm terminal emulator (X Window System),
  	lines#24, use=xterm-old,
  
@@ -543,7 +543,7 @@
  	use=xterm-new,
  
  # This entry assumes that xterm's handling of VT100 SI/SO is disabled by
-@@ -4871,7 +4902,7 @@ xterms-sun|small (80x24) xterm with sunF
+@@ -4891,7 +4922,7 @@ xterms-sun|small (80x24) xterm with sunF
  
  #### GNOME (VTE)
  # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
@@ -552,7 +552,7 @@
  	bce,
  	kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
  	use=xterm-color,
-@@ -5046,10 +5077,14 @@ mgt|Multi GNOME Terminal,
+@@ -5067,10 +5098,14 @@ mgt|Multi GNOME Terminal,
  #### KDE
  # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
  # or not is debatable).
@@ -568,7 +568,7 @@
  # Konsole 1.0.1
  # (formerly known as kvt)
  #
-@@ -5180,14 +5215,14 @@ mlterm3|multi lingual terminal emulator,
+@@ -5201,14 +5236,14 @@ mlterm3|multi lingual terminal emulator,
  mlterm2|multi lingual terminal emulator,
  	am, eslok, km, mc5i, mir, msgr, npc, xenl, XT,
  	colors#8, cols#80, it#8, lines#24, pairs#64,
@@ -586,7 +586,7 @@
  	home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@,
  	ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS,
  	is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>,
-@@ -5243,6 +5278,7 @@ mlterm-256color|mlterm 3.0 with xterm 25
+@@ -5264,6 +5299,7 @@ mlterm-256color|mlterm 3.0 with xterm 25
  # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
  # Since rxvt is not really compatible with xterm, it should be configured as
  # "rxvt" or "rxvt-color".
@@ -594,7 +594,7 @@
  #
  # removed dch/dch1 because they are inconsistent with bce/ech -TD
  # remove km as per tack test -TD
-@@ -5254,13 +5290,14 @@ rxvt-basic|rxvt terminal base (X Window
+@@ -5275,13 +5311,14 @@ rxvt-basic|rxvt terminal base (X Window
  	clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
  	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
  	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
@@ -612,7 +612,7 @@
  	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
  	rmul=\E[24m,
  	rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
-@@ -5271,7 +5308,7 @@ rxvt-basic|rxvt terminal base (X Window
+@@ -5292,7 +5329,7 @@ rxvt-basic|rxvt terminal base (X Window
  	    %p9%t\016%e\017%;,
  	sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
  	smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, use=vt100+enq,
@@ -621,7 +621,7 @@
  # Key Codes from rxvt reference:
  #
  # Note: Shift + F1-F10 generates F11-F20
-@@ -5354,8 +5391,8 @@ rxvt-basic|rxvt terminal base (X Window
+@@ -5375,8 +5412,8 @@ rxvt-basic|rxvt terminal base (X Window
  # Removed kDN6, etc (control+shift) since rxvt does not implement this -TD
  rxvt+pcfkeys|fragment for PC-style fkeys,
  	kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kIC=\E[2$, kLFT=\E[d,
@@ -632,9 +632,9 @@
  	kend=\E[8~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~,
  	kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~,
  	kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~,
-@@ -5414,6 +5451,38 @@ rxvt-cygwin-native|rxvt terminal emulato
- 	     \277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w
- 	     \302x\263y\363z\362{\343|\330~\376, use=rxvt-cygwin,
+@@ -5437,6 +5474,38 @@ rxvt-cygwin-native|rxvt terminal emulato
+ 	     \302x\263y\363z\362{\343|\330~\376,
+ 	use=rxvt-cygwin,
  
 +# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
 +# Updated: Özgür Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
@@ -671,7 +671,7 @@
  # This variant is supposed to work with rxvt 2.7.7 when compiled with
  # NO_BRIGHTCOLOR defined.  rxvt needs more work...
  rxvt-16color|rxvt with 16 colors like aixterm,
-@@ -5460,7 +5529,7 @@ mrxvt-256color|multitabbed rxvt with 256
+@@ -5483,7 +5552,7 @@ mrxvt-256color|multitabbed rxvt with 256
  # Eterm 0.9.3
  #
  # removed kf0 which conflicts with kf10 -TD
@@ -680,7 +680,7 @@
  # Eterm does not implement control/shift cursor keys such as kDN6, or kPRV/kNXT
  # but does otherwise follow the rxvt+pcfkeys model -TD
  # remove nonworking flash -TD
-@@ -5474,13 +5543,13 @@ Eterm|Eterm-color|Eterm with xterm-style
+@@ -5497,13 +5566,13 @@ Eterm|Eterm-color|Eterm with xterm-style
  	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
  	cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
  	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
@@ -696,7 +696,7 @@
  	kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
  	mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
  	rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
-@@ -6070,7 +6139,7 @@ pty|4bsd pseudo teletype,
+@@ -6093,7 +6162,7 @@ pty|4bsd pseudo teletype,
  #### Emacs
  
  # The codes supported by the term.el terminal emulation in GNU Emacs 19.30
@@ -705,7 +705,7 @@
  	am, mir, xenl,
  	cols#80, lines#24,
  	bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M,
-@@ -6083,6 +6152,13 @@ eterm|gnu emacs term.el terminal emulati
+@@ -6106,6 +6175,13 @@ eterm|gnu emacs term.el terminal emulati
  	rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m,
  	sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m,
  	smul=\E[4m,
@@ -719,7 +719,7 @@
  
  # The codes supported by the term.el terminal emulation in GNU Emacs 22.2
  eterm-color|Emacs term.el terminal emulator term-protocol-version 0.96,
-@@ -6185,7 +6261,7 @@ screen|VT 100/ANSI X3.64 virtual termina
+@@ -6208,7 +6284,7 @@ screen|VT 100/ANSI X3.64 virtual termina
  	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
  	enacs=\E(B\E)0, flash=\Eg, home=\E[H, ht=^I, hts=\EH,
  	ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0,
@@ -728,7 +728,7 @@
  	kcuu1=\EOA, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
  	kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,
  	kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
-@@ -6384,7 +6460,7 @@ screen2|old VT 100/ANSI X3.64 virtual te
+@@ -6408,7 +6484,7 @@ screen2|old VT 100/ANSI X3.64 virtual te
  	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
  	dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J,
  	el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL,
@@ -737,7 +737,7 @@
  	kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV,
  	kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH,
  	nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m,
-@@ -8164,7 +8240,7 @@ hp700-wy|HP700/41 emulating wyse30,
+@@ -8195,7 +8271,7 @@ hp700-wy|HP700/41 emulating wyse30,
  	ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>,
  	sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>,
  	smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c,
@@ -746,7 +746,7 @@
  	am, da, db, xhp,
  	cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8,
  	acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA,
-@@ -11384,6 +11460,7 @@ msk22714|mskermit22714|UCB MS-DOS Kermit
+@@ -11416,6 +11492,7 @@ msk22714|mskermit22714|UCB MS-DOS Kermit
  # at support for the VT320 itself.
  # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
  # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
@@ -754,7 +754,7 @@
  vt320-k3|MS-Kermit 3.00's vt320 emulation,
  	am, eslok, hs, km, mir, msgr, xenl,
  	cols#80, it#8, lines#49, pb#9600, vt#3,
-@@ -11393,7 +11470,7 @@ vt320-k3|MS-Kermit 3.00's vt320 emulatio
+@@ -11425,7 +11502,7 @@ vt320-k3|MS-Kermit 3.00's vt320 emulatio
  	csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
  	cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
  	cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
@@ -763,7 +763,7 @@
  	dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K,
  	flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l,
  	fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
-@@ -15802,7 +15879,7 @@ ibm3101|i3101|IBM 3101-10,
+@@ -15840,7 +15917,7 @@ ibm3101|i3101|IBM 3101-10,
  	cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ,
  	el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB,
  	kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH,
@@ -772,7 +772,7 @@
  	is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B,
  	sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;
  	    %?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t
-@@ -16060,7 +16137,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
+@@ -16098,7 +16175,7 @@ lft|lft-pc850|LFT-PC850|IBM LFT PC850 De
  	tbc=\E[3g,
  # "Megapel" refers to the display adapter, which was used with the IBM RT
  # aka IBM 6150.
@@ -782,7 +782,7 @@
  	s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154,
  ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display,
 --- ncurses/Makefile.in
-+++ ncurses/Makefile.in	2016-10-13 08:37:55.325157583 +0000
++++ ncurses/Makefile.in	2016-11-21 08:55:04.426932153 +0000
 @@ -218,7 +218,7 @@ $(DESTDIR)$(libdir) :
  ../lib : ; mkdir $@
  
@@ -793,7 +793,7 @@
  ./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h
  	$(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
 --- ncurses/curses.priv.h
-+++ ncurses/curses.priv.h	2016-10-13 08:37:55.325157583 +0000
++++ ncurses/curses.priv.h	2016-11-21 08:55:04.426932153 +0000
 @@ -2024,6 +2024,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec
  extern NCURSES_EXPORT(char *) _nc_tracemouse (SCREEN *, MEVENT const *);
  extern NCURSES_EXPORT(char *) _nc_trace_mmask_t (SCREEN *, mmask_t);
@@ -804,7 +804,7 @@
  extern NCURSES_EXPORT(int) _nc_freewin (WINDOW *);
  extern NCURSES_EXPORT(int) _nc_getenv_num (const char *);
 --- ncurses/run_cmd.sh
-+++ ncurses/run_cmd.sh	2016-10-13 08:37:55.325157583 +0000
++++ ncurses/run_cmd.sh	2016-11-21 08:55:04.430932070 +0000
 @@ -0,0 +1,11 @@
 +#!/bin/sh
 +
@@ -818,7 +818,7 @@
 +
 +exec ${1+"$@"}
 --- ncurses/tinfo/MKfallback.sh
-+++ ncurses/tinfo/MKfallback.sh	2016-10-13 08:37:55.325157583 +0000
++++ ncurses/tinfo/MKfallback.sh	2016-11-21 08:55:04.430932070 +0000
 @@ -68,6 +68,12 @@ else
  	tmp_info=
  fi
@@ -851,7 +851,7 @@
  	done
  
 --- ncurses/tinfo/access.c
-+++ ncurses/tinfo/access.c	2016-10-13 08:37:55.329157501 +0000
++++ ncurses/tinfo/access.c	2016-11-21 08:55:04.430932070 +0000
 @@ -35,6 +35,9 @@
  #include <ctype.h>
  
@@ -894,7 +894,7 @@
  _nc_access(const char *path, int mode)
  {
 --- ncurses/tinfo/lib_setup.c
-+++ ncurses/tinfo/lib_setup.c	2016-10-13 08:37:55.329157501 +0000
++++ ncurses/tinfo/lib_setup.c	2016-11-21 08:55:04.430932070 +0000
 @@ -584,6 +584,9 @@ _nc_locale_breaks_acs(TERMINAL * termp)
      } else if ((value = tigetnum("U8")) >= 0) {
  	result = value;		/* use extension feature */
@@ -906,7 +906,7 @@
  	    result = 1;		/* always broken */
  	} else if (strstr(env, "screen") != 0
 --- ncurses/tinfo/read_entry.c
-+++ ncurses/tinfo/read_entry.c	2016-10-13 08:37:55.329157501 +0000
++++ ncurses/tinfo/read_entry.c	2016-11-21 08:55:04.430932070 +0000
 @@ -433,6 +433,7 @@ _nc_read_file_entry(const char *const fi
      FILE *fp = 0;
      int code;
@@ -924,7 +924,7 @@
      return (code);
  }
 --- ncurses/tinfo/read_termcap.c
-+++ ncurses/tinfo/read_termcap.c	2016-10-13 08:37:55.329157501 +0000
++++ ncurses/tinfo/read_termcap.c	2016-11-21 08:55:04.430932070 +0000
 @@ -322,14 +322,18 @@ _nc_getent(
  	     */
  	    if (fd >= 0) {
@@ -971,7 +971,7 @@
      }
      if (copied != 0)
 --- test/test.priv.h
-+++ test/test.priv.h	2016-10-13 08:37:55.329157501 +0000
++++ test/test.priv.h	2016-11-21 08:55:04.430932070 +0000
 @@ -790,12 +790,12 @@ extern char *strnames[], *strcodes[], *s
  #endif
  
diff --git a/ncurses.changes b/ncurses.changes
index 5ade28e..eb91437 100644
--- a/ncurses.changes
+++ b/ncurses.changes
@@ -1,3 +1,18 @@
+-------------------------------------------------------------------
+Mon Nov 21 08:52:05 UTC 2016 - werner@suse.de
+
+- Add ncurses patch 20161112
+  + improve -W option in tic/infocmp:
+    + correct order of size-adjustments in wrapped lines
+    + if -f option splits line, do not further split it with -W
+    + begin a new line when adding "use=" after a wrapped line
+- Add ncurses patch 20161119
+  + add check in tic for some syntax errors of delays, as well as use of
+    proportional delays for non-line capabilities.
+  + document history of the clear program and the E3 extension, prompted
+    by various discussions including
+    http://unix.stackexchange.com/questions/87469/clearing-the-old-scrollback-buffer
+
 -------------------------------------------------------------------
 Mon Nov  7 13:40:58 UTC 2016 - werner@suse.de