summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-14 22:50:38 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-06-14 22:50:38 +0000
commit73f02f010c9859d465642793bb2c4dd4a9434c74 (patch)
treed749250337bc32186ade95c1d09c295cb60c90f3 /share
parent99d9184da54adc1a9f54367e817f1f6f59928e50 (diff)
Naive implementation of the roff(7) .po (page offset) request.
This clearly works when .po is called on the top level, but might not be sophisticated enough if people call .po inside indentation-changing contexts, but i haven't seen that in manual pages (yet :).
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/roff.713
1 files changed, 10 insertions, 3 deletions
diff --git a/share/man/man7/roff.7 b/share/man/man7/roff.7
index 0bdb963f7b7..9409bb19419 100644
--- a/share/man/man7/roff.7
+++ b/share/man/man7/roff.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: roff.7,v 1.71 2017/06/14 19:39:05 schwarze Exp $
+.\" $OpenBSD: roff.7,v 1.72 2017/06/14 22:50:37 schwarze Exp $
.\"
.\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010,2011,2013-2015,2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -1439,8 +1439,15 @@ Currently ignored.
Print all number registers on standard error output.
Currently ignored.
.It Ic \&po Op Oo Cm + Ns | Ns Cm - Oc Ns Ar offset
-Set horizontal page offset.
-Currently ignored.
+Set a horizontal page offset.
+If no argument is specified, the page offset is reverted to its
+previous value.
+If a sign is specified, the new page offset is calculated relative
+to the current one; otherwise, it is absolute.
+The argument follows the syntax of
+.Sx Scaling Widths
+and the default scaling unit is
+.Cm m .
.It Ic \&ps Op Oo Cm + Ns | Ns Cm - Oc Ns size
Change point size.
Currently ignored.