an Readline example that will echo and leave when the commands are given