From neitzel@is.gaertner.de Tue Oct 17 17:48:26 2000 Date: Tue, 17 Oct 2000 23:38:14 +0200 (CEST) From: Martin Neitzel To: jhowland@ariel.cs.trinity.edu Subject: Re: Multi-line explicit definitions under jrun > If you have a solution to turning off J4.02's echo of standard > input and copyright notice, I would be interested in having > same. Quick answer: j -- first_script second_script ... But I really recommend to read the full story at http://juggle.gaertner.de/bnp/j-stdio.html for more assiociated details. (Looks like you really might want to subscribe to the "juggle" mailing list. Read http://juggle.gaertner.de/ml/ for subscription and submission intructions.) > [jhowland@Ariel HT]$ cat j.cgi > #!/bin/csh > # Setup argv to have args passed to this script and > # load j.cgi.js into j > (echo "argv=:"\'$argv\' ; cat j.cgi.js) | /usr/local/bin/j302 With CGI scripts, it would actually be easier to access the environment variables than the arguments. My support reference machine goes only back to 3.03 but FINALLY some occasion to put the multiple J version installation $JRELEASE switch to good use: neitzel 35 > JRELEASE=303 QUERY_STRING="button=Hit%20me+buy=on" j J 3.03 Copyright (c) 1990-1997, Iverson Software Inc. All rights reserved. ] cgi_params =: <;._2 '+' ,~ (getenv=.2!:5) 'QUERY_STRING' +---------------+------+ |button=Hit%20me|buy=on| +---------------+------+ This has the added advantage that stdin remains a clear channel for POST data. Martin