With Firefox and Ie8 everything works good , you can send a html-page back via the ( putpage ... ) command or you can generate a html-page with ( print ... ) commands .
Googles Chrome recognizes the direct-print-commands but not the putpage-version.
Apples Safari under Windows XP opens the cgi-file only as a text-file, so that you can only read the source-text .
As a workaround i tried the "loacation: " command - the simplest version :
Code: Select all
( load "cgi.lsp" )
( println "location: http://www.newlisp.org/" )
( println )
Damned to learn and use JavaScript ? - or is there another way ...