Control: tag -1 - patch

On 3 May 2025 10:21:35 CEST, Antoine Le Gonidec <deb...@vv221.fr> wrote:
>Package: apt
>Version: 3.0.1
>Severity: normal
>Tags: patch
>
>apt 2.9.35, and more specifically commit 805ddd0ac, broke long lines
>display when using less as a pager. Instead of being warped on end of
>line, anything going beyond the screen limit is hidden.
>
>The following commands illustrate the problem (check the Dependencies field):
>current behaviour: LESS=FRSXMK apt show mono-devel/trixie
>expected behaviour: LESS=FRXMK apt show mono-devel/trixie
>
>According to commit 805ddd0ac, the -S option was added to disable the
>terminal bell. But this is not what it does, cf. less(1):
>> -S or --chop-long-lines
>> Causes lines longer than the screen width to be chopped (truncated) rather
>> than wrapped. That is, the portion of a long line that does not fit in the
>> screen width is not displayed until you press RIGHT-ARROW. The default is to
>> wrap long lines; that is, display the remainder on the next line. See also
>> the --wordwrap option.
>
>The attached patch restores the expected behaviour. It does not fully
>revert commit 805ddd0ac, but only drops the -S option that was most
>probably added by mistake.

That's discussed in
<https://salsa.debian.org/apt-team/apt/-/merge_requests/470#note_609281>

>-- 

None of the reportbug crap is relevant here, why even submit it?

This is really painful to edit out when not on a proper mail client.

-- 
sent from my phone, excuse the brevity, if any

Reply via email to