1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
--- mandoc-1.14.5/mandoc.1 2019-03-10 04:56:43.000000000 -0500
+++ mandoc-1.14.5/mandoc.1 2020-06-05 02:12:50.320533119 -0500
@@ -897,7 +897,7 @@ An
macro references a manual page that is not found in the base system.
The path to look for base system manuals is configurable at compile
time and defaults to
-.Pa /usr/share/man : /usr/X11R6/man .
+.Pa /usr/share/man .
.El
.Ss Style suggestions
.Bl -ohang
--- mandoc-1.14.5/mandoc.db.5 2019-03-10 04:56:43.000000000 -0500
+++ mandoc-1.14.5/mandoc.db.5 2020-06-05 02:14:48.380534383 -0500
@@ -189,10 +189,6 @@ followed by the number 0.
.Bl -tag -width /usr/share/man/mandoc.db -compact
.It Pa /usr/share/man/mandoc.db
The manual page database for the base system.
-.It Pa /usr/X11R6/man/mandoc.db
-The same for the
-.Xr X 7
-Window System.
.It Pa /usr/local/man/mandoc.db
The same for
.Xr packages 7 .
--- mandoc-1.14.5/man.conf.5 2019-03-10 04:56:43.000000000 -0500
+++ mandoc-1.14.5/man.conf.5 2020-06-05 02:11:34.650532308 -0500
@@ -117,7 +117,6 @@ installing it is equivalent to not havin
file at all.
.Bd -literal -offset indent
manpath /usr/share/man
-manpath /usr/X11R6/man
manpath /usr/local/man
.Ed
.Sh SEE ALSO
--- mandoc-1.14.5/man.1 2019-03-10 04:56:43.000000000 -0500
+++ mandoc-1.14.5/man.1 2020-06-05 02:51:15.910557811 -0500
@@ -174,28 +174,32 @@ Only select manuals from the specified
The currently available sections are:
.Pp
.Bl -tag -width "localXXX" -offset indent -compact
+.It 0p
+POSIX C headers.
.It 1
General commands
.Pq tools and utilities .
+.It 1p
+POSIX commands.
.It 2
System calls and error numbers.
.It 3
Library functions.
.It 3p
+POSIX C library functions.
+.It 3pm
.Xr perl 1
programmer's reference guide.
.It 4
Device drivers.
.It 5
-File formats.
+File formats and configuration files.
.It 6
Games.
.It 7
-Miscellaneous information.
+Overview, conventions, and miscellaneous information.
.It 8
System maintenance and operation commands.
-.It 9
-Kernel internals.
.El
.Pp
If not specified and a match is found in more than one section,
--- mandoc-1.14.5/man.cgi.8 2019-03-10 04:56:43.000000000 -0500
+++ mandoc-1.14.5/man.cgi.8 2020-06-05 16:26:12.541081488 -0500
@@ -342,7 +342,7 @@ page to acquire the named parameters it
.El
.Sh FILES
.Bl -tag -width Ds
-.It Pa /var/www
+.It Pa /var/lib/mandoc-cgi
Default web server
.Xr chroot 2
directory.
@@ -366,13 +366,7 @@ This is part of the web server configura
A style sheet for
.Xr mandoc 1
HTML styling, referenced from each generated HTML page.
-.It Pa /man
-Default
-.Nm
-data directory containing all the manual trees.
-Can be overridden by
-.Dv MAN_DIR .
-.It Pa /man/manpath.conf
+.It Pa /manpath.conf
The list of available manpaths, one per line.
If any of the lines in this file contains a slash
.Pq Sq /
@@ -380,13 +374,13 @@ or any character not contained in the
.Sx Restricted character set ,
.Nm
reports an internal server error and exits without doing anything.
-.It Pa /man/header.html
+.It Pa /header.html
An optional file containing static HTML code to be inserted right
after opening the <BODY> element.
-.It Pa /man/footer.html
+.It Pa /footer.html
An optional file containing static HTML code to be inserted right
before closing the <BODY> element.
-.It Pa /man/OpenBSD-current/man1/mandoc.1
+.It Pa /OpenBSD-current/man1/mandoc.1
An example
.Xr mdoc 7
source file located below the
--- mandoc-1.14.5/soelim.1 2019-03-10 04:56:43.000000000 -0500
+++ mandoc-1.14.5/soelim.1 2020-06-05 16:38:40.101089494 -0500
@@ -25,10 +25,10 @@
.\" SUCH DAMAGE.
.\"
.Dd $Mdocdate: July 4 2017 $
-.Dt SOELIM 1
+.Dt MANDOC-SOELIM 1
.Os
.Sh NAME
-.Nm soelim
+.Nm mandoc-soelim
.Nd interpret .so requests in manpages
.Sh SYNOPSIS
.Nm
|