You are not logged in.
Running
man 5 passwdproduces
No manual entry for 5
(Alternatively, what manual page do you want from section 5?)
For example, try 'man man'instead of opening the appropriate man page. This issue appears to happen whenever I try to access any man page using the
man [section] [page]form of the man command.
Running
man passwd.5I get the corresponding man page.
This seems like a bug. I'm not sure what I would have misconfigured that would cause this issue. Is anyone else seeing this?
Last edited by jcarrete (2023-08-30 21:06:53)
Offline
What is the output from `type man`?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
bah thank you. I forgot I had changed this!
I made it a function to try and center man pages some time ago. I guess I haven't used this form of the man command in a while.
$ type man
man is a function
man ()
{
MANWIDTH=$(( $(tput cols) > $max_width ? $max_width : $(tput cols) )) LESSOPEN='|- ${XDG_CONFIG_HOME:-$HOME/.config}/less/preprocess-man %s' /usr/bin/man $1
}Probably should just make it an alias.
Last edited by jcarrete (2023-08-30 21:07:59)
Offline
Or just replace the $1 with $@
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline