[gambit-list] Running gambit program

Marc Feeley feeley at iro.umontreal.ca
Tue Mar 19 12:01:31 EDT 2013


On 2013-03-19, at 11:57 AM, Steve Graham <jsgrahamus at yahoo.com> wrote:

> Thanks, Marc.  I don't see why I'm having these problems either.  It worked fine under Windows 7.
> 
> steve at steve-Satellite-L555D ~/Desktop $ cat test.scm
> (display (+ 1 2))
> (exit)
> 
> steve at steve-Satellite-L555D ~/Desktop $ gsi test.scm
> Gambit v4.6.7
> 
> > ,q
> steve at steve-Satellite-L555D ~/Desktop $ gsi
> Gambit v4.6.7
> 
> > (display (+ 1 2))
> 3> (exit)
> steve at steve-Satellite-L555D ~/Desktop $ gsi :d- test.scm
> Gambit v4.6.7
> 
> > ,q
> steve at steve-Satellite-L555D ~/Desktop $ 
> 
> 

It appears that on this OS the command line arguments aren't available to gsi.  Can you try this:

% gsi a b c
...
> (command-line)

and report was is printed.

Marc



More information about the Gambit-list mailing list