On Jan 19, 2008 7:38 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > On Jan 18, 2008 10:00 PM, Georg Grafendorfer > <[EMAIL PROTECTED]> wrote: > > Michael, > > OK, i'm already a bit confused, and i don't know any more what your > > requesting exactly, so i will repeat some things: > > > > The file with the name ./example.sage > > #!/home/georg/Daten/.System/bin/sage/sage -python > > import sys > > > > gives me that strange mouse behaviour where the mouse pointer changes to a > > cross (but not this "X-cross" known from pure X-Window) and clicking on the > > 3 mouse buttons brings me back to the command line with no output at all, > > this is because of the "import sys" line, without this line nothing happens > > (just back to the next command line prompt). > > This made me curious, becuase I also use Debian (sid) and I get the > exact same behaviour > as you do and I wasn't able to figure out where the problem is in the > last 10 minutes. Need to go now.
ok, this works: $ cat t.py #!/bin/sh /home/ondra/ext/sage/sage import sys $ ./t.py $ And this doesn't: $ cat t.py #!/home/ondra/ext/sage/sage import sys $ ./t.py (I get the cross - which means that it's bash, who is executing that file btw) $ cat t.py #!/bin/sh /home/ondra/ext/sage/sage -python import sys $ ./t.py /bin/sh: /home/ondra/ext/sage/sage -python: No such file or directory So I don't know. But it must be something stupid - I bet this used to work for me before. Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---