[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1122519: xterm: display corruption with double-width characters



Package: xterm
Version: 404-1
Severity: important

Display is corrupted when double-width characters are displayed.
In particular, this affects Mutt (receiving mail with such characters
is common), and one consequence is that wrong mail can be deleted
because the cursor does not appear on the right message! I've
attached a part of a screenshot (20251211-003112.png) to show
the kind of output I get.

There is no such issue with rxvt and GNOME Terminal.

To reproduce a display issue, open a 80-column xterm, and generate
output so that the shell prompt is at the very bottom. Then paste
the following command:

printf "🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝🧝\n"

The last 3 characters of the command (\n") do not appear (see attached
screenshot 20251211-014531.png). They appear one character at a time
when I type the left arrow. There is the same issue when I recall this
command from the history (if the prompt is at the very bottom).

-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.10+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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.42-5
ii  libfontconfig1  2.15.0-2.4
ii  libfreetype6    2.13.3+dfsg-1
ii  libice6         2:1.1.1-1
ii  libtinfo6       6.5+20251123-1
ii  libutempter0    1.2.1-4
ii  libx11-6        2:1.8.12-1
ii  libxaw7         2:1.0.16-1
ii  libxext6        2:1.3.4-1+b3
ii  libxft2         2.3.6-1+b4
ii  libxinerama1    2:1.1.4-3+b4
ii  libxmu6         2:1.1.3-3+b4
ii  libxpm4         1:3.5.17-1+b3
ii  libxt6t64       1:1.2.1-1.3
ii  xbitmaps        1.1.1-2.2

Versions of packages xterm recommends:
ii  luit [luit]  2.0.20250912-1
ii  x11-utils    7.7+7

Versions of packages xterm suggests:
pn  xfonts-cyrillic  <none>

-- no debconf information

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Attachment: 20251211-003112.png
Description: PNG image

Attachment: 20251211-014531.png
Description: PNG image


Reply to: