Skip to content

use rlwrap (if present) with iex #5

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

Closed
wants to merge 3 commits into from
Closed

use rlwrap (if present) with iex #5

wants to merge 3 commits into from

Conversation

redmar
Copy link
Contributor

@redmar redmar commented Mar 5, 2011

ahh, readline support when experimenting in IEX shell.

@josevalim
Copy link
Member

Thanks for the pull request! I will hold on a bit before merging it though. I think Erlang has a built-in readline support, so if we can make it work from the Erlang side, we wouldn't depend on rlwrap. :)

@redmar
Copy link
Contributor Author

redmar commented Mar 5, 2011

@miaout17 is saw the same stackoverflow article indeed! i've adjusted the code so it also works on ubuntu. I think the problem lies in ubuntu using a real sh for /bin/sh as mac is aliasing bash for /bin/sh. Can you try out the change?

@redmar
Copy link
Contributor Author

redmar commented Mar 5, 2011

np Jose, i couldn't find the readline support quickly enough so i resorted to this crude method ;)

@redmar
Copy link
Contributor Author

redmar commented Mar 5, 2011

Okay i think i've found a way to handle this inside erlang. If i have some time i will try to come up with some code for iex!

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

Successfully merging this pull request may close these issues.

2 participants