Handle partial xterm function key sequences.
Old xterm F1-F4 are \033O_P not \033[O_P.
Nuke accidentally-committed debugging statement.
Rewrite xterm-keys code (both input and output) so that works (doesn't always output the same modifiers, accepts all the possible input keys) and is more understandable.