Package: xterm Version: 351-1 Severity: normal With scrollTtyOutput set to "false", when one scrolls backward while output is ongoing, xterm displays incorrect text. This is reproducible with the xterm Debian package in the following versions (at least): 337-1, 341-1, 344-1, 348-2, 349-1, 351-1. It seems that xterm does not fully erase the previous line when scrolling. Testcase: xterm -geometry 80x24 -e 'echo $WINDOWID; sleep 5; for i in `seq 10000 10040`; do sleep 0.1; echo $i$i$i$i$i$i$i$i | cut -b -$(((RANDOM % 26) + 1)); done; sleep 999999' I've attached a video showing the issue. At 00:07, the video also shows the result of some double-clicks. At 00:10, it shows the result of additional scrolling, once output has ended: new text is correct. -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-2-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages xterm depends on: ii libc6 2.29-8 ii libfontconfig1 2.13.1-2+b1 ii libfreetype6 2.10.1-2 ii libice6 2:1.0.9-2 ii libtinfo6 6.1+20191019-1 ii libutempter0 1.1.6-4 ii libx11-6 2:1.6.8-1 ii libxaw7 2:1.0.13-1+b2 ii libxext6 2:1.3.3-1+b2 ii libxft2 2.3.2-2 ii libxinerama1 2:1.1.4-2 ii libxmu6 2:1.1.2-2+b3 ii libxpm4 1:3.5.12-1 ii libxt6 1:1.1.5-1+b3 ii xbitmaps 1.1.1-2 Versions of packages xterm recommends: ii x11-utils 7.7+4 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 / AriC project (LIP, ENS-Lyon)
Attachment:
output-scrolled.ogv
Description: Binary data