From: Marc Feeley <feeley@iro.umontreal.ca>
To: Steve Graham <jsgrahamus@yahoo.com>
Cc: Gambit List <Gambit-list@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@yahoo.com> wrote:
> Thanks, Marc. I don't see why I'm having these problems either. It worked fine under Windows 7.
>
> steve@steve-Satellite-L555D ~/Desktop $ cat test.scm
> (display (+ 1 2))
> (exit)
>
> steve@steve-Satellite-L555D ~/Desktop $ gsi test.scm
> Gambit v4.6.7
>
> > ,q
> steve@steve-Satellite-L555D ~/Desktop $ gsi
> Gambit v4.6.7
>
> > (display (+ 1 2))
> 3> (exit)
> steve@steve-Satellite-L555D ~/Desktop $ gsi :d- test.scm
> Gambit v4.6.7
>
> > ,q
> steve@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