html browser - how to configure
Jochen Bern
bern@it-services.lu
Wed, 17 Sep 2003 13:57:38 +0200
(Replying to requestor AND list because I'm not sure offhand whether my
current setup is allowed to send to the list. Hold your flak, please.)
jarausch@igpm.rwth-aachen.de wrote:
> Now tkrat calls opera like
> opera -remote openURL(http://www.netlib.org/na-net,new-window)
> but that doesn't work here since the z-shell interferes
> I need just
> opera -newwindow http://www.netlib.org/na-net
Yes, IIRC the parameters are hardcoded into tkrat.
I don't have experience with zsh, so I don't know what effects *that*
produces. Ignoring that aspect for the moment, however, inserting a
wrapper a la
#!/bin/sh
shift
exec opera -newwindow `echo $* | sed -e 's/^[^(]*(//' -e 's/,[^,]*$//'`
exit 1
should be a reasonable first attempt ...
(Possibly not the *final* version, though, because it'll choke on
various shell metacharacters. Might be better to put it in C.)
Regards,
J. Bern