Hi Ambrus, and hello again urxvt list, Sorry about the really late reply, I did not keep track of my mail recently.
On Sun, Jan 06, 2013 at 00:17:57 +0100, Zsbán Ambrus wrote: > On 1/5/13, Moritz Wilhelmy <[email protected]> wrote: > > Attached is a snippet which escapes my tmux prefix character ` by replacing > > it by `` whenever I paste text into tmux. > > Did you know that urxvt already supports "bracketed paste mode", which > can be enabled by some escape sequence and it makes urxvt surround > pasted text with some escape sequence so programs can detect it? Look > it up in the utxvt(7) manpage. Some editors already support this. > Maybe you should teach tmux to handle this. (Note though that there > are two different such paste modes, probably each of them was invented > without knowing the other, and urxvt supports only one of them.) This is nice, thanks. I have been hoping for updates to update terminal functions to the new century, and I think paste (and the recent image support patch) are a good start. I see a couple of problems with bracketed paste mode, though, because using state of the art terminal identification it apparently can't be automatically determined whether the application running inside the terminal (and im tmux's case the application running inside tmux) supports such a paste-mode. The tmux people have suggested autodetecting pastes by keystroke speed, which might be problematic in case of a high-latency SSH connection, and is in in my opinion not really a cleaner solution to the problem than my own hackish attempt, although it would not require using exactly urxvt+perl as terminal emulator. Do you have a list of software supporting this paste mode? What about the other one (and where did it come from? XTerm?)? What are people's opinions about adding feature autonegotiating to terminal emulators, although I assume I'm 20 years too late for that? Best regards, Moritz _______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
