Next: , Previous: Terminal setup code works after Emacs has begun, Up: Key bindings

9.4 How do I tell what characters or symbols my function or arrow keys emit?

Type C-h c then the function or arrow keys. The command will return either a function key symbol or character sequence (see the Emacs documentation for an explanation). This works for other keys as well.