forked from joe-editor/joe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xterm-readme
52 lines (35 loc) · 1.57 KB
/
xterm-readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
xterm-patch should be applied to xterm-200, which can be found at:
http://dickey.his.com/xterm/xterm.html
With this patch, the following escape sequences become available, and you
can enable "-joexterm" in the joerc file:
ESC [ ? 2 0 0 4 h Enable bracketed pastes.
ESC [ ? 2 0 0 4 l Disable bracketed pastes.
When bracketed pastes are enabled, paste
data looks like this:
ESC [ 2 0 0 ~ <paste-text> ESC [ 2 0 1 ~
ESC [ ? P Send base64 encoded paste data to program
(when JOE gets middle button click, it sends
this to xterm to make it send the paste
data).
ESC [ ? 2 P Accept base64 encoded paste data until ESC.
This data becomes the "selected text" which
can be pasted by other applications.
ESC [ ? 2 0 0 7 h Enable outside of frame mouse coordinates.
ESC [ ? 2 0 0 7 l Disable outside of frame mouse coordinates.
When outside of frame mouse coordinates are enabled, and
xterm mouse support is enabled (ESC [ ? 1 0 0 2 h), mouse
coordinates are sent even if they are outside of xterm's
window frame.
The coordinate code bytes should be interpreted like this
(we need negative coordinates in case mouse is above or to
left of window):
Code Coordinate
---- ----------
33 - 240 1 - 208 (normal)
32 0 (left/top of frame)
241 - 255 -15 - -1 (left/top of frame)
(When this mode is off, codes 33 - 255 correspond to
coordinates 1 - 223).
Also, this patch makes XTerms compiled with wide character support much faster.
Also, this patch makes XTerm stores UTF-8 data in the server's cut buffer,
instead of latin1.