> rxvt-unicode uses the same escape sequences as xterm so just re-use > the xterm function to enable it. > > The xterm-rxvt-function-map keymap already has > > (define-key map "\e[200~" [xterm-paste]) > > so we're already handling the paste sequence and only need to enable it. I don't have rxvt to test, but the patch looks good. What I wonder if whether it would make sense to use even more of `terminal-init-xterm` in rxvt.el. E.g. focus-tracking, frame-title? I also see that terminal-init-xterm tries to detect when it's been accidentally called in rxvt, and in that case it still keeps most of terminal-init-xterm intact. Apparently, this is right for bracketed-paste, but what about the rest? Stefan