mttkay / replicant

A REPL for the Android Debug Bridge (ADB)
MIT License
123 stars 9 forks source link

Problem finding command history #17

Closed bizzguy closed 10 years ago

bizzguy commented 11 years ago

I'm trying to see the history using the up arrow key. The machine is a MacBook Pro with OSX 10.9. The up arrow outputs the following:

^[[A

Any ideas? Thanks.

mrmike commented 10 years ago

Simply install http://utopia.knoware.nl/~hlub/rlwrap/

If you're mac user the easiest way to install rlwrap is by using MacPorts (http://brew.sh/) 1) Install Homebrew if you don't have already installed ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" 2) and then install rlwrap brew install rlwrap

bizzguy commented 10 years ago

Worked perfectly. Thanks.

mttkay commented 10 years ago

Thanks @mrmike :-)