aboutsummaryrefslogtreecommitdiff
path: root/pkg/system/help/lroff/rawcopy.x
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/system/help/lroff/rawcopy.x
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
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