ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/urxvt.pm
(Generate patch)

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.24 by root, Tue Jan 3 20:47:36 2006 UTC vs.
Revision 1.30 by root, Wed Jan 4 05:35:34 2006 UTC

39 39
40=over 4 40=over 4
41 41
42=item selection 42=item selection
43 43
44Intelligent selection. This etxension tries to be more intelligent when the user 44Intelligent selection. This extension tries to be more intelligent when
45extends selections (double-click). 45the user extends selections (double-click). Right now, it tries to select
46urls and complete shell-quoted arguments, which is very convenient, too,
47if your F<ls> supports C<--quoting-style=shell>.
46 48
47It also offers the following bindable event: 49It also offers the following bindable event:
48 50
49=over 4 51=over 4
50 52
169number of lines that will be in the scrollback buffer. 171number 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
173Called whenever the program(s) running in the urxvt window send output. 175Called whenever the program(s) running in the urxvt window send output.
176
177=item on_osc_seq $term, $string
178
179Called whenever the B<ESC ] 777 ; string ST> command sequence (OSC =
180operating system command) is processed. Cursor position and other state
181information is up-to-date when this happens. For interoperability, the
182string should start with the extension name and a colon, to distinguish
183it from commands for other extensions, and this might be enforced in the
184future.
185
186Be careful not ever to trust (in a security sense) the data you receive,
187as its source can not easily be controleld (e-mail content, messages from
188other users on the same system etc.).
174 189
175=item on_refresh_begin $term 190=item on_refresh_begin $term
176 191
177Called just before the screen gets redrawn. Can be used for overlay 192Called just before the screen gets redrawn. Can be used for overlay
178or similar effects by modify terminal contents in refresh_begin, and 193or 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 {
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 {
444 answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont 461 answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont
445 borderLess color cursorBlink cursorUnderline cutchars delete_key 462 borderLess color cursorBlink cursorUnderline cutchars delete_key
446 display_name embed ext_bwidth fade font geometry hold iconName 463 display_name embed ext_bwidth fade font geometry hold iconName
447 imFont imLocale inputMethod insecure int_bwidth intensityStyles 464 imFont imLocale inputMethod insecure int_bwidth intensityStyles
448 italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier 465 italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier
449 mouseWheelScrollPage name pastableTabs path perl_eval perl_ext 466 mouseWheelScrollPage name pastableTabs path perl_eval perl_ext_1 perl_ext_2
450 perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd 467 perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd
451 reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating 468 reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating
452 scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput 469 scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput
453 scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle 470 scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle
454 shade term_name title transparent transparent_all tripleclickwords 471 shade term_name title transparent transparent_all tripleclickwords
846This variable controls the verbosity level of the perl extension. Higher 863This variable controls the verbosity level of the perl extension. Higher
847numbers indicate more verbose output. 864numbers 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines