ANN: xterm-392

2024-05-22 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-392.tgz
  https://invisible-island.net/archives/xterm/current/xterm-392.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-392.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-392.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-392.tgz
  https://invisible-island.net/archives/xterm/xterm-392.tgz.asc

Patch #392 - 2024/05/22

 * improve  input decoding for non-Latin1 character sets by preserving
   the sense of GL/GR.
 * add  resource  preferLatin1  to simplify UPSS configuration (Gentoo
   #932154).
 * build-fix  for --disable-boxchars; patch #390 reuses that feature's
   code  to draw the part of the DEC Technical character set which has
   no Unicode equivalent.
 * modify #include of pty.h to work with musl (report by Khem Raj).
 * improvedefinitionsusedinclock_gettimelogic   in
   graphics_sixel.c, as well as updating comments (patch by Ben Wong).
 * amend allowC1Printable changes from patch #391, restoring a special
   case  which  caused C1 characters to be ignored (report/testcase by
   Dmytro Bagrii).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-391

2024-05-12 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-391.tgz
  https://invisible-island.net/archives/xterm/current/xterm-391.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-391.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-391.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-391.tgz
  https://invisible-island.net/archives/xterm/xterm-391.tgz.asc

Patch #391 - 2024/05/12

 * improve integration between UTF-8 and allowC1Printable.
 * alter  SIXEL  HLS  computation to make blue 0 degrees (patch by Ben
   Wong).
 * disable SIXEL aspect-ratio, pending a rewrite (patch by Ben Wong).
 * add resource incrementalGraphics (prompted by patch by Ben Wong).
 * reorganize  graphics_sixel.c  as a step toward eliminating graphics
   buffer-size (integrated patch by Ben Wong).
 * use __linux__ consistently rather than the older linux.
 * build-fix  for musl (report by Jonáš Vidra, adapted patch by Khem
   Raj):
  + modify  ifdef  for USE_OPENPTY, changing test for __GLIBC__ to
__linux__
  + change ifdef's for _POSIX_SOURCE to _POSIX_VERSION
  + modify  ifdef  for  setsid to use a configure-script check for
that  function's  existence  and  move  the old check to imake
fallbacks.
 * minor consistency fixes for manpage.
 * fix   regression   in   patch  #390:  non-UTF8  text  pasted  as  a
   XA_UTF8_STRING was not decoded (report by Petri Kaukasoina).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


Bug#1066263: xfonts-utils: FTBFS: ../fonttosfnt/util.c:89:10: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]

2024-03-14 Thread Thomas Dickey
On Wed, Mar 13, 2024 at 10:44:07PM +0500, Andrey Rakhmatullin wrote:
> On Wed, Mar 13, 2024 at 12:46:49PM +0100, Lucas Nussbaum wrote:
> > > ../fonttosfnt/util.c: In function ‘vsprintf_alloc’:
> > > ../fonttosfnt/util.c:89:10: error: implicit declaration of function 
> > > ‘vasprintf’; did you mean ‘vsprintf’? 
> > > [-Werror=implicit-function-declaration]
> Looks like it's caused by the lack of -D_GNU_SOURCE, not sure who should
> set it. There is a very old debian/changelog entry about temporarily
> setting it from d/rules and fonttosfnt/write.c sets it but
> fonttosfnt/util.c doesn't and there is nothing related in the autotools
> stuff.

The Debian rules file is rather old, which may be the problem.

https://salsa.debian.org/xorg-team/font/xfonts-utils

In my (other) test packages, I haven't had to add -D_DEFAULT_SOURCE,**
only for non-package builds has that been necessary.

** -D_GNU_SOURCE should only be used for the rare program relying upon
   non-POSIX interfaces.

-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-390

2024-02-19 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-390.tgz
  https://invisible-island.net/archives/xterm/current/xterm-390.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-390.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-390.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-390.tgz
  https://invisible-island.net/archives/xterm/xterm-390.tgz.asc

Patch #390 - 2024/02/19

 * improve  typography  of  control-sequences page (patches by Branden
   Robinson).
 * amend   UPSS  change  from  patch  #389,  fixing  a  regression  in
   VT100/VT220 character sets.
 * modify ANSI conformance per ECMA-43 and DEC 070:
  + set ANSI conformance level to 3 for DEC levels 2 and up.
  + disable locking shifts in level 1, e.g., VT100.
  + disable single-shifts from G2/G3 in level 1.
  + use UPSS for G2/G3 in levels 2 and up.
 * modify invisible-character attribute to permit DECRQCRA to report a
   consistent checksum (report/testcase by Thomas Wolff).
 * align  terminfo building blocks in terminfo to correspond to recent
   refactoring/trimming in ncurses.
 * set flag in regexec call for onNClicks to handle “^” anchor (patch
   by Matthew Martin).
 * add  line-drawing  data  for  the characters in DEC Technical which
   have no Unicode equivalents.
 * remove a special case in encode_scs which made xterm report Latin-1
   when  encoding  is  set  to  UTF-8,  where  ASCII  is  the selected
   character  set.  This  fixes a regression in vttest for the DECRSPS
   cursor test.
 * correct  values  for  Ps of DECAUPSS in ctlseqs.ms (report by James
   Holderness).
 * simplify/correct  expression  for  checking  Unicode non-characters
   (report by Thomas Wolff).
 * correct  loop  for  trimming environment variables (report/patch by
   Casper Dik).
 * fixes for manpage formatting (Debian #1041809).
 * update config.guess, config.sub


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-389

2024-01-01 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-389.tgz
  https://invisible-island.net/archives/xterm/current/xterm-389.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-389.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-389.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-389.tgz
  https://invisible-island.net/archives/xterm/xterm-389.tgz.asc

Patch #389 - 2024/01/01

 * interchange  variables  in subparameter parsing, fixing a bug where
   subparameters  after  the  first  parameter  could be misidentified
   (patch by Adam Saponara).
 * correct  popping of icon/window titles in a case where only one was
   pushed from patch #385 changes.
 * add XTQMODKEYS response in DECRQSS, as alternative for vim.
 * correct  DECCIR encoded information on character set size, handle a
   VT525 quirk, and add DECST8C (Windows Terminal #14984).
 * improve  DECRQCRA  (prompted  by  discussion with James Holderness,
   Windows Terminal #14974).
 * add part of VT525 color controls:
  + DECAC,  to  update  default  foreground/background, respond to
DECRQSS
  + DECATC, to respond with DECRQSS
 * prevent  Unicode  non-characters  from  being  printed (prompted by
   patch by Grady Martin).
 * modify  send_SGR()  to  avoid modifying colors 16 to 255 in printed
   output (patch by Grady Martin).
 * minor cleanup of miscellaneous error-codes with ERROR_MISC.
 * remove legacy CSI 53 for locator status, corrected in patch #294.
 * modify  DECRQUPSS  and  DECAUPSS feature to support VT5xx character
   sets (report by Thomas Wolff).
 * improve configure script:
  + reduce  configure-check compiler warnings (prompted by Florian
Weimer, Redhat #2251945)
  + improve  usage messages in configure script to make it clearer
when an option value is optional.
 * improve EWMH handling (report/analysis by Edward Rosten)
  + reset  _NET_WM_STATE_HIDDEN  flag  from  _NET_WM_STATE  before
mapping the window to deiconify.
  + cache  X  properties  to reduce latency (adapted from patch by
Edward Rosten).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


Bug#1006193: Remove luit, now packaged separately

2023-11-12 Thread Thomas Dickey
On Wed, Mar 02, 2022 at 03:09:37PM -0500, Thomas Dickey wrote:
> On Wed, Mar 02, 2022 at 08:15:15PM +0100, Sven Joachim wrote:
> > On 2022-02-21 10:14 +1100, Brendan O'Dea wrote:
> > 
> > > Package: x11-utils
> > > Version: 7.7+5
> > > Severity: normal
> > > Tags: patch
> > > X-Debbugs-Cc: b...@debian.org
> > >
> > > Merge request to remove luit from x11-utils:
> > >
> > >   https://salsa.debian.org/xorg-team/app/x11-utils/-/merge_requests/1
> > >
> > > now packaged separately, this commit removes luit and adds a recommends 
> > > for
> > > the new package.
> > 
> > Thanks, I have merged that now.  Are there any packages besides xterm
> > that use luit?  On codesearch.debian.net I found some 75 hits[1], but
> > they seem to be either completely unrelated or only commentaries.

While this has been applied, it's not moving along because the related
version x11-utils (7.7+6) has not gone into testing yet - more than a year.

What has to be done to make that happen?

-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-388

2023-10-22 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-388.tgz
  https://invisible-island.net/archives/xterm/current/xterm-388.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-388.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-388.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-388.tgz
  https://invisible-island.net/archives/xterm/xterm-388.tgz.asc

Patch #388 - 2023/10/22

 * improve  disallowPasteControls by adding a category for the special
   characters  known  to  stty  (prompted  by  discussion  with  David
   Leadbeater).
 * amend  support  of  DECAUPSS,  undoing  change to initialization of
   G2/G3   so   that   pasting   of   GR   characters  works  properly
   (report/analysis by Petri Kaukasoina).
 * update config.guess, config.sub


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-387

2023-10-15 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-387.tgz
  https://invisible-island.net/archives/xterm/current/xterm-387.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-387.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-387.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-387.tgz
  https://invisible-island.net/archives/xterm/xterm-387.tgz.asc

Patch #387 - 2023/10/15

 * add DECRQUPSS and DECAUPSS.
 * add DECRQDE (report by Jake Hamby).
 * correct indexing expression in title-stack, from patch #385 changes
   (report by Brian Lindholm).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-386

2023-10-09 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-386.tgz
  https://invisible-island.net/archives/xterm/current/xterm-386.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-386.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-386.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-386.tgz
  https://invisible-island.net/archives/xterm/xterm-386.tgz.asc

Patch #386 - 2023/10/09

 * improve  references  in  ctlseqs.ms  (prompted  by  discussion with
   Kirill Chibisov).
 * make  the  maximum  amount of memory used for buffering DCS and OSC
   strings configurable with maxStringParse resource (report by Daniel
   Franke).
 * improve performance of ReGIS when initializing the largest fontsize
   (report by Ben Wong).
 * fix  regression  in  SIXEL  colors,  in patch #385 (report/patch by
   Jonny Langley).
 * fix typo in --with-wtmp (report/patch by Sven Joachim)


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-385

2023-10-01 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-385.tgz
  https://invisible-island.net/archives/xterm/current/xterm-385.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-385.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-385.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-385.tgz
  https://invisible-island.net/archives/xterm/xterm-385.tgz.asc

Patch #385 - 2023/10/01

 * fixes for ReGIS (report by Ben Wong).
  + correct conversion from HLS to RGB
  + improve font-caching performance.
 * update tables in wcwidth.c based on Unicode 15.1.0
 * improve fastScroll resource:
  + suppress screen-refreshes for carriage-returns
  + add -jf option to simplify use of this resource.
  + add a control sequence for enabling/disabling the resource.
  + enable this feature by default
 * extend  title-stack  feature  to  allow  an additional parameter to
   directly  access  the  stack, like the XTPUSHCOLORS and XTPOPCOLORS
   feature.
 * correct  size  and  position of box shown for double-cell character
   which  happens  to be missing from the bitmap font (report by Peter
   Fabinski).
 * improved configure script:
  + add  pattern for uClibc-ng to CF_XOPEN_SOURCE (report/patch by
Waldemar Brodkorb).
  + add configure options --with-utmp-path and --with-wtmp-path to
override  configure  script's  check  for  utmp/wtmp pathnames
which are shown in the manual (Debian #1042767).
  + CF_XOPEN_SOURCE  provides  for  defining  _DEFAULT_SOURCE  for
MinGW32 and MinGW64.
  + sed expression used to report gcc version now works with MinGW
 * ensure   that  line-attributes  are  reset  after  drawing  missing
   character (report by Christian Weisgerber).
 * update config.guess, config.sub


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


Bug#1043299: xterm: build with ReGIS support

2023-08-08 Thread Thomas Dickey
On Tue, Aug 08, 2023 at 02:33:10PM -0400, Benjamin Barenblat wrote:
> Package: xterm
> Version: 384-1
> Severity: wishlist
> 
> Xterm supports ReGIS (DEC vector graphics) emulation, but it’s not
> compiled in by default. Would you be willing to add
> `--enable-regis-graphics` to the `configure` invocation in debian/rules?

INSTALL says:

  --enable-regis-graphics enable support for ReGIS graphics

Compile-in code to support experimental ReGIS graphics

-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


Bug#1042767: xterm: wrong path to utmp file in manpage

2023-08-04 Thread Thomas Dickey
On Fri, Aug 04, 2023 at 05:36:12PM +0200, Sven Joachim wrote:
> On 2023-07-31 20:13 -0400, Thomas Dickey wrote:
> 
> > On Mon, Jul 31, 2023 at 05:56:59PM +0200, Sven Joachim wrote:
> >> Package: xterm
> >> Version: 384-1
> >> Severity: minor
> >>
> >> The path to the utmp(5) file in the xterm manpage is wrong:
> >>
> >> ,
> >> | $ man xterm | grep -A1 /utmp
> >> |/etc/utmp
> >> | the system log file, which records user logins.
> >> `
> >>
> >> That should read /var/run/utmp rather than /etc/utmp.  The minstall
> >> script tries to detect the path to the utmp file and substitute the
> >> correct value, but in the build chroot /var/run/utmp has apparently been
> >> absent, as no-one has ever logged in there.
> >
> > yes... /etc/utmp appears to be the convention on AIX and HPUX.
> > I could put that last, (along with /var/adm), since those are
> > systems where people actually log in -- odd, but perhaps the
> > default should be the system where the file is least likely to
> > exist :-)
> 
> That would make sense if the autodetection worked on the other systems,
> but in a world where distributors build packages in chroots and
> containers this is generally not the case.
> 
> I checked the xterm manpage in the packages for Arch Linux, Fedora
> Rawhide, Mageia Cauldron and Opensuse Tumbleweed.  All but the last of
> these do not only mention /etc/utmp but also /etc/wtmp in the FILES
> section, and I am pretty sure those two files do not exist.
> 
> Since autodetection for the paths to the utmp and wtmp files does not
> work reliably, maybe new configure options could help packagers?

that'd be the most reliable way
(for Linux - I'm think of "auto" as the default).

-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


Bug#1042767: xterm: wrong path to utmp file in manpage

2023-07-31 Thread Thomas Dickey
On Mon, Jul 31, 2023 at 05:56:59PM +0200, Sven Joachim wrote:
> Package: xterm
> Version: 384-1
> Severity: minor
> 
> The path to the utmp(5) file in the xterm manpage is wrong:
> 
> ,
> | $ man xterm | grep -A1 /utmp
> |/etc/utmp
> | the system log file, which records user logins.
> `
> 
> That should read /var/run/utmp rather than /etc/utmp.  The minstall
> script tries to detect the path to the utmp file and substitute the
> correct value, but in the build chroot /var/run/utmp has apparently been
> absent, as no-one has ever logged in there.

yes... /etc/utmp appears to be the convention on AIX and HPUX.
I could put that last, (along with /var/adm), since those are
systems where people actually log in -- odd, but perhaps the
default should be the system where the file is least likely to
exist :-)

-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-384

2023-07-10 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-384.tgz
  https://invisible-island.net/archives/xterm/current/xterm-384.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-384.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-384.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-384.tgz
  https://invisible-island.net/archives/xterm/xterm-384.tgz.asc

Patch #384 - 2023/07/10

 * exclude  ASCII  space  from  showMissingGlyphs,  since a few bitmap
   fonts lack this (report by "SanRemo", Emanuel Haupt).
 * correct   a   step   in   rendering  double-width  characters  with
   bitmap-fonts (report by Peter Fabinski, Debian #1039986).
 * fixes for ReGIS-related problems (report by Ben Wong):
  + mimic  an  undocumented  hardware  VT340 feature which handles
color initialization with incomplete parameters.
  + handle whitespace between operator/operands for color values.
  + reset ReGIS-context when resetting graphics in RIS.


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


Bug#1039986: xterm unicode rendering issue

2023-07-02 Thread Thomas Dickey
On Fri, Jun 30, 2023 at 06:54:00PM +0200, 10dmar10 wrote:
> Package: xterm
> Version: 382-2
> Severity: minor
> 
> Hi,
> 
> I noticed a unicode character rendering issue in xterm since
> the latest update in debian testing.
> 
> The problem seems to be limited to double width japanese/chinese characters 
> and
> only when using the default bitmap x11 font.

thanks - I had thought the boxes problem was fixed in #381, but
someone reported a related problem on Wednesday, and followed up
with some debugging details (will be working on that soon - after
a more urgent bug-fix).

-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-383

2023-06-27 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-383.tgz
  https://invisible-island.net/archives/xterm/current/xterm-383.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-383.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-383.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-383.tgz
  https://invisible-island.net/archives/xterm/xterm-383.tgz.asc

Patch #383 - 2023/06/27

 * expand description of full- and soft-reset in the manual.
 * fixes for full- and soft-reset:
  + clear alternate screen on full reset.
  + disable  menu-entry  for  active icon; it merely shows whether
the feature is enabled.
  + use  appcursorDefault and appkeypadDefault resources for reset
of DECCKM and DECKPM.
  + save   initial   resource   values   for   sixelScrolling  and
privateColorRegisters, using those in full reset.
  + update  checkbox  for Enable Blinking Cursor (report by Rajeev
V. Pillai).
 * add reply for DECSACE with DECRQSS.
 * modify status-line feature to exit without erasing for DECSTR.
 * add private mode 1045 which imitates the original xterm cursor-back
   reverse wrapping mode 45 (see patch #380).
 * improve checks for non-Unicode values, e.g., in DECRQCRA.
 * re-checkout  from  RCS  archive to fix stale identifiers (report by
   Sven Joachim).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-382

2023-05-30 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-382.tgz
  https://invisible-island.net/archives/xterm/current/xterm-382.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-382.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-382.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-382.tgz
  https://invisible-island.net/archives/xterm/xterm-382.tgz.asc

Patch #382 - 2023/05/30

 * amend change to CursorBack in patch #380, allowing the result to be
   on  the  hidden  right-half  of  double-cell  characters (report by
   Rajeev V. Pillai).
 * amend  xtermDrawString, fixing regression with --disable-wide-chars
   configuration from patch #380.
 * corrected   pathname   for  run-tic.sh,  for  full  install  in  an
   out-of-tree build (report by Rajeev V. Pillai).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-381

2023-05-28 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-381.tgz
  https://invisible-island.net/archives/xterm/current/xterm-381.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-381.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-381.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-381.tgz
  https://invisible-island.net/archives/xterm/xterm-381.tgz.asc

Patch #381 - 2023/05/28

 * fix  a  regression  in  wide  bitmap fonts versus check for missing
   glyphs (report by Rajeev V. Pillai).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-380

2023-05-09 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-380.tgz
  https://invisible-island.net/archives/xterm/current/xterm-380.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-380.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-380.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-380.tgz
  https://invisible-island.net/archives/xterm/xterm-380.tgz.asc

Patch #380 - 2023/05/09

 * simplify  the  change for sixelScrolling from patch #374 (report by
   Per Bothner).
 * add  xterm+focus  and  report+da2,  update  report+version building
   blocks in terminfo, from post-ncurses 6.4
 * drop  the  -title  option  from uxterm and koi8rxterm, because that
   interferes  with  deriving  the  default  title  from the -e option
   (Debian  #1031837).  Compensate for this by using the -class option
   to derive a default title.
 * improve  description of readline 2003 mode in ctlseqs.ms (report by
   Thomas Wolff).
 * other improvements to status-line feature (report by Thomas Wolff):
  + clear status line on DECCOLM
  + ignore DECSASD if no previous DECSSDT
  + allow  DECSSDT 1  immediately  after  DECSSDT 2, i.e., without
switching back to host mode.
 * adjust  RequestResize  to avoid shrinking screen when using DECCOLM
   while the status-line is active (report/patch by Thomas Wolff).
 * disallow wrapping before the beginning of the screen, to the end of
   the screen, for cursor-back sequences (Redhat #2182357).
 * modify  makefile  to  install the 16x16 xpm files (report by Harald
   Dunkel).
 * update test-package to reflect resolution of Debian #906901.
 * change default of showMissingGlyphs to True.
 * improve handling of double-sized characters when those happen to be
   missing from the bitmap font and/or are fullwidth.
 * pointer/overflow fixes (reported by David Leadbeater):
  + improve  limit-checks  for control-sequence numeric parameters
in SIXEL graphics.
  + add  null-pointer  checks  in  WriteNow macro to handle a case
where  SS2  or  SS3  might  be  in  effect  while processing a
combining character.
  + disallow  ReGIS  reporting  for character-set names containing
characters other than alphanumerics or underscore.
  + implement  TrueType fallback font for double-sized characters,
including  Unicode  fullwidth.  Also  add  limitFontHeight  to
provideforconfiguringthedistinctionbetween
slightly-oversized glyphs and double-sized glyphs.
 * configure script improvements:
  + check for nfsd_t
 * fix  a  typo in the underline cursor thickness derivation (patch by
   Jan Engelhardt).


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


Bug#1022006: Acknowledgement (New version fixes a warning)

2023-03-05 Thread Thomas Dickey
- Original Message -
| From: "Bjarni Ingi Gislason" 
| To: 1022...@bugs.debian.org
| Cc: "Bjarni Ingi Gislason" 
| Sent: Sunday, March 5, 2023 4:24:44 PM
| Subject: Bug#1022006: Acknowledgement (New version fixes a warning)

| The new version did not fix the observed behaviour.

For the given bug-report, I don't recall any relevant changes.

-- 
Thomas E. Dickey 
https://invisible-island.net



ANN: xterm-379

2023-02-15 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-379.tgz
  https://invisible-island.net/archives/xterm/current/xterm-379.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-379.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-379.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-379.tgz
  https://invisible-island.net/archives/xterm/xterm-379.tgz.asc

Patch #379 - 2023/02/15

 * improve text-cursor (patch by Jan Engelhardt):
  + allow selecting CURSOR_BAR mode from command-line/Xresources.
  + draw  cursor  using  filled  rectangle  instead  of  rectangle
outline to permit thicker underlines/bars.
  + scale up cursor relative to font size.
 * improve readline modes (Fedora #2166860):
  + document readline modes
  + change the feature to configure by default
  + replace hard-coded SS3 for cursor movement with current mode
  + replace hard-coded erase/lnext characters with current values
 * improve status-line (report by Thomas Wolff):
  + RIS turns off status-line
  + Right-margin  (DECLRMM  and DECSLRM) limits the length of text
written/updated in the status-line.
  + Most  controls which affect the whole screen are ignored while
updating the status-line.
 * modify  configure check for tgetent to allow for some special cases
   of ncurses configuration (report by Satadru Pramani).
 * reduce  timeout,  improve  warning  message  if  resize is run on a
   terminal which is not VT100-compatible.
 * reduce compiler warnings in configure script.


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-378

2023-01-09 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-378.tgz
  https://invisible-island.net/archives/xterm/current/xterm-378.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-378.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-378.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-378.tgz
  https://invisible-island.net/archives/xterm/xterm-378.tgz.asc

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.


-- 
Thomas E. Dickey 
https://invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-377

2022-11-25 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-377.tgz
  https://invisible-island.net/archives/xterm/current/xterm-377.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-377.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-377.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-377.tgz
  https://invisible-island.net/archives/xterm/xterm-377.tgz.asc

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 has
   does not handle certain fonts.


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-376

2022-11-17 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-376.tgz
  https://invisible-island.net/archives/xterm/current/xterm-376.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-376.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-376.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-376.tgz
  https://invisible-island.net/archives/xterm/xterm-376.tgz.asc

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).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-11-16 Thread Thomas Dickey
On Wed, Nov 16, 2022 at 04:02:18AM -0500, Thomas Dickey wrote:
> On Wed, Nov 16, 2022 at 09:50:36AM +0100, Andreas Tille wrote:
> > Control: severity -1 minor
...
> > After restarting X xterm is starting properly now.  It somehow seems
> > that the mkfontdir call changed the game.  Unfortunately we do not
> > really know what might have caused the issue.  As I said I would also
> > have loved if xterm would not have crashed.
> 
> agreed (I did try reproducing the crash for the case where the font
> was missing, but so far unsuccessful).

never mind - I see the problem now (was thinking that it occurred when
the font _was_ installed).  Will upload #376 in the early morning.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-11-16 Thread Thomas Dickey
On Wed, Nov 16, 2022 at 09:50:36AM +0100, Andreas Tille wrote:
> Control: severity -1 minor
> 
> Hi Thomas,
> 
> at first thanks a lot for your patience.
> 
> Am Tue, Nov 15, 2022 at 08:10:18PM -0500 schrieb Thomas Dickey:
> > On Tue, Nov 15, 2022 at 09:15:43AM +0100, Andreas Tille wrote:
> > > Hi again,
> > > 
> > > I need to admit that the issue "vanished" on my workhorse laptop which is
> > > nice on one hand but having an explanation would be even nicer. ;-)
> > > I've now tried the other laptop with the same problem:
> > > 
> > > $ dpkg --get-selections | grep terminus
> > > fonts-terminusinstall
> > > $ xlsfonts | grep terminus
> > 
> > That might be one of these possibilities:
> > 
> > a) the X configuration (seen with "xset -q") has something amiss with
> >the fontpath (see attached example from my Debian/testing).
> 
> There was no attachment but here is mine:

sorry - will do that, for the record
 
> $ xset -q
> Keyboard Control:
>   auto repeat:  onkey click percent:  0LED mask:  
>   XKB indicators:
> 00: Caps Lock:   off01: Num Lock:off02: Scroll Lock: off
> 03: Compose: off04: Kana:off05: Sleep:   off
> 06: Suspend: off07: Mute:off08: Misc:off
> 09: Mail:off10: Charging:off11: Shift Lock:  off
> 12: Group 2: off13: Mouse Keys:  off
>   auto repeat delay:  400repeat rate:  20
>   auto repeating keys:  00ffdbbf
> fedfffefffed
> 9fff
> fff7
>   bell percent:  50bell pitch:  400bell duration:  100
> Pointer Control:
>   acceleration:  2/1threshold:  4
> Screen Saver:
>   prefer blanking:  yesallow exposures:  yes
>   timeout:  180cycle:  600
> Colors:
>   default colormap:  0x20BlackPixel:  0x0WhitePixel:  0xff
> Font Path:
>   
> /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
> DPMS (Energy Star):
>   Standby: 0Suspend: 300Off: 600
>   DPMS is Enabled
>   Monitor is On
> 
>  
> > b) updates to the bitmap font-directories have to be finished using
> >mkfontdir (part of xfonts-utils).  I've seen occasional comments
> >where package updates didn't work as intended.
> > 
> > Either way, "dpkg -L xfonts-terminus" tells me that the relevant files
> > are in
> > 
> > /usr/share/fonts/X11/misc
> > 
> > If xset reports that's in the font path, I'd try (based on the manpage)
> > 
> > sudo mkfontdir /usr/share/fonts/X11/misc
> 
> Done.
>  
> > or (by habit, since long ago it ignored the parameter...)
> > 
> > cd /usr/share/fonts/X11/misc
> > sudo mkfontdir
> > 
> > and restart X.
> 
> After restarting X xterm is starting properly now.  It somehow seems
> that the mkfontdir call changed the game.  Unfortunately we do not
> really know what might have caused the issue.  As I said I would also
> have loved if xterm would not have crashed.

agreed (I did try reproducing the crash for the case where the font
was missing, but so far unsuccessful).
 
> In any case I consider the severity of the bug as lower now and have
> set it to minor.  I'll leave it to your decision whether you consider
> it closed or some helpful resource to find a way to avoid the issue.
> 
> Kind regards and thanks again for your help
>Andreas.
> 
> -- 
> http://fam-tille.de
> 

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net
Keyboard Control:
  auto repeat:  onkey click percent:  0LED mask:  0002
  XKB indicators:
00: Caps Lock:   off01: Num Lock:on 02: Scroll Lock: off
03: Compose: off04: Kana:off05: Sleep:   off
06: Suspend: off07: Mute:off08: Misc:off
09: Mail:off10: Charging:off11: Shift Lock:  off
12: Group 2: off13: Mouse Keys:  off
  auto repeat delay:  500repeat rate:  20
  auto repeating keys:  00ffdbbf
fadfffefffed
9fff
fff7
  bell percent:  50bell pitch:  400bell duration:  100
Pointer Control:
  acceleration:  2/1threshold:  4
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  600cycle:  600
Colors:
  default colormap:  0x20BlackPixel:  0x0WhitePixel:  0xff
Font Path:
  
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins
DPMS (Energy Star):
  Standby: 600Suspend: 0Off: 900
  DPMS is Enabled
  Monitor is On


signature.asc
Description: PGP signature


Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-11-15 Thread Thomas Dickey
On Tue, Nov 15, 2022 at 09:15:43AM +0100, Andreas Tille wrote:
> Hi again,
> 
> I need to admit that the issue "vanished" on my workhorse laptop which is
> nice on one hand but having an explanation would be even nicer. ;-)
> I've now tried the other laptop with the same problem:
> 
> $ dpkg --get-selections | grep terminus
> fonts-terminusinstall
> $ xlsfonts | grep terminus

That might be one of these possibilities:

a) the X configuration (seen with "xset -q") has something amiss with
   the fontpath (see attached example from my Debian/testing).

b) updates to the bitmap font-directories have to be finished using
   mkfontdir (part of xfonts-utils).  I've seen occasional comments
   where package updates didn't work as intended.

Either way, "dpkg -L xfonts-terminus" tells me that the relevant files
are in

/usr/share/fonts/X11/misc

If xset reports that's in the font path, I'd try (based on the manpage)

sudo mkfontdir /usr/share/fonts/X11/misc

or (by habit, since long ago it ignored the parameter...)

cd /usr/share/fonts/X11/misc
sudo mkfontdir

and restart X.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-11-14 Thread Thomas Dickey
On Mon, Nov 14, 2022 at 06:21:50PM +0100, Andreas Tille wrote:
> Am Mon, Nov 14, 2022 at 04:27:30AM -0500 schrieb Thomas Dickey:
> > > Since xterm is crashing before this does not report anything
> > > interesting.
> > 
> > hmm - it's not showing much.
> > 
> > What does xfd do with that pattern?  (using single quotes):
> > 
> > xfd -fn '-*-terminus-*-*-*-32-*-*-*-*-*-*-*'
> > 
> > If you don't have that installed, it's part of x11-utils: /usr/bin/xfd
> > 
> > (reinstalling the font might be helpful)
> 
> OK
> 
> ~$ sudo apt install fonts-terminus
> Paketlisten werden gelesen… Fertig
> Abhängigkeitsbaum wird aufgebaut… Fertig
> Statusinformationen werden eingelesen… Fertig
> Die folgenden NEUEN Pakete werden installiert:
>   fonts-terminus
> 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
> Es müssen 81,0 kB an Archiven heruntergeladen werden.
> Nach dieser Operation werden 464 kB Plattenplatz zusätzlich benutzt.
> Holen:1 http://deb.debian.org/debian testing/main amd64 fonts-terminus amd64 
> 1.2.0+ds-7 [81,0 kB]
> Es wurden 81,0 kB in 0 s geholt (596 kB/s).
> Vormals nicht ausgewähltes Paket fonts-terminus wird gewählt.
> (Lese Datenbank ... 417804 Dateien und Verzeichnisse sind derzeit 
> installiert.)
> Vorbereitung zum Entpacken von .../fonts-terminus_1.2.0+ds-7_amd64.deb ...
> Entpacken von fonts-terminus (1.2.0+ds-7) ...
> fonts-terminus (1.2.0+ds-7) wird eingerichtet ...
> Trigger für fontconfig (2.13.1-4.5) werden verarbeitet ...
> ~$ xfd -fn '-*-terminus-*-*-*-32-*-*-*-*-*-*-*'
> Warning: Cannot convert string "-*-terminus-*-*-*-32-*-*-*-*-*-*-*" to type 
> FontStruct
> xfd:  no font to display

That's (sort of) promising - it tells me that it's not a bug in _xterm_.

xterm and xfd use the same font-related libraries.

It could still be a configuration problem -- I seem to recall seeing
cases where mkfontdir wasn't run on font updates.  xlsfonts should
show the terminus fonts in its (usually long) output.

For instance, on my Debian/oldstable, I get 494 lines from

xlsfonts | grep terminus

(including an alias "terminus-32").  xlsfonts doesn't use any of those
font-related libraries, talks directly to the X server.

The Xlib calls that xterm uses for bitmap fonts (e.g., Terminus) should use the
same information.

If you were using a TrueType font, xterm and xfd would use the Xft and
fontconfig libraries (the "font-related" libraries that I mentioned).  xterm
and xfd if using "-fa" (rather than "-fn") will ask fontconfig for the font,
and it does know enough to do that, e.g.,

xfd -fa terminus-32
xterm -fa terminus-32

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-11-14 Thread Thomas Dickey
On Mon, Nov 14, 2022 at 09:02:22AM +0100, Andreas Tille wrote:
> Am Sun, Nov 13, 2022 at 08:33:09PM -0500 schrieb Thomas Dickey:
> > > LANGUAGE=
> > > LC_CTYPE="de_DE.UTF-8"
> > > LC_NUMERIC="de_DE.UTF-8"
> > > LC_TIME="de_DE.UTF-8"
> > > LC_COLLATE="de_DE.UTF-8"
> > > LC_MONETARY="de_DE.UTF-8"
> > > LC_MESSAGES="de_DE.UTF-8"
> > > LC_PAPER="de_DE.UTF-8"
> > > LC_NAME="de_DE.UTF-8"
> > > LC_ADDRESS="de_DE.UTF-8"
> > > LC_TELEPHONE="de_DE.UTF-8"
> > > LC_MEASUREMENT="de_DE.UTF-8"
> > > LC_IDENTIFICATION="de_DE.UTF-8"
> > > LC_ALL=
> > 
> > I tried that - no change
> 
> I admit I do not think the locale setting is responsible for the issue.
>   
> > > I've made the Geometry that size to fit exactly a quarter of my screen
> > > fitting 4 xterms at one time.  Xfce4 places these intelligently in a
> > > 2x2 matrix.
> > 
> > Something like this will work, but fixing the problem with the menus:
> > 
> > XTerm*VT100.geometry: 111x36
> > 
> > It's in the FAQ:
> > 
> > https://invisible-island.net/xterm/xterm.faq.html#tiny_menus
> 
> Thanks for the hint but I think this was not my main problem. ;-)
>  
> > > I'm using Debian packages exclusively - I have no time to spent
> > > extra fancy things.  BTW. I'm observing the very same bug on my
> > > second laptop I'm using for traveling (but my desktop with the
> > > same setup works without any problem)
> > >  
> > > Could you send me the full command line
> > >"xrdb -load ??"
> > 
> > I pasted the text from earlier mail as "bad.ad" (attached),
> > and loaded it with
> > 
> > xrdb -load bad.ad
> 
> I tried this but it did not changed the problem.
>  
> > > I could check here.  What strace call should I send to track
> > > down the issue.  Please note that while I'm an experienced
> > 
> > I'd just
> > 
> > strace -o trace.log -s 1024 xterm
> > 
> > to capture a long trace (~200kb),
> > and look to see if there's something interesting where xterm dies.
> 
> I've attached my gziped trace.log.
>  
> > I also ran xterm using -report-fonts, which shows the fonts opened.
> 
> Since xterm is crashing before this does not report anything
> interesting.

