On Tue, 02 Feb 2010 at 09:55PM -0800, Georges wrote:
> I'm new to Sage/Sun VirtualBox (Windows Vista x64).  I can open "sage:
> prompt", "Sage Notebook" (Firefox icon), no problem.  I'm trying to
> work on some programming (Sage Tutorials Release 4.3.1, Chapter 5).
> The question I have is how do I create/open/edit a sage file.  Is
> there a simple text editor, like Window's notepad that I can use to
> write the code.
> 
> For example, the tutorial suggests that I create a file called
> example.sage with the following content:
> 
> print "Hello World"
> print 2^2
> 
> I can't figure out how to complete this task.  I tried right clicking
> on the VirtualBox desktop and select "Create from Template", then
> "Empty File".  It'll let me create a file called "example.sage".
> Double clicking on it opens a window telling me that I should
> associate it with some application which I don't have (So far, I only
> see Firefox Web Browser, Orage, and Sun Java 6 Web Start).  I tried to
> find "example.sage" in Windows, by searching for it, but that yield no
> result.
> 
> So do I need another application, like another .ovf file for text
> editing?

I just checked and the Virtualbox image doesn't have any nice text
editor (other than vim, which I think is nice but you likely wouldn't).

Try this: open a terminal and type "sudo apt-get install mousepad". It
will ask for a password, which is "sage". That will install the Mousepad
text editor, which is quite simple but good enough to get started with.
You can access it by clicking on the Debian symbol (the red swirl) ->
Accessories -> Mousepad.

We should probably have a text editor like Mousepad installed by
default.

Dan

-- 
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to