summaryrefslogtreecommitdiff
path: root/share/tmac/mdoc/doc-common
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-10 01:51:11 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-10 01:51:11 +0000
commit9d6574d512377dd4facdcc5c42fb680e1eed72c4 (patch)
tree9f010e8a202cf9843b7c3e5870e7df9382be663e /share/tmac/mdoc/doc-common
parent9d6ed45acf5fc39ca847c0cf1edb373b53530ced (diff)
Fix an annoying bug where blank lines were being inserted when viewing a man
page on a tty. In particular, there is no notion of "pages" on a tty like there is when printing docs generated with groff/troff. From ross@netbsd
Diffstat (limited to 'share/tmac/mdoc/doc-common')
-rw-r--r--share/tmac/mdoc/doc-common10
1 files changed, 6 insertions, 4 deletions
diff --git a/share/tmac/mdoc/doc-common b/share/tmac/mdoc/doc-common
index 1ee3363d4b0..67f1210684a 100644
--- a/share/tmac/mdoc/doc-common
+++ b/share/tmac/mdoc/doc-common
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doc-common,v 1.12 1999/07/08 20:01:55 deraadt Exp $
+.\" $OpenBSD: doc-common,v 1.13 1999/07/10 01:51:10 aaron Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -283,9 +283,11 @@
.de hM
.ev 1
.pL
-.if !\\n(cR 'sp \\n(Hmu
-.tl @\\*(Hs\\*(hT\fP@\\*(Vs\\*(vT\fP@\\*(Hs\\*(hT\fP@
-'sp \\n(Hmu
+.if !\\n(cR \{\
+' sp \\n(Hmu
+. tl @\\*(Hs\\*(hT\fP@\\*(Vs\\*(vT\fP@\\*(Hs\\*(hT\fP@
+' sp \\n(Hmu
+.\}
.ev
..
.de fM