#1042545 less: when the second-to-last line is very long, <End> doesn't complete unless -S

Package:
less
Source:
less
Description:
pager program similar to more
Submitter:
наб
Date:
2024-05-01 02:09:07 UTC
Severity:
normal
Tags:
#1042545#5
Date:
2023-07-30 03:46:50 UTC
From:
To:
Dear Maintainer,

Repro by less lb, <End>: it never scrolls anywhere
(and behaves as if it were reading infinite input from a pipe,
 but obviously isn't).
Can be interrupted. Same behaviour with cat lb | less.

By running as less -S lb (or "-S"ing), <End> works again.

echo 99 >> lb  makes <End>ing work as well.

Attaching problematic file.

Best,
наб