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 00000000 5c |\| … but when copying this specific example into a larger string, such as appending “abc”, it fails: $ printf '\abc' | hd 00000000 07 62 63 |.bc| Doubling the backslash fixes this: $ printf '\\abc' | hd 00000000 5c 61 62 63 |\abc| In the manpage, this will mean changing the sequence “\e'” to “\e\e'” (as each ‘\e’ denotes a backslash in nroff escaping). -- System Information: Debian Release: 11.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-4-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_WARN Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages xterm depends on: ii libc6 2.31-12 ii libfontconfig1 2.13.1-4.2 ii libfreetype6 2.10.4+dfsg-1 ii libice6 2:1.0.10-1 ii libtinfo6 6.2+20201114-2 ii libutempter0 1.2.1-2 ii libx11-6 2:1.7.0-2 ii libxaw7 2:1.0.13-1.1 ii libxext6 2:1.3.3-1.1 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.2.0-1 ii xbitmaps 1.1.1-2.1 Versions of packages xterm recommends: ii x11-utils 7.7+5 Versions of packages xterm suggests: pn xfonts-cyrillic <none> -- no debconf information