-
Notifications
You must be signed in to change notification settings - Fork 20
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
How can I change man page colors? #170
Comments
Hello! Please run the following commands and add their output to this issue:
Also, please post a screenshot of what |
To verify that you actually did run It looks like you have some For example, here's what I get:
|
I'm not sure how LESS is related to MOAR tho |
For compatibility reasons,
But you do not have any of these set? |
no, i checked with "echo $LESS_TERMCAP_md" etc |
If you run this, do you still get the same problem?
If this doesn't help I think the next step would be to improve |
I'd suggest you play around with Also try the See #14 and #114 for what the Try https://chat.openai.com/ and see if it can guide you for how to set this up nicely for your shell! |
I thought about this some more and I think two things should be improved in
|
If present. Would have been useful for troubleshooting in #170.
I don't understand the "--style" thing, without it asks for argument, and then I dunno what argument to type, I tried "style" or "api" nothing works |
And to be fair, it doesn't work
I set it using fish shell with "set" but it does not change anything in the man page. Also using "moar /etc/aliases" I can see the white highlight on search........ i don't get it I even used these
nothing changes anywhere |
Use GenericHeading style for man page headings. Related to #170.
From
Does this help? You should pass |
Hopefully this change could have made this situation more obvious: #170 (comment)
Fish variables are not exported by default. For |
This comment was marked as duplicate.
This comment was marked as duplicate.
On a related note, the latest release... https://github.com/walles/moar/releases/tag/v1.22.2 ... will syntax highlight man page headings as Here's what ![]() |
how is that good looking? it's just white, i see no difference except it's white lol I told you I tried the "--style x" and it did nothing, I retried "--style witchhazel" and it did nothing set -x changes nothing at all, I knew it but i tried just in case, cannot say I haven't tried everything here...
tell me if i'm wrong |
You must change the environment in the same terminal tab where you're running If you are changing the variables in one tab and running Also, |
I never ran it in another tab lol, I set env variables for 10 years without issues
I replaced by that thing and it still does nothing at all
|
@walles I think
To be extra clear, this would be an issue with |
It was broken. Regression test added. Related to #170.
v1.23.1 fixes one problem in Reopening this ticket since the discussion is still ongoing. |
I updated moar and now the color changed a little as you pointed in your screenshot @walles it is now whiter than greyer ^^but that's all |
Try this: In the most recent versions of |
|
Does this give you the color you ask for (still
The help text indicates You might be using some other installation of Also, please do |
At least on some systems > set -e MANROFFOPT MANPAGER PAGER LESS_TERMCAP_mb LESS_TERMCAP_md LESS_TERMCAP_me LESS_TERMCAP_se LESS_TERMCAP_so LESS_TERMCAP_ue LESS_TERMCAP_us LESS LESSKEYIN_SYSTEM LESS LESSOPEN MOAR
> MANROFFOPT='-c' man moar | LESS_TERMCAP_md=\e'[01;31m' moar
> MANROFFOPT='-c' man moar | LESS_TERMCAP_md=\e'[01;31m' less |
On fish you cannot put the export command like that, obviously it's the default pager since it opens moar when I type "man". Most likely your code tries to verify if it is set only on bash shells. My moar version is v1.23.3 @postsolar all the commands I press here open Moar, I can see the difference and you too from my screenshots Ok so I pasted the last block of commands without trying to understand what it does. First of all, can you tell me why some people share commands with a So the top terminalfinally has some background on search (but i lost the blue color on bold words) |
You can since version 3.1.0
Don't know about others, or if it's an explicit convention, but I use it to indicate what is the command and what is the output, for example: > echo 123
123 You'll also see
Well But what about less, does it look the same? Also, what distro are you on and which terminal do you use? And could you share your terminal's colorscheme (perhaps use fastfetch or neofetch to generate it)? |
@BarbzYHOOL maybe we should do a Google Meet call about this? E-mail me (or send a calendar invite to) [email protected]. As for times let's try starting between 08:30CET and 20:00CET. Seeing your screen live and talking to you directly would make this a lot easier to figure out I think. |
@postsolar here is what LESS looks with your command, a bit a different than MOAR I'm on POPOS 22.04 using Tilix, maybe it's a bug with the terminal?? Here is my color scheme (custom) @walles i cannot be there at these hours and I don't have this thing google meet (nor microphone) |
I won't be able to resolve this without access to the machine where this is happening, sorry. If you find a way to have a call with desktop sharing @BarbzYHOOL let me know and we'll set something up! |
Hello,
I set moar as the default pager
I had the same colors using LESS in the man pages
It's very dark and the worst is using the search tool and the result is highlighted but I see nothing, it's grey on grey
What can I do?
The text was updated successfully, but these errors were encountered: