Re: [Chicken-users] smtp

2007-12-21 Thread Jean-Philippe Theberge

Elf wrote:


um, if you already issued a DATA, a QUIT wont work until you send a 
CRLF.CRLF.  otherwise the QUIT just goes into the message body/header.

this is correct behaviour.

-elf

This is the correct behavior of the smtp server.  But is it the correct 
behavior of the smtp egg?
Adding the /r/n./r/n doest help. 


(define s (smtp:connect "localhost" (get-host-name) #t))
SMTP: [220 cl-t093-450cl.localdomain ESMTP Postfix]
SMTP: HELO cl-t093-450cl
SMTP: [250 cl-t093-450cl.localdomain]
#;25> (with-output-to-port (smtp:open s "[EMAIL PROTECTED]" 
"[EMAIL PROTECTED]") (lambda () (print "Subject: How are 
you?\r\n\r\nSo, how are you then?\r\n\r\n.\r\n") ) )

SMTP: MAIL FROM: <[EMAIL PROTECTED]>
SMTP: [250 2.1.0 Ok]
SMTP: RCPT TO: <[EMAIL PROTECTED]>
SMTP: [250 2.1.5 Ok]
SMTP: DATA
SMTP: [354 End data with .]
#;26> (smtp:disconnect s)
SMTP: QUIT
Error: read operation timed out: 15

   Call history:

   (smtp:disconnect s)
   (smtp:disconnect s)<--
#;26>

Thanks!


On Fri, 21 Dec 2007, Jean-Philippe Theberge wrote:


Hi,

Am I doing something wrong here?

#;22> (define s (smtp:connect "localhost" (get-host-name) #t))
SMTP: [220 cl-t093-450cl.localdomain ESMTP Postfix]
SMTP: HELO cl-t093-450cl
SMTP: [250 cl-t093-450cl.localdomain]
#;23> (with-output-to-port (smtp:open s "[EMAIL PROTECTED]" 
"[EMAIL PROTECTED]") (lambda () (print "Subject: How are 
you?\r\n\r\nSo, how are you then?\r\n") ) )

SMTP: MAIL FROM: <[EMAIL PROTECTED]>
SMTP: [250 2.1.0 Ok]
SMTP: RCPT TO: <[EMAIL PROTECTED]>
SMTP: [250 2.1.5 Ok]
SMTP: DATA
SMTP: [354 End data with .]
#;24> (smtp:disconnect s)
SMTP: QUIT
Error: read operation timed out: 14

  Call history:

  (smtp:disconnect s)
  (smtp:disconnect s)<--
#;24>


and the mail is never received...

Thanks!

BuddyPilots 
*Jean-Philippe Théberge*
*Programmeur Architecte*
Tel: (514) 353-2307





___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users




--
BuddyPilots 
*Jean-Philippe Théberge*
*Programmeur Architecte*
Tel: (514) 353-2307





___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] 2.739 build problems

2007-12-21 Thread Tony Sidaway
This is a result of my attempt to rebuild from a copy of trunk taken
this evening.

I'm building on a recent install of Ubuntu Gutsy Gibbon.  The
underlying chicken installation (used for bootstrapping) is 2.732.

[EMAIL PROTECTED]:~/Projects/Installs/chicken$ make PLATFORM=linux
PREFIX=/usr/local clean
make -f Makefile.linux clean
make[1]: Entering directory `/home/me/Projects/Installs/chicken'
rm -f chicken csi csc \
  chicken-setup chicken-profile csi-static \
  csc-static chicken-static chicken-bug chicken.info *.o \
  libchicken.so libuchicken.so \
  libchicken.a libuchicken.a \
\
  chicken.info pcre/*.o
make[1]: Leaving directory `/home/me/Projects/Installs/chicken'
[EMAIL PROTECTED]:~/Projects/Installs/chicken$ nice make PLATFORM=linux 
PREFIX=/usr/local
make -f Makefile.linux all
make[1]: Entering directory `/home/me/Projects/Installs/chicken'
/usr/local/bin/chicken library.scm -quiet -no-trace -optimize-level 2
-include-path . -explicit-use -output-file library.c
gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \
  -c -Os -fomit-frame-pointer \
  -DC_BUILDING_LIBCHICKEN library.c -o library-static.o
gcc -fno-strict-aliasing -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -I. \
  -c -Os -fomit-frame-pointer \
  -DC_BUILDING_LIBCHICKEN eval.c -o eval-static.o
/usr/local/bin/chicken extras.scm -quiet -no-trace -optimize-level 2
-include-path . -explicit-use -output-file extras.c -extend
private-namespace.scm
Error: call of non-procedure: #

Call history:

  (put! var (quote c:namespace)
(##sys#string->qualified-symbol prefix (symbol->string var)))
  (##sys#string->qualified-symbol prefix
(symbol->string var))
  (symbol->string var)
  (put! var (quote c:namespace)
(##sys#string->qualified-symbol prefix (symbol->string var)))
  (##sys#string->qualified-symbol prefix
(symbol->string var))
  (symbol->string var)
(void)
  [##sys#alias-global-hook] (get var (quote
c:namespace)) <--
make[1]: *** [extras.c] Error 70
make[1]: Leaving directory `/home/me/Projects/Installs/chicken'
make: *** [all] Error 2
[EMAIL PROTECTED]:~/Projects/Installs/chicken$ more version.scm
(define-constant +build-version+ "2.739")
[EMAIL PROTECTED]:~/Projects/Installs/chicken$


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] smtp

2007-12-21 Thread Elf


um, if you already issued a DATA, a QUIT wont work until you send a 
CRLF.CRLF.  otherwise the QUIT just goes into the message body/header.

this is correct behaviour.

-elf


On Fri, 21 Dec 2007, Jean-Philippe Theberge wrote:


Hi,

Am I doing something wrong here?

#;22> (define s (smtp:connect "localhost" (get-host-name) #t))
SMTP: [220 cl-t093-450cl.localdomain ESMTP Postfix]
SMTP: HELO cl-t093-450cl
SMTP: [250 cl-t093-450cl.localdomain]
#;23> (with-output-to-port (smtp:open s "[EMAIL PROTECTED]" 
"[EMAIL PROTECTED]") (lambda () (print "Subject: How are 
you?\r\n\r\nSo, how are you then?\r\n") ) )

SMTP: MAIL FROM: <[EMAIL PROTECTED]>
SMTP: [250 2.1.0 Ok]
SMTP: RCPT TO: <[EMAIL PROTECTED]>
SMTP: [250 2.1.5 Ok]
SMTP: DATA
SMTP: [354 End data with .]
#;24> (smtp:disconnect s)
SMTP: QUIT
Error: read operation timed out: 14

  Call history:

  (smtp:disconnect s)
  (smtp:disconnect s)<--
#;24>


and the mail is never received...

Thanks!

BuddyPilots 
*Jean-Philippe Théberge*
*Programmeur Architecte*
Tel: (514) 353-2307





___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: Debian slander?

2007-12-21 Thread John Cowan
Peter Busser scripsit:

> So what can an optimizing buzzword-compliant batch compiler for the R5RS
> Scheme language do for me to make my life better/easier/more exciting/etc.?

Well, Debian descriptions are meant to describe, not to advertise the
product.  I was simply trying to answer the question, "What makes this
Scheme different from all other Schemes?"

-- 
John Cowan   http://www.ccil.org/~cowan<[EMAIL PROTECTED]>
You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
Clear all so!  `Tis a Jute (Finnegans Wake 16.5)


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Installing Octave Egg

2007-12-21 Thread Pierre-Alexandre Fournier
Hi Siegfried,

try to load the octave.scm file on that page:
http://carretechnologies.com/scheme/octave/octave.html
http://carretechnologies.com/scheme/octave/octave.scm

Then run csi and do:
(use octave)
(octave:start)
(octave:plot '(1 2 3) '(3 2 1))

Does that work for you?

--
Pierre-Alexandre


On Dec 18, 2007 4:22 PM, Siegfried Gonzi <[EMAIL PROTECTED]> wrote:
> hello: sorry for this basic question: I want to install egg Octave.
>
> chicken-setup octave
>
> downloads and creates cotave.egg and octave.egg-dir.
>
> However, when doing this:
>
> ==
> (octave:start)
> (octave:plot '(1 2 3) '(3 2 1))
> ==
>
> I get a segmentation fault. The octave egg readme is not very helpful. I do 
> not understand if I must set somehow a path variable or linking octave.egg?
>
> Btw: I am still looking for an answer if there is a trick or compiler option 
> to tell Chicken to check my syntax before complaining at runtime. Sorry for 
> this but this was nowhere a problem under Bigloo at least for me. I never had 
> thought that other Schemes will complain at runtime first.
>
> Thanks,
> Siegfried
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] smtp

2007-12-21 Thread Jean-Philippe Theberge

Hi,

Am I doing something wrong here?

#;22> (define s (smtp:connect "localhost" (get-host-name) #t))
SMTP: [220 cl-t093-450cl.localdomain ESMTP Postfix]
SMTP: HELO cl-t093-450cl
SMTP: [250 cl-t093-450cl.localdomain]
#;23> (with-output-to-port (smtp:open s "[EMAIL PROTECTED]" 
"[EMAIL PROTECTED]") (lambda () (print "Subject: How are 
you?\r\n\r\nSo, how are you then?\r\n") ) )

SMTP: MAIL FROM: <[EMAIL PROTECTED]>
SMTP: [250 2.1.0 Ok]
SMTP: RCPT TO: <[EMAIL PROTECTED]>
SMTP: [250 2.1.5 Ok]
SMTP: DATA
SMTP: [354 End data with .]
#;24> (smtp:disconnect s)
SMTP: QUIT
Error: read operation timed out: 14

   Call history:

   (smtp:disconnect s)
   (smtp:disconnect s)<--
#;24>


and the mail is never received...

Thanks!

BuddyPilots 
*Jean-Philippe Théberge*
*Programmeur Architecte*
Tel: (514) 353-2307





___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: Debian slander?

2007-12-21 Thread Peter Busser
Hi!

> Chicken is an optimizing batch compiler for the R5RS Scheme language.
> It produces portable, efficient C supporting tail recursion, first-class
> continuations, and lightweight threads.  Interfacing to and from C is
> emphasized, including both static and dynamic loading of Chicken code,
> with full support for Posix functions.  Chicken's interpreter is not
> strongly performant, but does provide strong debugging facilities.
> Chicken also has a repository with hundreds of user-contributed "eggs",
> including most SRFIs and many other widely available Scheme libraries.
> 
> Comments?

So what can an optimizing buzzword-compliant batch compiler for the R5RS
Scheme language do for me to make my life better/easier/more exciting/etc.?

Groetjes,
Peter.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: Debian slander?

2007-12-21 Thread John Cowan
Stephen Eilert scripsit:

> Perhaps it would be best for us to brainstorm what the new description 
> is going to be and then submit it once it is complete, for them to 
> review and include in the new packages.

Here's some suggested text for wordsmithing.  It assumes the reader
knows something about Scheme, which I think is plausible, and emphasizes
Chicken's unique selling points.  It's a boiling-down of the call/cc.org
home page.

Chicken is an optimizing batch compiler for the R5RS Scheme language.
It produces portable, efficient C supporting tail recursion, first-class
continuations, and lightweight threads.  Interfacing to and from C is
emphasized, including both static and dynamic loading of Chicken code,
with full support for Posix functions.  Chicken's interpreter is not
strongly performant, but does provide strong debugging facilities.
Chicken also has a repository with hundreds of user-contributed "eggs",
including most SRFIs and many other widely available Scheme libraries.

Comments?

-- 
I could dance with you till the cowsJohn Cowan
come home.  On second thought, I'd  http://www.ccil.org/~cowan
rather dance with the cows when you [EMAIL PROTECTED]
came home.  --Rufus T. Firefly


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: Debian slander?

2007-12-21 Thread Stephen Eilert

felix winkelmann escreveu:

On Dec 20, 2007 11:50 AM, Tobia Conforto <[EMAIL PROTECTED]> wrote:
  

Robin Lee Powell wrote:


http://packages.debian.org/sid/chicken-bin

It certainly seems production quality and decently performant to me;
does the Chicken community still agree with the statements there?
  

I find them biased and misleading.  Those statements, coupled with the
maintainer's laziness in updating the packages, are probably turning
quite a few people away from Chicken.  Either he is acting in bad faith,
or he's lost interest in it.  In any case I would welcome a change.




I actually contacted the maintainer a while ago asking for a change
of the description - AFAIK he wanted to do that but perhaps he forgot.

  
Perhaps it would be best for us to brainstorm what the new description 
is going to be and then submit it once it is complete, for them to 
review and include in the new packages.


In addition, the description should say something about Chicken itself. 
As it stands, anyone who has read Cheney's paper probably already knows 
about Chicken, so it should be more of a footnote. There's no mention 
about eggs either, and that (along with the C generation) should be one 
of the major selling points.



Stephen


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Re: Question SRFI-56

2007-12-21 Thread Siegfried Gonzi

 Original-Nachricht 
> Datum: Fri, 21 Dec 2007 11:05:05 +0900
> Von: "Alex Shinn" <[EMAIL PROTECTED]>

> SRFI-56 did go through a peer review - that's what the SRFI process
> is.  The reason for the withdrawal was explained on the list.  As a
> library
> of binary parsing utilities it was fine, but I felt it failed to
> adequately address
> the distinction between binary and textual files, and I didn't want to
> encourage people to build on a non-solid foundation.

Hi: 

But what is the alternative? Or what srfi comes close to srfi-56.

That kind of things of binary input output WITH big_endian or small_endian 
issues are sometimes very important.

regards, Siegfried


-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users