Re: Annoucement: Local Browser Execution
Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
Message-id: <9312171620.AA08734@utis179.cs.utwente.nl>
To: Gisle.Aas@nr.no
Cc: www-talk@nxoc01.cern.ch
Subject: Re: Annoucement: Local Browser Execution
In-Reply-To: Your message of Wed, 15 Dec 1993 17:41:08 +0100
From: Axel Belinfante <Axel.Belinfante@cs.utwente.nl>
Organisation: University of Twente, Dept of Informatics,
Tele Informatics Group, PO Box 217,
NL-7500 AE Enschede, The Netherlands
Phone: +31 53 893774
Telefax: +31 53 333815
X-Face: 3YGZY^_!}k]>-k'9$LK?8GXbi?vs=2v*ut,/8z,z!(QNBk_>~:~"MJ_%i`sLLqGN,DGbkT@
N\jhX/jNLTz2hO_R"*RF(%bRvk+M,iU7SvVJtC*\B6Ud<7~`MGMp7rCI6LVp=%k=HE?-UCV?[p\$R?
mI\n2/!#3/wZZsa[m7d;PKWiuH6'~<x[UoHs%Ei=QZA
Date: Fri, 17 Dec 93 17:20:15 +0100
Sender: belinfan@cs.utwente.nl
Gisle.Aas@nr.no writes:
> Axel.Belinfante@cs.utwente.nl writes:
> > It should catch the standard output of the commands in a (tmp)file, and
> > be ready to give this file to Mosaic via the remote control feature.
> > This is where the information about the document BASE will be needed:
> > the stdout of the command is supposed to be HTML, which might contain
> > relative links. I think that the Mosaic feature recently added to
> > handle mailed documents will solve/handle this.
> >
> > One remaing problem: how/when do we remove the tmp-file that contains
> > the standard output?
> >
> > What do people think? Could this be made to work? I'll try anyway.. :-)
>
> I have tried it and it works:
[script deleted]
Thanks!
I was already hacking my own version when i received your message,
but some ideas (the -xterm, -html etc features) were too nice to ignore :-)
I have now a new (prototype - comments welcome!) version of the script,
it looks for a BASE href passed in its input.
(it tries to be paranoia about the commands it is given to run, pointers
are welcome if someone has something similar - i remember seeing
something about a secure tcl interpreter ):
http://utis179.cs.utwente.nl:8001/export/x_exec
and a server that does the necessary mapping (it includes the BASE href)
(in principle there is only need for one 'gateway' in the Web that does
the URL-to-MIME-document mapping):
http://utis179.cs.utwente.nl:8001/x-exec/
I think this can make the x-exec: URL scheme functionality available
to those who don't want/can hack the Mosaic client - all you need is the
x_exec script (or something similar), and in your ~/.mailcap a line:
application/x-exec; x_exec %s
and then it should be (more or less?) 'plug compatible' with the x-exec:
scripts (the xprog script does contains some additonal tests that
are moved to the x_exec script) (my version of the xprog script:
http://utis179.cs.utwente.nl:8001/export/xprog
to test, try
(after putting the x_exec and xprog scripts somewhere where they will
be found, and adding the ~/.mailcap line mentioned above):
http://utis179.cs.utwente.nl:8001/x-exec/xprog
Please note: the x_exec script is experimental, just to test the idea...
Regards,
Axel.
<Axel.Belinfante@cs.utwente.nl> tel. +31 53 893774 fax. +31 53 333815
University of Twente, Tele-Informatics & Open Systems Group
P.O. Box 217 NL-7500 AE Enschede The Netherlands
"ili ne sciis ke estas neebla do ili simple faris" -- Loesje