--- rxvt-unicode/doc/rxvtperl.3.html 2006/01/03 04:20:37 1.8 +++ rxvt-unicode/doc/rxvtperl.3.html 2006/01/04 21:37:55 1.13 @@ -20,6 +20,7 @@
urxvt
Packageurxvt
Packageurxvt::term
Class--quoting-style=shell
.
+It also offers the following bindable event:
All objects (such as terminals, time watchers etc.) are typical
reference-to-hash objects. The hash can be used to store anything you
like. All members starting with an underscore (such as _ptr
or
-_hook
) are reserved for internal uses and must not be accessed or
+_hook
) are reserved for internal uses and MUST NOT be accessed or
modified).
When objects are destroyed on the C++ side, the perl object hashes are emptied, so its best to store related objects such as time watchers and @@ -122,8 +129,13 @@
The following subroutines can be declared in loaded scripts, and will be called -whenever the relevant event happens.
+The following subroutines can be declared in loaded scripts, and will be +called whenever the relevant event happens.
+The first argument passed to them is an object private to each terminal
+and extension package. You can call all urxvt::term
methods on it, but
+its not a real urxvt::term
object. Instead, the real urxvt::term
+object that is shared between all packages is stored in the term
+member.
All of them must return a boolean value. If it is true, then the event counts as being consumed, and the invocation of other hooks is skipped, and the relevant action might not be carried out by the C++ code.
@@ -174,6 +186,18 @@Returning a true value aborts selection grabbing. It will still be hilighted.
+See the selection example extension.
+program(s)
running in the urxvt window send output.
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.).
++
urxvt
Packageurxvt::term
object.
++
urxvt
PackageCurrently, the only method on the urxvt::overlay
object is set
:
The methods currently supported on urxvt::overlay
objects are:
$term->locale_encode
.
-geometry
, excluding any scrollback).
-$row_number
. Row 0
is the topmost terminal line, row $term->$ncol-1
is the bottommost
terminal line. The scrollback buffer starts at line -1
and extends to
-line -$term->nsaved
.
+line -$term->nsaved
. Nothing will be returned if a nonexistent line
+is requested.
If $new_text
is specified, it will replace characters in the current
@@ -548,7 +639,7 @@
characters.
The methods $term->special_encode
and $term->special_decode
+
The methods $term->special_encode
and $term->special_decode
can be used to convert normal strings into this encoding and vice versa.
-1
, then the line is part of a multiple-row logical ``line'', which
-means all characters are in use and it is continued on the next row.
+Returns the number of screen cells that are in use (``the line
+length''). Unlike the urxvt core, this returns $term->ncol
if the
+line is joined with the following one.
+urxvt::line
object that stores information
+about the logical line that row $row_number
is part of. It supports the
+following methods:
+ROW_t
+ROW_r
+ROW_l
.
+This variable controls the verbosity level of the perl extension. Higher numbers indicate more verbose output.
- +