tron
37dcd07159
Strip overstrike characters from input lines while searching for a "NAME"
...
section in a formatted manual page. "makewhatis" now recognizes and indexes
the OpenSSL manual pages properly. Fixes PR bin/12390 by Hubert Feyrer.
2001-04-10 21:00:00 +00:00
tron
3849906202
Abort parsing and invoke "nroff" if an unsupported macro is found in the
...
description section of an unformatted manual page. While this makes the
"makewhatis" two times slower in avoids creation of several incorrect
entries in the "whatis.db" database. This fixes PR bin/12535 by
Thomas Klausner.
2001-04-08 14:49:32 +00:00
tron
fd7e4484fc
- Use ".TH" lines in unformatted manual pages to find correct section
...
number.
- Always invoke "nroff" if builtin parser for unformatted manual pages
fails and try to parse formatted manual page.
2001-04-08 14:27:50 +00:00
cgd
65a1026492
convert to use getprogname()
2001-02-19 22:43:42 +00:00
tron
7cae32ff49
Invoke "nroff" with "-S" (safer mode) option because "makewhatis" is
...
usually invoked by "root".
2000-07-13 06:45:22 +00:00
tron
714c921491
Kill "nroff" process and wait for its terminiation if we can't setup
...
the "libz" file handle.
2000-07-13 06:29:43 +00:00
tron
b238c131ce
Optimize invokation of "nroff":
...
- Redirect standard error to "/dev/null" because "nroff" error messages
for temporary files aren't really useful.
- Don't let "nroff" open temporary file. Use its file descriptor as
standard input.
2000-07-13 06:15:03 +00:00
tron
e6f40b0f96
Check exit code returned from "nroff" if it is used to convert
...
unformatted manual pages.
2000-07-10 08:11:31 +00:00
tron
93cb6f8300
Invoke "nroff" and parse its output if an unformatted manual page uses
...
macros. Fixes PR bin/9083 by Geoff C. Wing.
2000-07-09 23:07:14 +00:00
tron
91e1f3f01b
Don't write leading white spaces and directory names to whatis file.
2000-01-24 23:03:54 +00:00
tron
e9a72ad0a3
Accept all kind of whitespaces when searching for the end of a nroff
...
macro.
1999-12-31 14:50:16 +00:00
tron
3434166ef3
Correct and improve nroff macro stripping. Partially fixes PR bin/9083
...
by Geoff C. Wing.
1999-12-31 14:28:03 +00:00
tron
a0ed22ea5f
Recognize manual page sections "l" and "n" used by the package system.
...
This fixes PR bin/8977 by Thilo Manske.
1999-12-11 20:30:30 +00:00
tron
9cc91f68f9
Set file modes of whatis.db database file to 444 like the old script did.
1999-09-25 21:40:58 +00:00
tron
a834c2ce72
Fix incorrect error check after writing database file.
1999-09-25 21:25:55 +00:00
tron
ceb9bcabf8
Replace shell script for creating whatis.db database with a C program
...
which is a little bit faster.
1999-09-25 21:17:37 +00:00