Local program exection in WWW browsers
George Phillips <phillips@cs.ubc.ca>
Errors-To: listmaster@www0.cern.ch
Date: Wed, 13 Apr 1994 18:56:08 --100
Message-id: <7997*phillips@cs.ubc.ca>
Errors-To: listmaster@www0.cern.ch
Reply-To: phillips@cs.ubc.ca
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: George Phillips <phillips@cs.ubc.ca>
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Local program exection in WWW browsers
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Content-Length: 1089
David Heiland said:
>In order to make full use of WWW browsers I'd like them to execute local
>programs, possibly using their output as HTML (ie a local CGI script).
As has been mentioned, a mechanism for doing just that has been
developed and implemented. See http://www.cs.ubc.ca/doc/world/exec/intro
for details and patches to your browsers (the lynx patches are out
of date, but the Mosaic for X patches should work even on the newer
versions).
Briefly, it defines a new URL scheme "x-exec" which looks like:
x-exec://program_name/some_args
It looks to see that "program_name" is allowed by a WWW_EXECPATH
environment variable and if so runs it as a CGI script with
PATH_INFO set to "/some_args", etc. and displays the output
(which, of course, can be HTML, GIF, or any MIME-typed thing).
Now all you need to do is to patch your browser or convince the
browser writers to make it standard. Given that the URL working
group has decided that you don't even want to reference local
files, I suspect the best that x-exec: can hope for is de facto
standardization.
-- George