when I start Emacs without windowing system (
-nw), the motion keys are not working. Instead, I get (parts of) the escape sequences, like:
;; This buffer is for text that is not saved, and for Lisp evaluation. ;; To create a file, visit it with C-o and enter text in its buffer. [C[B[D[A[A[C[B[D[4~[C][B][A][A]
Thats four cursor keys, some function keys, home, end...
I see this on my debian buster machine as well as in termux on android. Both share the same configuration.
Running emacs like
emacs -nw -Q gets rid of the problem…