Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual boldness #21

Open
xeruf opened this issue Jul 1, 2021 · 6 comments
Open

Manual boldness #21

xeruf opened this issue Jul 1, 2021 · 6 comments

Comments

@xeruf
Copy link

xeruf commented Jul 1, 2021

In manuals, the formatting seems lacklustered, especially boldness is missing, maybe related to sharkdp/bat#652 ?

@xaizek
Copy link
Contributor

xaizek commented Jul 1, 2021

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

@xeruf
Copy link
Author

xeruf commented Jul 1, 2021

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

@xaizek
Copy link
Contributor

xaizek commented Jul 1, 2021

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.

@xeruf
Copy link
Author

xeruf commented Jul 1, 2021

TERM=xterm-256color

Tried in Alacritty as well, no difference

@xeruf
Copy link
Author

xeruf commented Jul 1, 2021

btw pinfo completely fails if TERM is not set ^^

@jwilk
Copy link
Contributor

jwilk commented Oct 10, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants