TODO: "slow" rendering mode for bidi and scripts
TODO: read property sequence is broken with respect to utf-8 etc.
TODO: rxvt -name urxvt-girly /// leave pixel droppings
-TODO: distributed clipboard example
WISH: anyevent mouse notification / manage MotionMask better.
WISH: OnTheSpot editing, or maybe switch to miiiiiiif. or maybe use perl and an overlay...
WISH: just for fun, do shade and tint with XRender.
- moved Shift-Button2 paste combination to Meta-Button2.
- the cutchars resource will now be respected and used by the
selection extension.
+ - added the "remote-selection" extension which just runs external
+ commands to fetch and store the selection data.
- removed (unused) arabic presentation form composing sequences.
- be more strict when deciding that a core font glyph is too wide and
needs the careful rendering mode.
$self->selection_clear;
$self->selection ($txt);
$self->selection_grab (urxvt::CurrentTime);
- $self->wait_pipe ($fh, $pid, "selection fetched");
+ close $fh;
+ my $status = $? >> 8;
+ $self->msg ("selection fetched (status $status)");
}
});
}
Displays a digital clock using the built-in overlay.
-=item example-refresh-hooks
+=item remote-selection
-Displays a very simple digital clock in the upper right corner of the
-window. Illustrates overwriting the refresh callbacks to create your own
-overlays or changes.
+Somewhat of a misnomer, this extension adds two menu entries to the
+selection popup that allows one ti run external commands to store the
+selection somewhere and fetch it again.
+
+We use it to implement a "distributed selection mechanism", which just
+means that one command uploads the file to a remote server, and another
+reads it.
+
+The commands can be set using the C<URxvt.remote-selection.store> and
+C<URxvt.remote-selection.fetch> resources. The first should read the
+selection to store from STDIN (always in UTF-8), the second should provide
+the selection data on STDOUT (also in UTF-8).
+
+The defaults (which are likely useless to you) use rsh and cat:
+
+ URxvt.remote-selection.store: rsh ruth 'cat >/tmp/distributed-selection'
+ URxvt.remote-selection.fetch: rsh ruth 'cat /tmp/distributed-selection'
=item selection-pastebin
URxvt.selection-pastebin.url: http://www.ta-sa.org/files/txt/%
+=item example-refresh-hooks
+
+Displays a very simple digital clock in the upper right corner of the
+window. Illustrates overwriting the refresh callbacks to create your own
+overlays or changes.
+
=back
=head1 API DOCUMENTATION