… | |
… | |
39 | |
39 | |
40 | =over 4 |
40 | =over 4 |
41 | |
41 | |
42 | =item selection |
42 | =item selection |
43 | |
43 | |
44 | Intelligent selection. This etxension tries to be more intelligent when the user |
44 | Intelligent selection. This extension tries to be more intelligent when |
45 | extends selections (double-click). |
45 | the user extends selections (double-click). Right now, it tries to select |
|
|
46 | urls and complete shell-quoted arguments, which is very convenient, too, |
|
|
47 | if your F<ls> supports C<--quoting-style=shell>. |
46 | |
48 | |
47 | It also offers the following bindable event: |
49 | It also offers the following bindable event: |
48 | |
50 | |
49 | =over 4 |
51 | =over 4 |
50 | |
52 | |
… | |
… | |
169 | number of lines that will be in the scrollback buffer. |
171 | number of lines that will be in the scrollback buffer. |
170 | |
172 | |
171 | =item on_tty_activity $term *NYI* |
173 | =item on_tty_activity $term *NYI* |
172 | |
174 | |
173 | Called whenever the program(s) running in the urxvt window send output. |
175 | Called whenever the program(s) running in the urxvt window send output. |
|
|
176 | |
|
|
177 | =item on_osc_seq $term, $string |
|
|
178 | |
|
|
179 | Called whenever the B<ESC ] 777 ; string ST> command sequence (OSC = |
|
|
180 | operating system command) is processed. Cursor position and other state |
|
|
181 | information is up-to-date when this happens. For interoperability, the |
|
|
182 | string should start with the extension name and a colon, to distinguish |
|
|
183 | it from commands for other extensions, and this might be enforced in the |
|
|
184 | future. |
|
|
185 | |
|
|
186 | Be careful not ever to trust (in a security sense) the data you receive, |
|
|
187 | as its source can not easily be controleld (e-mail content, messages from |
|
|
188 | other users on the same system etc.). |
174 | |
189 | |
175 | =item on_refresh_begin $term |
190 | =item on_refresh_begin $term |
176 | |
191 | |
177 | Called just before the screen gets redrawn. Can be used for overlay |
192 | Called just before the screen gets redrawn. Can be used for overlay |
178 | or similar effects by modify terminal contents in refresh_begin, and |
193 | or similar effects by modify terminal contents in refresh_begin, and |
… | |
… | |
383 | my $cb = $TERM->{_hook}[$htype] |
398 | my $cb = $TERM->{_hook}[$htype] |
384 | or return; |
399 | or return; |
385 | |
400 | |
386 | verbose 10, "$HOOKNAME[$htype] (" . (join ", ", $TERM, @_) . ")" |
401 | verbose 10, "$HOOKNAME[$htype] (" . (join ", ", $TERM, @_) . ")" |
387 | if $verbosity >= 10; |
402 | if $verbosity >= 10; |
|
|
403 | |
|
|
404 | keys %$cb; |
388 | |
405 | |
389 | while (my ($pkg, $cb) = each %$cb) { |
406 | while (my ($pkg, $cb) = each %$cb) { |
390 | return 1 |
407 | return 1 |
391 | if $cb->( |
408 | if $cb->( |
392 | $TERM->{$pkg} ||= do { |
409 | $TERM->{$pkg} ||= do { |
… | |
… | |
846 | This variable controls the verbosity level of the perl extension. Higher |
863 | This variable controls the verbosity level of the perl extension. Higher |
847 | numbers indicate more verbose output. |
864 | numbers indicate more verbose output. |
848 | |
865 | |
849 | =over 4 |
866 | =over 4 |
850 | |
867 | |
851 | =item 0 - only fatal messages |
868 | =item =0 - only fatal messages |
852 | |
869 | |
853 | =item 3 - script loading and management |
870 | =item =3 - script loading and management |
854 | |
871 | |
855 | =item 10 - all events received |
872 | =item =10 - all events received |
856 | |
873 | |
857 | =back |
874 | =back |
858 | |
875 | |
859 | =head1 AUTHOR |
876 | =head1 AUTHOR |
860 | |
877 | |