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

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

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"
212Rot\-13 the selection when activated. Used via keyboard trigger: 212Rot\-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"
219Upload 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
225To 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
231The % is the placeholder for the textfile. The name of the textfile is the hex encoded
232md5 sum of the selection.
233After 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"
323Displays a very simple digital clock in the upper right corner of the 301Displays a very simple digital clock in the upper right corner of the
324window. Illustrates overwriting the refresh callbacks to create your own 302window. Illustrates overwriting the refresh callbacks to create your own
325overlays or changes. 303overlays or changes.
304.IP "selection-pastebin" 4
305.IX Item "selection-pastebin"
306This is a little rarely useful extension that Uploads the selection as
307textfile to a remote site (or does other things). (The implementation is
308not currently secure for use in a multiuser environment as it writes to
309\&\fI/tmp\fR directly.).
310.Sp
311It listens to the \f(CW\*(C`selection\-pastebin:remote\-pastebin\*(C'\fR keyboard command,
312i.e.
313.Sp
314.Vb 1
315\& URxvt.keysym.C-M-e: perl:selection-pastebin:remote-pastebin
316.Ve
317.Sp
318Pressing this combination runs a command with \f(CW\*(C`%\*(C'\fR replaced by the name of
319the 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
325And the default is likely not useful to anybody but the few people around
326here :)
327.Sp
328The name of the textfile is the hex encoded md5 sum of the selection, so
329the same content should lead to the same filename.
330.Sp
331After a successful upload the selection will be replaced by the text given
332in the \f(CW\*(C`selection\-pastebin\-url\*(C'\fR resource (again, the % is the placeholder
333for 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"
330All objects (such as terminals, time watchers etc.) are typical 342All objects (such as terminals, time watchers etc.) are typical

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines