Buggy linewrap in Mac OSX Terminal #206

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

Comments

Projects
None yet
3 participants
@mhubig

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

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Nov 24, 2010

Member

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.

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

This comment has been minimized.

Show comment
Hide comment
@mhubig

mhubig 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 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

This comment has been minimized.

Show comment
Hide comment
@mhubig

mhubig Nov 24, 2010

Closed

mhubig commented Nov 24, 2010

Closed

@yuchant

This comment has been minimized.

Show comment
Hide comment
@yuchant

yuchant Oct 13, 2011

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

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