Mark Bixby writes: > ------- > After my first attempt to use a Pascal 'writeln' program for CGI under Apache > failed to open the 'output' file, I thought why not use the PRINT intrinsic > to write to the already open $STDLIST and hopefully stdout? > > Well, that does the trick! The web server receives the output sent via the > PRINT intrinsic and returns it to the client web browser. > > I then tried a simple READ/READX intrinsic test, but that hung the CGI program. > I may need to make the test more complex for it to be valid. (Of course, > anybody doing CGI input should really be using Perl due to all of the > public Perl CGI code that's available...) > > I plan to experiment some more to see if I can get CGI input working, as well > as to see if I can figure out how to HPFOPEN stdout from an MPE program. > > Here is my simple CGI output test program: [snip] It doesn't work with 5.0. The output appears in the joblog. Chuck Meeker Rockwell