Open ethercrow opened 11 years ago
From nicolas....@gmail.com on September 10, 2008 13:47:18 I don't know how to fixing this issue...
However in Vim there is a 'paste mode' (a flag to the insert mode), that disable the specific interpretation of keystrokes.
This is turned on via :set paste, turned off via :set nopaste, and toggled via :set invpaste.
From JeanPhil...@gmail.com on September 11, 2008 18:14:41 Turns out that the OSC 52 ; ... works only if xterm is compiled with --enable-paste64
Why is this never enabled? :(
From JeanPhil...@gmail.com on September 11, 2008 19:44:40 I see that this is also completely ignored by gnome-terminal. Check out: -> vte package (http://ftp.gnome.org/pub/gnome/sources/vte/0.17/) -> file caps.c -> {OSC "50;%s" BEL, "change-font-name", 0},
after this one we should find OSC 52, but nothing. Note also the very informative comment at the top:
/* From some really old XTerm docs we had at the office, and an updated
Back to xterm: bracketed mode paste seems enabled by --enable-readline-mouse; but it seems to have other strange effects on the code.
Original author: JeanPhil...@gmail.com (September 10, 2008 11:03:54)
We would like a "paste" operation to be interpreted as such, and not a bunch of keystrokes.
This is apparently possible by capturing the mouse events:
putStr $ csi ++ "?1000h"
but I can't seem to be able to read or write to the clipboard, depite following the instructions in this document (p. 17)
http://invisible-island.net/xterm/ctlseqs/ctlseqs.pdf
Original issue: http://code.google.com/p/yi-editor/issues/detail?id=181