On Wed, Apr 9, 2008 at 11:53 AM, og. <[EMAIL PROTECTED]> wrote:
>
>  Dear Simon and William,
>
>  thanks for the comments. They helped. I was trying to save things in
>  sage and then edit the file. But I needed to create the file somewhere
>  else. It works now.
>
>  As William guessed I am using the command line vmware, not the
>  notebook. Notebook seems to be very slow. but since the other method
>  worked, I dont need to copy paste anymore.
>
>  If anyone else has the same problem here is what I do:
>
>  When you run the sage in VMware:
>
>  sage login: manage
>  [EMAIL PROTECTED]:~$ sudo su
>  [EMAIL PROTECTED]:/home/manage# cd ..
>  [EMAIL PROTECTED]:/home# cd sage
>  [EMAIL PROTECTED]:/home/sage# nano
>
>  then the editor opens and you write the program. and ctrl+x to exit
>  and save the file as example.sage then quit nano.
>
>  you're back at
>
>  [EMAIL PROTECTED]:/home/sage# sage
>
>  then sage opens,
>
>  sage: load "example.sage"
>
>  and it loads your file. :)
>  now in order to edit the file,
>
>  sage: quit
>   this takes you back to
>  [EMAIL PROTECTED]:/home/sage#
>  and write nano example.sage and editor opens with the file , you can
>  edit the file and save it and run it in sage.
>
>  there might be an easier way of doing this, but this worked for me.

There's one trick.  If you type alt-F2 you'll get a new console window
so you don't have to quit and restart Sage.  If you type alt-F1 you get
back the original one.  Thus way you can have one session with an
editor and one with Sage running.  In fact you can use alt-F3, alt-f4, etc.

Here F2 means "function key 2".

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to