Readline repl for linux & osx