From a programming standpoint, when you set the bash shell to use vi or emacs via
set -o vi
or
set -o emacs
What is actually going on here? I ve been reading a book where it claims the bash shell uses either of these editors for the input to the shell itself, but I thought it may have used readline.