>You probably still want the MAN_KEEP_FORMATTING=1 part, to keep colorization and bolding etc. in the manual page
Underlining is the only formatting I care about and that works without MAN_KEEP_FORMATTING on FreeBSD.
I don't have colorization enabled in man pages on my laptop, and also I don't have bolding enabled either. I like it this way.
>your solution does not respect the user’s pager preference; the user might prefer to read man pages in “w3m”, for instance.
The pager preference of the user in this case is `less`. I know because the user happens to be myself :^)