[gambit-list] Running gambit program

Steve Graham jsgrahamus at yahoo.com
Tue Mar 19 12:07:36 EDT 2013


steve at steve-Satellite-L555D ~/Desktop $ gsi a b c
Gambit v4.6.7

> (command-line)
("./gsi")
> 




________________________________
 From: Marc Feeley <feeley at iro.umontreal.ca>
To: Steve Graham <jsgrahamus at yahoo.com> 
Cc: Gambit List <Gambit-list at iro.umontreal.ca> 
Sent: Tuesday, March 19, 2013 10:01 AM
Subject: Re: [gambit-list] Running gambit program
 

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130319/1757d809/attachment.htm>


More information about the Gambit-list mailing list