aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/help/lroff/indent.x
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/system/help/lroff/indent.x
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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