hmm - it's not showing much.

What does xfd do with that pattern?  (using single quotes):

xfd -fn '-*-terminus-*-*-*-32-*-*-*-*-*-*-*'

If you don't have that installed, it's part of x11-utils: /usr/bin/xfd

(reinstalling the font might be helpful)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-11-13 Thread Thomas Dickey
On Sat, Nov 12, 2022 at 03:17:01PM +0100, Andreas Tille wrote:
> Am Sun, Nov 06, 2022 at 07:55:33PM -0500 schrieb Thomas Dickey:
> > On Tue, Nov 01, 2022 at 09:23:55AM +0100, Andreas Tille wrote:
> > > Am Sun, Oct 30, 2022 at 04:53:24PM -0400 schrieb Thomas Dickey:
> > > > > > $ grep font /etc/X11/Xresources/xterm  | grep -v ^!
> > > > > > *VT100.utf8Fonts.font: fixed
> > 
> > what locale settings are you using?
> > 
> > (that might be relevant - or the choice of desktop/window-manager)
> 
> $ locale
> LANG=de_DE.UTF-8
> LANGUAGE=
> LC_CTYPE="de_DE.UTF-8"
> LC_NUMERIC="de_DE.UTF-8"
> LC_TIME="de_DE.UTF-8"
> LC_COLLATE="de_DE.UTF-8"
> LC_MONETARY="de_DE.UTF-8"
> LC_MESSAGES="de_DE.UTF-8"
> LC_PAPER="de_DE.UTF-8"
> LC_NAME="de_DE.UTF-8"
> LC_ADDRESS="de_DE.UTF-8"
> LC_TELEPHONE="de_DE.UTF-8"
> LC_MEASUREMENT="de_DE.UTF-8"
> LC_IDENTIFICATION="de_DE.UTF-8"
> LC_ALL=

