Re: update xterm to version 378

2023-02-02 Thread Theo Buehler
On Sat, Jan 28, 2023 at 06:30:55PM +0100, Matthieu Herrb wrote:
> Hi,
> 
> The patch below updates xterm to version 378. As always testing
> (especially for specific use cases) is welcome.

Works fine here on several amd64 and arm64 machines.

ok tb

as soon as you think you've seen enough tests.



update xterm to version 378

2023-01-28 Thread Matthieu Herrb
Hi,

The patch below updates xterm to version 378. As always testing
(especially for specific use cases) is welcome.

Apply in /usr/xenocara/app/xterm and rebuild xterm

doas make obj
doas make build

 Patch #378 - 2023/01/09

 * improve descriptions of XTQMODKEYS and XTQALLOWED features in
   ctlseqs.ms (reports by Bram Moolenaar, Thomas Wolff).
 * add bracketed+paste and report+version building blocks to terminfo,
   from ncurses 6.4
 * improve check for unsupported formatting characters, e.g.,
   zero-width space, to properly ignore them (report by Thomas Wolff).
 * improve/document error-checking for some of the controls which
   return responses: DECRQSS, XTGETXRES, XTSETTCAP, XTGETTCAP
   (prompted by discussion with David Leadbeater).
 * improve limit-checks for fallback font cache (report by Dimitrije
   Erdeljan).
 * improve check for too-wide glyph in fallback font by allowing
   xterm to continue searching for a suitable font rather than just
   failing on the first. Also add limitFontWidth to allow changing
   the amount by which a glyph must extend outside the font's bounding
   box to disallow it.

 Patch #377 - 2022/11/25

 * add control sequences for reporting the current state of the
   modified keys options (XTQMODKEYS) and allowed/disallowed
   operations (XTQALLOWED), (prompted by discussion with Bram Moolenaar).
 * amend modifyOtherKeys case 2 to distinguish the escape character
   with modifiers, e.g., shift-escape, from a plain escape character
   (suggested by Bram Moolenaar).
 * improve parsing and error-recovery in the case where a list of X11
   bitmap fonts is given in the -fn and related options.
 * change default for xftTrackMemUsage to false, because libXft does
   not handle certain fonts.

 Patch #376 - 2022/11/16

 * modify configure script to always check for gcc attributes,
 * update install-sh.
 * fix parsing of result -u in vttests/halves.pl.
 * add a note in ctlseqs.ms about compatibility of TBC.
 * fix a copy/paste error in manual (patch by Grady Martin).
 * add null-pointer checks in x_strcasecmp and x_strncasecmp, to help
   with error-recovery for a missing font (Debian #1022942).

Index: COPYING
===
RCS file: /cvs/OpenBSD/xenocara/app/xterm/COPYING,v
retrieving revision 1.4
diff -u -p -u -r1.4 COPYING
--- COPYING 25 Apr 2022 19:20:37 -  1.4
+++ COPYING 28 Jan 2023 17:16:53 -
@@ -1,7 +1,7 @@
 $XTermId: COPYING,v 1.5 2022/01/30 19:30:32 tom Exp $
+--- $XTermId: COPYING,v 1.6 2023/01/02 15:46:55 tom Exp $
 ---
 
-Copyright 1996-2021,2022 by Thomas E. Dickey
+Copyright 1996-2022,2023 by Thomas E. Dickey
 
 All Rights Reserved
 
Index: MANIFEST
===
RCS file: /cvs/OpenBSD/xenocara/app/xterm/MANIFEST,v
retrieving revision 1.52
diff -u -p -u -r1.52 MANIFEST
--- MANIFEST9 Nov 2022 21:55:14 -   1.52
+++ MANIFEST28 Jan 2023 17:16:53 -
@@ -1,4 +1,4 @@
-MANIFEST for xterm, version xterm-375
+MANIFEST for xterm, version xterm-378
 

 MANIFESTthis file
 256colres.h resource-definitions for 256-color mode
Index: NEWS
===
RCS file: /cvs/OpenBSD/xenocara/app/xterm/NEWS,v
retrieving revision 1.12
diff -u -p -u -r1.12 NEWS
--- NEWS9 Nov 2022 21:55:15 -   1.12
+++ NEWS28 Jan 2023 17:16:53 -
@@ -1,13 +1,22 @@
 The NEWS file was generated from xterm.log.html, which serves as the changelog
 for xterm.
 

-Patch #375 - 2022/10/23
+Patch #378 - 2023/01/09
 
- * improve  error-recovery  when  setting  a bitmap font for the VT100
-   window,  e.g.,  in  case  OSC 50  failed, restoring the most recent
-   valid  font  so  that  a  subsequent  OSC 50 reports this correctly
-   (report by David Leadbeater).
- * exclude  MC_XDG_OPEN  from environment variables trimmed on startup
-   (report by Gabor Hauzer).
- * check for null pointer in isSelect() (report by Column Paget).
+ * improve  descriptions  of  XTQMODKEYS  and  XTQALLOWED  features in
+   ctlseqs.ms (reports by Bram Moolenaar, Thomas Wolff).
+ * add bracketed+paste and report+version building blocks to terminfo,
+   from ncurses 6.4
+ * improve   check   for   unsupported  formatting  characters,  e.g.,
+   zero-width space, to properly ignore them (report by Thomas Wolff).
+ * improve/document  error-checking  for  some  of