Date: Mon, 11 Oct 1999 16:24:30 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "S. M. Halloran" cc: bub , djgpp AT delorie DOT com Subject: Re: Question regarding CGI In-Reply-To: <199910110416.HAA05344@ankara.Foo.COM> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 11 Oct 1999, S. M. Halloran wrote: > > fprintf(stdout,"Content-Type: text/html\n\n"); > ^^^^^ > Try this: "Content-Type: text/html\r\n\r\n" I don't think this is required. DJGPP by default uses text-mode output, under which each \n gets converted to the \r\n pair. > The Visual C++ compiler may be translating the '\n' as '\r\n' for you. DJGPP does the same, for compatibility reasons.