I tried that - no change
 
> Desktop environment is xfce4.
>  
> > > Sorry its "comment".
> > > 
> > > > > (the grep seems to indicate that the latter is meant)
> > > > > 
> > > > > > crash with segmentation fault when not finding some specified font.
> > 
> > I suppose the problem is something along the lines of the X server
> > returning some error in using the fonts.  If it were TrueType fonts,
> > I'd use strace to verify that they're opened -- but for bitmap
> > fonts, that's done on the server side.
> 
> I admit I'm fine with any nicely readable font.  I once considered the
> terminus fonts to fit this requirement and never found any reason
> to change this.
>  
> > > The crash happens for
> > > 
> > > $ xrdb -query
> > > *VT100.utf8Fonts.font:  fixed
> > > XTermVT100.faceSize:22
> > > XTerm*geometry: 111x36
> > 
> > hmm - I'm still not seeing _this_ problem.
> > (by the way, the geometry resource is over-broad, making the font-menu
> > less than useful).
> 
> I've made the Geometry that size to fit exactly a quarter of my screen
> fitting 4 xterms at one time.  Xfce4 places these intelligently in a
> 2x2 matrix.

Something like this will work, but fixing the problem with the menus:

XTerm*VT100.geometry: 111x36

It's in the FAQ:

https://invisible-island.net/xterm/xterm.faq.html#tiny_menus

> > I used xcfe4 for testing, on a virtual machine.
> > 
> > My most recent snapshot (from 2022/11/01) didn't work - some problem
> > with X and the window manaager), so I upgraded from 2022/10/29,
> > to get a workable machine.
> > 
> > Given that (I also have the terminus font installed),
> > I used "xrdb -load" with these resources, and ran xterm
> > from the Debian package.  It looks okay to me - no crash.
> 
> I'm using Debian packages exclusively - I have no time to spent
> extra fancy things.  BTW. I'm observing the very same bug on my
> second laptop I'm using for traveling (but my desktop with the
> same setup works without any problem)
>  
> Could you send me the full command line
>"xrdb -load ??"

I pasted the text from earlier mail as "bad.ad" (attached),
and loaded it with

xrdb -load bad.ad

> I could check here.  What strace call should I send to track
> down the issue.  Please note that while I'm an experienced

I'd just

strace -o trace.log -s 1024 xterm

to capture a long trace (~200kb),
and look to see if there's something interesting where xterm dies.

I also ran xterm using -report-fonts, which shows the fonts opened.

> Debian user and long year developer I would not consider myself
> an X expert.
> 
> Kind regards
> 
>Andreas.
> 
> -- 
> http://fam-tille.de

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net
Loaded VTFonts(font6)
fNorm: -*-terminus-*-*-*-32-*-*-*-*-*-*-*
all chars: no
default char:  63
direction: 0
ascent:26
descent:   6
first char:0
last char: 255
maximum-chars: 256
missing-chars: 37
present-chars: 219
min_byte1: 0
max_byte1: 0
properties:22
min_bounds:
lbearing: 0
rbearing: 0
width:16
ascent:   -1
descent:  -22
max_bounds:
  

Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-11-06 Thread Thomas Dickey
On Tue, Nov 01, 2022 at 09:23:55AM +0100, Andreas Tille wrote:
> Am Sun, Oct 30, 2022 at 04:53:24PM -0400 schrieb Thomas Dickey:
> > > > $ grep font /etc/X11/Xresources/xterm  | grep -v ^!
> > > > *VT100.utf8Fonts.font: fixed

what locale settings are you using?

(that might be relevant - or the choice of desktop/window-manager)

> > > > XTerm.VT100.font1: -*-terminus-*-*-*-16-*-*-*-*-*-*-*
> > > > XTerm.VT100.font2: -*-terminus-*-*-*-18-*-*-*-*-*-*-*   
> > > >
> > > > XTerm.VT100.font3: -*-terminus-*-*-*-20-*-*-*-*-*-*-*   
> > > >
> > > > XTerm.VT100.font4: -*-terminus-*-*-*-24-*-*-*-*-*-*-*
> > > > XTerm.VT100.font5: -*-terminus-*-*-*-28-*-*-*-*-*-*-*   
> > > >
> > > > XTerm.VT100.font6: -*-terminus-*-*-*-32-*-*-*-*-*-*-*
> > 
> > for the record, xfonts-terminus includes all of these sizes.
> > 
> > > > here.  If I uncomment these settings xterm starts.  However, I think 
> > > > xterm should not
> > > 
> > > Is that "uncomment", or "comment"?
> 
> Sorry its "comment".
> 
> > > (the grep seems to indicate that the latter is meant)
> > > 
> > > > crash with segmentation fault when not finding some specified font.

I suppose the problem is something along the lines of the X server
returning some error in using the fonts.  If it were TrueType fonts,
I'd use strace to verify that they're opened -- but for bitmap
fonts, that's done on the server side.

> > > 
> > > agreed -
> > 
> > I've not been able to reproduce the problem, which I suspect is in
> > the error-recovery section of xterm's xtermLoadFont function.
> > 
> > Perhaps seeing the whole set of resources would help
> > (the output of "xrdb -query", too).
> 
> I have:
> 
> $ xrdb -query
> *VT100.utf8Fonts.font:  fixed
> XTermVT100.faceSize:22
> XTerm*geometry: 111x36
> xterm*vt100.initialFont:6
> YTerm*geometry: 90x50
> xterm*visualBell:   true
> Rxvt.keysym.Delete: \b
> Rxvt.termName:  xterm
> XTerm*decTerminalID:200
> XTerm*color0:   black
> XTerm*color1:   red
> XTerm*color2:   green
> XTerm*color3:   yellow
> XTerm*color4:   blue
> XTerm*color5:   magenta
> XTerm*color6:   cyan
> XTerm*color7:   white
> XTerm*color8:   black
> XTerm*color9:   red
> XTerm*color10:  green
> XTerm*color11:  yellow
> XTerm*color12:  blue
> XTerm*color13:  magenta
> XTerm*color14:  cyan
> XTerm*color15:  white
> XTerm*termName: xterm
> XTerm*title:XTerm
> XTerm*colorMode:on
> XTerm*background:   blue
> XTerm*foreground:   white
> XTerm*loginShell:   true
> XTerm*dynamicColors:on
> 
> 
> The crash happens for
> 
> $ xrdb -query
> *VT100.utf8Fonts.font:  fixed
> XTermVT100.faceSize:22
> XTerm*geometry: 111x36

hmm - I'm still not seeing _this_ problem.
(by the way, the geometry resource is over-broad, making the font-menu
less than useful).

I used xcfe4 for testing, on a virtual machine.

My most recent snapshot (from 2022/11/01) didn't work - some problem
with X and the window manaager), so I upgraded from 2022/10/29,
to get a workable machine.

Given that (I also have the terminus font installed),
I used "xrdb -load" with these resources, and ran xterm
from the Debian package.  It looks okay to me - no crash.

> XTerm.VT100.font1:  -*-terminus-*-*-*-16-*-*-*-*-*-*-*
> XTerm.VT100.font2:  -*-terminus-*-*-*-18-*-*-*-*-*-*-*
> XTerm.VT100.font3:  -*-terminus-*-*-*-20-*-*-*-*-*-*-*
> XTerm.VT100.font4:  -*-terminus-*-*-*-24-*-*-*-*-*-*-*
> XTerm.VT100.font5:  -*-terminus-*-*-*-28-*-*-*-*-*-*-*
> XTerm.VT100.font6:  -*-terminus-*-*-*-32-*-*-*-*-*-*-*
> xterm*vt100.initialFont:6
> YTerm*geometry: 90x50
> xterm*visualBell:   true
> Rxvt.keysym.Delete: \b
> Rxvt.termName:  xterm
> XTerm*decTerminalID:200
> XTerm*color0:   black
> XTerm*color1:   red
> XTerm*color2:   green
> XTerm*color3:   yellow
> XTerm*color4:   blue
> XTerm*color5:   magenta
> XTerm*color6:   cyan
> XTerm*color7:   white
> XTerm*color8:   black
> XTerm*color9:   red
> XTerm*color10:  green
> XTerm*color11:  yellow
> XTerm*color12:  blue
> XTerm*color13:  magenta
> XTerm*color14:  cyan
> XTerm*color15:  white
> XTerm*termName: xterm
> XTerm*title:XTerm
> XTerm*colorMode:on
> XTerm*background:   blue
> XTerm*foreground:   white
> XTerm*loginShell:   true
> XTerm*dynamicColors:on
> 
> 
> I confirm I have installed xfonts-terminus

Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-10-30 Thread Thomas Dickey
On Fri, Oct 28, 2022 at 03:49:52AM -0400, Thomas Dickey wrote:
> On Fri, Oct 28, 2022 at 08:51:50AM +0200, Andreas Tille wrote:
> > Package: xterm
> > Version: 375-1
> > Severity: important
> > 
> > Hi,
> > 
> > after upgrading from xterm 374-1 to 375-1 I get:
> > 
> > $ xterm
> > xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"
> > Segmentation fault
> > 
> > I guess this local setting is relevant:
> > 
> > $ grep font /etc/X11/Xresources/xterm  | grep -v ^!
> > *VT100.utf8Fonts.font: fixed
> > XTerm.VT100.font1: -*-terminus-*-*-*-16-*-*-*-*-*-*-*
> > XTerm.VT100.font2: -*-terminus-*-*-*-18-*-*-*-*-*-*-*   
> >
> > XTerm.VT100.font3: -*-terminus-*-*-*-20-*-*-*-*-*-*-*   
> >
> > XTerm.VT100.font4: -*-terminus-*-*-*-24-*-*-*-*-*-*-*
> > XTerm.VT100.font5: -*-terminus-*-*-*-28-*-*-*-*-*-*-*   
> >
> > XTerm.VT100.font6: -*-terminus-*-*-*-32-*-*-*-*-*-*-*

for the record, xfonts-terminus includes all of these sizes.

> > here.  If I uncomment these settings xterm starts.  However, I think xterm 
> > should not
> 
> Is that "uncomment", or "comment"?
> 
> (the grep seems to indicate that the latter is meant)
> 
> > crash with segmentation fault when not finding some specified font.
> 
> agreed -

I've not been able to reproduce the problem, which I suspect is in
the error-recovery section of xterm's xtermLoadFont function.

Perhaps seeing the whole set of resources would help
(the output of "xrdb -query", too).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1022942: xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"

2022-10-28 Thread Thomas Dickey
On Fri, Oct 28, 2022 at 08:51:50AM +0200, Andreas Tille wrote:
> Package: xterm
> Version: 375-1
> Severity: important
> 
> Hi,
> 
> after upgrading from xterm 374-1 to 375-1 I get:
> 
> $ xterm
> xterm: cannot load font "-*-terminus-*-*-*-32-*-*-*-*-*-*-*"
> Segmentation fault
> 
> I guess this local setting is relevant:
> 
> $ grep font /etc/X11/Xresources/xterm  | grep -v ^!
> *VT100.utf8Fonts.font: fixed
> XTerm.VT100.font1: -*-terminus-*-*-*-16-*-*-*-*-*-*-*
> XTerm.VT100.font2: -*-terminus-*-*-*-18-*-*-*-*-*-*-* 
>  
> XTerm.VT100.font3: -*-terminus-*-*-*-20-*-*-*-*-*-*-* 
>  
> XTerm.VT100.font4: -*-terminus-*-*-*-24-*-*-*-*-*-*-*
> XTerm.VT100.font5: -*-terminus-*-*-*-28-*-*-*-*-*-*-* 
>  
> XTerm.VT100.font6: -*-terminus-*-*-*-32-*-*-*-*-*-*-*
> 
> here.  If I uncomment these settings xterm starts.  However, I think xterm 
> should not

Is that "uncomment", or "comment"?

(the grep seems to indicate that the latter is meant)

> crash with segmentation fault when not finding some specified font.

agreed -
 
> Kind regards
> Andreas.
> 
> 
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (50, 'buildd-unstable'), 
> (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages xterm depends on:
> ii  libc6   2.35-4
> ii  libfontconfig1  2.13.1-4.5
> ii  libfreetype62.12.1+dfsg-3
> ii  libice6 2:1.0.10-1
> ii  libtinfo6   6.3+20220423-2
> ii  libutempter01.2.1-2
> ii  libx11-62:1.8.1-2
> ii  libxaw7 2:1.0.14-1
> ii  libxext62:1.3.4-1+b1
> ii  libxft2 2.3.6-1
> ii  libxinerama12:1.1.4-3
> ii  libxmu6 2:1.1.3-3
> ii  libxpm4 1:3.5.12-1
> ii  libxt6  1:1.2.1-1
> ii  xbitmaps1.1.1-2.2
> 
> Versions of packages xterm recommends:
> ii  x11-utils  7.7+5
> 
> Versions of packages xterm suggests:
> pn  xfonts-cyrillic  
> 
> -- no debconf information
> 

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-375

2022-10-23 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-375.tgz
  https://invisible-island.net/archives/xterm/current/xterm-375.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-375.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-375.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-375.tgz
  https://invisible-island.net/archives/xterm/xterm-375.tgz.asc

Patch #375 - 2022/10/23

 * 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).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-374

2022-10-10 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-374.tgz
  https://invisible-island.net/archives/xterm/current/xterm-374.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-374.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-374.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-374.tgz
  https://invisible-island.net/archives/xterm/xterm-374.tgz.asc

Patch #374 - 2022/10/10

 * eliminate use of grep aliases from vttests scripts.
 * amend  discussion  of  DECSDM  versus Sixel Scrolling in ctlseqs.ms
   (reports by Hayaki Saito, Ben Wong).
 * change   default   for  sixelScrolling  resource  to  better  match
   VT330/VT340 DECSDM setting (patch by Ben Wong).
 * fix some gcc and coverity warnings.
 * improve memory usage for OSC 52 (report by David Leadbeater).
 * fixregressioninxterm-373change   adding   resources
   xftTrackMemUsage  to  xftMaxGlyphMemory,  which did not first cache
   the server's resource-settings (report/testcase by Gabor Hauzer, as
   well as Debian #1021243).
 * fix  regression  in  xterm-373  change for status-line vs alternate
   screen (report by Rajeev V. Pillai).
 * configure script improvements:
  + modify  CF_XOPEN_SOURCE  to handle more special cases of Linux
(reports by Adam Sampson, Sven Joachim).
  + modify  checks  for egrep/fgrep aliases to work around warning
messages from GNU grep 3.8


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1021243: xterm: different font size after upgrading from 372-1 to 373-1

2022-10-06 Thread Thomas Dickey
- Original Message -
| From: "Thomas Dickey" 
| To: 1021...@bugs.debian.org
| Cc: 1021243-submit...@bugs.debian.org
| Sent: Tuesday, October 4, 2022 8:22:23 PM
| Subject: Bug#1021243: xterm: different font size after upgrading from 372-1 
to 373-1

| On Tue, Oct 04, 2022 at 11:36:50AM +0200, Emanuele Rocca wrote:
|> Package: xterm
|> Version: 373-1
|> Severity: important
|> 
|> Hi,
|> 
|> the upgrade from xterm 372-1 to 373-1 changes font size on my system.
|> 
|> See what the fonts used to look like with 372-1 vs 373-1 in the attached
|> screenshots.
| 
| thanks (I had a similar report yesterday, and am investigating)

https://github.com/ThomasDickey/xterm-snapshots/commit/932678ac4823db3f94fc831b4c0db89307b04a5c

-- 
Thomas E. Dickey 
http://invisible-island.net
ftp://ftp.invisible-island.net



Bug#1021243: xterm: different font size after upgrading from 372-1 to 373-1

2022-10-04 Thread Thomas Dickey
On Tue, Oct 04, 2022 at 11:36:50AM +0200, Emanuele Rocca wrote:
> Package: xterm
> Version: 373-1
> Severity: important
> 
> Hi,
> 
> the upgrade from xterm 372-1 to 373-1 changes font size on my system.
> 
> See what the fonts used to look like with 372-1 vs 373-1 in the attached
> screenshots.

thanks (I had a similar report yesterday, and am investigating)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-373

2022-09-25 Thread Thomas Dickey
Files:
  https://invisible-island.net/archives/xterm/current/xterm-373.tgz
  https://invisible-island.net/archives/xterm/current/xterm-373.tgz.asc
  https://invisible-island.net/archives/xterm/patches/xterm-373.patch.gz
  https://invisible-island.net/archives/xterm/patches/xterm-373.patch.gz.asc
  https://invisible-island.net/archives/xterm/xterm-373.tgz
  https://invisible-island.net/archives/xterm/xterm-373.tgz.asc

