Bug#933053: libncurses6: Ncurses-based Terminal UI Programs Broken in Debian Buster

2019-07-27 Thread Sven Joachim
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



Bug#933053: libncurses6: Ncurses-based Terminal UI Programs Broken in Debian Buster

2019-07-26 Thread 王昊然
This makes sence, this explained why the didn't happen in dtterm(1) and tmux(1).

2019-07-26 0:55 GMT-07:00, Thomas Dickey :
> On Fri, Jul 26, 2019 at 01:53:21PM +0800, WHR wrote:
>> Package: libncurses6
>> Version: 6.1+20181013-2
>> 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.
>> Tested with xfce4-terminal 0.8.3 and libvte-2.90-0.36.
>
> In buster, I have
>   xfce4-terminal 0.8.3-1 and libvte-2.91-0.46.1-1
>
> Perhaps you're using this from an older system, where the terminal
> emulators
> lacked support for xterm's repeat-control, but set TERM to "xterm" or
> something derived from that.  If so, that's an old issue from 2017.
>
> https://invisible-island.net/ncurses/ncurses.faq.html#xterm_generic
>
> --
> Thomas E. Dickey 
> https://invisible-island.net
> ftp://ftp.invisible-island.net
>



Bug#933053: libncurses6: Ncurses-based Terminal UI Programs Broken in Debian Buster

2019-07-26 Thread Thomas Dickey
On Fri, Jul 26, 2019 at 01:53:21PM +0800, WHR wrote:
> Package: libncurses6
> Version: 6.1+20181013-2
> 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.
> Tested with xfce4-terminal 0.8.3 and libvte-2.90-0.36.

In buster, I have 
xfce4-terminal 0.8.3-1 and libvte-2.91-0.46.1-1

Perhaps you're using this from an older system, where the terminal emulators
lacked support for xterm's repeat-control, but set TERM to "xterm" or
something derived from that.  If so, that's an old issue from 2017.

https://invisible-island.net/ncurses/ncurses.faq.html#xterm_generic

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


signature.asc
Description: PGP signature


Bug#933053: libncurses6: Ncurses-based Terminal UI Programs Broken in Debian Buster

2019-07-25 Thread WHR
Package: libncurses6
Version: 6.1+20181013-2
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.
Tested with xfce4-terminal 0.8.3 and libvte-2.90-0.36.
Also tested with CDE 2.3.0 dtterm(1) and this issue dosen't seems affect 
dtterm(1).

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libncurses6 depends on:
ii  libc6  2.28-10
ii  libtinfo6  6.1+20181013-2

Versions of packages libncurses6 recommends:
ii  libgpm2  1.20.7-5

libncurses6 suggests no packages.

-- no debconf information