Hello monks, here's my question: I wrote a script that generates a text file of arbitrary length (but usually in the range of 4000 lines or so). The text consists of commands for a program called PAUP* and it's in the nexus file format for phylogenetic inference. Anyway, that's not important right now. What's important is this: the script runs just fine from the command line, but I want to run it as a CGI program so that the user can input some settings for the PAUP* commands using an HTML form and the script subsequently spits out those 4000 lines. I got that to work in so far that it properly starts printing out the text (either to a browser window, or if I roll my own MIME-type, e.g. Content-type: text/nexus, to a file) but usually not till completion. For example, I get the first 2000 lines, but not the rest? What do I do? I am running apache under cygwin, and, although I can poke around in httpd.conf to my heart's content I'd rather not. Thank you for any replies.

In reply to incomplete cgi output by rvosa

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.