Yes, this is one of the things that also frustrates me. There is some work being done on it, in fact it's the first item on the Sage Days 32 wishlist: http://wiki.sagemath.org/days32/wishlist
Instead of hacking the notebook, you can just use the simple server API:
http://www.sagemath.org/doc/reference/sagenb/simple/twist.html
or perhaps the new single cell computer server:
http://sagemath.org:5467/
-Ivan
> You can check what Sage-mode for emacs has done. Admittedly I never used it, but it should resolve this problem exactly.
You may also want to check out https://github.com/jasongrout/sage-forker which allows for instantaneous start up of an interactive shell.
-Ivan
I have an updated version of that which I have not posted yet. Sometime
next week... It solves some problems like:
1. forking erases history
2. forking always starts in the same directory as the original server,
not in the current working directory
3. the pipe was not specific to a computer (important when you're on NFS
and trying to run a forking server for multiple computers with a shared
home directory)
and a few other things...
Jason
It would be awesome if this could be made into sage commands something along the lines of
sage --start-shell-server
and then `sage` could check if a server was started and if so, use that. Or even if I had to use `sage --client` or something. I tried doing this once, but I never figured out how to turn it into a python module. I'm a total cython newb. :-(
In other words, I would review it :-)
-Ivan
You'll have to change the code for fsage to accept a command-line
argument and execute "load script.sage" or something like that.
Jason