Control: reassign -1 ncurses-base 6.1-1
Control: retitle -1 rep in xterm* terminfo entries not supported by older
terminal emulators
On 2019-07-26 13:53 +0800, WHR wrote:
> Package: libncurses6
> Version: 6.1+20181013-2
This is not a bug in the library but rather an incompatibility between
the xterm* terminfo entries since ncurses 6.1 and several older terminal
emulators. It is rather unfortunate that nobody reported it (at least
not to the ncurses maintainers) before the buster release. :-(
> Severity: important
> Tags: a11y
>
> Hello.
> Most TUI programs that based on ncurses in Debian buster seem broken.
> Affecting programs aptitude(8), cfdisk(8), iftop(8), nano(1), nmon(1) and
> nload(1).
> Some screenshots are attached.
> May related to bug #905247.
In fact, it is the same as #905247.
> Tested with xfce4-terminal 0.8.3 and libvte-2.90-0.36.
Yep, that was only fixed in later versions of libvte[1].
Since so many older terminal emulators are affected, I guess we have to
disable the problematic feature in ncurses-base. If you want to do that
yourself, the following command should do the trick:
infocmp -x | sed 's/rep=[^,]*,//' | tic -x -
This writes a new compiled terminfo entry for $TERM under
$HOME/.terminfo (or /etc/terminfo, if you are root) which takes
precedence over the one in /lib/terminfo. You probably want to remove
it once a fixed ncurses-base is available.
Cheers,
Sven
1. https://bugzilla.gnome.org/show_bug.cgi?id=787701