| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
This makes mandoc work much, much nicer with Mac OSX manpages.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
warnings about grokking manpages in their respective directories.
DO NOT, however, import his temporary-file routines (I don't plan on
staying with a recno/btree split) nor the realpath() routines, which
destroy relative path-ness.
Also pull in the lorder bits.
There are some changes I started to make then stopped relating to
reporting errors in the correct directories. I'll clean this up in
subsequent commits.
This puts us more or less on parity with OpenBSD.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
from Philip Guenther <guenther at openbsd dot org>.
OK Werner Lemberg <wl at gnu dot org>.
|
|
|
|
| |
from memory, e.g. after de-compressing a document.
|
|
|
|
| |
This is less likely to break the syntax of macros.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the caller to have done that.
|
|
|
|
|
|
|
| |
not just the first one in each -diag list.
While here, drop the needless if-statement
and choose a more precise wording for the comment.
ok kristaps@
|
| |
|
|
|
|
| |
some man(7) changes to accomodate for the an-ext compatibility.
|
|
|
|
|
| |
03/01/2012. From a tweaked patch (isoC-11 -> isoC-2011) by Ulrich
Sporlein: thanks!
|
|
|
|
| |
entry raised by deraadt@.
|
|
|
|
| |
align.
|
|
|
|
|
| |
the next section. Also, remove the limit of 72 characters and enforce
this, instead in the apropos frontend.
|
| |
|
|
|
|
|
| |
While here, reference apropos(1) from the description,
inspired by the makewhatis(8) manual.
|
|
|
|
| |
patch to mandocdb.8 by schwarze@ some time ago. Ok jmc@.
|
|
|
|
| |
const-ify several strings.
|
|
|
|
| |
to do so.
|
|
|
|
| |
Requested by deraadt@, ok kristaps@.
|
|
|
|
|
|
|
| |
use pointers to arrays, not pointers to structs. It is now possible
to create databases on sparc64 and use them on i386 and vice versa.
Kristaps@ can't think of anything else that might be required, either.
Put this in now such that we can move on.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Always do all consistency checks; when any one fails, decide whether
to print a message, or skip the file, or both, or none.
While here, do some cleanup as well:
* Bail out on conflicting options.
* Do not crash with -a if there are plain files in the root dir.
* Collect some related variables into structs.
Feedback and OK kristaps@.
|
|
|
|
|
|
|
|
| |
append or insert the man.conf(5) default path; compatible with GNU
manpath(1), implementation by kristaps@, heavily tweaked by schwarze@.
Updates to MANPATH documentation applied to whatis.1, apropos.1, and
catman.8 also.
|
|
|
|
|
|
|
|
|
| |
This makes mandocdb(8)/apropos(1) work on strict alignment architectures.
Basic way to fix this confirmed by deraadt@ and kettenis@, thanks.
ok kristaps@
This now works on both sparc64 and i386, but note that the binary
database format is still machine-dependent.
|
|
|
|
| |
documentation from apropos(1) to be consistent.
|
| |
|
| |
|
|
|
|
| |
man.cgi.
|
| |
|
|
|
|
|
| |
and repeat them in the search bar. This is handy. While here, make the
QUERY_STRING parser a bit simpler.
|
| |
|
|
|
|
| |
cover all types. Found after some database trawling.
|
|
|
|
|
| |
bytes. This cuts down a little in index size and allows for cleaner
extraction of information.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- include search bar above result page (I relent: it's annoying to
follow three links then press back three times to get a search page);
- make man.cgi.css into man-cgi.css so Apache isn't confused by two
handlers (css, cgi);
- finally consolidate example.style.css to be under the div.mandoc css
selector;
- put catman pages under div.catman;
- put search bar under div#mancgi;
- reflect this properly in the bundled CSS files.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This also cleans up the code a little bit. While here, make some functions
static that are only used within manpath.c.
|