… | |
… | |
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 |
… | |
… | |
359 | my $htype = shift; |
374 | my $htype = shift; |
360 | |
375 | |
361 | if ($htype == 0) { # INIT |
376 | if ($htype == 0) { # INIT |
362 | my @dirs = ((split /:/, $TERM->resource ("perl_lib")), "$LIBDIR/perl"); |
377 | my @dirs = ((split /:/, $TERM->resource ("perl_lib")), "$LIBDIR/perl"); |
363 | |
378 | |
364 | for my $ext (split /:/, $TERM->resource ("perl_ext")) { |
379 | for my $ext (map { split /:/, $TERM->resource ("perl_ext_$_") } 1, 2) { |
365 | my @files = grep -f $_, map "$_/$ext", @dirs; |
380 | my @files = grep -f $_, map "$_/$ext", @dirs; |
366 | |
381 | |
367 | if (@files) { |
382 | if (@files) { |
368 | register_package script_package $files[0]; |
383 | register_package script_package $files[0]; |
369 | } else { |
384 | } else { |
… | |
… | |
446 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
461 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
447 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
462 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
448 | display_name embed ext_bwidth fade font geometry hold iconName |
463 | display_name embed ext_bwidth fade font geometry hold iconName |
449 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
464 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
450 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
465 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
451 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext |
466 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext_1 perl_ext_2 |
452 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
467 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
453 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
468 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
454 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
469 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
455 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
470 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
456 | shade term_name title transparent transparent_all tripleclickwords |
471 | shade term_name title transparent transparent_all tripleclickwords |
… | |
… | |
848 | This variable controls the verbosity level of the perl extension. Higher |
863 | This variable controls the verbosity level of the perl extension. Higher |
849 | numbers indicate more verbose output. |
864 | numbers indicate more verbose output. |
850 | |
865 | |
851 | =over 4 |
866 | =over 4 |
852 | |
867 | |
853 | =item 0 - only fatal messages |
868 | =item =0 - only fatal messages |
854 | |
869 | |
855 | =item 3 - script loading and management |
870 | =item =3 - script loading and management |
856 | |
871 | |
857 | =item 10 - all events received |
872 | =item =10 - all events received |
858 | |
873 | |
859 | =back |
874 | =back |
860 | |
875 | |
861 | =head1 AUTHOR |
876 | =head1 AUTHOR |
862 | |
877 | |