Whenever I start the terminal emacs and there is typeahead (i.e., I start typing before emacs starts), the escape code
0;95;0c gets inserted into the buffer. For example, if I run
sleep 3; emacs -Q test
qwerty while the sleep is happening (
test is a new file), the buffer will open with
*Messages* buffer says
For information about GNU Emacs and the GNU system, type C-h C-a. (New file) M-[ > is undefined Making completion list...
xterm-256color and I am using iTerm2 on OS X 10.10.5.
EDIT: If I use Terminal.app instead of iTerm2, I get
1;2c in place of
0;95;0c and it opens a help buffer with "Global bindings starting with M-[". Not sure what key sequence activates that.
How can I determine what this escape code is and make it not get inserted into my emacs buffers?