#693: Script to spawn a browser / start notebook.
---------------------------------------+------------------------------------
   Reporter:  boothby                  |       Owner:  boothby        
       Type:  enhancement              |      Status:  positive_review
   Priority:  major                    |   Milestone:  sage-4.7       
  Component:  notebook                 |    Keywords:                 
     Author:  Tim Dumol, Mitesh Patel  |    Upstream:  N/A            
   Reviewer:  Ivan Andrus              |      Merged:                 
Work_issues:                           |  
---------------------------------------+------------------------------------
Changes (by kcrisman):

  * reviewer:  => Ivan Andrus


Old description:

> I've had an icon sitting on my desktop for about a week now.  When I
> click on it, and it starts a notebook in a background terminal and spawns
> a browser.  I'd like to be able to click it a second time, and open
> another browser window, instead of the current behavior of attempting to
> start another notebook.
>
> Should work something like this:
>
> {{{
> if not notebook_is_running:
>     notebook(settings from commandline, open_browser=True)
> else:
>     open_browser(settings from commandline)
> }}}

New description:

 I've had an icon sitting on my desktop for about a week now.  When I click
 on it, and it starts a notebook in a background terminal and spawns a
 browser.  I'd like to be able to click it a second time, and open another
 browser window, instead of the current behavior of attempting to start
 another notebook.

 Should work something like this:

 {{{
 if not notebook_is_running:
     notebook(settings from commandline, open_browser=True)
 else:
     open_browser(settings from commandline)
 }}}

 ----

 Apply [attachment:trac_693-spawn_notebook.3.patch]

--

Comment:

 Replying to [comment:19 iandrus]:
 > I have been using this (with #8473) for some time without problems.  I
 have also reviewed the code and it looks okay given my limited
 understanding of the notebook.

 Thanks.  It applies just as cleanly (one hunk misses with fuzz) to current
 SageNB as in the comment above.  This could be added in a new spkg with
 the Jmol updates.

 Apply [attachment:trac_693-spawn_notebook.3.patch]

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/693#comment:20>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to