Problem with readline (command line editing)