guile-user
[Top][All Lists]
Advanced

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

Re: CGI scripting with Guile


From: Thien-Thi Nguyen
Subject: Re: CGI scripting with Guile
Date: Sun, 16 Mar 2008 10:16:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

() Sebastian Tennant <address@hidden>
() Sun, 16 Mar 2008 02:41:39 +0200

   How is [CRLF] achieved (in scheme (lisp) forms)?

You can use the characters #\cr and #\newline, or the string "\r\n".
In id.cgi.in, for example, we use the string variant.

   cgi:init is a little... dark... in terms of documentation.

Thanks for pointing this out.  I have increased the `cgi:init'
documentation (slightly) to be:

| (Re-)initialize internal data structures.  This must be called before
| calling any other @samp{cgi:foo} procedure.  For FastCGI, call this
| ``inside the loop'' (that is, for each CGI invocation).

This will appear in 2.22.  If you use Git and would like to monitor
pre-release hacking, see <http://www.gnuvola.org/wip/> (guile-www).

     (procedure-source cgi:init)

   isn't much help... (yet).

Probably `procedure-source' is a poor way to learn how `cgi:init'
works; better to look at cgi.scm directly.

thi





reply via email to

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