--- rxvt-unicode/src/urxvt.pm 2006/01/03 20:47:36 1.24 +++ rxvt-unicode/src/urxvt.pm 2006/01/04 00:12:12 1.29 @@ -41,8 +41,10 @@ =item selection -Intelligent selection. This etxension tries to be more intelligent when the user -extends selections (double-click). +Intelligent selection. This extension tries to be more intelligent when +the user extends selections (double-click). Right now, it tries to select +urls and complete shell-quoted arguments, which is very convenient, too, +if your F supports C<--quoting-style=shell>. It also offers the following bindable event: @@ -172,6 +174,19 @@ Called whenever the program(s) running in the urxvt window send output. +=item on_osc_seq $term, $string + +Called whenever the B command sequence (OSC = +operating system command) is processed. Cursor position and other state +information is up-to-date when this happens. For interoperability, the +string should start with the extension name and a colon, to distinguish +it from commands for other extensions, and this might be enforced in the +future. + +Be careful not ever to trust (in a security sense) the data you receive, +as its source can not easily be controleld (e-mail content, messages from +other users on the same system etc.). + =item on_refresh_begin $term Called just before the screen gets redrawn. Can be used for overlay @@ -386,6 +401,8 @@ verbose 10, "$HOOKNAME[$htype] (" . (join ", ", $TERM, @_) . ")" if $verbosity >= 10; + keys %$cb; + while (my ($pkg, $cb) = each %$cb) { return 1 if $cb->( @@ -848,11 +865,11 @@ =over 4 -=item 0 - only fatal messages +=item =0 - only fatal messages -=item 3 - script loading and management +=item =3 - script loading and management -=item 10 - all events received +=item =10 - all events received =back