pinfo icon indicating copy to clipboard operation
pinfo copied to clipboard

Manual boldness

Open xeruf opened this issue 4 years ago • 6 comments

In manuals, the formatting seems lacklustered, especially boldness is missing, maybe related to https://github.com/sharkdp/bat/issues/652 ?

xeruf avatar Jul 01 '21 11:07 xeruf

If I got it right bat, doesn't understand that x Backspace x == bold x. I don't think pinfo has an issue with that:

pinfo

xaizek avatar Jul 01 '21 12:07 xaizek

Interesting, I get no boldness: image Version 0.6.13 on Arch in Yakuake (Konsole)

xeruf avatar Jul 01 '21 15:07 xeruf

Check value of $TERM and maybe try in other terminals. "Viewing line ..." looks bold, as if pinfo knows about bold attribute, but man didn't use it in the output.

xaizek avatar Jul 01 '21 15:07 xaizek

TERM=xterm-256color

Tried in Alacritty as well, no difference

xeruf avatar Jul 01 '21 18:07 xeruf

btw pinfo completely fails if TERM is not set ^^

xeruf avatar Jul 01 '21 18:07 xeruf

If you use man-db, you should set MAN_KEEP_FORMATTING=1 in your environment. But ideally pinfo should be fixed to set it for you.

jwilk avatar Oct 10 '22 06:10 jwilk