gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Re: [Axiom-developer] Re: Debian ports


From: Paulo César Pereira de Andrade
Subject: Re: [Gcl-devel] Re: [Axiom-developer] Re: Debian ports
Date: Wed, 13 Jan 2010 18:56:31 -0200 (BRST)
User-agent: SquirrelMail/1.4.17

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 <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]