From a5d6857a3b912b43c88ef298c28d13d4623f9ef0 Mon Sep 17 00:00:00 2001 From: Anthony Sorace Date: Wed, 29 Jan 2025 10:27:03 -0800 Subject: 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. --- tmac/tmac.an | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmac') 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 -- cgit v1.2.3