I usually ssh into a machine at my university and run emacs on screen. I want to figure out what unicode strings code for a particular command ? For example when I changed the preferences in my OSX terminal app and associated the following actions to keyboard buttons then Emacs interpreted them as useful command.
Button Action Keystroke
end \005 CTRL+e
home \001 CTRL+a
pgdown \026 CTRL+v
pgup \033v ESC v
I want to make more such bindings. For example if I could find out the right action for "Ctrl+_"(Undo) then I could associate that to one of the useless function keys.
So basically how can I find out what "Action" triggers a Keystroke ?