[Aptitude-devel] Bug#892923: aptitude: After upgrading ncurses, aptitude fails to correctly display dialog windows and align columns

Jiri Palecek jpalecek at web.de
Wed Mar 28 21:57:18 UTC 2018


On 3/16/18 1:24 PM, Manuel A. Fernandez Montecelo wrote:
> Control: tags -1 + moreinfo
>
>
> Hi Jiri,
>
> 2018-03-14 15:34 Jiri Palecek:
>> Package: aptitude
>> Version: 0.8.10-6
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> after upgrading libncurses5 to version 6.1-1, aptitude no longer
>> displays its GUI correctly. The columns are not aligned, and the dialog
>> boxes fail to use the width of the screen. See this screenshot with what
>> should be a search dialog:
>>
>> Other console applications (mc, emacs) don't exhibit this behaviour, so
>> I'm filing this to aptitude. Please have a look at it.
>
> Thanks for the report.
>
> I have the same versions installed and for me it works perfectly.
>
>  $ aptitude search -F '%p %v' --disable-columns 
> '~i~n^(aptitude|libncursesw5)$'
>  aptitude 0.8.10-6
>  aptitude-common 0.8.10-6
>  aptitude-dbgsym 0.8.10-6
>  libncursesw5 6.1-1
>  libncursesw5-dev 6.1-1
>
> This will require more investigation.
>
> Maybe the locale/encoding?
>
>  Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2), LANGUAGE= 
> (charmap=ISO-8859-2)
>
No, it isn't this (checked that).

In fact, after finding that dialog is also affected by this problem and 
dissecting the escape codes sent to the terminal, I can conclude that 
the true culprit is Konsole. xterm and text console all work well.

The problem seems to be the escape sequence ESC [ 7 b. Problem is, I 
can't find anywhere documented what it does, but it should be something 
like repeat last char 7 times.

Regards

     Jiri Palecek



More information about the Aptitude-devel mailing list