… | |
… | |
346 | </dt> |
346 | </dt> |
347 | <dd> |
347 | <dd> |
348 | Displays a digital clock using the built-in overlay. |
348 | Displays a digital clock using the built-in overlay. |
349 | </dd> |
349 | </dd> |
350 | <p></p> |
350 | <p></p> |
351 | <dt><strong><a name="item_example_2drefresh_2dhooks">example-refresh-hooks</a></strong><br /> |
351 | <dt><strong><a name="item_remote_2dclipboard">remote-clipboard</a></strong><br /> |
352 | </dt> |
352 | </dt> |
|
|
353 | <dd> |
|
|
354 | Somewhat of a misnomer, this extension adds two menu entries to the |
|
|
355 | selection popup that allows one ti run external commands to store the |
|
|
356 | selection somewhere and fetch it again. |
353 | <dd> |
357 | </dd> |
354 | Displays a very simple digital clock in the upper right corner of the |
358 | <dd> |
355 | window. Illustrates overwriting the refresh callbacks to create your own |
359 | <p>We use it to implement a ``distributed selection mechanism'', which just |
356 | overlays or changes. |
360 | means that one command uploads the file to a remote server, and another |
|
|
361 | reads it.</p> |
|
|
362 | </dd> |
|
|
363 | <dd> |
|
|
364 | <p>The commands can be set using the <code>URxvt.remote-selection.store</code> and |
|
|
365 | <code>URxvt.remote-selection.fetch</code> resources. The first should read the |
|
|
366 | selection to store from STDIN (always in UTF-8), the second should provide |
|
|
367 | the selection data on STDOUT (also in UTF-8).</p> |
|
|
368 | </dd> |
|
|
369 | <dd> |
|
|
370 | <p>The defaults (which are likely useless to you) use rsh and cat:</p> |
|
|
371 | </dd> |
|
|
372 | <dd> |
|
|
373 | <pre> |
|
|
374 | URxvt.remote-selection.store: rsh ruth 'cat >/tmp/distributed-selection' |
|
|
375 | URxvt.remote-selection.fetch: rsh ruth 'cat /tmp/distributed-selection'</pre> |
357 | </dd> |
376 | </dd> |
358 | <p></p> |
377 | <p></p> |
359 | <dt><strong><a name="item_selection_2dpastebin">selection-pastebin</a></strong><br /> |
378 | <dt><strong><a name="item_selection_2dpastebin">selection-pastebin</a></strong><br /> |
360 | </dt> |
379 | </dt> |
361 | <dd> |
380 | <dd> |
… | |
… | |
394 | for the filename):</p> |
413 | for the filename):</p> |
395 | </dd> |
414 | </dd> |
396 | <dd> |
415 | <dd> |
397 | <pre> |
416 | <pre> |
398 | URxvt.selection-pastebin.url: <a href="http://www.ta-sa.org/files/txt/%">http://www.ta-sa.org/files/txt/%</a></pre> |
417 | URxvt.selection-pastebin.url: <a href="http://www.ta-sa.org/files/txt/%">http://www.ta-sa.org/files/txt/%</a></pre> |
|
|
418 | </dd> |
|
|
419 | <p></p> |
|
|
420 | <dt><strong><a name="item_example_2drefresh_2dhooks">example-refresh-hooks</a></strong><br /> |
|
|
421 | </dt> |
|
|
422 | <dd> |
|
|
423 | Displays a very simple digital clock in the upper right corner of the |
|
|
424 | window. Illustrates overwriting the refresh callbacks to create your own |
|
|
425 | overlays or changes. |
399 | </dd> |
426 | </dd> |
400 | <p></p></dl> |
427 | <p></p></dl> |
401 | <p> |
428 | <p> |
402 | </p> |
429 | </p> |
403 | <hr /> |
430 | <hr /> |
… | |
… | |
653 | </dt> |
680 | </dt> |
654 | <dd> |
681 | <dd> |
655 | Called just after the screen gets redrawn. See <code>on_refresh_begin</code>. |
682 | Called just after the screen gets redrawn. See <code>on_refresh_begin</code>. |
656 | </dd> |
683 | </dd> |
657 | <p></p> |
684 | <p></p> |
658 | <dt><strong><a name="item_on_keyboard_command__24term_2c__24string">on_keyboard_command $term, $string</a></strong><br /> |
685 | <dt><strong><a name="item_on_user_command__24term_2c__24string">on_user_command $term, $string</a></strong><br /> |
659 | </dt> |
686 | </dt> |
660 | <dd> |
687 | <dd> |
661 | Called whenever the user presses a key combination that has a |
688 | Called whenever the a user-configured event is being activated (e.g. via |
662 | <code>perl:string</code> action bound to it (see description of the <strong>keysym</strong> |
689 | a <code>perl:string</code> action bound to a key, see description of the <strong>keysym</strong> |
663 | resource in the <code>rxvt(1)</code> manpage). |
690 | resource in the <code>rxvt(1)</code> manpage). |
|
|
691 | </dd> |
|
|
692 | <dd> |
|
|
693 | <p>The event is simply the action string. This interface is assumed to change |
|
|
694 | slightly in the future.</p> |
664 | </dd> |
695 | </dd> |
665 | <p></p> |
696 | <p></p> |
666 | <dt><strong><a name="item_on_x_event__24term_2c__24event">on_x_event $term, $event</a></strong><br /> |
697 | <dt><strong><a name="item_on_x_event__24term_2c__24event">on_x_event $term, $event</a></strong><br /> |
667 | </dt> |
698 | </dt> |
668 | <dd> |
699 | <dd> |