- readline
- add_history
- rl_on_new_line
- rl_redisplay
- rl_replace_line
GNU Readline Library
Programming with GNU Readline
http://web.mit.edu/gnu/doc/html/rlman_1.html#SEC8
http://web.mit.edu/gnu/doc/html/rlman_2.html#SEC36
https://tiswww.cwru.edu/php/chet/readline/readline.html
https://tiswww.case.edu/php/chet/readline/readline.html
http://www.math.utah.edu/docs/info/hist_2.html