Patch #373 - 2022/09/25

 * improve rendering of TrueType fonts:
  + add  resource xftTrackMemUsage to enable/disable a new feature
of Xft which improves performance.
  + add   resources   xftMaxGlyphMemory  and  xftMaxUnrefFonts  to
customize memory-usage of Xft and fontconfig.
  + provide for display of colored fonts in libXft 2.3.5
  + allow for an extra TrueType font to be specified using the -fa
option,  as  an  override to the fontconfig scheme of fallback
fonts (request by Nickolas Raymond Kaczynski).
  + improve caching of TrueType missing-glyph tests.
  + allow no more than 255 fonts to be scanned for a fontset.
  + eliminate a table-lookup in findXftGlyph
 * improvements status-line feature:
  + save/restore  wraparound  flag  when  updating the status-line
(report by Rajeev V. Pillai).
  + avoid  clearing  the status-line when switching between normal
and alternate screens (report by Valtteri Vuorikoski).
  + remove  adjustment  from  update_winsize leftover from initial
work (report by Valtteri Vuorikoski).
 * modify wcwidth tables to separate Unicode Cf category as formatting
   control-characters,  to  better match the guideline for unsupported
   characters (report by Tim Chase).
 * add configure option --disable-exec-selection.
 * use mkstemp where mkdtemp is unavailable, when initializing colored
   cursor.
 * adapt fixes from OpenBSD xenocara:
  + improve ifdef's for a few optional features.
  + correct #ifdef to #if in a few uses of OPT_PRINT_ON_EXIT.
 * set   StartupWMClass   in   “.desktop”  files,  e.g.,  to  help
   cinnamon-session  notice  that xterm sets WM_CLASS and use its icon
   (patch by Richard de Boer).
 * disable pixel computation when rgb width is greater than 8, to work
   with depth 30 (patch by Denis Kaganovich).
 * improve  color-computation  for  SGR  2  faint/dim  (patch by Boian
   Bonev).  Add  resource  faintIsRelative  to specify if the modified
   computation  should  be  used (prompted by discussion with Matthieu
   Herrb).
 * correct  comparison-length  for environment variable cleanup (patch
   by Brendan O' Dea).
 * correct  dsl  capability  for  dec+sl  block in terminfo (report by
   Rajeev V. Pillai).
 * improve output formatting by vttests/utf8.pl
 * repair  test/demo  scripts  still using "vxt-" prefix, some cleanup
   with shellcheck.
 * enable page-number for DECXCPR response in VT330.
 * amend  change for combining characters in patch #371 to limit it to
   the currently-defined codes (report by Thomas Wolff).
 * add  directory-template  parameter  to  mktemp  in shell-scripts to
   improve portability to older systems (patch by Ryan Schmidt).
 * mention webpage XTerm – bracketed-paste in ctlseqs.ms
 * update   manual-page   descriptions   for   allowPasteControls  and
   disallowedPasteControls (patch #363).
 * further  extended list of environment variables to purge on startup
   (suggested by Thomas Wolff).
 * update config.guess, config.sub


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1014625: xterm: screen corruption of scrollback buffer

2022-07-09 Thread Thomas Dickey
On Sat, Jul 09, 2022 at 02:39:41PM +1000, Tim Connors wrote:
> Package: xterm
> Version: 372-1
> Severity: normal
> 
> I'm getting screen corruption (scattered blocks of blackness) over
> text in the xterm display when scrolling back.  The blocks move with
> the contents of the scrollback when scrolling.  When that text is
> eventually scrolled off the screen, scrolling back may induce a
> different corruption pattern.  Forcing a redisplay of the contents of
> the terminal by going to a different virtual desktop and back will get
> rid of the corruption.

also, menu "Main Options", "Redraw Window" can help.
 
> This has happened ever since I changed my hardware -- mostly updating
> my video card to a radeon RX570 -- necessitating new versions of some
> drivers and kernel.  While I would happily accept that the video card
> might have some dodgy memory (note to self: find a GPU memory stress
> tester), this corruption has not affected any other program other than
> xterm's scrollback buffer, so I wonder if it's a bug instead.
> 
> Screengrabs of the symptom:
> 
> https://rather.puzzling.org/~tconnors/tmp/screengrab-xterm-scrollback-corruption.png
> https://rather.puzzling.org/~tconnors/tmp/screengrab-xterm-scrollback-corruption2.png
> 
> radeon amdgpu drivers and firmware are the latest version allowed by
> otherwise being on debian stable - ie,

It looks like the problem is in the drivers (not xterm).

That could be defective implementation of XCopyArea, for instance.

https://bugs.freedesktop.org/show_bug.cgi?id=110214

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1010628: libsm6: Missing symbolic link libSM.so (to libSM.so.6.0.1)

2022-05-05 Thread Thomas Dickey
On Thu, May 05, 2022 at 01:43:00PM -0400, Kevin Cole wrote:
> Package: libsm6

The symbolic link is provided by the development package,
and doesn't belong in the runtime.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1010630: libice6: Missing symbolic link libICE.so (to libICE.so.6.3.0)

2022-05-05 Thread Thomas Dickey
On Thu, May 05, 2022 at 01:45:53PM -0400, Kevin Cole wrote:
> Package: libice6

The symbolic link is provided in the development package (libice-dev)

/.
/usr
/usr/include
/usr/include/X11
/usr/include/X11/ICE
/usr/include/X11/ICE/ICE.h
/usr/include/X11/ICE/ICEconn.h
/usr/include/X11/ICE/ICElib.h
/usr/include/X11/ICE/ICEmsg.h
/usr/include/X11/ICE/ICEproto.h
/usr/include/X11/ICE/ICEutil.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libICE.a
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/ice.pc
/usr/share
/usr/share/doc
/usr/share/doc/libice-dev
/usr/share/doc/libice-dev/changelog.Debian.gz
/usr/share/doc/libice-dev/changelog.gz
/usr/share/doc/libice-dev/copyright
/usr/lib/x86_64-linux-gnu/libICE.so

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1007709: xterm: Sometimes xterm last lines are not shown, amd64->arm64

2022-03-15 Thread Thomas Dickey
On Tue, Mar 15, 2022 at 01:05:17PM +0100, Jose L. Fernandez Jambrina wrote:
> Package: xterm
> Version: 366-1
> Severity: normal
> X-Debbugs-Cc: j.fdez.jambr...@gr.ssr.upm.es
> 
> Dear Maintainer,
> 
> Sometimes xterm last lines are not shown, pressing enter forces them to
> appear.  This happen with xterm running on an amd4 machine but displayed in a
> raspberry-4 machine, both running bullseye /stable

That sounds like a problem with the X server rather than xterm.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-372

2022-03-09 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-372.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-372.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-372.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-372.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-372.tgz
ftp://ftp.invisible-island.net/xterm/xterm-372.tgz.asc

Patch #372 - 2022/03/09

 * amend   allocation/freeing  of  scrollback  lines,  eliminating  an
   adjustment  for status-line added in patch #371 (report/testcase by
   Rajeev V. Pillai).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1006193: Remove luit, now packaged separately

2022-03-02 Thread Thomas Dickey
On Wed, Mar 02, 2022 at 08:15:15PM +0100, Sven Joachim wrote:
> On 2022-02-21 10:14 +1100, Brendan O'Dea wrote:
> 
> > Package: x11-utils
> > Version: 7.7+5
> > Severity: normal
> > Tags: patch
> > X-Debbugs-Cc: b...@debian.org
> >
> > Merge request to remove luit from x11-utils:
> >
> >   https://salsa.debian.org/xorg-team/app/x11-utils/-/merge_requests/1
> >
> > now packaged separately, this commit removes luit and adds a recommends for
> > the new package.
> 
> Thanks, I have merged that now.  Are there any packages besides xterm
> that use luit?  On codesearch.debian.net I found some 75 hits[1], but
> they seem to be either completely unrelated or only commentaries.

I'm not aware of any other direct dependencies such as xterm.

The occasional mention that I see for luit is for running it
manually from the command-line, e.g., to make a shell for using emacs
with some legacy character set.
 
> Cheers,
>Sven
> 
> 
> 1. https://codesearch.debian.net/search?q=%5Cbluit%5Cb=0
> 

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-371

2022-02-24 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-371.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-371.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-371.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-371.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-371.tgz
ftp://ftp.invisible-island.net/xterm/xterm-371.tgz.asc

Patch #371 - 2022/02/24

 * drop   double-buffer   default   from   test-packages,  since  that
   interferes with status-line.
 * add  faceSize7  to  table  in  charproc.c, overlooked in patch #360
   (patch by Vladimir A. Pavlov).
 * use  XDrawString rather than XDrawString16 for text when the latter
   is not needed.
 * improve performance for initializing/reusing graphic objects in the
   SIXEL feature.
 * improve error-checking for resize.
 * fix errata in manual page (Debian #988221).
 * extended  list  of environment variables to purge on startup, i.e.,
   in case a user starts xterm from another terminal emulator.
 * add  comment  in cursor.c to explain why autowrap (DECAWM) does not
   apply  to  data  saved/restored with save/restore cursor-operations
   (report by Thomas Wolff).
 * add  special  case  in  generating the combining-character table in
   wcwidth.c,  for  Hangul  Jamo  Extended-B  (report  by  Luis Javier
   Merino).
 * simplify/improve portability of trap commands in shell-scripts.
 * update configure options
   --disable-rectangles,
   --disable-tcap-fkeys and
   --disable-tcap-query
   to account for changed default settings.
 * rather  than  ignore empty parameter for setting title, use that to
   reset it to “xterm” for scripting.
 * check  for  out-of-bounds  condition while drawing sixels, and quit
   that operation (report by Nick Black).
 * add  fallback definition for PROJECTROOT so that a suitable default
   location for luit will be compiled-in on build-servers.
 * implement DEC status-line controls DECSASD/DECSSDT:
  + decode controls, set state
  + implement DECRQSS responses
  + implement indicator-style status-line
  + add configure option --enable-status-line
  + add resource indicatorFormat
  + implementhost-writable   status-line,   able   to   handle
video-attributes  and  simple left/right cursor movement. This
disallows all of the DEC/xterm private modes such as switching
to/from the alternate screen.
  + move the status-line if the window is resized.
  + Note:  the  associated  screen-resizing  does not work for the
special case of TrueType fonts with double-buffering (see note
in patch #349).
 * modify  configure-script fixup for -Werror options to exclude fixup
   for -Werror=format, e.g., -Werror=format-security.
 * amend  change  from  patch  #370; DEC 070's pseudo-code for DECCOLM
   incorrectly suggests that it enables DECLRMM as a side-effect.
 * fix  some  memory leaks seen using esctest and asan2 (patch by Luis
   Javier Merino).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#576670: #576670 xterm: *.sh and *pl files are not installed (color scripts)

2022-02-14 Thread Thomas Dickey
A separate package probably wouldn't be that useful (since most of the
xterm features are poorly supported by other terminal emulators).

There are currently 60 scripts.

In my test-packages, I add those in /usr/share/doc/*/examples:

dh_installexamples tektests vttests

which consumes about as much diskspace as the changelog (xterm.log.html).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#699746: #699746 x11-utils: xprop assumes that WM_ICON_NAME and WM_NAME are encoded in ISO-8859-1

2022-02-13 Thread Thomas Dickey
I was recently reminded of this one, and can see that it's no longer relevant:

+ The bug-report made incorrect assumptions about what xprop ought to be doing.
  So it's not relevant to xprop.

+ Cloos' comment about xterm was interesting but not useful for xterm, because
  the encoding as STRING rather than COMPOUND_STRING is done by the X Toolkit
  library.
  
  Reading the Shell.c file in libXt, arguably an application _could_ set the
  resources titleEncoding and iconNameEncoding while setting the title and
  icon-name, but even setting those to COMPOUND_STRING (which does _not_
  hold UTF-8) wouldn'd make the server transmute those into EWMH names (which
  _does_ hold UTF-8).

+ Regarding xterm, my changes in patch #349 make it do by default what Vincent
  assumed.

 Patch #349 - 2019/09/22
 * improve title-string feature:
  + if any of allowC1Printable, utf8Title or titleModes hint that
an  application  might  send a title-string encoded in UTF-8,
check  if  that  is  the  case,  and  if it is recodable into
ISO-8859-1, use that for the ICCCM-style title.
  + check  if the title given by a control sequence happens to be
already  encoded  in UTF-8, to avoid double-encoding (FreeBSD
#240393).
  + Make sameName resource work for the EWMH titles.
  + Modify menu-state of utf8Title to be consistent with the utf8
source,  i.e., setting the EWMH properties automatically when
UTF-8 is active.

just for grins, I'll close this (expecting the usual response from Vincent).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1005272: libxt6: out-of-date copyright file

2022-02-10 Thread Thomas Dickey
Package: libxt6
Version: 1:1.2.0-20190617
Severity: important

The copyright file in package libxt (version 1:1.2.1-1) is out-of-date.
The sources from which libxt were built have a current copyright file
at the top of the source-tree "COPYRIGHT" which can be used to replace
the out-of-date copyright file in the package.

Debian policy addresses this issue:

https://www.debian.org/doc/debian-policy/ch-source.html#copyright-debian-copyright

Every package must be accompanied by a verbatim copy of its distribution
license(s) in the file /usr/share/doc/PACKAGE/copyright.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-3-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libxt6 depends on:
ii  libc6  2.33-5
ii  libice62:1.0.10-1
ii  libsm6 2:1.2.3-1
ii  libx11-6   2:1.7.2-2+b1
ii  multiarch-support  2.28-10

libxt6 recommends no packages.

libxt6 suggests no packages.

-- no debconf information



Re: libxt_1.2.1-1_source.changes ACCEPTED into unstable

2022-02-09 Thread Thomas Dickey
On Wed, Feb 09, 2022 at 03:49:04PM +, Debian FTP Masters wrote:
> 
> 
> Accepted:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Format: 1.8
> Date: Wed, 09 Feb 2022 17:28:15 +0200
> Source: libxt
> Built-For-Profiles: noudeb
> Architecture: source
> Version: 1:1.2.1-1
> Distribution: unstable
> Urgency: medium
> Maintainer: Debian X Strike Force 
> Changed-By: Timo Aaltonen 
> Changes:
>  libxt (1:1.2.1-1) unstable; urgency=medium
>  .
>* New upstream release.
>* control: Migrate to x11proto-dev.

The package copyright file has not been updated.

https://salsa.debian.org/xorg-team/lib/libxt/-/blob/debian-unstable/COPYING

>* Update README.source for salsa.
>* control: Bump debhelper-compat to 13, policy to 4.6.0.
>* Update signing-key.asc.
> Checksums-Sha1:
>  422a452c06dcc2ffb00ed6dfe11967f24622a838 2312 libxt_1.2.1-1.dsc
>  d0020bf4e2e48336aed5a6871d2a6b6e1a6bf02e 1024473 libxt_1.2.1.orig.tar.gz
>  b7bedcc667f50c9382af1e723a6c62bc76be282e 358 libxt_1.2.1.orig.tar.gz.asc
>  9a520501d9e6332d7bd671b91b519c308349fa1c 45419 libxt_1.2.1-1.diff.gz
>  ab1245d70276e5abaf861740149d6fbc65a47feb 7124 libxt_1.2.1-1_source.buildinfo
> Checksums-Sha256:
>  910bf9521a14849eb0c5c2d6f35222065cabc55fa712223773f7d1305211dbe3 2312 
> libxt_1.2.1-1.dsc
>  6da1bfa9dd0ed87430a5ce95b129485086394df308998ebe34d98e378e3dfb33 1024473 
> libxt_1.2.1.orig.tar.gz
>  da406cc94c25ca6773bb37c2055e2eb5665491f7ca6dfc9ea04f0f30ea3fd098 358 
> libxt_1.2.1.orig.tar.gz.asc
>  2aaf37ac880e8a9b04ecf999f3911e3ac840649a9ee0d0c5d160dd6536ff9416 45419 
> libxt_1.2.1-1.diff.gz
>  7e068520c98634f7bb56a5db55982f14788149d8fd7915ecf19396c4cf0a35f8 7124 
> libxt_1.2.1-1_source.buildinfo
> Files:
>  07e5c50bf275b4ea90d5999772e9d4dd 2312 x11 optional libxt_1.2.1-1.dsc
>  c98b235835a44fb7ced85a11914af900 1024473 x11 optional libxt_1.2.1.orig.tar.gz
>  f73bcf17c9fcacff676a1d90549f64e4 358 x11 optional libxt_1.2.1.orig.tar.gz.asc
>  68e29b394889aa74008a101b24a40b7d 45419 x11 optional libxt_1.2.1-1.diff.gz
>  e4775bfb81947f895e5544746a8edb6c 7124 x11 optional 
> libxt_1.2.1-1_source.buildinfo
> 
> -BEGIN PGP SIGNATURE-
> 
> iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmID3kYACgkQy3AxZaiJ
> hNy7yA//RpZmFrw6ulW0rBsK0UKruC8iAELKsJx7OIUePV9l/Ewe7jC8ci4KrAtR
> oohAb8pwV9ZuPypY3XQdQhjjLf67zY5YS5ikqm7YYvFav5aP5psfx7dPU3Ok24Tl
> s1++vbSGW9qr/BRpqONm59WULOziMrzCOmtXbgc3PFoT4LGEwHg0E8cwSFjuf6ja
> 5XaZRa9AQfRoGUibf/d49LmsdO8hez38lVMScJkbrAiSzRx+fCTU8eZoBhjOt2ko
> Hp+nI/ewxJpJ18SyNl3N1p+OaPsAL5LlnoGNOqybkarJ01rLc8dWL968sYe6dBef
> YXeuWXujZnswBekffm56heq65ftX4TliBeSGgFwYKxbaaC2L0lkRH4beao7fwJfz
> hHJIObw9kYZJ/Escbc95PH4iE0ZLLne16i5cDAREwbCWuJwHO3WloGAlskWJ8MN+
> XQF/HlLBxb/l89fdZujCIke2VHKPznfCGtVG3K7sdWEW1UL9RKgKZoHYK72F1cV1
> A4FgKpsxv1s9RiG5VZB1XE+N/IACz23juV2P3cUdLbG8/ciGyDQFpoQnsDgsgCJ9
> 7BlvQcbl7kJ977DE/NU3JPJwtl39QitOpszxLgDl2fjkkHee68IYABT02kf4HPk4
> 7CS7WTv9XeaKmyyhMXlQQJubszl8oZf/2bZX1uNVa3Ksu57n1NM=
> =asNn
> -END PGP SIGNATURE-
> 
> 
> Thank you for your contribution to Debian.
> 

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1004689: xterm: CVE-2022-24130

2022-01-31 Thread Thomas Dickey
On Mon, Jan 31, 2022 at 08:37:03PM +0100, Salvatore Bonaccorso wrote:
> Source: xterm
> Version: 370-1
> Severity: important
> Tags: security upstream
> X-Debbugs-Cc: car...@debian.org, Debian Security Team 
> 
> 
> Hi,
> 
> The following vulnerability was published for xterm.
> 
> CVE-2022-24130[0]:
> | xterm through Patch 370, when Sixel support is enabled, allows
> | attackers to trigger a buffer overflow in set_sixel in
> | graphics_sixel.c via crafted text.
> 
> 
> If you fix the vulnerability please also make sure to include the
> CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

changelog as usual reflects the actual report, not a succession of
secondhand information.

I applied a fix for the issue yesterday, which will be in #371.
For backports, do as suggested here:

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/x11/xterm/patches/patch-graphics__sixel.c

derived from

https://github.com/ThomasDickey/xterm-snapshots/blob/master/graphics_sixel.c

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#904572: move x11-utils to Suggests

2022-01-24 Thread Thomas Dickey
On Mon, Jan 24, 2022 at 10:06:46AM +0100, Harald Dunkel wrote:
> Maybe the Recommends could be replaced by a Suggests: x11-utils.
> By now I didn't even know that there is a tool "luit".

It's used (when available and if the locale encoding is not UTF-8) by xterm
for quite a while.  But it doesn't use the X display (unlike the other
programs in x11-utils).

Moving it to a separate package would only affect xterm and a (probably)
small number of direct command-line users.  Changing the "recommends" to
a "suggests" would have an impact on xterm, since some users would not
see luit automatically.  As I understand it, the best route would be to
get luit available separately and then change the xterm package to recommend
luit rather than x11-utils.

By the way - the existing version of luit uses libfontenc, which _is_ used
by several applications.  Take a look at

apt-rdepends --reverse libfontenc1

However, in my upgrade, I dispensed with that dependency, so the resulting
luit depends only on glibc and libz.  That makes it easily portable - unlike
most of x11-utils :-)

So... decoupling luit (and libfontenc1) from x11-utils will improve the
dependencies of both xterm and x11-utils.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#904572: move x11-utils to Suggests

2022-01-23 Thread Thomas Dickey
On Sun, Jan 23, 2022 at 05:55:37PM +, Ivan Shmakov wrote:
> > Harald Dunkel  writes:
> 
>  > Package: xterm
>  > Version: 333-1
> 
>  > xterm recommends x11-utils.  Assuming the default configuration, this
>  > brings in a huge list of packages unrelated to xterm's main purpose:
>  > Running a shell or another cli program.  Sample:

xterm actually should recommend luit, which is not yet a separate package
see #1003130 and #1003770:

https://mentors.debian.net/package/luit/

once that's completed, the xterm package should be changed to recommend luit
(about 130kb for that package, no dependencies except that it might suggest
the xfonts-encodings package).
 
>   There’re several ways to resolve the issue, one of which is
>   indeed to move luit into a package of its own, though I can’t
>   say I’m particularly fond of practices that lead to the
>   expansion of the Packages files, as well as /var/lib/dpkg/.

that's unclear (there's only ~66 thousand packages so far)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1003130: ITP: luit in 2013.

2022-01-04 Thread Thomas Dickey
On Tue, Jan 04, 2022 at 11:46:03AM -0500, Thomas Dickey wrote:
> Package: x11-utils
> Version: 7.7+5
> Severity: normal
> 
> Dear Maintainer,
> 
>* x11-utils copy of luit was superseded by luit 2.0 in 2013.
>* mentioned this several times to developers in X Strike Force
>* developers did not reply to those comments
>* developers could have suggested a way to address the issue
> 
> As a solution to that, I propose to create a new package "luit2",

Actually, the package should be named "luit", but the executable "luit2".

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1003130: x11-utils copy of luit was superseded by luit 2.0 in 2013.

2022-01-04 Thread Thomas Dickey
Package: x11-utils
Version: 7.7+5
Severity: normal

Dear Maintainer,

   * x11-utils copy of luit was superseded by luit 2.0 in 2013.
   * mentioned this several times to developers in X Strike Force
   * developers did not reply to those comments
   * developers could have suggested a way to address the issue

As a solution to that, I propose to create a new package "luit2",
and modify x11-utils to install its luit as "luit1", allowing the
alternatives feature to let users select an up-to-date luit.

The change to x11-utils is in bug #1003021.
This bug covers the new packaging for luit.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages x11-utils depends on:
ii  libc6   2.33-1
ii  libfontconfig1  2.13.1-4.2
ii  libfontenc1 1:1.1.4-1
ii  libgl1  1.3.4-2+b1
ii  libx11-62:1.7.2-2+b1
ii  libx11-xcb1 2:1.7.2-2+b1
ii  libxaw7 2:1.0.13.1-20191125
ii  libxcb-shape0   1.14-3
ii  libxcb1 1.14-3
ii  libxcomposite1  1:0.4.5-1
ii  libxext62:1.3.4-1
ii  libxft2 2.3.2-2
ii  libxi6  2:1.8-1
ii  libxinerama12:1.1.4-2
ii  libxkbfile1 1:1.1.0-1
ii  libxmu6 2:1.1.2-2+b3
ii  libxmuu12:1.1.2-2+b3
ii  libxrandr2  2:1.5.2-1
ii  libxrender1 1:0.9.10-1
hi  libxt6  1:1.2.0-20190617
ii  libxtst62:1.2.3-1
ii  libxv1  2:1.0.11-1
ii  libxxf86dga12:1.1.4-1+b3
ii  libxxf86vm1 1:1.1.4-1+b2

x11-utils recommends no packages.

Versions of packages x11-utils suggests:
ii  mesa-utils  8.4.0-1+b2

-- no debconf information



Bug#1003021: x11-utils: luit - looking for a sponsor of this bug

2022-01-04 Thread Thomas Dickey
On Mon, Jan 03, 2022 at 08:23:43PM -0500, Thomas Dickey wrote:
> On Sun, Jan 02, 2022 at 03:56:58PM -0500, Thomas Dickey wrote:
> > Package: x11-utils
> > Version: 7.7+5
> > Severity: normal
> ...
> >  a) modify x11-utils, making its copy of luit configurable via
> > the alternatives feature (renaming it to "luit1", accessed as 
> > "luit")
> 
> I've implemented that here:
> 
> https://salsa.debian.org/dickey/x11-utils/-/commit/bcf8729a50c5034875526b05380b4abbab539836
> 
> > 
> >  b) to provide an up-to-date package for luit as "luit2", also
> > of course configurable via the alternatives feature.
> 
> as well as this, here:
> 
> https://salsa.debian.org/dickey/luit/-/commit/087e3504e384915244a06e39bfbcaf7524ad4faa
> 
> >  c) After some time, the copy in x11-utils can be replaced by a
> > "recommends".
> > 
> >  Incidentally, doing this would fix #816289
> > 
> > The point of this bug report is to get feedback on "a" (modify x11-utils).

looking at

https://lists.debian.org/cgi-bin/search?P=luit=or=Gdebian-x=0=10=luit=Gdebian-x%7E-%7E%7E4294967295

this issue has been mentioned several times without any response from
XStrikeForce.

I'm the upstream developer for luit and xterm, but am not a Debian Developer.

I'm looking for a sponsor for the changes (and having that in place,
would allow updating the xterm package to close #904572).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1003021: x11-utils: luit - please upgrade

2022-01-03 Thread Thomas Dickey
On Sun, Jan 02, 2022 at 03:56:58PM -0500, Thomas Dickey wrote:
> Package: x11-utils
> Version: 7.7+5
> Severity: normal
...
>  a) modify x11-utils, making its copy of luit configurable via
> the alternatives feature (renaming it to "luit1", accessed as "luit")

I've implemented that here:

https://salsa.debian.org/dickey/x11-utils/-/commit/bcf8729a50c5034875526b05380b4abbab539836

> 
>  b) to provide an up-to-date package for luit as "luit2", also
> of course configurable via the alternatives feature.

as well as this, here:

https://salsa.debian.org/dickey/luit/-/commit/087e3504e384915244a06e39bfbcaf7524ad4faa

>  c) After some time, the copy in x11-utils can be replaced by a
> "recommends".
> 
>  Incidentally, doing this would fix #816289
> 
> The point of this bug report is to get feedback on "a" (modify x11-utils).

:-)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#1003021: x11-utils: luit - please upgrade

2022-01-02 Thread Thomas Dickey
Package: x11-utils
Version: 7.7+5
Severity: normal

Dear Maintainer,

   * The version of luit in x11-utils is very old, and its nominal upstream
 is defunct.

 https://lists.x.org/archives/xorg-devel/2018-August/057386.html

 See this for a summary of the relationship of "xorg luit" to luit:

 https://invisible-island.net/luit/#metrics

   * Prior discussion with the package maintainers had no effect.

   * To remedy the situation, I propose to
   
 a) modify x11-utils, making its copy of luit configurable via
the alternatives feature (renaming it to "luit1", accessed as "luit")

 b) to provide an up-to-date package for luit as "luit2", also
of course configurable via the alternatives feature.

 c) After some time, the copy in x11-utils can be replaced by a
"recommends".

 Incidentally, doing this would fix #816289

The point of this bug report is to get feedback on "a" (modify x11-utils).

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages x11-utils depends on:
ii  libc6   2.33-1
ii  libfontconfig1  2.13.1-4.2
ii  libfontenc1 1:1.1.4-1
ii  libgl1  1.3.4-2+b1
ii  libx11-62:1.7.2-2+b1
ii  libx11-xcb1 2:1.7.2-2+b1
ii  libxaw7 2:1.0.13.1-20191125
ii  libxcb-shape0   1.14-3
ii  libxcb1 1.14-3
ii  libxcomposite1  1:0.4.5-1
ii  libxext62:1.3.4-1
ii  libxft2 2.3.2-2
ii  libxi6  2:1.8-1
ii  libxinerama12:1.1.4-2
ii  libxkbfile1 1:1.1.0-1
ii  libxmu6 2:1.1.2-2+b3
ii  libxmuu12:1.1.2-2+b3
ii  libxrandr2  2:1.5.2-1
ii  libxrender1 1:0.9.10-1
hi  libxt6  1:1.2.0-20190617
ii  libxtst62:1.2.3-1
ii  libxv1  2:1.0.11-1
ii  libxxf86dga12:1.1.4-1+b3
ii  libxxf86vm1 1:1.1.4-1+b2

x11-utils recommends no packages.

Versions of packages x11-utils suggests:
ii  mesa-utils  8.4.0-1+b2

-- no debconf information



ANN: xterm-370

2021-11-13 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-370.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-370.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-370.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-370.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-370.tgz
ftp://ftp.invisible-island.net/xterm/xterm-370.tgz.asc

Patch #370 - 2021/11/13

 * add  -a,  -c  and -d options to query-status.pl to improve test for
   DECRQSS.
 * expanded  discussion  of  maximum  graphics  geometry in ctlseqs.ms
   (suggested by Bon Wong).
 * corrected parameter symbol for DECCARA and DECRARA in ctlseqs.ms to
   indicate  that  multiple  parameters  may be used (report by Thomas
   Wolff).
 * add several test/demo scripts.
 * improve DECCOLM, DECLRMM and DECALN referring to pseudo-code in DEC
   070.
 * amend a change in patch #348 which caused left/right margin mode to
   be  reset  when  resizing  the terminal window (report by Valentine
   Barshak).
 * fix a misnamed macro-parameter (patch by Rajeev V. Pillai).
 * fix spacing of wideFont when its width is not exactly twice as wide
   as the normal font (report by Rajeev V. Pillai).
 * suppress loading of italic font in a few places when colorITmode is
   enabled (report/analysis by Rajeev V. Pillai).
 * modify XTSMGRAPHICS to return failure status if the terminal is not
   configured  to  support  the  corresponding  ReGIS or SIXEL feature
   (report by Nick Black, notcurses #2252, notcurses #2257).
 * modify  DECERA  and  DECFRA  to  erase  corresponding area in SIXEL
   graphics  (patch  by  Nick  Black, notcurses #1740, vt340test #16).
   Also modify DECSERA.
 * equate  visuals  for  TrueColor  and  DirectColor  (patch  by Denis
   Kaganovich).
 * correct  computation  for  pixel  value  of rgb when using depth 16
   (report by Denis Kaganovich).
 * correct   wrapping  of  VT100-style  double-sized  characters  when
   configured  for  Unicode  wide-characters  (report  by  Luis Javier
   Merino).
 * updated default value for sixelScrolling resource to match expected
   behavior  versus  DECSDM  change  in  patch  #369  (report by Grant
   Taylor).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-369

2021-09-21 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-369.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-369.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-369.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-369.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-369.tgz
ftp://ftp.invisible-island.net/xterm/xterm-369.tgz.asc

Patch #369 - 2021/09/21

 * modify  run-tic.sh  to  work  around  bug in development version of
   ncurses which was packaged in FreeBSD ports.
 * remove ifdef's for OPT_COLOR_RES and OPT_COLOR_RES2.
 * improve   performance  over  slow  connections  (report  by  Harald
   Dunkel).
 * update cursor if restoring mode for DECTCEM.
 * modify  CharWidth  macro to ensure that the shortcut for Latin-1 is
   only  applied  when  UTF-8 is not enabled, to fix a bug in handling
   soft-hyphen from patch #334 changes (patch by Martijn van Duren).
 * improve terminfo:
  + fill-in   function-keys  in  terminfo  which  are  not  Sun/HP
keyboards using xterm+nopcfkeys building-block.
  + add kbeg to xterm+keypad to accommodate termcap applications
  + add  smglp and smgrp to vt420+lrmm, to provide useful data for
the "tabs" +m option
 * support shift-tab in Sun, HP and SCO keyboards.
 * document some legacy features in ctlseqs.ms (prompted by discussion
   with Jimmy Aguilar Mena "Ergus").
 * add “trim” option to cdXtraScroll and tiXtraScroll.
 * remove support for non-fifo save-lines configuration.
 * extend  cdXtraScroll to check if the cursor is at the upper-left of
   the  scrolling  region when the erasure is for the remainder of the
   screen  versus  the whole screen (prompted by discussion with Jörg
   Breitbart).
 * add workaround for broken pcre2 package in Debian 10.
 * change  screen-refresh  call used for DECCARA and DECRARA to ensure
   that  trailing blanks which are part of the rectangle are repainted
   (report/analysis by Dennis Filder).
 * when  resetting  the terminal, ensure that the cursor shape also is
   reset,  e.g.,  if DECSCUSR has been used to modify the cursor shape
   for  an  xterm  which was started with the underlined cursor option
   (report/analysis by Luis Javier Merino).
 * prevent  DECSCUSR  from  blinking  the  cursor  if  the cursorBlink
   resource is “never” (report by Vladimir D Seleznev).
 * invert  the sense of DECSDM, to correspond with VT382 manuals (lsix
   #41).
 * update tables in wcwidth.c based on Unicode 14.0.0


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#989664: xterm: .Xresources VT100 override for copy/paste ignored

2021-06-10 Thread Thomas Dickey
On Thu, Jun 10, 2021 at 04:37:04PM -0400, Casey M. Bessette wrote:
> Here's the output of xrdb:
> 
> $ xrdb -q
...colors shouldn't matter...

> Xcursor.size:   0
> Xcursor.theme:
> Xcursor.theme_core: 1
> Xft.hintstyle:  hintnone
> Xft.rgba:   none
> xterm*VT100.Translations:   #override Ctrl Shift V:
   ^ missing "\n"
> insert-selection(CLIPBOARD) \n Ctrl Shift C: copy-selection(CLIPBOARD)

I have this:

*customization: -color
XScreenSaver.newLoginCommand:   gdm-control --switch-user
Xcursor.size:   0
Xcursor.theme:  
Xcursor.theme_core: 1
Xft.hintstyle:  hintnone
Xft.rgba:   none
xterm*VT100.Translations:   #override \n Ctrl Shift C: 
copy-selection(CLIPBOARD) \n Ctrl Shift V: insert-selection(CLIPBOARD)

If the "\n" is missing, then the code for control/shift/V is all part of
a comment.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#989664: xterm: .Xresources VT100 override for copy/paste ignored

2021-06-10 Thread Thomas Dickey
On Wed, Jun 09, 2021 at 01:53:09PM -0400, Casey M. Bessette wrote:
> Package: xterm
> Version: 366-1
> Severity: normal
> X-Debbugs-Cc: casey.besse...@gmail.com
> 
> Dear Maintainer,
> 
> My .Xresources file has this in it:
> 
> !enable copy/paste:
> !http://unix.stackexchange.com/questions/225062/how-can-i-copy-text-from-xterm-awesome-debian-virtualbox
> xterm*VT100.Translations: #override \
>  Ctrl Shift V:insert-selection(CLIPBOARD) \n\
>  Ctrl Shift C:copy-selection(CLIPBOARD)
> 
> I run xrdb -merge ~/.Xresources after editing the file.  This has enabled me 
> to use ctrl-shift-c to copy and ctrl-shift-v to paste in and out of xterm.
> 
> In bullseye, this no longer works.  Now if I hit ctrl-shift-c, it acts
> no different than if I hit ctrl-c.  This worked for me on jessie and stretch. 
>  I haven't used buster.

It's working for me :-(

(testing with bullseye, and xterm #366 as packaged by Debian)
 
> If I modify other lines in my .Xresources file, such as the size of the
> font, colors, or xterm geometry, those changes are still honored and
> work as expected.
> 
> I'm using Xfce 4.16 and X.Org 1.20.11.

...same here

If it hadn't worked, I'd be checking on the order of translation-resources
and looking at the debug trace.  But since it works for me, I suggest
adding the output of "xrdb -q", which might be helpful.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-368

2021-06-07 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-368.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-368.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-368.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-368.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-368.tgz
ftp://ftp.invisible-island.net/xterm/xterm-368.tgz.asc

Patch #368 - 2021/06/07

 * add  DefaultOff  option  to  RenderFont  resource,  as  part of the
   session-management feature.
 * add auto-scroll-lock feature (patch by add Stelios Bounanos).
 * update  the  window-size  information  returned via TIOCGWINSZ when
   rows/columns  are  unchanged  but  the font-size changes (report by
   Nick Black).
 * improve  session-management  feature  by  saving/restoring the font
   settings.
 * update config.guess, config.sub


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988554: xterm does not render U+A7BA ... U+A7F6

2021-05-17 Thread Thomas Dickey
On Mon, May 17, 2021 at 09:22:35AM +0200, Uwe Waldmann wrote:
> > According to https://unicodeplus.com/U+A7BA
> > 
> > The character Ꞻ (Latin Capital Letter Glottal A) is represented by the
> > Unicode codepoint U+A7BA.  It is encoded in the Latin Extended-D block,
> > which belongs to the Basic Multilingual Plane.  It was added to Unicode
> > in version 12.0 (March, 2019).  It is HTML encoded as .
> > 
> > xterm #344 is a little earlier than that.  Its fallback copy of wcwidth
> > doesn't list that range (I updated the table to Unicode 12 in #345,
> > and added a test-driver around that time).
> > 
> > The system wcwidth doesn't cover that range either.
> > 
> > Characters which aren't known to wcwidth are treated as nonprinting...
> 
> > > (In Debian 9.1, it still worked correctly.)
> > 
> > hmm - which version of xterm was that?
> > 
> > I'm guessing that it was #327
> 
> yes.
> 
> > (it should not have worked, but there's always the possibility that I
> > fixed a bug which was making it appear to work)
> 
> OK, that's possible. Thanks for the explanation.

In #327, xterm's wcwidth checked if the codes were combining characters
(using a table), or control characters and (for example this case) matched it
against some ranges of double-width characters.  If it was none of those, it
assumed single-width.

Starting in #330, I added another table "unknowns" to account for
codes which had no specific width:

Patch #330 - 2017/06/20
 * modify wcwidth.c to return -1 for non-Unicode values, and adjust a
   couple of blocks to better match assumptions about ambiguous-width
   characters  in  other  implementations.  Also  modify wcwidth.c to
   support configurable soft-hyphen, so there is no drawback to using
   this version rather than a system wcwidth.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988554: xterm does not render U+A7BA ... U+A7F6

2021-05-16 Thread Thomas Dickey
On Sat, May 15, 2021 at 04:11:12PM +0200, Uwe Waldmann wrote:
> Package: xterm
> Version: 344-1+deb10u1
> Severity: important
> 
> Dear Maintainer,
> 
> xterm renders all characters between U+A7BA and U+A7F6 with width zero,
> that is, not at all, even if they are present in the chosen font.
> For instance,

According to https://unicodeplus.com/U+A7BA

The character Ꞻ (Latin Capital Letter Glottal A) is represented by the
Unicode codepoint U+A7BA.  It is encoded in the Latin Extended-D block,
which belongs to the Basic Multilingual Plane.  It was added to Unicode
in version 12.0 (March, 2019).  It is HTML encoded as .
 
xterm #344 is a little earlier than that.  Its fallback copy of wcwidth
doesn't list that range (I updated the table to Unicode 12 in #345,
and added a test-driver around that time).

The system wcwidth doesn't cover that range either.

Characters which aren't known to wcwidth are treated as nonprinting...

>   printf '<\uA7B9>\n'
> 
> displays "" with a slash through "u" (correct), whereas
> 
>   printf '<\uA7BA>\n'
> 
> displays "<>" (incorrect) instead of "" with an apostrophe before
> "A". The problem shows up with arbitrary fonts (both pcf and otb are
> affected). Using -mk_width does not change the situation.
> 
> (In Debian 9.1, it still worked correctly.)

hmm - which version of xterm was that?

I'm guessing that it was #327

(it should not have worked, but there's always the possibility that I
fixed a bug which was making it appear to work)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988315: xterm menu display garbled

2021-05-13 Thread Thomas Dickey
On Thu, May 13, 2021 at 09:12:01AM +0200, Philipp Marek wrote:
> > > > If that's the case, trying a different window manager (xfce4 for
> > > > instance)
> > > > would show if the window manager is the appropriate place to go.
> > > 
> > > Sorry I'm running LXQT, which uses xfce4 by default:
> > > 
> > >1755 ?Sl 0:00  \_
> > > /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
> > 
> > Those are utilities -- but the window manager defaults to openbox.
> > Here's a slice from the output of pstree showing that:
> 
> Ah yeah, right, sorry.
> 
>   $ wmctrl -m
>   Name: Xfwm4
>   Class: xfwm4
>   PID: 1728
>   Window manager's "showing the desktop" mode: N/A
> 
> apt tells me
> 
>   xfwm4 - window manager of the Xfce project
> 
> and
> 
>   $ ps fax | grep openbox
>389565 pts/15   S+ 0:00  |   \_ grep openbox
>   $
> 
> so it looks like the window manager is not at fault.
> 
> If I "ssh -X @localhost xterm", so that my personal
> ~/.Xresources
> don't apply, I can reproduce the blinking pixels; with "xpra" I still don't
> have the right or bottom borders, but the blinking pixels do not appear.
> 
>390309 ?RLl0:04 /usr/bin/python3 /usr/bin/xpra start 
> --ssh=ssh
> -l ard --start=xterm
>390310 ?Sl 0:01  \_ Xvfb-for-Xpra-S390306 +extension GLX
> +extension Composite -scre
>390452 ?S  0:00  \_ xterm
>390511 pts/20   Ss 0:00  \_ sh
>390519 pts/20   R+ 0:00  \_ ps fax
> 
> xpra says "Client OpenGL: disabled", "window rendering: GTK3: Cairo (1)".
> 
> glxinfo says (abbreviated):
> 
>   name of display: :0
>   display: :0  screen: 0
>   direct rendering: Yes
>   server glx vendor string: SGI
>   server glx version string: 1.4
>   server glx extensions:
>   ...
>   client glx vendor string: Mesa Project and SGI
>   client glx version string: 1.4
>   client glx extensions:
>   ...
>   GLX version: 1.4
>   GLX extensions:
>   ...
>   Extended renderer info (GLX_MESA_query_renderer):
>   Vendor: Intel (0x8086)
>   Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
>   Version: 20.3.4
>   Accelerated: yes
>   Video memory: 3072MB
>   Unified memory: yes
>   Preferred profile: core (0x1)
>   Max core profile version: 4.6
>   Max compat profile version: 4.6
>   Max GLES1 profile version: 1.1
>   Max GLES[23] profile version: 3.2
>   OpenGL vendor string: Intel
>   OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
>   OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.4
>   OpenGL core profile shading language version string: 4.60
>   OpenGL core profile context flags: (none)
>   OpenGL core profile profile mask: core profile
>   OpenGL core profile extensions:
>   ...
>   OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.4
>   OpenGL shading language version string: 4.60
>   OpenGL context flags: (none)
>   OpenGL profile mask: compatibility profile
>   OpenGL extensions:
>   ...
>   OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.4
>   OpenGL ES profile shading language version string: OpenGL ES GLSL ES 
> 3.20
>   OpenGL ES profile extensions:
>   ...
>   122 GLX Visuals
>   ...
> 
> 
> Can I disable OpenGL for a single application or a single window, perhaps?

I expect that the answer is "no".
(this is in the area of "X server", though admittedly "add-ons").

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988315: xterm menu display garbled

2021-05-12 Thread Thomas Dickey
On Wed, May 12, 2021 at 08:38:03AM +0200, Philipp Marek wrote:
> > If that's the case, trying a different window manager (xfce4 for
> > instance)
> > would show if the window manager is the appropriate place to go.
> 
> Sorry I'm running LXQT, which uses xfce4 by default:
> 
>1755 ?Sl 0:00  \_
> /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd

Those are utilities -- but the window manager defaults to openbox.
Here's a slice from the output of pstree showing that:

|-gdm3-+-gdm-session-wor-+-gdm-x-session-+-Xorg---5*[{Xorg}]
|  | |   
|-lxqt-session-+-lxqt-globalkeys---3*[{lxqt-globalkeys}]
|  | |   |  
|-lxqt-notificati---10*[{lxqt-notificati}]
|  | |   |  
|-lxqt-panel---11*[{lxqt-panel}]
|  | |   |  
|-lxqt-policykit4*[{lxqt-policykit-}]
|  | |   |  
|-lxqt-powermanag---2*[{lxqt-powermanag}]
|  | |   |  
|-lxqt-runner---2*[{lxqt-runner}]
|  | |   |  |-openbox
|  | |   |  
|-pcmanfm-qt-+-dragon---15*[{dragon}]
|  | |   |  |
`-12*[{pcmanfm-qt}]
|  | |   |  |-ssh-agent
|  | |   |  |-xmessage
|  | |   |  
`-10*[{lxqt-session}]
|  | |   `-2*[{gdm-x-session}]
|  | `-2*[{gdm-session-wor}]
|  `-2*[{gdm3}]

I set up LXQT this morning, but none of the window managers which it offered
me as a choice were related to XFCE4, so I chose openbox.  xterm seems to
run properly in that (see screenshot).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988315: xterm menu display garbled

2021-05-11 Thread Thomas Dickey
On Tue, May 11, 2021 at 10:59:16AM +0200, Philipp Marek wrote:
> > It's possible that you have some font resource (such as a proportional
> > font) which confuses it, causing it to write outside its window.
> 
> XTerm*faceName: DejaVu Sans Mono

actually Xaw uses only bitmap fonts (though some versions of fontconfig
can be told to offer those fonts...)

Thinking that locale might be a clue, I tried setting it to de_AT.UTF-8,
without seeing any problems.
 
> > But that would be apparent in xterm (thinking that a wildcard font
> > resource which affects one would affect both).
> > 
> > Given that, I'm expecting that the answer is that the X server
> > (for some less-used device) is not handling the window properly.
> 
> Hmmm
> 
> 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev
> 07)

I can't tell :-(

That gets into hardware dependencies.

In your first comment, you mentioned "the few existing pixels blink".

That makes it sound like the X server (since the contents of the
window from xterm's point of view are generally static, unless programmed
to blink using an escape sequence).

If this had been simply a missing border, I'd ask about the window manager
(noting that on a couple of machines, I see the gnome stuff overriding
the resource-settings, while most window managers leave that alone).

Then again (one of those was Fedora34, whose effect was apparent because
it took about a second to _redraw_ the menu border), you might be using
some version of gnome-session/-shell/-whatever, which has bugs in its
attempt to redraw the border.

If that's the case, trying a different window manager (xfce4 for instance)
would show if the window manager is the appropriate place to go.

(xterm has had its own problems with drawing, but so far this doesn't match
any of the situations where I would assume xterm's at fault)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988315: xterm menu display garbled

2021-05-11 Thread Thomas Dickey
On Tue, May 11, 2021 at 08:00:24AM +0200, Philipp Marek wrote:
> > That's more likely a problem with the X server than xterm
> > (the menus are via Xaw, which is pretty stable).
> 
> So the menus being cut off on the right and the bottom is on purpose?
> 
> 
> > For instance,
> > you might be using Wayland...
> 
> No, I don't think so:
> 
>1156 ?Ssl0:17 /usr/bin/sddm
>1199 tty7 Ssl+ 161:33  \_ /usr/lib/xorg/Xorg -nolisten tcp -auth
> /var/run/sddm/{ef674451-7b94-4f32-8c33-3e49df7fdecc} -background none
> -noreset -displayfd 17 -seat seat0 vt7
> 
> And I don't have any other garbage on the display either...

Xaw (e.g,. libxaw7:amd64) draws the menus, but uses X resources.
In a quick check (looking at the debugging trace), I suppose that
xterm's event-loop may handle exposure events for the menus(*), but
xterm doesn't know what's in the menus, in that level of detail.

It's possible that you have some font resource (such as a proportional
font) which confuses it, causing it to write outside its window.
But that would be apparent in xterm (thinking that a wildcard font
resource which affects one would affect both).

Given that, I'm expecting that the answer is that the X server
(for some less-used device) is not handling the window properly.

(*) the debugging trace shows me the window-id, but not the creator...

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988315: xterm menu display garbled

2021-05-10 Thread Thomas Dickey
On Mon, May 10, 2021 at 12:53:44PM +0200, Philipp Marek wrote:
> Package: xterm
> Version: 367-1
> Severity: minor
> X-Debbugs-Cc: phil...@marek.priv.at
> 
> Please see the attached screenshot.
> 
> It doesn't matter which menu I open (Ctrl+left, Ctrl+right, ctrl+middle 
> mouse button) - the right and bottom borders are always missing.

That's more likely a problem with the X server than xterm
(the menus are via Xaw, which is pretty stable).  For instance,
you might be using Wayland...

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#988221: xterm: uses unescaped backslashes in manpage example

2021-05-08 Thread Thomas Dickey
On Sat, May 08, 2021 at 04:21:32AM +0200, Thorsten Glaser wrote:
> Package: xterm
> Version: 366-1
> Severity: minor
> Tags: upstream
> X-Debbugs-Cc: t...@mirbsd.de
> 
> The manual page includes example commands such as…
> 
>printf '\033]2;Hello world!\033\'
> 
> … which use unescaped backslashes at the end of the command.
> 
> In general this works…
> 
> $ printf '\' | hd
>   5c|\|
> 
> … but when copying this specific example into a larger string,

The example is correct, however.  xterm's manpage isn't a tutorial
on shell programming.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-367

2021-03-26 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-367.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-367.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-367.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-367.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-367.tgz
ftp://ftp.invisible-island.net/xterm/xterm-367.tgz.asc

Patch #367 - 2021/03/26

 * add  OSC 22 to allow programs to select different pointer cursor at
   runtime.
 * change  configuration for no-return functions to use _Noreturn when
   it  is  available, because clang --analyze does not properly handle
   the gcc noreturn attribute.
 * add  cursorTheme resource to provide a way to enable or disable the
   cursor theme feature.
 * modified  CopyWait  event retries to use shorter sleeps, to improve
   responsiveness (tmux #2556).
 * improve quoting/escaping in demo-scripts per shellcheck.
 * add  resizeByPixel  resource,  to  permit  disabling window manager
   resizing-hints (patch by Tim Oehl).
 * corrected  printOptsImmediate  handling of alternate-screen (report
   by Abhijit Dasgupta).
 * update sample terminfo to more closely match ncurses.
 * add/improve limit-checks for Xlib calls (report by Roman Fiedler).
 * fix a typo in the help-message (report by Tomas Korbar).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#984615: xterm: bug in CVE-2021-27135 patch in at least stretch

2021-03-06 Thread Thomas Dickey
On Sat, Mar 06, 2021 at 06:46:25PM +0100, Sven Joachim wrote:
...
> Run xterm under valgrind and select some text.  Valgrind will be very
> unhappy with xterm 327-2+deb9u1 but should not show up any errors in

valgrind usually has something to say, but (noting that I'm only
interested in what it says when I configure --with-valgrind(*)),
I get a report of ~5000 lines using these options

OPTS="-v \
--num-callers=10 \
--error-limit=no \
--show-reachable=yes \
--leak-resolution=high \
--track-origins=yes \
--leak-check=yes \
--show-reachable=yes"

...and almost all of that is stuff that I can't fix without adding
interfaces in X11, Xt and Xaw.

(*) asan2 also has things to say, but most of that is not useful
without a complete set of debug-libraries (again, X11/Xt/Xaw).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#984615: xterm: bug in CVE-2021-27135 patch in at least stretch

2021-03-06 Thread Thomas Dickey
On Sat, Mar 06, 2021 at 06:07:43PM +, Thorsten Glaser wrote:
> Sven Joachim dixit:
> 
> >I see that this might be a problem (albeit unlikely to happen in
> >practice), however I have trouble understanding exactly where a
> >use-after-realloc bug comes into play.  Maybe Thorsten can help me fix
> >my blindness?
> 
> The next time something is selected, the code a little further
> up will check if the allocated size is sufficient, and, if so,
> use screen->selection_data which was the pre-realloc address of
> line.
> 
> >> I am glad and surprised that sid is okay and there doesn't seem to be
> 
> The code in sid completely differs (structures, variable names, etc).

The renaming (selection_size) comes from patch #338,
which looks like this item:

Patch #338 - 2018/12/09
 * amend  solution  for  Debian  #758633  to  ensure that replies for
   bracketed  paste  are  not  sent  while processing a selection for
   exec-formatted (Debian #913237).
 
> >suggestion you could also apply the patches to the SaltTextAway()
> >function from xterm 365e.
> 
> If 365e is like 366 (currently in sid), you’ll have lots of fun due
> to the renamed everything.

366 is current.  I have some changes for 367 which I'll put out after
seeing what I can do to improve performance with fwvm active-icon.
 
> I’d rather Tom changed xterm upstream to address the realloc-failure
> difference. I know he reads Debian bugreports ;-) and he’s really
> busy so probably takes longer to respond.

it used to be the case that downstream would ask my opinion on patches
like this -- it's been a while since anyone did

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#816289: #816289 luit: unable to use advertised conversion charset

2021-02-15 Thread Thomas Dickey
That works with luit 2.0 (which is older than this bug report).
I don't expect that cc'ing Juliusz  Chroboczek as mentioned had much
effect, since he's not been involved with luit for about 15 years.

https://invisible-island.net/luit/luit.html

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-366

2021-02-10 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-366.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-366.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-366.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-366.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-366.tgz
ftp://ftp.invisible-island.net/xterm/xterm-366.tgz.asc

Patch #366 - 2021/02/10

 * correct   a  compiler-warning  fix  in  patch  #352  which  allowed
   sign-extension of coordinate values (report by "CismonX").
 * correct  upper-limit for selection buffer, accounting for combining
   characters (report/testcase by Tavis Ormandy).
 * with alwaysHighlight true, xterm does not properly track focus. The
   screen->select   FOCUS  flag  remains  always  on,  which  prevents
   bellIsUrgent  from  working, as the urgent WM_HINT flag is only set
   in  setXUrgency()  when  the  window  is  not  focused. Fix this by
   updating screen->select in unselectwindow() regardless of the value
   of always_highlight (patch by Jiri Bohac).
 * improve  fix  for  interaction between SRM and ENQ (report by Grant
   Taylor).
 * build-fix   for  --with-Xaw3dxft,  needed  when  --with-toolbar  is
   omitted (report by Jimmy Olgeni, Emanuel Haupt).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-365

2021-02-03 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-365.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-365.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-365.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-365.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-365.tgz
ftp://ftp.invisible-island.net/xterm/xterm-365.tgz.asc

Patch #365 - 2021/02/03

 * amend fix for “word” selection in patch #364 to limit that to the
   insert-selectable  action,  which  reads data from the screen. This
   restores the interactive behavior where double-clicking on a “word”
   would  make  subsequent  selection  extensions  by words as well as
   suppressing   some  boundary-checks  (report  by  David  Wolfskill,
   FreeBSD #253225).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-364

2021-02-02 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-364.tgz
ftp://ftp.invisible-island.net/xterm/patches/xterm-364.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-364.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-364.tgz

Patch #364 - 2021/02/02

 * add -fc option.
 * correct/improve  limit-checks  for  SRM  versus ENQ from patch #344
   (report by Tom Szilagyi).
 * enable  XftFont  resource in Xaw3dxft configuration (patch by Tavis
   Ormandy).
 * improve quoting/escaping in build-scripts per shellcheck.
 * add  libpcre2-posix to the packages tested for --with-pcre2 option,
   needed with Fedora (report by Tomas Korbar).
 * correct  a typo in manual page, and note that KeepClipboard may not
   be compiled-in (report/patch by Sean C Farley).
 * corrected boundary-checks for “word” selection used in onNClicks
   resources (report by Tavis Ormandy).
 * update to autoconf-2.52-20210101, to improve shellcheck warnings.
 * improve configure check for desktop categories.


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-363

2020-12-26 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-363.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-363.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-363.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-363.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-363.tgz
ftp://ftp.invisible-island.net/xterm/xterm-363.tgz.asc

Patch #363 - 2020/12/26

 * disable groff hyphenation in generated html when using man2html.
 * change SCS “&4” Cyrillic to non-NRCS, per VT520 manual.
 * amend  fix  for  SCS  in  patch  #198  to  remove  DEL  rather than
   converting it to a space (report by Thomas Wolff).
 * modify  state transitions for selecting character sets to eliminate
   an ambiguity between the “A” used in VT220 versus VT320.
 * improve error recovery when selecting characters by resetting to US
   ASCII  when  no suitable encoding is found, e.g., attempting to use
   an NRCS sequence when NRCS is not enabled.
 * turn  off  hyphenation  in “.txt” conversion, prompted by groff
   changes.
 * add VT5xx ISO Latin-2 (prompted by discussion with Thomas Wolff).
 * amend  change  from  patch  #361  to  event-handling in CopyWait to
   handle active-icon as a special case (Debian #975687).
 * add  call to loadColorTable to get the visual information needed to
   decode BE RGBA32 color format (patch by Leandro Lupori).
 * modify the resource-parsing for disallowedPasteControls and similar
   lists of names/numbers to recognize “~;” (tilde) for cancelling a
   given name/number.
 * add ENQ, EOT and NUL to default for disallowedPasteControls.
 * change   default   for  disallowedPasteControls  to  omit  the  tab
   character (suggested by Harald Dunkel).
 * fix  swapped  height/width  in  regisScreenSize  and maxGraphicSize
   resources  using  "auto"  value,  from  patch #314 (report by Anton
   Lavrentiev)
 * revise  patch  #362 change for shift-modifier versus mouse protocol
   and  select/paste  by  adding  resource  shiftEscape,  which can be
   enabled  via  a  control  sequence  (prompted  by  discussion  with
   Matthijs van Duin).
 * simplify/improve  ifdef  in  trace code for using a separate set of
   files for each run of xterm.
 * add options -r and -t to vttests/query-color.pl to show the 6-digit
   RGB code and actual colors.
 * add nel to xterm-basic terminfo.
 * alter  vttests/modify-keys.pl  to  omit HTML reference links to the
   modified-keys table where no keycode was available.


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#975687: xterm: loses text lines, even descenders from some lines

2020-12-20 Thread Thomas Dickey
On Sun, Dec 20, 2020 at 11:39:15PM +, Thorsten Glaser wrote:
> Thomas Dickey dixit:
> 
> >I'm guessing that it's timing, e.g., xterm could wait a few milliseconds
> >to retry and then give up on that loop, in case the window events don't
> >arrive rapidly enough.
> 
> “rapidly enough” as criterium isn’t going to help everyone.
> 
> We have multi-GHz desktop bolides, few-MHz m68k/SPARC/POWER/… machines,
> and running X11 over various network protocols (X, VNC, RDP, NX, x2go),
> with varying latencies.
> 
> If the solution for this issue with XCheckWindowEvent is dependent on
> such things, I’d argue that not using XCheckWindowEvent is the correct
> fix instead ☺

I'm aware of that.  It's called a "dilemma" (in this case, a bug which
I'm easily able to reproduce versus one that I'm not).

Since I'm able to reproduce the case with the active-icon, I might decide
to use XCheckWindowEvent with a timeout for that scenario and the
XWindowEvent for the other.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#975687: xterm: loses text lines, even descenders from some lines

2020-12-20 Thread Thomas Dickey
On Sun, Dec 20, 2020 at 10:40:39PM +, Thorsten Glaser wrote:
> Thomas Dickey dixit:
> 
> >how far below?
> >
> >Just the window-decoration, or a line or so?
> 
> About a line, give or take (for the syslog window, the last line
> is the cursor, so I don’t need it, and I took a bit more than a
> line there; for that test, it’s a bit less).
> 
> >Looking at the changes for #361, there's the changes for wrap-mark,
> >and copy-wait.  The latter was just this:
> 
> I did…
> 
> begin 644 xterm_362-1.0.1.debdiff
...
> … to revert that, and voilà, problem fixed.
> 
> Perhaps some events are lost with XCheckWindowEvent or something?

The descriptions for XWindowEvent and XCheckWindowEvent are very similar.
I'm guessing that it's timing, e.g., xterm could wait a few milliseconds
to retry and then give up on that loop, in case the window events don't
arrive rapidly enough.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#975687: xterm: loses text lines, even descenders from some lines

2020-12-20 Thread Thomas Dickey
On Sun, Dec 20, 2020 at 07:47:15PM +, Thorsten Glaser wrote:
> Thomas Dickey dixit:
> 
> >I see that version in testing, but don't see a problem on the screen.
> >I made a short script to cat those lines to the terminal, sleeping 0.2
> >seconds between bursts, and the result looks ok, even with a magnifier.
> 
> Indeed, tricky. I experimented with this a bit.
> 
> I can reproduce this if I change your script from while true
> to for x in 1 2 3 (so it does that only three times) but, and
> this is important, move the xterm so that its bottom is below
> the bottom end of the X11 screen.

how far below?

Just the window-decoration, or a line or so?

From the screenshot in your followup, I'm guessing the latter.
 
> If I move the syslog terminal up by a few pixels, the problem
> does not happen.
> 
> If I use other terminal, font, etc. sizes, I also get display
> corruption effects which vary (see screenshot).
> 
> If I switch virtual workspaces (Ctrl-Alt-[1-8←→] in evilwm)
> the effects go away as well.

...repainting uses a different path.
 
> Maybe you can reproduce it with this info?

I'll try that.  (Of course if it depends on video hardware, etc., that
won't succeed).

Looking at the changes for #361, there's the changes for wrap-mark,
and copy-wait.  The latter was just this:

REV:1.859   util.c  2020/10/14 00:45:31   tom
tags:xterm-361a, xterm-361, xterm-360e

   replace a call to XWindowEvent (which will block if there's no exposure
   events) in CopyWait with a call to XCheckWindowEvent (which lets me bail
   out on no more exposure events).  That seems to fix a hang reported by
   Dave Kemper when iconifying/deiconifying while blasting lots of characters
   to an active icon.  The XWindowEvent call dates back to 1991.

--- util.c  2020/10/01 08:11:43 1.858
+++ util.c  2020/10/14 00:45:31 1.859
@@ -1,4 +1,4 @@
-/* $XTermId: util.c,v 1.857 2020/09/29 08:05:41 tom Exp $ */
+/* $XTermId: util.c,v 1.858 2020/10/01 08:11:43 tom Exp $ */
 
 /*
  * Copyright 1999-2019,2020 by Thomas E. Dickey
@@ -2082,8 +2082,10 @@
return;
 #endif
 
-for (;;) {
-   XWindowEvent(screen->display, VWindow(screen), ExposureMask, );
+while (XCheckWindowEvent(screen->display,
+VWindow(screen),
+ExposureMask,
+)) {
switch (reply.type) {
case Expose:
HandleExposure(xw, );


as part of this:

https://github.com/ThomasDickey/xterm-snapshots/commit/d98fb8ac7854e9b7906e7d1e65cf446ba6c78432#diff-e21ac3db1fb1f4c2521d0911da5ca3414412766a9aecad6c4c0cfad5d67b5165R2085

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#975687: xterm: loses text lines, even descenders from some lines

2020-11-26 Thread Thomas Dickey
On Fri, Nov 27, 2020 at 12:04:07AM +, Thorsten Glaser wrote:
> Hi Thomas,
> 
> >If you're going to compile it, the debug-trace can be useful
> >(--enable-trace).  If not, the -report-fonts option is helpful.
> 
> I hadn’t recompiled, at least not with actual changes.
> The -report-fonts output is attached, fNorm is the one
> in question.
> 
> I did a little bisecting: Debian’s 360-1 did not have
> the bug, 361-1 did, and when recompiling 360-1 unchanged
> in a current unstable chroot, it also doesn’t have the
> bug, so it’s not something else that changed.

sounds promising - 
 
> Looking at debian/patches/ in 361-1 it also doesn’t change
> any of the code, so I guess it’s some upstream change.
> 
> >If I can reproduce it, I'll see what I can do.
> 
> If not but you still have patches I could test, send them
> and I’ll apply them and rebuild locally. If you need the
> trace, I’ll also do that, but not tonight…

fwiw

https://invisible-island.net/personal/git-exports.html
https://github.com/ThomasDickey/xterm-snapshots


> 
> bye,
> //mirabilos
> -- 
> 21:12⎜ sogar bei opensolaris haben die von der community so
> ziemlich jeden mist eingebaut │ man sollte unices nich so machen das
> desktopuser zuviel intresse kriegen │ das macht die code base kaputt
> 21:13⎜ linux war früher auch mal besser :D

> Script started on 2020-11-27 00:46:29+01:00 [TERM="screen" TTY="/dev/pts/15" 
> COLUMNS="113" LINES="34"]
> tglase@tglase-nb:~ $ /usr/bin/xterm +sb -fg black -geom 90x11+475+637 
> -report-fonts -bg cornflowerblue -e tail 
+sb -fg black -geom 90x11+475+637 -report-fonts -bg cornflowerblue -e tail  
   <-F 
/var/log/syslog
> Loaded VTFonts(default)
>   fNorm: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
>   all chars: no
>   default char:  0
>   direction: 0
>   ascent:11
>   descent:   2
>   first char:0
>   last char: 65535
>   maximum-chars: 65536
>   missing-chars: 61413
>   present-chars: 4123
>   min_byte1: 0
>   max_byte1: 255
>   properties:22
>   min_bounds:
>   lbearing: 0
>   rbearing: 0
>   width:6
>   ascent:   -1
>   descent:  -10
>   max_bounds:
>   lbearing: 5
>   rbearing: 6
>   width:6
>   ascent:   11
>   descent:  2
>   fBold: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
>   all chars: no
>   default char:  0
>   direction: 0
>   ascent:11
>   descent:   2
>   first char:0
>   last char: 65535
>   maximum-chars: 65536
>   missing-chars: 61413
>   present-chars: 4123
>   min_byte1: 0
>   max_byte1: 255
>   properties:22
>   min_bounds:
>   lbearing: 0
>   rbearing: 0
>   width:6
>   ascent:   -1
>   descent:  -10
>   max_bounds:
>   lbearing: 5
>   rbearing: 6
>   width:6
>   ascent:   11
>   descent:  2
>   fWide: -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1
>   all chars: no
>   default char:  0
>   direction: 0
>   ascent:11
>   descent:   2
>   first char:0
>   last char: 65535
>   maximum-chars: 65536
>   missing-chars: 46328
>   present-chars: 19208
>   min_byte1: 0
>   max_byte1: 255
>   properties:23
>   min_bounds:
>   lbearing: 0
>   rbearing: 0
>   width:12
>   ascent:   -1
>   descent:  -10
>   max_bounds:
>   lbearing: 11
>   rbearing: 12
>   width:12
>   ascent:   11
>   descent:  2
>   fWBold: -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1
>   all chars: no
>   default char:  0
>   direction: 0
>   ascent:11
>   descent:   2
>   first char:0
>   last char: 65535
>   maximum-chars: 65536
>   missing-chars: 46328
>   

Bug#975687: xterm: loses text lines, even descenders from some lines

2020-11-26 Thread Thomas Dickey
On Thu, Nov 26, 2020 at 10:52:38PM +, Thorsten Glaser wrote:
> Thomas Dickey dixit:
> 
> >"Recently" could be something overlooked in #362's change
> 
> No, 362 is the current one, and I definitely had this in
> the previous version shipped in Debian as well, but I can’t
> narrow it down further than that. According to apt history
> log, that was 361.

I see - nothing comes to mind other than recalling some comment that
fontconfig wouldn't actually provide bitmap fonts.
 
> >On the other hand (if it's not specific to #362), a lot of the
> >font/display problems aren't xterm (and if the problem doesn't show up
> >on macOS, I wouldn't notice it right away).
> 
> Hmmh. It’s a regular X11 BDF/PCF font, so at least the
> ugly fontconfig/freetype/… combination doesn’t affect
> this, but as such you indeed won’t be able to see this
> on a Macintosh.
> 
> Since I can _somewhat_ reproduce this (three “sudo true”
> in quick succession did it right now), I could try to
> bisect releases until I find one, if that helps?

If you're going to compile it, the debug-trace can be useful
(--enable-trace).  If not, the -report-fonts option is helpful.

At the moment I'm closing out a set of changes for dialog,
intending to work on xterm for a week or so.  If I can
reproduce it, I'll see what I can do.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#975687: xterm: loses text lines, even descenders from some lines

2020-11-26 Thread Thomas Dickey
On Wed, Nov 25, 2020 at 06:26:14AM +0100, Thorsten Glaser wrote:
> Package: xterm
> Version: 362-1
> Severity: normal
> X-Debbugs-Cc: t...@mirbsd.de
> 
> I’ve got the following in my ~/.xinitrc…
> 
>   /usr/bin/xterm +sb -fg black -geom 78x10+1+637 \
>   -bg slateblue -e top &
>   /usr/bin/xterm +sb -fg black -geom 90x11+475+637 \
>   -bg cornflowerblue -e tail -F /var/log/syslog &
> 
> … to monitor the system on my laptop.
> 
> Recently, I’ve noticed that the right (syslog) window reliably

"Recently" could be something overlooked in #362's change

improve display when scaleHeight is greater than 1:
the text-cursor is vertically-centered on the current line, rather than
only extending below the current line

(though I'd expect problems only _if_ you're using scaleHeight resource)

On the other hand (if it's not specific to #362), a lot of the font/display
problems aren't xterm (and if the problem doesn't show up on macOS, I wouldn't
notice it right away).

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-362

2020-11-11 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-362.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-362.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-362.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-362.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-362.tgz
ftp://ftp.invisible-island.net/xterm/xterm-362.tgz.asc

Patch #362 - 2020/11/11

 * cleanup of calls to free, removing checks for null (Walter Harms).
 * improved   mouse-button  reporting  (prompted  by  discussion  with
   Stephane Chazelas)
  + narrow  the scope of the change for shift-key in patch #361 to
make it apply only when the modifyOtherKeys resource is set to
2 (i.e., “program mode”). Also, when checking the shift-key,
ignore modifiers other than shift, control and “meta”
  + usethe   alt/meta   modifier   information   obtained   in
VTInitModifiers  to  replace  a hard-coded mod1 used to detect
“Meta” for mouse-button responses.
 * reduce SIGWINCH's sent to the client by filtering out duplicates.
 * improve display when scaleHeight is greater than 1:
  + the  text-cursor  is  vertically-centered on the current line,
rather  than  only extending below the current line (report by
Manu Chaturvedi).
  + the  built-in  line-drawing  characters  extend  to the scaled
cell-height.
 * fill-in  special  case  for  motion-events to match the changes for
   shift-key in pointer-button events from patch #361.


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#973941: Pasted text looks same as cursor

2020-11-08 Thread Thomas Dickey
On Sun, Nov 08, 2020 at 11:00:04AM -0500, Thomas Dickey wrote:
> On Sun, Nov 08, 2020 at 08:55:52AM +0100, Sven Joachim wrote:
> > On 2020-11-08 06:53 +0800, 積丹尼 Dan Jacobson wrote:
> > 
> > > Package: xterm
> > > Version: 361-1
> > > Severity: minor
> > >
> > > Lately when we paste with SHIFT+INSERT, the pasted text is in reverse
> > > video.
> > 
> > I presume you are using bash which added this feature in version 5.1, in
> > zsh it has been available for a few years.
> 
> I've not noticed this (only use either of those when testing something).
> 
> xterm doesn't color _inserted_ text, but only the _selected_ text.
> 
> If the shell is (mis)using bracketed paste to temporarily paint colors
> on the screen, there's not much to be done using xterm's resources...
> 
> On the other hand, it's possible to turn off bracketed paste:
> 
> https://mail.gnu.org/archive/html/bug-bash/2020-10/msg00082.html

...and that seems to be the recommendation from others:

https://mail.gnu.org/archive/html/bug-bash/2020-10/msg00068.html

(this is a defect in bash --- will reassign)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#973941: Pasted text looks same as cursor

2020-11-08 Thread Thomas Dickey
On Sun, Nov 08, 2020 at 08:55:52AM +0100, Sven Joachim wrote:
> On 2020-11-08 06:53 +0800, 積丹尼 Dan Jacobson wrote:
> 
> > Package: xterm
> > Version: 361-1
> > Severity: minor
> >
> > Lately when we paste with SHIFT+INSERT, the pasted text is in reverse
> > video.
> 
> I presume you are using bash which added this feature in version 5.1, in
> zsh it has been available for a few years.

I've not noticed this (only use either of those when testing something).

xterm doesn't color _inserted_ text, but only the _selected_ text.

If the shell is (mis)using bracketed paste to temporarily paint colors
on the screen, there's not much to be done using xterm's resources...

On the other hand, it's possible to turn off bracketed paste:

https://mail.gnu.org/archive/html/bug-bash/2020-10/msg00082.html

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-361

2020-10-14 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-361.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-361.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-361.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-361.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-361.tgz
ftp://ftp.invisible-island.net/xterm/xterm-361.tgz.asc

Patch #361 - 2020/10/14

 * treat  the  return  value of strerror as readonly (patch by Philipp
   Klaus Krause).
 * modify  event-handling  in  CopyWait  to  work around hanging while
   writing  large  amounts  of  text to an active icon and at the same
   time iconifying/deiconifying (report by Dave Kemper).
 * initialize double-buffer for active-icon window.
 * improve  manual  page description of scrollbar resources (report by
   Brian Lindholm).
 * correct  ifdef for menu entry for active-icon, when initializing it
   with toolbar configuration.
 * add  preprocessor  option to makefile to set internal definition of
   pixmaps  directory  to  match  the  install-configuration  (FreeBSD
   #250036).
 * cleanup of calls to free, removing checks for null (Walter Harms).
 * add fallback actions pointer-button and pointer-motion which handle
   events   for   the   mouse   control-sequences   protocol   if  the
   select-related   translations   are   omitted  with
   *omitTranslation:select (prompted by discussion with "Ergus")
 * amend  rule  for  using  shift-key  to  override mouse-protocol for
   select/paste  to  limit  that  feature  to  mouse-buttons which are
   actually bound to select/paste actions (prompted by discussion with
   "Ergus").
 * corrected  mapping  in  special case for repainting wrap-marks when
   viewing the scrollback area.
 * use  separate  GCs for showWrapMarks feature, to work around cursor
   coloring change in patch #345 (report by Paulo Silva de Alíbano).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-360

2020-09-20 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-360.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-360.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-360.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-360.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-360.tgz
ftp://ftp.invisible-island.net/xterm/xterm-360.tgz.asc

Patch #360 - 2020/09/20

 * mention decGraphicsID in ctlseqs.ms (suggested by Thomas Wolff).
 * modify   pixel-coordinate  mouse  reponse  to  use  as  origin  the
   VT100-window  rather than the underlying widget, which includes the
   scrollbar (report by Thomas Wolff).
 * add configure option --disable-print-graphics (Ross Combs).
 * add test_ptydata to “make check” rule.
 * minor fixes for ctlseqs.ms (report by Jean-Marc Bourguet).
 * minor fixes for manpage style (report/patch by "a1346054").
 * correct  cleanup  from  switch  between  italics/normal font in the
   show/hide cursor functions (report/testcase by Peter Fabinski).
 * integrated patch by Ross Combs:
  + internal renaming of GraphicsID symbols, for readability.
  + adjust logic for VT125, treating it as a ReGIS terminal.
 * update configure macros, for compiler-warning fixes.
 * integrated patch by Ross Combs:
  + add control sequence modes for graphics printing.
  + improve conversion to bitmaps for TrueType fonts in ReGIS
  + add font7 resource, for an “enormous” bitmap font.
  + do not reset graphics in a soft-reset.
  + add pointerFont resource, and -pf command-line option.
 * improve typography of manual page (patch by Branden Robinson).
 * amend  patch  #359 change to df-install.in to ignore a command-line
   assignment  to  DESTDIR if followed by an explicit --dir (report by
   Sven Joachim).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-359

2020-08-17 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-359.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-359.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-359.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-359.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-359.tgz
ftp://ftp.invisible-island.net/xterm/xterm-359.tgz.asc

Patch #359 - 2020/08/17

 * add  special  case  in  WriteText  to allow colors 8-15 to override
   colorBDMode (patch by Ingo Brückl).
 * add  utf8Weblike  resource,  to  provide  an  alternate  scheme for
   handling  ill-formed  UTF-8  sequences  (adapted  from patch by Dan
   Gohman).
 * improve  computation  for the number of lines needed to scroll-up a
   SIXEL graphic (report/patch by Ben Wong).
 * correct  manpage description for default value of disallowWindowOps
   from changes in xterm #331 (patch by Ben Wong).
 * correct a loop starting-point in refresh_graphics from optimization
   in patch #358 changes (report by Ben Wong).
 * add a new mouse mode 1016, which uses the same format as mode 1006,
   but sends the mouse's position in pixels (suggested by Igor van den
   Hoven).
 * fix an issue from patch #338 changes where only the first selection
   buffer  specified  in  the  request  would  be updated using OSC 52
   (patch by Michael Gulick).
 * modify  makefile/scripts  to  allow  DESTDIR  to  prefix the target
   directory for desktop-file-install (report by Fred Heitkamp).
 * enable SIXEL feature by default.
 * update config.guess, config.sub


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-358

2020-07-12 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-358.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-358.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-358.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-358.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-358.tgz
ftp://ftp.invisible-island.net/xterm/xterm-358.tgz.asc

Patch #358 - 2020/07/12

 * correct logic for decodeTerminalID changes in patch #357 (report by
   "Chartreuse").
 * modify  makefile to use plink.sh when linking test-programs, to fix
   build when using pcre (report by H Merijn Brand)
 * build-fix for test_ptydata program (patch by H Merijn Brand)


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-358

2020-07-12 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-358.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-358.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-358.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-358.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-358.tgz
ftp://ftp.invisible-island.net/xterm/xterm-358.tgz.asc

Patch #358 - 2020/07/12

 * correct logic for decodeTerminalID changes in patch #357 (report by
   "Chartreuse").
 * modify  makefile to use plink.sh when linking test-programs, to fix
   build when using pcre (report by H Merijn Brand)
 * build-fix for test_ptydata program (patch by H Merijn Brand)


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-357

2020-07-05 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-357.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-357.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-357.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-357.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-357.tgz
ftp://ftp.invisible-island.net/xterm/xterm-357.tgz.asc

Patch #357 - 2020/07/05

 * several  minor  optimizations  for  the  ReGIS  and SIXEL features,
   improving performance by 10%.
 * add  resource  decGraphicsID  to allow displaying graphics when the
   emulation   level  would  ordinarily  disallow  this  (prompted  by
   discussion with Thomas Wolff).
 * add  control  sequences  for  fast  switching  of  color  palettes:
   XTPUSHCOLORS, XTPOPCOLORS, XTREPORTCOLORS
 * amend  change  for  soft-hyphen  from patch #328 to avoid stripping
   replacement-characters  which  would  be  shown  with  malformed or
   overlong UTF-8 input.
 * corrected  an error-handling case in decodeUtf8, matching a similar
   fix in patch #268 (report/patch by Dan Gohman).
 * add a test-driver for ptydata.c
 * minor cleanup of macros (adapted from patch by Walter Harms).
 * fix some errata in ctlseqs.ms (report by Thomas Wolff).
 * allow  immediate  repaint-on-palette-changed if double-buffering is
   enabled.
 * deprecate  codes  10/11  in  sgr  push  controls, changing those to
   30/31, to avoid confusion with sgr 10-19.
 * modify  SGR parameter handling to stop if an unrecognized parameter
   is encountered, to guard against malformed or nonstandard sequences
   (report by Bram Moolenaar).
 * modify  DECERA  color  for consistency with other erasures/clearing
   (report by Thomas Wolff).
 * ECH should not be masked by DECSCA (report by Thomas Wolff).
 * extend DECFRA and REP to accept any “graphic” character rather than
   just Latin1, etc. (report by Thomas Wolff).
 * add  -C  option  to  256colors2.pl and 88colors2.pl, to demonstrate
   mixed semicolon/colon separators which are implied by ECMA-48.
 * update sample terminfo to reflect the documentation improvements.
 * update  description  of  88/256/direct color in ctlseqs.ms to point
   out  that  using  semicolons  is  a  deprecated legacy feature, and
   standard  terminal  applications  should  use  colons  (prompted by
   discussion with Bram Moolenaar).
 * modify   configure-check   for  tgetent  to  conditionally  include
   termcap.h,  enabling  configuration  using  clang's pedantic-errors
   option  (report  by  Dennis  Clarke).  See  Other  Compatibility in
   ncurses' curs_termcap(3X).
 * remove some unnecessary pointer checks (patch by Walter Harms).
 * accept terminal-id and add DA response for VT131, VT132.


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#963377: xterm: FTBFS: /bin/sh: 1: col: not found

2020-06-21 Thread Thomas Dickey
On Sun, Jun 21, 2020 at 10:13:41PM +0200, Lucas Nussbaum wrote:
> Source: xterm
> Version: 356-1
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200620 ftbfs-bullseye
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

col's in bsdmainutils

> > GROFF_NO_SGR=stupid /bin/sh -c "tbl ../ctlseqs.ms | groff -Tascii -ms | col 
> > -bx" >../ctlseqs.txt
> > /bin/sh: 1: col: not found
> > make[2]: *** [Makefile:180: ../ctlseqs.txt] Error 127

refer to

xterm (332-1) unstable; urgency=medium

  * Regenerate ctlseqs.txt from ctlseqs.ms (Closes: #848818).   
- Add groff to Buils-Depends.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#960164: xterm: forceBoxChars mode + cjkWidth mode renders oddly

2020-05-10 Thread Thomas Dickey
On Sun, May 10, 2020 at 01:38:51PM +1000, Timothy Allen wrote:
> Package: xterm
> Version: 356-1
> Severity: minor

:-)

> However, the box-drawing characters are "East-Asian Width: Ambiguous"
> in Unicode, so in CJK-width mode they should occupy 2 character cells,
> looking something like this:

"should" makes a lot of assumptions.  Where it falls short is that
(as far as I recall...) none of the systems' locale support can tell
an application that the width ought to be "fullwidth".

Attaching a quick demo using wcwidth -- running with all of the available
locales, it finds no occurrence of "fullwidth" line-drawing characters.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net
#define _XOPEN_SOURCE		/* See feature_test_macros(7) */
#include 
#include 
#include 
#include 

#define DATA(code,name) { code, #name }
static struct {
wchar_t code;
const char *name;
} table[] = {

DATA(0x2500, box drawings light horizontal),
	DATA(0x2502, box drawings light vertical),
	DATA(0x250c, box drawings light down and right),
	DATA(0x2510, box drawings light down and left),
	DATA(0x2514, box drawings light up and right),
	DATA(0x2518, box drawings light up and left),
	DATA(0x251c, box drawings light vertical and right),
	DATA(0x2524, box drawings light vertical and left),
	DATA(0x252c, box drawings light down and horizontal),
	DATA(0x2534, box drawings light up and horizontal),
	DATA(0x253c, box drawings light vertical and horizontal),
};

int
main(int argc, char *argv[])
{
int n;

for (n = 1; n < argc; ++n) {
	int c;
	setlocale(LC_CTYPE, argv[n]);
	for (c = 0; c < sizeof(table) / sizeof(table[0]); ++c) {
	int w = wcwidth(table[c].code);
	if (w != 1) {
		printf("%s:%d:%s\n", argv[n], w, table[n].name);
	}
	}
	setlocale(LC_CTYPE, "C");
}
return EXIT_SUCCESS;
}


signature.asc
Description: PGP signature


ANN: xterm-356

2020-05-02 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-356.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-356.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-356.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-356.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-356.tgz
ftp://ftp.invisible-island.net/xterm/xterm-356.tgz.asc

Patch #356 - 2020/05/02

 * revise  fix  for  Debian #954730, which interfered with wheel mouse
   events (report by Gabriele Balducci).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-355

2020-05-01 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-355.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-355.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-355.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-355.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-355.tgz
ftp://ftp.invisible-island.net/xterm/xterm-355.tgz.asc

Patch #355 - 2020/05/01

 * revise  fix  for  Debian #954730, which interfered with wheel mouse
   events (report by Henri Menke).
 * fix  typos  in  documentation  (reports  by  Stephen  Hurd,  Stefan
   Assmann).
 * add mapping for decTerminalID for “100” overlooked in patch #354.
 * update tables in wcwidth.c based on Unicode 13.0.0
 * build-fix for “make check” when building out-of-tree (report by
   Sven Joachim).


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


ANN: xterm-354

2020-04-26 Thread Thomas Dickey
Files:
ftp://ftp.invisible-island.net/xterm/current/xterm-354.tgz
ftp://ftp.invisible-island.net/xterm/current/xterm-354.tgz.asc
ftp://ftp.invisible-island.net/xterm/patches/xterm-354.patch.gz
ftp://ftp.invisible-island.net/xterm/patches/xterm-354.patch.gz.asc
ftp://ftp.invisible-island.net/xterm/xterm-354.tgz
ftp://ftp.invisible-island.net/xterm/xterm-354.tgz.asc

Patch #354 - 2020/04/26

 * work   around   performance   problems   of   XDrawImageString  and
   XDrawImageString16 functions (Debian #954845).
 * add  a  control  sequence  which  reports xterm's version (patch by
   Nicholas Marriott, mintty #881).
 * temporarily  set  numeric  locale  category  to  "C"  when  parsing
   resources,  so that scaleHeight and faceSize settings do not depend
   on locale (Debian #820803).
 * improve  DA/DA2 response by ensuring that the decTerminalID maps to
   one of the known identifiers, as well as providing DA2 response for
   VT241 and VT382.
 * terminfo improvements:
  + add  (my)  comments  from  ncurses  which  explain  the keypad
layouts.
  + add vt52+keypad from ncurses
  + use improved xm example for xterm+x11mouse, xterm+sm+1006 from
ncurses 6.2 terminfo.src
 * two  fixes  for  left/right  wheel  mouse  event  reporting (Debian
   #954730):
  + filter identical button-events
  + correct  order of button-range versus protocol type (see patch
#345)
 * change “make check” makefile-rule to use test-drivers for charclass
   and wcwidth data.
 * quiet “did not find a usable xxx TrueType font” warnings by making
   fontWarnings apply to these messages (report by Jim Rees).
 * improve  reinitialization  of  parameter  list  (report/testcase by
   James Holderness).
 * temporarily  set numeric locale category to "C" when formatting SVG
   or  XHTML  screendumps,  to  make  the  radix separator used in RGB
   values consistent (adapted from patch by George Kouryachy).
 * add  resource  forceXftHeight  to  control  whether workaround from
   Debian #880407 is used.
 * apply  updated  ascent/descent in workaround from Debian #880407 to
   fix  a  1-pixel  gap in built-in vertical lines (report/testcase by
   Stefan Assman).
 * improve round-off of scaling for built-in line-drawing (prompted by
   discussion with Stefan Assman).
 * adjust fonts in svg-icon files to accommodate reduced functionality
   of new pango (report/analysis by YOKOTA Hiroshi).
 * improve configure check for X Toolkit library.
 * correctY-coordinate   transformation   in   ClearCurBackground,
   overlooked  in  changes  for  patch  #334 (report/analysis by Chuck
   Silvers).
 * remove  --vendor  option  from  test-packages'  install  of desktop
   files; the feature is badly broken in gnome-shell.
 * modify  uxterm  to  make  it  possible to select nonstandard locale
   C.UTF-8, e.g, if the user's locale is set to “C” (Debian #940626).
 * re-save/tweak “.svg” icon-files to work around breakage in toolset
   since the files were created in patch #283.


-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#954845: poor performance for -g 256x50

2020-04-25 Thread Thomas Dickey
On Sun, Apr 19, 2020 at 05:53:48PM -0400, Thomas Dickey wrote:
> On Sun, Apr 12, 2020 at 11:50:32AM -0400, Thomas Dickey wrote:
> > On Sun, Apr 12, 2020 at 05:27:56PM +0200, Harald Dunkel wrote:
> > > You can reproduce the performance fall-off by using a slow network 
> > > connection,
> > 
> > I suppose I could, if I had a slow connection.
> > Simulating one (from previous experience) hasn't been reliable :-(
> 
> I found this useful
> 
> https://wiki.linuxfoundation.org/networking/netem
> 
> and was able to set up a test for this bug.

actually that was unnecessary.  I was able to reproduce this using
either strace or xtrace to slow things down.  The underlying issue
is an obliquely-documented(*) misfeature of the X11 library, for which
I can make a suitable workaround.

(*) I'd say "undocumented", but someone who reads the source code would
argue that someone could _guess_ from the manual page what the code
is actually doing :-)

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#954845: poor performance for -g 256x50

2020-04-19 Thread Thomas Dickey
On Sun, Apr 12, 2020 at 11:50:32AM -0400, Thomas Dickey wrote:
> On Sun, Apr 12, 2020 at 05:27:56PM +0200, Harald Dunkel wrote:
> > You can reproduce the performance fall-off by using a slow network 
> > connection,
> 
> I suppose I could, if I had a slow connection.
> Simulating one (from previous experience) hasn't been reliable :-(

I found this useful

https://wiki.linuxfoundation.org/networking/netem

and was able to set up a test for this bug.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


  1   2   3   4   5   6   7   8   9   10   >