axiom-developer
[Top][All Lists]
Advanced

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

RE: [Axiom-developer] Re: Axiom HyperDoc Replacement


From: Bill Page
Subject: RE: [Axiom-developer] Re: Axiom HyperDoc Replacement
Date: Sat, 21 Apr 2007 15:02:41 -0400

Martin,

On April 21, 2007 1:24 PM you wrote:
> 
> "Bill Page" writes:
> > ... 
> > Don't be too easily discouraged. 
> 
> Haha ;-)  I spent all saturday on that stupid detail.  In 
> fact, I'm giving up now.

Thank you very much for looking into this. I am sure that your
idea will prove very useful. Even if it turns out that for
compatibility reasons files have to be served by a web server,
it is not difficult to install one and use it only locally,
e.g. apt-get install apache or zope or even one of the "tiny"
servers like: http://shttpd.sourceforge.net that can be made
(mostly) transparent to a user on both Linux and Windows.

Or we could just add a couple of extra lisp commands to open
and send the contents of the file ourselves. It's not a big
deal. The main thing is that you found a way to call a Spad
routine from within a very small and single web server. That
was really what I was looking for in:

  http://wiki.axiom-developer.org/SandBoxSocketsInSPAD

Do you have an explanation why you want/need to use the
*docfun* name format? I recall something about such mangled
names being "global" or in some other way special in scope.
Is that right? Is that why it works, incontrast to the
lambda function I tried? Perhaps rather than "semi-
hardwiring" the name, we could assign it to a local static
variable and use that?

> 
> > I think file:///... (with 3 slashes) is the correct form.
> > 
> > http://en.wikipedia.org/wiki/File:_URL
> 
> Thanks.  In fact, that solves the riddle, at least possibly:  
> it seems that I am not allowed in mozilla and firefox to do
> a file:// redirect from a http: page.  So, it seems we are out
> of luck?

There is a way to chage the configuration of FireFox:

http://kb.mozillazine.org/Links_to_local_pages_do_not_work

And Konqueror is supposed to just give a warning. Did you see
that?

Regards,
Bill Page.






reply via email to

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