On Fri, Aug 20, 2004 at 09:05:13PM -0700, huy wrote:
I would like to be able to click on a link and invoke a local executable. [...] Is there a way I can do this with dillo (short of modifying the source code).
Dear huy, using the external viewers patch (see my posting to this list) and the Dillo dpi framework, there is a short solution to your problem: Save the attached shell scipt to ~/.dillo/dpi/runcmd/runcmd.filter.dpi and put the line application/x-runcmd; %{cmd} into your ~/.mailcap . Then any link of the form "dpi:/runcmd/prog" starts the program "prog". See the Dillo file doc/Dpid.txt for more on (filter) plugins.
security isn't an issue
I hope so since otherwise you'd better forget all this! All the best, -- Matthias Franz Section de Mathématiques, Université de Genève, Suisse