summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/doc-common7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common
index f80d63c..00a1913 100644
--- a/contrib/groff/tmac/doc-common
+++ b/contrib/groff/tmac/doc-common
@@ -319,6 +319,13 @@
.\" .tm IN 444 fM .k == \\n(.k and nl == \\n(nl
..
.de lM
+.\" We may still have a partial line in the enviroment. If this is the case,
+.\" and we happen to be on the last line of the page, the .fl will cause the
+.\" page to be ejected and troff will immediately exit. If we're in nroff
+.\" mode, this would be unfortunate, since we would never get a chance to
+.\" output the footer. So we fudge the page length, to make sure that the
+.\" last page is never ejected until we want it to be.
+.if \\n(cR .pl +3v
.fl
.if \\n(cR \{\
' sp
OpenPOWER on IntegriCloud