foxygit / doom Log in
commit a0ab16efb3e1fd805d34dee37fc4b714bf893060
Author:     G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Sep 13 14:26:24 2024 -0500
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Wed Jul 2 08:24:12 2025 +0200

    man/*.template: Fix paragraph breaks

    Blank lines in *roff input files put excess space in the formatted
    document.  Eliminate them where adjacent macro calls imply vertical
    spacing, or replace them with appropriate calls (`PP` for an ordinary
    paragraph, `IP` for an indented one) when separating paragraphs from
    each other.

    groff_man_style(7):
      ... Do not put blank (empty) lines in a man page source document.
---
 man/default.cfg.template |  3 ---
 man/doom.template        |  1 -
 man/environ.man          |  3 +--
 man/extra.cfg.template   |  4 ----
 man/heretic.template     |  1 -
 man/hexen.template       |  1 -
 man/server.template      |  1 -
 man/setup.template       |  1 -
 man/strife.template      | 12 ++----------
 9 files changed, 3 insertions(+), 24 deletions(-)

diff --git a/man/default.cfg.template b/man/default.cfg.template
index dabd8073..432ee1a4 100644
--- a/man/default.cfg.template
+++ b/man/default.cfg.template
@@ -45,11 +45,8 @@ Some options are used for keyboard key bindings; these are stored as
 integer values containing the keyboard scan code of the key to be bound to.
 Boolean values are also stored as integers, with a value of zero usually
 indicating "false" and a non-zero value indicating "true".
-
 @content
-
 .SH SEE ALSO
 \fB@PROGRAM_SPREFIX@\-@GAME@\fR(6),
 \fB@PROGRAM_SPREFIX@\-@GAME@.cfg\fR(5),
 \fB@PROGRAM_SPREFIX@\-@GAME@\-setup\fR(6)
-
diff --git a/man/doom.template b/man/doom.template
index 5b63339a..77153def 100644
--- a/man/doom.template
+++ b/man/doom.template
@@ -40,4 +40,3 @@ Copyright \(co 2005-2016 Simon Howard.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
-
diff --git a/man/environ.man b/man/environ.man
index ef8de02a..f401202d 100644
--- a/man/environ.man
+++ b/man/environ.man
@@ -14,9 +14,8 @@ When using OPL MIDI playback, this environment variable specifies an
 OPL backend driver to use.  Valid options are "SDL" for an SDL-based
 software emulated OPL chip, "Linux" for the Linux hardware OPL driver,
 and "OpenBSD" for the OpenBSD/NetBSD hardware OPL driver.
-
+.IP
 Generally speaking, a real hardware OPL chip sounds better than software
 emulation; however, modern machines do not often include one. If
 present, it may still require extra work to set up and elevated
 security privileges to access.
-
diff --git a/man/extra.cfg.template b/man/extra.cfg.template
index 0acefe60..0d451665 100644
--- a/man/extra.cfg.template
+++ b/man/extra.cfg.template
@@ -21,12 +21,8 @@ for editing \fI@PROGRAM_SPREFIX@\-@GAME@.cfg\fR.
 .SH FILE FORMAT
 .PP
 The file format is the same as that used for \fB@CFGFILE@\fR(5).
-.br
-
 @content
-
 .SH SEE ALSO
 \fB@PROGRAM_SPREFIX@\-@GAME@\fR(6),
 \fB@CFGFILE@\fR(5),
 \fB@PROGRAM_SPREFIX@\-@GAME@\-setup\fR(6)
-
diff --git a/man/heretic.template b/man/heretic.template
index 3fa4ce1d..ae845e7d 100644
--- a/man/heretic.template
+++ b/man/heretic.template
@@ -42,4 +42,3 @@ Copyright \(co 2005-2013 Simon Howard.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
-
diff --git a/man/hexen.template b/man/hexen.template
index fc953edf..cc7185e8 100644
--- a/man/hexen.template
+++ b/man/hexen.template
@@ -42,4 +42,3 @@ Copyright \(co 2005-2013 Simon Howard.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
-
diff --git a/man/server.template b/man/server.template
index 8b94f211..8b4c1711 100644
--- a/man/server.template
+++ b/man/server.template
@@ -49,4 +49,3 @@ Copyright \(co 2005-8 Simon Howard.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
-
diff --git a/man/setup.template b/man/setup.template
index 6c61e4e3..b2ba1fd3 100644
--- a/man/setup.template
+++ b/man/setup.template
@@ -39,4 +39,3 @@ Copyright \(co 2005-8 Simon Howard.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
-
diff --git a/man/strife.template b/man/strife.template
index 8767669d..cf174b0f 100644
--- a/man/strife.template
+++ b/man/strife.template
@@ -10,16 +10,13 @@
 Entertainment's "Strife: Quest for the Sigil". It was created through
 more than two years of reverse engineering effort with the blessings
 of the original programmers of the game (see the section HISTORY below).
-
 @content
-
 .SH IWAD SEARCH PATHS
 @include iwad_paths.man
 .SH ENVIRONMENT
 This section describes environment variables that control @PACKAGE_SHORTNAME@ Strife's
 behavior.
 @include environ.man
-
 .SH FILES
 .TP
 \fB$HOME/.local/share/@PROGRAM_SPREFIX@\-doom/strife.cfg\fR
@@ -32,7 +29,6 @@ present in Vanilla Strife.  See \fB@PROGRAM_SPREFIX@\-strife.cfg\fR(5).
 \fB@PROGRAM_SPREFIX@\-doom\fR(6),
 \fB@PROGRAM_SPREFIX@\-server\fR(6),
 \fB@PROGRAM_SPREFIX@\-setup\fR(6)
-
 .SH HISTORY
 The source code for Strife was lost, which means, unlike the code for all the
 other commercial DOOM-engine games, it cannot be released. The only access we
@@ -42,7 +38,6 @@ referenced against the Linux DOOM and DOS Heretic sources and painstakingly
 combed over multiple times, instruction-by-instruction, to ensure that the
 resulting Chocolate-Doom-based executable is as close as possible to the
 original.
-
 .SH LEGALITY
 Reverse engineering is a protected activity so long as the original code is
 not used directly in the product. Due to the vast amount of information lost
@@ -50,17 +45,16 @@ through the process of compilation, and the need to refactor large portions
 of code in order to eliminate non-portable idioms or to adapt them properly to
 Chocolate Doom's framework, the resulting code behaves the same, but is not
 the *same* code.
-
+.PP
 In addition, James Monroe and John Carmack have both stated that they have no
 objections to the project. Because they are the original authors of the code,
 and neither Rogue nor their publisher, Velocity, Inc., exist any longer as
 legal entities, this is effectively legal permission.
-
 .SH BUGS
 @PACKAGE_SHORTNAME@ Strife is almost, but not entirely perfect, in recreating the
 behavior of Vanilla Strife.  Help us by reporting any discrepancies you
 might notice between this executable and the vanilla DOS program.
-
+.PP
 However, do *not* report any glitch that you can replicate in the vanilla EXE
 as a bug. The point of @PACKAGE_SHORTNAME@ Strife, like Chocolate Doom before it, is to
 be as bug-compatible with the original game as possible. Also be aware that
@@ -68,7 +62,6 @@ some glitches are impossible to compatibly recreate, and wherever this is the
 case, @PACKAGE_SHORTNAME@ Strife has erred on the side of not crashing the program,
 for example by initializing pointers to NULL rather than using them without
 setting a value first.
-
 .SH AUTHORS
 Chocolate Strife is part of the Chocolate Doom project. It was reverse
 engineered from the DOS versions of Strife by James Haley and Samuel
@@ -82,4 +75,3 @@ Copyright \(co 2005-2013 Simon Howard, James Haley, Samuel Villarreal.
 This is free software.  You may redistribute copies of it under the terms of
 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
 There is NO WARRANTY, to the extent permitted by law.
-