--- rxvt-unicode/src/urxvt.pm 2006/01/11 00:59:58 1.77 +++ rxvt-unicode/src/urxvt.pm 2006/01/12 00:11:59 1.80 @@ -86,7 +86,9 @@ =item mark-urls -Uses per-line display filtering (C) to underline urls. +Uses per-line display filtering (C) to underline urls and +make them clickable. When clicked, the program specified in the resource +C (default C) will be started. =item block-graphics-to-ascii @@ -125,7 +127,7 @@ =item $text Rxvt-unicodes special way of encoding text, where one "unicode" character -always represents one screen cell. See L for a discussion of this format. +always represents one screen cell. See L for a discussion of this format. =item $string @@ -388,8 +390,6 @@ The current terminal. This variable stores the current C object, whenever a callback/hook is executing. -=item - =back =head2 Functions in the C Package @@ -498,10 +498,10 @@ urxvt::warn ($msg); }; - delete $ENV{IFS}; - delete $ENV{CDPATH}; - delete $ENV{BASH_ENV}; - $ENV{PATH} = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/opt/sbin"; +# delete $ENV{IFS}; +# delete $ENV{CDPATH}; +# delete $ENV{BASH_ENV}; +# $ENV{PATH} = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/opt/sbin"; } my @hook_count; @@ -784,8 +784,8 @@ =item $term = new urxvt::term $envhashref, $rxvtname, [arg...] Creates a new terminal, very similar as if you had started it with system -C<$rxvtname, arg...>. C<$envhashref> must be a reference to a %ENV>-like -C. C<$envhashref> must be a reference to a C<%ENV>-like +hash which defines the environment of the new terminal. Croaks (and probably outputs an error message) if the new instance couldn't be created. Returns C if the new instance didn't @@ -864,6 +864,17 @@ &urxvt::term::_resource } +=item $value = $term->x_resource ($pattern) + +Returns the X-Resource for the given pattern, excluding the program or +class name, i.e. C<< $term->x_resource ("boldFont") >> should return the +same value as used by this instance of rxvt-unicode. Returns C if no +resource with that pattern exists. + +This method should only be called during the C hook, as there is +only one resource database per display, and later invocations might return +the wrong resources. + =item $success = $term->parse_keysym ($keysym_spec, $command_string) Adds a keymap translation exactly as specified via a resource. See the @@ -1444,6 +1455,8 @@ $self->{term}->ungrab; } +=back + =head2 The C Class This class implements timer watchers/events. Time is represented as a