-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with "cursor position requests" #48
Comments
same for me |
I have been able to run sage-shell-mode with sagemath 9.0 using the official binary under Ubuntu 18.04 (in a virtual machine) This is with the same .emacs and sage-shell-mode installed from MELPA either way. The main difference I see is that on Ubuntu I'm running emacs 25.2.2, whereas on Arch it's emacs 26.3. I don't know what other differences there might be between the default configurations. |
I've been having a similar problem with Manjaro and sagemath 9.0. I also get the warning |
No, it's still broken in Arch. I have no solution except to use it in a Debian VM. On a recent StackExchange thread someone suggested it may be related to this issue. The solution on StackExchange didn't work for me, but you could try it. |
Thanks for the quick response! |
I didn't build from source, no -- I have never had much luck with this on Arch since there are always some dependencies in the AUR that don't have compatible versions. |
In case anyone is interested, after building sage from source, sage-mode finally works for me again! I suppose the problem was the incompatibility with iPython 5 (see #7) after all. The build worked on Manjaro after following the instructions for Arch in the official installation guide. |
In case anyone stumbles still upon this, it is the same issue as #53, caused by an iPython update. EmmanuelCharpentier gives the solution of starting Sage with "sage --simple-prompt", which works for now, and it sounds like it should run this way by default in the future. |
Since the update to Sagemath 9.0, I am no longer able to use sage-shell-mode. After starting Sage in a buffer, when I send text via
C-c C-r
, it gives the warningWARNING: your terminal doesn't support cursor position requests (CPR).
This happens no matter what terminal software I use: urxvt, xterm, gnome-terminal, or just the emacs gui.When I run
quit
in the sage buffer (sage itself runs normally), it closes and then shows some messages that I haven't seen before:I am using Sage, emacs, ... as distributed by Arch Linux. The problem persists even when I start without a .emacs file:
The text was updated successfully, but these errors were encountered: