aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/catman.c
Commit message (Collapse)AuthorAgeFilesLines
* Local variable initialisation.Kristaps Dzonsons2012-01-031-2/+2
|
* Continue changing mandoc.{index,db} into whatis.{index,db}. Use mandocdb.hKristaps Dzonsons2011-12-251-10/+24
| | | | to do so.
* Give catman(8) the -C flag (like apropos and friends) and merge in someKristaps Dzonsons2011-12-181-4/+8
| | | | documentation from apropos(1) to be consistent.
* Make the stored "cat"/"mdoc"/"man" strings just be c/d/a single-characterKristaps Dzonsons2011-12-161-8/+9
| | | | | bytes. This cuts down a little in index size and allows for cleaner extraction of information.
* Make paths in the mandocdb(8) index relative to the databases' pathKristaps Dzonsons2011-12-161-24/+25
| | | | | | | prefix. This means that an index in, say, /usr/share/man will point to man1/foo.1 instead of /usr/share/man/man1/foo.1. Not only does this save a lot of space, it also allows manual trees to be moved around without any side effects to the mandocdb(8) databases.
* implement -C (alternative config file) for apropos(1) and mandocdb(8),Ingo Schwarze2011-12-121-2/+2
| | | | | including various tweaks to the whatis(8) manual; ok kristaps@
* First, remove the catman(8) jobstart() stuff. It only copies files.Kristaps Dzonsons2011-12-081-114/+34
| | | | | | Second, when creating the destination filename, append the index's file (which is an absolute path) to the cache directory, not to the index's directory name.
* Make catman and man.cgi understand the index type-field.Kristaps Dzonsons2011-12-041-16/+28
| | | | | | | Also make catman's man.conf be generated as catman.conf to avoid clobbering a real man.conf file. Finally, add a placeholder catman() function to man.cgi for preformatted manuals in the cache.
* Removing INSECURE mode. This is a work in progress! Logic forKristaps Dzonsons2011-11-271-5/+13
| | | | formatting manpages is now linked into man.cgi.
* Rename manup(8) to catman(8), which Linux already uses for a similar tool.Kristaps Dzonsons2011-11-261-0/+551