Why do `bind` and `.inputrc` behave differently?

Solution 1:

Your terminal emulator can operate in one of two modes: application mode, and cursor mode (see http://homes.mpimf-heidelberg.mpg.de/%7Erohm/computing/mpimf/notes/terminal.html). It depends on what mode your particular application runs in that determines what escape sequence you need to send.