manpath errors -- standard way to set? does anyone even use it anymore?
Hello I'm finding a lot of results come up in google about manpath but none of them seem to help. I would like to add some files to my man path so that I can type things like `man -k fluxbox` and even though I don't have fluxbox installed at all, man will find that I have some personal notes on fluxbox. I'd also like to be able to type `man 7 fluxbox` because you can see here that 7 is a section for "miscellanea" (personal documentation).
After putting the following in my ~/.bashrc, I would type `manpath` and it would reveal no sign of my desired path:
So, then I tried:
but now I get the following when typing `manpath`:
(i don't know why my desired path is repeated twice, but I also don't know whatto do about the warning manpath gave me)
See my directory of documents/pages below; I believe I have it set up correctly -- however, I'm hoping someone can tell me:
"no, everything has to be plain text" --OR--
"no you can leave those PDF/html files there and man will do its best"
mandb is used to initialise or manually update index database caches
that are usually maintained by man. The caches contain information
relevant to the current state of the manual page system and the infor-
mation stored within them is used by the man-db utilities to enhance
their speed and functionality.
When creating or updating an index, mandb will warn of bad ROFF .so
requests, bogus manual page filenames and manual pages from which the
whatis cannot be parsed.
Supplying mandb with an optional colon-delimited path will override the
internal system manual page hierarchy search path, determined from
information found within the man-db configuration file
Neo has hit the nail on the head. "man" pages must be presented in a strict text format known only to unix and its predecessors called "nroff" (i.e. not html, pdf, etc.). On the PDP/11 the format was called "runoff".
See "man catman" "man nroff" "man 5 man" etc. etc. . When you read about this, understand it and finally succeed in creating a "man" page which works from "man" and "apropos" or ("man -k") commands that is the ultimate achievement in unix systems administration. I may get comments here.
Once you understand how "man" works you will understand the inner workings of computer typesetting software and of word processors such as Wordstar, Word Perfect, ... and the ultimate copycat M$ Word. I may get comments here too.
Hi Guys,
I'm trying to install Oracle Database on to Oracle Linux 7.6 but when
the database install package checks the OS set-up, it keeps on failing
on the soft limits for the stack. It's default value is 8192 but I'm trying
to set it to 10240.
This is what I added to... (2 Replies)
dear unix experts,
the 'man' command on my system isn't finding a manpage that is
in a MANPATH directory, or even when I specify the path directly:
12:56pm ilya@node1390 /idi/sabetilab/ilya/usr/share/man $ man -M . xemacs
No manual entry for xemacs
12:56pm ilya@node1390... (4 Replies)
Hello All,
I m using Linux OS and the default shell is C shell.
Till today the startup file (.login ) was invoking first and the environment variable set there working properly but after some software installation - now the .login file is not invoking at the startup and subsequently the... (1 Reply)
I know that the manpath varable /etc/man.config:
# Every automatically generated MANPATH includes these fields
#
MANPATH /usr/man
MANPATH /usr/share/man
MANPATH /usr/local/man
MANPATH /usr/local/share/man
MANPATH /usr/X11R6/man
but run manpath result:
# manpath... (0 Replies)
Hey, I'm completely new at this and I was wondering if there is a way that I would be able to redirect the log files in a directories standard output and standard error into and excel spreadsheet in anyway?
Please remember don't use too advanced of terminology as I just started using shell... (6 Replies)
Hello,
I have a big problem and no idea how to solve it.
I was looking up commands in /bin with 'man' as I found 'sh'.
In mistake I started the command.
Now after that I can not input the character 's' in shell anymore!
Even after restarting system the problem is still there.
Mysterious... (7 Replies)
Hi there
how can i get the result of a command to not give me its error. For example, on certain systems the 'zfs' command below is not available, but this is fine becaues I am testing against $? so i dont want to see the message " command not found" Ive tried outputting to /dev/null 2>&1 to no... (5 Replies)
Hi,
How does the PATH and MANPATH environment variable get set?
I want to add "/opt/SUNWspro/bin" to the search path for all the users. Where can I access this variable.
I know in my home directory, depend on which shell I use, there are files such as .profile and .cshrc which I can edit to... (3 Replies)