ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection-to-clipboard
(Generate patch)

Comparing rxvt-unicode/src/perl/selection-to-clipboard (file contents):
Revision 1.1 by root, Sun Apr 13 10:25:31 2014 UTC vs.
Revision 1.2 by sf-exg, Sun Apr 13 19:29:54 2014 UTC

1#! perl -w 1#! perl -w
2 2
3=head1 NAME 3=head1 NAME
4 4
5selection-to-clipboard - copy the selection to the clipboard each time a seletion is made 5selection-to-clipboard - copy the selection to the clipboard each time a selection is made
6 6
7=head1 SYNOPSIS 7=head1 SYNOPSIS
8 8
9 urxvt -pe selection-to-clipboard 9 urxvt -pe selection-to-clipboard
10 10
11=head1 DESCRIPTION 11=head1 DESCRIPTION
12 12
13This very simple extension copies the selection to the clipboard every 13This very simple extension copies the selection to the clipboard every
14time a selection is made. This, in effetc, synchronises the clipboard with 14time a selection is made. This, in effect, synchronises the clipboard with
15the selection for selections done by rxvt-unicode. 15the selection for selections done by rxvt-unicode.
16 16
17=cut 17=cut
18 18
19sub on_sel_grab { 19sub on_sel_grab {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines