Use editline instead of readline