Command line OmniWeb not like Netscape or Mosaic
Dan Grillo
Dan_Grillo at NeXT.COM
Wed Apr 5 14:06:47 PDT 1995
Jeff Hallgren writes:
> I'm trying to interface OmniWeb to a new security tool that just
> became available :)). This tool wants to use either netscape or mosaic... I'm
> trying to do the same thing via OmniWeb.app/openURL but apparently the tool
> is expecting the call to OminWeb.app/openURL to wait until the browser
> terminates at which point the tools server portion terminates. I can re-write
> it a bit but, the tools server then has to be terminated manually. Is there
> an option to openURL that would cause it to wait on the browser?
The fast solution:
Make a shell script called Mosaic. Put it in your bin.
#!/bin/sh
echo "run OmniWeb as root and open url $@"
echo -n "hit return to quit your favorite security program: "
read a
Also edit perl/html.pl, sub process_html_request, and after
($HTML_CWD = "file:$script") =~ s/\/[^\/]*$//;
add
$HTML_CWD="/$HTML_CWD";
$script="/$script";
--Dan
--
Dan Grillo dan_grillo at next.com (415) 780-2963 now in Bld1, back, Rside
More information about the OmniWeb-l
mailing list