
On Mon, 27 May 2013, Trent W. Buck wrote:
TimC, I wonder if identifying what the escape sequences that are emitted *do* would help isolate what caused them to be generated. (I don't recognize them offhand myself, and I'm not sure how to tput-in-reverse.)
I do wonder whether it's emacs on a terminal (perhaps terminating abruptly and not restoring terminal defaults - or perhaps gnuclient being suspended or something like that). Because emacs knows all about that keybinding: http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-02/msg01402.html http://emacs.1067599.n5.nabble.com/bug-13839-xterm-mintty-control-sequences-... googling surprisingly returned at least some slightly relevant results: "^[[27;2;13~" xterm So it's happened at least one other time since I sent the original mail. xterm's ctrl->middle_click->soft_reset worked to reset the keybinding, obviously without resetting my screen history. Now I just have to work out why it got into that mode in the first place, and how to get a softer `reset` command. -- Tim Connors