Hi,

2016-02-22 17:14 Axel Beckert:
Control: tag -1 + confirmed

Hi,

Vincent Lefevre wrote:
When I run aptitude, I get the following header line:

aptitude 0.7.6 @ cven

on my machine cventin, i.e. the hostname is truncated.

Indeed.

This seems to depend on the terminal width. The amount of characters
of the hostname shown changes when I resize the terminal, aptitude
runs in.

I had to do some changes to the size due to #810221 -- the fields Broken
and Download size are more important than host for most people, I guess.

Some people like the hostname being there, but I am still wondering if
it was an error to honour that request and enable it by default, because
we have had 2 reports because of it in a short time.

Due to the rules of creating columns in aptitude/cwidget, this is a bit
of a mess (it needs to reserve space beforehand even if the line appears
empty).  In any case, something has to give, and it's impossible to
support largish hostnames in 80-width characters anyway.

I haven't tried, but this should be able to be worked around by setting
Aptitude::UI::Package-Header-Format, and establishing a given width for
the hostname field.


Cheers.
--
Manuel A. Fernandez Montecelo <[email protected]>

_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to