On Feb 3, 7:07 pm, William Stein <wst...@gmail.com> wrote:
<SNIP>
> > It was the only icon I could find in the (admittedly short) time I
> > looked. Where could I get the icon (as large as possible)? Also, if
> > you can tell me what to do with dropped files I could easily add
> > that. i.e. how does one open a .sage file in the notebook from the
> > command line. I'm sure it's very simple, I just haven't looked at it
> > yet. Any other suggestions are welcome as well.
>
> Hmm... there might actually be no way to do that. Just to start
> thinking about this, we would need:
>
> (1) a special URL to go to,
> e.g.,http://localhost:8000/open_file/absolute_path_to_file_on_local_filesy...
>
> and
>
> (2) a command line option, e.g.,
>
> $ sage foo.sws
>
> would start a notebook server if it isn't already running, and once it
> is, would call basically (1) above for the default sage notebook
> server running from $DOT_SAGE/sage_notebook.
I am not sure that will work too well. I can see two things:
(a) dropping a sws into firefox and having Sage deal with the event
some way
(b) write something more full fledged on a CoCoA level and have that
deal with drag & drop events
Unfortunately I don't have the time, but some other people might have
written code in that direction already.
> William
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---