Skip to content
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

IPython 5 / python-prompt-toolkit not usable on dumb terminals (inside Emacs comint) #21558

Open
mkoeppe opened this issue Sep 21, 2016 · 6 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Sep 21, 2016

This ticket tracks on our side the following issues:

These issues cause sage-mode to fail (#21227).

Depends on #28197

Upstream: Reported upstream. Developers acknowledge bug.

CC: darthandrus@gmail.com @johanrosenkilde @vbraun @dimpase @kiwifb @EmmanuelCharpentier @sagetrac-stakemori @novoselt @jhpalmieri

Component: user interface

Issue created by migration from https://trac.sagemath.org/ticket/21558

@mkoeppe mkoeppe added this to the sage-7.4 milestone Sep 21, 2016
@mkoeppe
Copy link
Member Author

mkoeppe commented Jan 16, 2020

Changed upstream from Reported upstream. No feedback yet. to Reported upstream. Developers acknowledge bug.

@mkoeppe
Copy link
Member Author

mkoeppe commented Jan 16, 2020

comment:2

Upstream is now working on a fix: prompt-toolkit/python-prompt-toolkit#1035

@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 2, 2020

comment:3

A fix has been merged into prompt-toolkit master.

@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 2, 2020

comment:4

It appears to be in the 3.0.3 release. The 3.x releases are python3 only. Sage currently uses IPython 5, which is using prompt-toolkit 1.x.

@mkoeppe
Copy link
Member Author

mkoeppe commented Feb 2, 2020

Dependencies: #28197

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 12, 2020

comment:5

After #28197, we have prompt-toolkit 3.0.3. Something has changed, but TERM=dumb ./sage now has strange echo behavior.

This is not very important for us any more after #25363 (--simple-prompt), noting that the shortcomings of simple-prompt pointed out in prompt-toolkit/python-prompt-toolkit#390 (comment) have been fixed.

@mkoeppe mkoeppe removed this from the sage-7.4 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant