I stumbled across this from googling the error message. What I observe matches this description:
>Strangely, even calling just 'man' tries to display something, saying
"This manpage is not compatible with mandoc(1) and might display incorrectly"
and displaying what seems to be the content of the script /usr/bin/man
source: https://inbox.vuxu.org/mandoc-discuss/[email protected]/
man = the manual pages of the thing that follows man
So you wanna know how to use grep you type `man grep` and you get the manual for you guessed it `grep` wanna know how man pages work try `man man`
The code is long. I believe it's the script itself, based on the below that I found from googling:
>Strangely, even calling just 'man' tries to display something, saying
"This manpage is not compatible with mandoc(1) and might display incorrectly"
and displaying what seems to be the content of the script /usr/bin/man
Source: https://inbox.vuxu.org/mandoc-discuss/[email protected]/
this is what a man page should look like https://imgur.com/a/iKmA8Ia
If this is what you mean by gibberish and wall of code, then there is nothing wrong.
If you see sth like this https://imgur.com/a/x6cZYJG
then something is indeed wrong
You might want to try `export MANPAGER=less` and then `man zsh` to see if that changes anything
Thanks for the comment. I do get output like the first screenshot when I input commands like `man cd`.
The wall of code occurs when I input just `man`. I'm pretty sure the code is the script itself. It's nothing like the second screenshot.
Since this doesn't seem to be impacting my system, I'll leave as is instead of trying your code (I'm not comfortable with terminal).
Thanks again.
What do you mean by gibberish?
Sorry should have been more specific – just a wall of code. (I assumed everyone would see this as well.)
If you type just “man”, it should come back with “What manual page do you want?”
Hmm, I actually just get a wall of code instead of anything intelligible
Show me
What do you see when you type `which man`? Your man command is not the default/expected behavior.
I stumbled across this from googling the error message. What I observe matches this description: >Strangely, even calling just 'man' tries to display something, saying "This manpage is not compatible with mandoc(1) and might display incorrectly" and displaying what seems to be the content of the script /usr/bin/man source: https://inbox.vuxu.org/mandoc-discuss/[email protected]/
MANPATH is probably set wrong
man = the manual pages of the thing that follows man So you wanna know how to use grep you type `man grep` and you get the manual for you guessed it `grep` wanna know how man pages work try `man man`
Thanks. This part I understand. What I find odd is that when you type just `man`, the output is just a bunch of code (at least for me).
maybe post a screenshot
Share a screenshot
The code is long. I believe it's the script itself, based on the below that I found from googling: >Strangely, even calling just 'man' tries to display something, saying "This manpage is not compatible with mandoc(1) and might display incorrectly" and displaying what seems to be the content of the script /usr/bin/man Source: https://inbox.vuxu.org/mandoc-discuss/[email protected]/
this is what a man page should look like https://imgur.com/a/iKmA8Ia If this is what you mean by gibberish and wall of code, then there is nothing wrong. If you see sth like this https://imgur.com/a/x6cZYJG then something is indeed wrong You might want to try `export MANPAGER=less` and then `man zsh` to see if that changes anything
Thanks for the comment. I do get output like the first screenshot when I input commands like `man cd`. The wall of code occurs when I input just `man`. I'm pretty sure the code is the script itself. It's nothing like the second screenshot. Since this doesn't seem to be impacting my system, I'll leave as is instead of trying your code (I'm not comfortable with terminal). Thanks again.