#1019956 less: backspace-based underlining breaks weirdly for multiple columns at a time

Package:
less
Source:
less
Description:
pager program similar to more
Submitter:
наб
Date:
2024-05-01 01:18:02 UTC
Severity:
normal
Tags:
#1019956#5
Date:
2022-09-16 23:49:57 UTC
From:
To:
Dear Maintainer,

    printf 'abcd\b\b\b\b____ ____\b\b\b\bABCD'  | less
renders as (with ąĄ for underlined aA):
    ą___ ĄBCD
which is "not what I'd expect" at least and given that this works for
individual columns just fine I'd hazard a guess that it's "just wrong".

(The former is a very popular style from the time of actual
 typewriters-as-terminals that I run into constantly.
 I haven't encountered the latter in the wild I think.)

Best,
наб