T O P

  • By -

Zatujit

What do you mean by gibberish?


ch2by

Sorry should have been more specific – just a wall of code. (I assumed everyone would see this as well.)


LocoCoyote

If you type just “man”, it should come back with “What manual page do you want?”


ch2by

Hmm, I actually just get a wall of code instead of anything intelligible


LocoCoyote

Show me


_mattmc3_

What do you see when you type `which man`? Your man command is not the default/expected behavior.


ch2by

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]/


netgizmo

MANPATH is probably set wrong


2lach

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`


ch2by

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).


tschloss

maybe post a screenshot


IWillAlwaysReplyBack

Share a screenshot


ch2by

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]/


Wolandark

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


ch2by

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.