aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/help/lroff/rawcopy.x
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/system/help/lroff/rawcopy.x')
-rw-r--r--pkg/system/help/lroff/rawcopy.x26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/system/help/lroff/rawcopy.x b/pkg/system/help/lroff/rawcopy.x
new file mode 100644
index 00000000..d303b96e
--- /dev/null
+++ b/pkg/system/help/lroff/rawcopy.x
@@ -0,0 +1,26 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+include "lroff.h"
+
+.help rawcopy
+.nf ________________________________________________________________________
+RAWCOPY -- Copy an unformatted help block without modification, except
+for moving to the desired left margin. Stop only when the .endhelp
+directive is seen, or at EOF. Ignore all other directives.
+.endhelp ___________________________________________________________________
+
+procedure rawcopy (in, out, linebuf)
+
+extern in(), out()
+char linebuf[ARB]
+int ip, in(), input(), nextcmd()
+errchk input, outline
+include "lroff.com"
+
+begin
+ while (input (in, linebuf) != EOF)
+ if (nextcmd (linebuf, ip) == ENDHELP)
+ break
+ else
+ call outline (out, linebuf)
+end