I'm going to need help debugging this one. I'm thinking it might be a platform specific problem with IRIX and fork. Basically I have to spawn the web browser using a fork and maybe that isn't correct on IRIX.

As for the second problem you note, is this only happening on the second time you try and view help? The first issue of a help, exec's a process with just the URL sent to the envvar. Then the next time it is called, it looks to see if the process id still exists--if so, then it sends the -remote -raise openURL(URL) to the process id. So in essence it should only open a web browser once unless you quit it. You could easily fix your script to just parse the command line and look only for the URL or we could do something different. Let me know what you think is best.

David

Here on IRIX, I did:

    setenv DX_WEB_BROWSER netscape
    opendx &

While running the Accumulate sample net, if I pop of the VPE and ask for
context help on the Import module, the execution freezes.  End Execution is
non-responsive, and the Execute button is still highlighted.  If I
disconnect from the server, dxexec is still running.  It's not eating CPU;
it just didn't die.  If I exit netscape, it still doesn't die.

If instead, while the network is running and I pop up help, if I then exit
that netscape, dxui doesn't resume updating and goes into a 96% CPU loop
somewhere.  End execution non-responsive.  Disconnect terminates the high
dxui CPU utililization, but doesn't kill the exec.

Also, I tried to get DX to display the help in my existing netscape
instance rather than start a new one via the "netscape -remote" trick by
pointing the envvar to my url_handler.sh script (attached) which I've used
for quite some time.  Instead of the appropriate URL, netscape is directed
to:

     http://-raise/

giving me:

     No such domain: -raise

Randy


--
.............................................................................
David L. Thompson                          The University of Montana
mailto:[EMAIL PROTECTED]                 Computer Science Department
http://www.cs.umt.edu/u/dthompsn           Missoula, MT  59812
                                           Work Phone : (406)257-8530

Reply via email to