https://bugs.kde.org/show_bug.cgi?id=408176

--- Comment #7 from Nikita Sirgienko <warqu...@gmail.com> ---
About alternatives: the only reason, that Cantor has own sage executable script
is that sage don't allow forward option '--simple-prompt' to sage-ipython.

So, that I could suggest:
1. Copy to sage exectable script (/usr/bin/sage) to
/usr/share/cantor/sagebackend/
2. Change function interactive_sage() in /usr/share/cantor/sagebackend/sage by
adding '--simple-prompt' to sage-ipython call.
Result will be like this:
```
# Start an interactive Sage session, this function never returns.
interactive_sage() {
    sage_setup
    exec sage-ipython "$@" -i --simple-prompt
}
```
3. Remove all logic in cantor-execsage and just call
/usr/share/cantor/sagebackend/sage

It will be work, but only if crash of sage-ipython not related with this
option.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to