Ah; in that case, I'm not sure you can do it. I think that such low-level information probably doesn't make it to emacs; it's interpreted by the OS first. Maybe someone can correct me if I'm wrong. "Shortcuts" like <backspace> seem to be as low-level as emacs gets.
Andrey Lisin <
ali...@crystalnix.com> writes:
> Hi,
>
> I’m afraid, I haven’t explained clearly. Let me provide a simple
> example. I use iTerm2 as my terminal emulator. And, for example, it
> generates ^[[1;2C for Shift+left arrow shortcut. My question is there
> a way to display this ‘^[[1;2C’ when I press Shift-left arrow inside
> Emacs? Probably, there are some specific mode.
>
> --
> Regards,
> Andrey Lisin
>
>
>
>
>
>
> On 28 Feb 2015, at 22:02, Tory S. Anderson <
>
torys.a...@gmail.com> wrote:
>
> I'm not sure I completely understand your meanings for "escape
> sequences" and "keyboard shortcut", but you may find what your
> looking for in either `command-history`, `C-h k` followed by your
> keystroke, or `C-h l` to see history of your command. Are any of
> those what you're looking for?