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: Martin Rubey
Subject: Re: [Axiom-developer] Re: Axiom HyperDoc Replacement
Date: 21 Apr 2007 10:03:08 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Sorry, yet another question: How do I have to modify foo

(defun foo (s)
  (let* ((get (read s nil 'eof))
         (fn (and (eq get 'get) (read s nil 'eof))))
    (format t "Got ~S~%~%" fn)
    (format s "HTTP/1.1 ~S~%~%" (if fn 200 403))
    (format t "HTTP/1.1 ~S~%~%" (if fn 200 403))
    (format t "~S~%~%" (SPADCALL fn *docfun*))
    (format s "~S~%~%" (SPADCALL fn *docfun*))
    (close s)))

to make the browser render the html in fn.  I.e., so far I just displayed
strings, which were obtained by applying *docfun* to fn.  But now, 
(SPADCALL fn *docfun*) will actually result in a path like binomial-COMBF.html,
and I want the browser to display that page.

> > * How can I close the socket?
> > 
> > And finally, does this work in MS Windows, too?

Many thanks,

Martin

> > 
> > 
> > 
> > _______________________________________________
> > Axiom-developer mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/axiom-developer
> 
> 
> 
> _______________________________________________
> Axiom-developer mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/axiom-developer





reply via email to

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