ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvtperl.3.txt
(Generate patch)

Comparing rxvt-unicode/doc/rxvtperl.3.txt (file contents):
Revision 1.29 by root, Tue Jan 17 16:22:41 2006 UTC vs.
Revision 1.30 by root, Wed Jan 18 09:40:53 2006 UTC

63 63
64 rot13 64 rot13
65 Rot-13 the selection when activated. Used via keyboard trigger: 65 Rot-13 the selection when activated. Used via keyboard trigger:
66 66
67 URxvt.keysym.C-M-r: perl:selection:rot13 67 URxvt.keysym.C-M-r: perl:selection:rot13
68
69 remote-pastebin
70 Upload the selection as textfile to a remote site.
71
72 URxvt.keysym.C-M-e: perl:selection:remote-pastebin
73
74 To set the command to upload the file set this resource:
75
76 URxvt.selection-pastebin-cmd: rsync -apP % ruth:/var/www/www.ta-sa.org/files/txt/.
77
78 The % is the placeholder for the textfile. The name of the
79 textfile is the hex encoded md5 sum of the selection. After an
80 successful upload the selection will be replaced by the
81 following url (the % is the placeholder for the filename):
82
83 URxvt.selection-pastebin-url: http://www.ta-sa.org/files/txt/%
84 68
85 option-popup (enabled by default) 69 option-popup (enabled by default)
86 Binds a popup menu to Ctrl-Button2 that lets you toggle (some) 70 Binds a popup menu to Ctrl-Button2 that lets you toggle (some)
87 options at runtime. 71 options at runtime.
88 72
157 141
158 example-refresh-hooks 142 example-refresh-hooks
159 Displays a very simple digital clock in the upper right corner of 143 Displays a very simple digital clock in the upper right corner of
160 the window. Illustrates overwriting the refresh callbacks to create 144 the window. Illustrates overwriting the refresh callbacks to create
161 your own overlays or changes. 145 your own overlays or changes.
146
147 selection-pastebin
148 This is a little rarely useful extension that Uploads the selection
149 as textfile to a remote site (or does other things). (The
150 implementation is not currently secure for use in a multiuser
151 environment as it writes to /tmp directly.).
152
153 It listens to the "selection-pastebin:remote-pastebin" keyboard
154 command, i.e.
155
156 URxvt.keysym.C-M-e: perl:selection-pastebin:remote-pastebin
157
158 Pressing this combination runs a command with "%" replaced by the
159 name of the textfile. This command can be set via a resource:
160
161 URxvt.selection-pastebin.cmd: rsync -apP % ruth:/var/www/www.ta-sa.org/files/txt/.
162
163 And the default is likely not useful to anybody but the few people
164 around here :)
165
166 The name of the textfile is the hex encoded md5 sum of the
167 selection, so the same content should lead to the same filename.
168
169 After a successful upload the selection will be replaced by the text
170 given in the "selection-pastebin-url" resource (again, the % is the
171 placeholder for the filename):
172
173 URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/%
162 174
163API DOCUMENTATION 175API DOCUMENTATION
164 General API Considerations 176 General API Considerations
165 All objects (such as terminals, time watchers etc.) are typical 177 All objects (such as terminals, time watchers etc.) are typical
166 reference-to-hash objects. The hash can be used to store anything you 178 reference-to-hash objects. The hash can be used to store anything you

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines