On Fri, May 29, 2009 at 5:46 PM, Jason Grout <jason-s...@creativetrax.com> wrote: > > Dr. David Kirkby wrote: >> If one starts Sage and types 'notebook()', I believe this should start a >> server which can be used to connect via a browser. >> >> Should the command return, giving a sage prompt, like it would if you >> typed 1+1 ? >> >> When I type 'notebook()' with 4.0-rc0 on Solaris, I get the following: >> >> ------ >> sage: notebook() >> The notebook files are stored in: /export/home/drkirkby/.sage//sage_notebook >> ************************************************** >> * * >> * Open your web browser to http://localhost:8000 * >> * * >> ************************************************** >> >> >> >> Note, I do *not* get a new 'sage:' prompt. Is that normal or not? >> > > > That is normal. Further Sage interaction is done via the web browser > (go to the address noted above). > > To get back to the command prompt, just press Ctrl-C (maybe twice). > That will stop the notebook server and return you to the Sage command > prompt.
Having to press Control-C twice was a bug that I fixed a few months ago. Having the server be blocking is by design. It would be easy for it to be non-blocking, but that would be much more confusing for users. William --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---