On 09/10/2026 13:26, Eli Schwartz wrote:
On 10/9/26 7:42 AM, Pádraig Brady wrote:
On 09/10/2026 08:13, Eli Schwartz wrote:

Meanwhile, in a terminal that supports them, I can normally click on ls
--help's hyperlinks, but piping it to less -R actually breaks that, and
I don't know whether it's supposed to work (or how), so the feature
simply has my heartiest shrugs.
`ls --help | less -R` should work.
What version of less are you using?


less 704, but upgrading to less 710 makes no difference here.

I used Konsole to test (requires configuration to enable), FWIW.
Testing myself here I confirm that konsole might not highlight/follow links,
but at least it falls back to showing the text without mangling it in any way.
I.e. there is no disadvantage to enabling the hyperlinks in this particular 
case.

For reference I've less(1) 704 here myself. Testing with konsole I see that
the issue is because less sets up an alternate screen, and konsole
doesn't seem to highlight/follow links on the alternate screen.

I did a quick test with less -X to avoid that setup,
and now konsole is highlighting/following every second link :/

cheers,
Padraig



Reply via email to