ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/urxvt.pm
(Generate patch)

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.128 by root, Wed Jan 25 00:57:57 2006 UTC vs.
Revision 1.129 by root, Wed Jan 25 15:11:31 2006 UTC

242 242
243=item digital-clock 243=item digital-clock
244 244
245Displays a digital clock using the built-in overlay. 245Displays a digital clock using the built-in overlay.
246 246
247=item example-refresh-hooks 247=item remote-selection
248 248
249Displays a very simple digital clock in the upper right corner of the 249Somewhat of a misnomer, this extension adds two menu entries to the
250window. Illustrates overwriting the refresh callbacks to create your own 250selection popup that allows one ti run external commands to store the
251overlays or changes. 251selection somewhere and fetch it again.
252
253We use it to implement a "distributed selection mechanism", which just
254means that one command uploads the file to a remote server, and another
255reads it.
256
257The commands can be set using the C<URxvt.remote-selection.store> and
258C<URxvt.remote-selection.fetch> resources. The first should read the
259selection to store from STDIN (always in UTF-8), the second should provide
260the selection data on STDOUT (also in UTF-8).
261
262The defaults (which are likely useless to you) use rsh and cat:
263
264 URxvt.remote-selection.store: rsh ruth 'cat >/tmp/distributed-selection'
265 URxvt.remote-selection.fetch: rsh ruth 'cat /tmp/distributed-selection'
252 266
253=item selection-pastebin 267=item selection-pastebin
254 268
255This is a little rarely useful extension that Uploads the selection as 269This is a little rarely useful extension that Uploads the selection as
256textfile to a remote site (or does other things). (The implementation is 270textfile to a remote site (or does other things). (The implementation is
276After a successful upload the selection will be replaced by the text given 290After a successful upload the selection will be replaced by the text given
277in the C<selection-pastebin-url> resource (again, the % is the placeholder 291in the C<selection-pastebin-url> resource (again, the % is the placeholder
278for the filename): 292for the filename):
279 293
280 URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/% 294 URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/%
295
296=item example-refresh-hooks
297
298Displays a very simple digital clock in the upper right corner of the
299window. Illustrates overwriting the refresh callbacks to create your own
300overlays or changes.
281 301
282=back 302=back
283 303
284=head1 API DOCUMENTATION 304=head1 API DOCUMENTATION
285 305

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines