chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] problem with stdout


From: Felix Winkelmann
Subject: Re: [Chicken-users] problem with stdout
Date: Thu, 13 Mar 2003 07:57:34 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530

address@hidden wrote:


Hi!

I downloaded Chicken yesterday after consulting the
"Schemes I Have Seen" page at

      http://www.aracnet.com/~briand/scheme_eval.html

I like it quite a bit; think it's very cool, but I have a little problem.

When I run a csi shell script, I can't print to stdout.
I've tried display, print, write, format, but none of them yield anything
visible.
If I type "csc -help" I don't see any output, either.

On the other hand, if I run the interpreter interactively,
or if I put the same commands into a file which I compile,
they work just fine.

Chicken was compiled with gcc on a Sun Sparc-5 running Solaris 5.6.

Does anyone know what the problem is?


Well, I'm not sure, but I recall having seen a similar thing
somewhere.

Can you give me some more information?
- What gcc Version are you using
- What is the output of entering ",r" when running csi interactively

Please try some of these invocations (and tell me what it prints):

% cat x.scm
(print "Oink!")
% csi x.scm
% csi -:d x.scm
% csi -script x.scm
% csi -:d -script x.scm
% csi -batch -quiet x.scm


cheers,
felix





reply via email to

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