GNU Readline in line-mode