aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/help/lroff/rawcopy.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/rawcopy.x
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
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