[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] problem with stdout
From: |
Kevin_Kelleher |
Subject: |
Re: [Chicken-users] problem with stdout |
Date: |
Thu, 13 Mar 2003 09:12:30 -0500 |
Felix Winkelmann <address@hidden> wrote:
>
> 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
>
Thanks. All of the above invocations print "Oink!",
including (to my surprise) "csi -script x.scm".
However, if I make x.scm executible and insert as the first line:
#!/home/williams/kkellehe/local/bin/csi -script
Then it doesn't print to screen.
Likewise if this is the first line;
#!/usr/bin/env csi -script
I am sure it's working; it just doesn't talk to the screen.
Even with this problem, I still am quite happy with Chicken.
Here is the other info you requested:
gcc version: 2.95.2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This is the CHICKEN interpreter - Version 0, Build 1082 -
solaris-unix-gnu-sparc
; (c)2000-2002 Felix L. Winkelmann
>>> ,r
Features:
chicken
chicken-setup
extras
format
lolevel
match
posix
regex
script-utils
srfi-0
srfi-1
srfi-10
srfi-16
srfi-18
srfi-2
srfi-22
srfi-23
srfi-26
srfi-28
srfi-30
srfi-4
srfi-6
srfi-7
srfi-8
srfi-9
tinyclos
Host system information:
SunOS williams 5.6 Generic_105181-30 sun4m
Machine type: sparc
Software type: unix
Software version: solaris
Build platform: gnu
Current working dir: /home/williams/kkellehe/project
Include path:
/home/williams/kkellehe/local/share/chicken
Symbol-table load: 0.58
Avg bucket length: 1.61
Total symbols: 1758
Memory: 500000 heap, 1048576 stack, stack grows downward
Bytes free in heap: 53472
Threads:
primordial: running
interrupts are enabled
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[debug] application startup...
[debug] heap resized to 500000 bytes
[debug] stack bottom is 0xeffff30c.
[debug] entering toplevel toplevel...
[debug] stack resized to 1048576 bytes
[debug] entering toplevel library_toplevel...
[debug] entering toplevel eval_toplevel...
[debug] entering toplevel posix_toplevel...
[debug] entering toplevel regex_toplevel...
[debug] entering toplevel extras_toplevel...
[debug] entering toplevel script_utils_toplevel...
[debug] entering toplevel chicken_setup_toplevel...
[debug] entering toplevel format_toplevel...
[debug] entering toplevel srfi_1_toplevel...
[debug] entering toplevel syntax_case_toplevel...
[debug] entering toplevel srfi_4_toplevel...
[debug] entering toplevel lolevel_toplevel...
[debug] entering toplevel srfi_18_toplevel...
[debug] entering toplevel match_toplevel...
[debug] entering toplevel modules_toplevel...
[debug] entering toplevel tinyclos_toplevel...
Oink!
[debug] application terminated normally.