--- rxvt-unicode/src/urxvt.pm 2006/01/06 05:28:55 1.39 +++ rxvt-unicode/src/urxvt.pm 2006/01/06 20:50:58 1.41 @@ -467,7 +467,7 @@ if ($htype == 0) { # INIT my @dirs = ((split /:/, $TERM->resource ("perl_lib")), "$LIBDIR/perl"); - for my $ext (map { split /:/, $TERM->resource ("perl_ext_$_") } 1, 2) { + for my $ext (map { split /,/, $TERM->resource ("perl_ext_$_") } 1, 2) { my @files = grep -f $_, map "$_/$ext", @dirs; if (@files) { @@ -665,16 +665,16 @@ =back -=item $cellwidth = $term->strwidth $string +=item $cellwidth = $term->strwidth ($string) Returns the number of screen-cells this string would need. Correctly accounts for wide and combining characters. -=item $octets = $term->locale_encode $string +=item $octets = $term->locale_encode ($string) Convert the given text string into the corresponding locale encoding. -=item $string = $term->locale_decode $octets +=item $string = $term->locale_decode ($octets) Convert the given locale-encoded octets into a perl string. @@ -701,6 +701,14 @@ pass characters instead of octets, you should convert your strings first to the locale-specific encoding using C<< $term->locale_encode >>. +=item $windowid = $term->parent + +Return the window id of the toplevel window. + +=item $windowid = $term->vt + +Return the window id of the terminal window. + =item $window_width = $term->width =item $window_height = $term->height