1 | #! perl |
1 | #! perl |
2 | |
2 | |
3 | # Author: Tim Pope <rxvt-unicodeNOSPAM@tpope.org> |
3 | # Author: Tim Pope <rxvt-unicodeNOSPAM@tpope.org> |
4 | # Bob Farrell <robertanthonyfarrell@gmail.com> |
4 | # Bob Farrell <robertanthonyfarrell@gmail.com> |
5 | |
5 | |
6 | #:META:X_RESOURCE:%.launcher:string:default launcher command |
6 | #:META:RESOURCE:%.launcher:string:default launcher command |
7 | #:META:X_RESOURCE:%.button:string:the button, yeah |
7 | #:META:RESOURCE:%.button:string:the button, yeah |
8 | #:META:X_RESOURCE:%.pattern.:string:extra pattern to match |
8 | #:META:RESOURCE:%.pattern.:string:extra pattern to match |
9 | #:META:X_RESOURCE:%.launcher.:string:custom launcher for pattern |
9 | #:META:RESOURCE:%.launcher.:string:custom launcher for pattern |
10 | #:META:X_RESOURCE:%.rend.:string:custom rednition for pattern |
10 | #:META:RESOURCE:%.rend.:string:custom rednition for pattern |
11 | |
11 | |
12 | =head1 NAME |
12 | =head1 NAME |
13 | |
13 | |
14 | matcher - match strings in terminal output and change their rendition |
14 | matcher - match strings in terminal output and change their rendition |
15 | |
15 | |
… | |
… | |
17 | |
17 | |
18 | Uses per-line display filtering (C<on_line_update>) to underline text |
18 | Uses per-line display filtering (C<on_line_update>) to underline text |
19 | matching a certain pattern and make it clickable. When clicked with the |
19 | matching a certain pattern and make it clickable. When clicked with the |
20 | mouse button specified in the C<matcher.button> resource (default 2, or |
20 | mouse button specified in the C<matcher.button> resource (default 2, or |
21 | middle), the program specified in the C<matcher.launcher> resource |
21 | middle), the program specified in the C<matcher.launcher> resource |
22 | (default, the C<urlLauncher> resource, C<sensible-browser>) will be started |
22 | (default, the C<url-launcher> resource, C<sensible-browser>) will be started |
23 | with the matched text as first argument. The default configuration is |
23 | with the matched text as first argument. The default configuration is |
24 | suitable for matching URLs and launching a web browser, like the |
24 | suitable for matching URLs and launching a web browser, like the |
25 | former "mark-urls" extension. |
25 | former "mark-urls" extension. |
26 | |
26 | |
27 | The default pattern to match URLs can be overridden with the |
27 | The default pattern to match URLs can be overridden with the |