… | |
… | |
127 | .\} |
127 | .\} |
128 | .rm #[ #] #H #V #F C |
128 | .rm #[ #] #H #V #F C |
129 | .\" ======================================================================== |
129 | .\" ======================================================================== |
130 | .\" |
130 | .\" |
131 | .IX Title "rxvt 3" |
131 | .IX Title "rxvt 3" |
132 | .TH rxvt 3 "2006-01-17" "7.1" "RXVT-UNICODE" |
132 | .TH rxvt 3 "2006-01-18" "7.1" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | @@RXVT_NAME@@perl \- rxvt\-unicode's embedded perl interpreter |
134 | @@RXVT_NAME@@perl \- rxvt\-unicode's embedded perl interpreter |
135 | .SH "SYNOPSIS" |
135 | .SH "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
137 | .Vb 1 |
137 | .Vb 1 |
… | |
… | |
211 | .IX Item "rot13" |
211 | .IX Item "rot13" |
212 | Rot\-13 the selection when activated. Used via keyboard trigger: |
212 | Rot\-13 the selection when activated. Used via keyboard trigger: |
213 | .Sp |
213 | .Sp |
214 | .Vb 1 |
214 | .Vb 1 |
215 | \& URxvt.keysym.C-M-r: perl:selection:rot13 |
215 | \& URxvt.keysym.C-M-r: perl:selection:rot13 |
216 | .Ve |
|
|
217 | .IP "remote-pastebin" 4 |
|
|
218 | .IX Item "remote-pastebin" |
|
|
219 | Upload the selection as textfile to a remote site. |
|
|
220 | .Sp |
|
|
221 | .Vb 1 |
|
|
222 | \& URxvt.keysym.C-M-e: perl:selection:remote-pastebin |
|
|
223 | .Ve |
|
|
224 | .Sp |
|
|
225 | To set the command to upload the file set this resource: |
|
|
226 | .Sp |
|
|
227 | .Vb 1 |
|
|
228 | \& URxvt.selection-pastebin-cmd: rsync -apP % ruth:/var/www/www.ta-sa.org/files/txt/. |
|
|
229 | .Ve |
|
|
230 | .Sp |
|
|
231 | The % is the placeholder for the textfile. The name of the textfile is the hex encoded |
|
|
232 | md5 sum of the selection. |
|
|
233 | After an successful upload the selection will be replaced by the following url |
|
|
234 | (the % is the placeholder for the filename): |
|
|
235 | .Sp |
|
|
236 | .Vb 1 |
|
|
237 | \& URxvt.selection-pastebin-url: http://www.ta-sa.org/files/txt/% |
|
|
238 | .Ve |
216 | .Ve |
239 | .RE |
217 | .RE |
240 | .RS 4 |
218 | .RS 4 |
241 | .RE |
219 | .RE |
242 | .IP "option-popup (enabled by default)" 4 |
220 | .IP "option-popup (enabled by default)" 4 |
… | |
… | |
321 | .IP "example-refresh-hooks" 4 |
299 | .IP "example-refresh-hooks" 4 |
322 | .IX Item "example-refresh-hooks" |
300 | .IX Item "example-refresh-hooks" |
323 | Displays a very simple digital clock in the upper right corner of the |
301 | Displays a very simple digital clock in the upper right corner of the |
324 | window. Illustrates overwriting the refresh callbacks to create your own |
302 | window. Illustrates overwriting the refresh callbacks to create your own |
325 | overlays or changes. |
303 | overlays or changes. |
|
|
304 | .IP "selection-pastebin" 4 |
|
|
305 | .IX Item "selection-pastebin" |
|
|
306 | This is a little rarely useful extension that Uploads the selection as |
|
|
307 | textfile to a remote site (or does other things). (The implementation is |
|
|
308 | not currently secure for use in a multiuser environment as it writes to |
|
|
309 | \&\fI/tmp\fR directly.). |
|
|
310 | .Sp |
|
|
311 | It listens to the \f(CW\*(C`selection\-pastebin:remote\-pastebin\*(C'\fR keyboard command, |
|
|
312 | i.e. |
|
|
313 | .Sp |
|
|
314 | .Vb 1 |
|
|
315 | \& URxvt.keysym.C-M-e: perl:selection-pastebin:remote-pastebin |
|
|
316 | .Ve |
|
|
317 | .Sp |
|
|
318 | Pressing this combination runs a command with \f(CW\*(C`%\*(C'\fR replaced by the name of |
|
|
319 | the textfile. This command can be set via a resource: |
|
|
320 | .Sp |
|
|
321 | .Vb 1 |
|
|
322 | \& URxvt.selection-pastebin.cmd: rsync -apP % ruth:/var/www/www.ta-sa.org/files/txt/. |
|
|
323 | .Ve |
|
|
324 | .Sp |
|
|
325 | And the default is likely not useful to anybody but the few people around |
|
|
326 | here :) |
|
|
327 | .Sp |
|
|
328 | The name of the textfile is the hex encoded md5 sum of the selection, so |
|
|
329 | the same content should lead to the same filename. |
|
|
330 | .Sp |
|
|
331 | After a successful upload the selection will be replaced by the text given |
|
|
332 | in the \f(CW\*(C`selection\-pastebin\-url\*(C'\fR resource (again, the % is the placeholder |
|
|
333 | for the filename): |
|
|
334 | .Sp |
|
|
335 | .Vb 1 |
|
|
336 | \& URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/% |
|
|
337 | .Ve |
326 | .SH "API DOCUMENTATION" |
338 | .SH "API DOCUMENTATION" |
327 | .IX Header "API DOCUMENTATION" |
339 | .IX Header "API DOCUMENTATION" |
328 | .Sh "General \s-1API\s0 Considerations" |
340 | .Sh "General \s-1API\s0 Considerations" |
329 | .IX Subsection "General API Considerations" |
341 | .IX Subsection "General API Considerations" |
330 | All objects (such as terminals, time watchers etc.) are typical |
342 | All objects (such as terminals, time watchers etc.) are typical |