I used Pillow case for a graduate project, also on Sicstus 3.7. It did not work as the README file says. I used the core program of the Pillow, except the "save" part. My solution is to build another C-shell script help-file to call my Prolog program: #! /bin/csh set list = $0 exec /sw/arch/bin/prolog -l $list:r'.pl'
This C-shell script file is named as myfile.cgi, it calls myfile.pl (the Prolog file). In my Web page, myfile.cgi is called. In myfile.pl, two more calls are needed: :-main. /* run the program */ :-halt. /* quit from Prolog */ so that you can return the result to Web page.
Good luck. Please let me know if you have any further questions.
Mike Z Chen -------------------------------------- e-mail: zhc134(a)cs.usask.ca
Computer Science Department University of Saskatchewan Saskatoon, Sakatchewan Canada
On Fri, 11 Jun 1999, Nicos Angelopoulos wrote:
On Thu, 10 Jun 1999, Daniel Cabeza Gras wrote:
Dear Michael,
Sorry for the delay. We have not tried PiLLoW ourselves with SICStus 3.7 because we have not installed 3.7 until very recently.
We plan to make the mods to PiLLoW for 3.7 in the coming days. However, in the meantime, perhaps someone in the list has done it already and can send the patches?
Cheers,
Daniel Cabeza