Camm Maguire wrote:

  Hi,

  Sorry if it is off topic (currently I am not subscribed to
axiom-developer).

  I updated the mandriva gcl and axiom packages some time ago. You can
see the files at:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/axiom/current/

  What would be the proper way to setup a single script to start, or
open a tab in, firefox from axiom? That is run something like:
firefox -remote
'openURL(localhost:8085/usr/lib64/axiom-3.4/doc/hypertex/topicspage.xhtml)'
once the ')browse' command was run.

  Something like running 'notebook()' in sagemath, or the command line
option 'sage -notebook'

> Thanks Tim!  But it still hangs just as before.  What else can I
> trace to see where I'm stuck?
>
> Take care,
>
> Tim Daly <[email protected]> writes:
>
>> Camm, the URL shown below is partially specific to your system
>> If you build axiom with the shell variable
>>
>>    $AXIOM=/home/axiom/mnt/ubuntu
>>
>> then the URL will work as shown (assuming you build on ubuntu).
>> If you build on, say, a fedora10 system with the shell variable
>>
>>    $AXIOM=/home/camm/mnt/fedora10
>>
>> the URL would be:
>>
>> http://127.0.0.1:8085/home/camm/mnt/fedora10/doc/hypertex/rootpage.xhtml
>>
>> That is, you have to specify the complete path to the file
>> rootpage.xhtml
>> (which will naturally have the $AXIOM prefix you used).
>>
>> Tim
>>
>>
>>
>>
>>
>>
>>>From the top level you type ")browse" and Axiom will now function as a
>> web server on
>> the port (8085). At the moment you need to give a full path to the
>> root page thus:
>>
>> http://127.0.0.1:8085/home/axiom/mnt/ubuntu/doc/hypertex/rootpage.xhtml
>>
>> Try Topics -> Numbers -> Integers -> x:=factorial(200) as an example.
>> You should see the result of the computation pasted inline in the
>> webpage.
>>
>> This should be easier and automatic but I have to write that code and
>> I have not.
>>
>>
>>
>>
>> Thanks!
>>
>> Alas my browser is hanging on the above url, so something needs
>> fixing.  I don't even get to read-char-no-hang:
>>
>> (1) -> )lisp (trace read-char-no-hang)
>>
>> Warning: READ-CHAR-NO-HANG is being redefined.
>> Value = (READ-CHAR-NO-HANG)
>> (1) -> )browse
>> listening on port 8085
>> .....
>>
>> Debugging suggestions?

Thanks,
Paulo



_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to