On Tue, Nov 07, 2000 at 12:20:10PM +0000, Alex Waugh wrote:
> On Mon, 6 Nov 2000, Vincent Lefevre wrote:
>
> > On Mon, Nov 06, 2000 at 11:16:06 +0000, Alex Waugh wrote:
> > > You probably need to edit the !Boot or !Run file of !Perl so that Perl
> > > scripts are not run in a task window.
> >
> > IMHO, this is a bad idea. You should be able to use the webserver
> > and execute Perl scripts in taskwindows at the same time.
>
> I agree, but currently WebJames just does a *Run on the file, and so the
> outcome depends on the alias$@runtype variable.
Which means you could achieve these two run actions with 2 file types,
but I don't think that two files types what Vincent was envisaging.
> I am intending to add some sort of AddHandler directive (a la Apache) to
> WebJames and this may allow some sort of customisation of the *command
> used to run each filetype, so then perl scripts could be run directly
> rather than through the alias$@runtype system.
An alternative hack is to make the Alias$@RunType run not-in-a-taskwindow
and have a desktop task listening out for the Wimp message broadcast when
a file is double-clicked, acknowledging that message for the perl filetype
and issuing a *taskwindow command for the script.
That would mean that files with the same filetype would be run in
taskwindows when double clicked in the desktop, but not when run from
the server.
I'm not proposing to write this, as I personally have no need for it.
Nicholas Clark