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

Buggy linewrap in Mac OSX Terminal #206

Closed
mhubig opened this issue Nov 24, 2010 · 4 comments
Closed

Buggy linewrap in Mac OSX Terminal #206

mhubig opened this issue Nov 24, 2010 · 4 comments
Milestone

Comments

@mhubig
Copy link

mhubig commented Nov 24, 2010

If I use ipython inside the Mac OSX Terminal the line wrapping is buggy. It's best seen with some screenshots, so here we go:

http://www.dropbox.com/gallery/2721576/1/ipython?h=c746e9

Picture 1: Typing a long line into ipython.
Picture 2: Press enter.
Picture 3: Press arrow-up (The Prompt disappears!).
Picture 4: Press arrow-down (Prompt still gone, cursor on a strage position).
Picture 5: After doing the same with a short line (All OK).
Picture 6: bash does it right!

I use pyreadline-1.6.1.zip, readline-6.1.0.tar.gz, ipython-0.10.1.tar.gz
Please look into this I dont have any clue where to look for a solution!

@minrk
Copy link
Member

minrk commented Nov 24, 2010

IPython did not find the readline module, which is not on OSX by default, as indicated by 'Leopard libedit detected'.

easy_install readline

should solve it.

I suppose this is as good a place as any to say this:

readline should be a hard dependency on PyPI for IPython on OSX, because the libedit errors are weird and confusing for many people, and interactive terminal IPython is basically unusable without readline.

At the very least, the 'libedit detected' message should have more information and suggest easy_install readline.

@mhubig
Copy link
Author

mhubig commented Nov 24, 2010

Ok I had readline installed befor with pip but now I removed it and reainstalled it with easy_install -> Tada! Works. Thank you!

@mhubig
Copy link
Author

mhubig commented Nov 24, 2010

Closed

@yuchant
Copy link

yuchant commented Oct 13, 2011

Thanks for this : ) So that's what the Leopard libedit detected meant!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants