Once upon a time, computers were routinely hooked up to teletypes (teleprinters) which would print all text on paper in real time as it was received. Although teleprinters didn't have any facilities for underlined or bold-faced text, outputting an underline, backspacing, and printing something else would cause that something else to appear underlined. Likewise outputting a character, backspacing, and outputting the same character would tend to make the character appear darker, though the effectiveness of that would vary depending upon the quality of the installed ribbon (if the ribbon was old and feeble, typing the same character twice would make it significantly darker; with a new ribbon typing the character even once would achieve close to maximum blackness). Further, even if a user wasn't attached to a printer, redirecting the output of man
to a print spooler would have been pretty common, which probably explains why man
would behave that way even when the output was redirected.
BTW, on some printers (and even teleprinters), the performance of _←U_←N_←D_←E_←R_←L_←I_←N_←I_←N_←G
would be noticeably worse than ___________←←←←←←←←←←←UNDERLINING
, since the former requires the printhead to repeatedly reverse direction (and typically overshoot its target at both ends). The same would be true when using multi-strike boldface as well, but there the behavior could actually be advantageous since the first time each character is printed would immediately follow a backspace character and the second would not. If the print head was accelerating while printing the first character, that would cause it to be misaligned slightly relative to the second, making the bold-face effect more effective.
less
ormore
displays the formatting correctly. If you usevim
, it'll show the raw backspaces (^H
) with the extra letters.