aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/catman.c
Commit message (Collapse)AuthorAgeFilesLines
* Polishing:Ingo Schwarze2017-02-061-16/+41
| | | | | | | | | | * support -Ios= * create missing directories * fix output file permissions * error out on comminication failures I now consider this good enough for a first release. Bugs and missing features are still likely, though.
* experimental mandocd(8) and catman(8)Ingo Schwarze2017-02-041-0/+213
| | | | for development in the tree, not yet ready for production
* Remove catman(8): it's superfluous.Kristaps Dzonsons2012-06-091-512/+0
| | | | | | | | Users of man.cgi should be able to just copy in their directories and have the CGI fine everything on its own or just suck it up or, in the cases of multiple manroots, have a simple config file. Besides, now that mandocdb(8) is using relative paths for everything, needing a fancy "cp -R" is silly.
* Use size_t in catman to match manpath.h.Kristaps Dzonsons2012-06-081-2/+3
| | | | | Note this file will not be connected to the build for a little while as I get the new sqlite3 stuff in.
* 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