efaq: Working with function and arrow keys

 
 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.