Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/tmac Fix the `missing footer' problem. See the commen...



details:   https://anonhg.NetBSD.org/src/rev/0a3d312a8f2f
branches:  trunk
changeset: 467341:0a3d312a8f2f
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Mar 23 11:50:09 1999 +0000

description:
Fix the `missing footer' problem.  See the comment for details.

diffstat:

 share/tmac/doc-common |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 7cd682621bba -r 0a3d312a8f2f share/tmac/doc-common
--- a/share/tmac/doc-common     Tue Mar 23 10:59:11 1999 +0000
+++ b/share/tmac/doc-common     Tue Mar 23 11:50:09 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: doc-common,v 1.29 1999/03/23 09:29:11 mycroft Exp $
+.\"    $NetBSD: doc-common,v 1.30 1999/03/23 11:50:09 mycroft Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -290,6 +290,13 @@
 .\}
 ..
 .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(lC .tm List open at EOF -- A .Bl directive has no matching .El
 .if \\n(cR \{\



Home | Main Index | Thread Index | Old Index