In graphical emacs on OS X,
(read-event) in the scratch buffer produces
left, however in iterm2 (which I configured to send
esc-* for arrow keys), I get something like
(read-event) 27 OD
when I press the left arrow. Configuring iterm2 to use esc for arrow keys works well with the other programs I use and I am reluctant to change it. Is there another function I can use instead of read-event that will pick up the entire arrow key?