aboutsummaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorAnthony Sorace <a@9srv.net>2025-01-29 10:27:03 -0800
committerDan Cross <crossd@gmail.com>2025-01-29 15:55:23 -0500
commita5d6857a3b912b43c88ef298c28d13d4623f9ef0 (patch)
tree1e352ad0334124c4eb6a13678b1f1265642fe59d /tmac
parent61e362add9e1485bec1ab8261d729016850ec270 (diff)
man: don't paginate when using nroff
This tells bin/man to set the register L to very high to avoid pagination and updates tmac/tmac.an to use that value, if it's set, to set the page length. This is per Plan 9's rc/bin/man and sys/lib/tmac/tmac.an.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/tmac.an4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmac/tmac.an b/tmac/tmac.an
index 02b31bbf..39399840 100644
--- a/tmac/tmac.an
+++ b/tmac/tmac.an
@@ -479,7 +479,9 @@
.if t \{.ds R ®
.ds S \s\n()S
..\}
-.if n \{.nr )L 11i
+.if n \{.ie \nL<=0 .nr )L 11i
+.el \{.nr )L \nLu
+.nr V 0\}
.nr LL 6.5i
.nr )O .463i
.if '\*(.T'think' \{.nrLL 80n