… | |
… | |
174 | |
174 | |
175 | 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 | |
176 | |
177 | =item on_osc_seq $term, $string |
177 | =item on_osc_seq $term, $string |
178 | |
178 | |
179 | Called whenever the B<ESC ] 777 ; string ST> command sequence is |
179 | Called whenever the B<ESC ] 777 ; string ST> command sequence (OSC = |
180 | processed. Cursor position and other state information is up-to-date when |
180 | operating system command) is processed. Cursor position and other state |
181 | this happens. For interoperability, the string should start with the |
181 | information is up-to-date when this happens. For interoperability, the |
182 | extension name and a colon, to distinguish it from commands for other |
182 | string should start with the extension name and a colon, to distinguish |
183 | extensions, and this might be enforced in the future. |
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.). |
184 | |
189 | |
185 | =item on_refresh_begin $term |
190 | =item on_refresh_begin $term |
186 | |
191 | |
187 | 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 |
188 | or similar effects by modify terminal contents in refresh_begin, and |
193 | or similar effects by modify terminal contents in refresh_begin, and |
… | |
… | |
369 | my $htype = shift; |
374 | my $htype = shift; |
370 | |
375 | |
371 | if ($htype == 0) { # INIT |
376 | if ($htype == 0) { # INIT |
372 | my @dirs = ((split /:/, $TERM->resource ("perl_lib")), "$LIBDIR/perl"); |
377 | my @dirs = ((split /:/, $TERM->resource ("perl_lib")), "$LIBDIR/perl"); |
373 | |
378 | |
374 | for my $ext (split /:/, $TERM->resource ("perl_ext")) { |
379 | for my $ext (map { split /:/, $TERM->resource ("perl_ext_$_") } 1, 2) { |
375 | my @files = grep -f $_, map "$_/$ext", @dirs; |
380 | my @files = grep -f $_, map "$_/$ext", @dirs; |
376 | |
381 | |
377 | if (@files) { |
382 | if (@files) { |
378 | register_package script_package $files[0]; |
383 | register_package script_package $files[0]; |
379 | } else { |
384 | } else { |
… | |
… | |
456 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
461 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
457 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
462 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
458 | display_name embed ext_bwidth fade font geometry hold iconName |
463 | display_name embed ext_bwidth fade font geometry hold iconName |
459 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
464 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
460 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
465 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
461 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext |
466 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext_1 perl_ext_2 |
462 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
467 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
463 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
468 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
464 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
469 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
465 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
470 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
466 | shade term_name title transparent transparent_all tripleclickwords |
471 | shade term_name title transparent transparent_all tripleclickwords |