aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/help/lroff/indent.x
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/system/help/lroff/indent.x')
-rw-r--r--pkg/system/help/lroff/indent.x17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/system/help/lroff/indent.x b/pkg/system/help/lroff/indent.x
new file mode 100644
index 00000000..6857e315
--- /dev/null
+++ b/pkg/system/help/lroff/indent.x
@@ -0,0 +1,17 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include "lroff.h"
+
+# INDENT_LEFT_MARGIN -- Execute a relative indent of the left margin.
+
+procedure indent_left_margin (in, out, number_of_spaces)
+
+extern in(), out()
+int in(), number_of_spaces
+include "lroff.com"
+
+begin
+ call breakline (out, NJ)
+ left_margin = max (perm_left_margin, min (right_margin,
+ left_margin + number_of_spaces))
+end