--- rxvt-unicode/src/urxvt.pm 2006/01/11 01:01:52 1.78 +++ 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 @@ -496,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; @@ -862,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