From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- pkg/system/help/lroff/indent.x | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkg/system/help/lroff/indent.x (limited to 'pkg/system/help/lroff/indent.x') 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 -- cgit