… | |
… | |
163 | |
163 | |
164 | Uses per-line display filtering (C<on_line_update>) to underline urls and |
164 | Uses per-line display filtering (C<on_line_update>) to underline urls and |
165 | make them clickable. When middle-clicked, the program specified in the |
165 | make them clickable. When middle-clicked, the program specified in the |
166 | resource C<urlLauncher> (default C<x-www-browser>) will be started with |
166 | resource C<urlLauncher> (default C<x-www-browser>) will be started with |
167 | the URL as first argument. |
167 | the URL as first argument. |
|
|
168 | |
|
|
169 | =item automove-background |
|
|
170 | |
|
|
171 | This is basically a one-line extension that dynamically changes the background pixmap offset |
|
|
172 | to the window position, in effect creating the same effect as pseudo transparency with |
|
|
173 | a custom pixmap. No scaling is supported in this mode. Exmaple: |
|
|
174 | |
|
|
175 | @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background |
168 | |
176 | |
169 | =item block-graphics-to-ascii |
177 | =item block-graphics-to-ascii |
170 | |
178 | |
171 | A not very useful example of filtering all text output to the terminal, |
179 | A not very useful example of filtering all text output to the terminal, |
172 | by replacing all line-drawing characters (U+2500 .. U+259F) by a |
180 | by replacing all line-drawing characters (U+2500 .. U+259F) by a |
… | |
… | |
951 | Here is a a likely non-exhaustive list of option names, please see the |
959 | Here is a a likely non-exhaustive list of option names, please see the |
952 | source file F</src/optinc.h> to see the actual list: |
960 | source file F</src/optinc.h> to see the actual list: |
953 | |
961 | |
954 | borderLess console cursorBlink cursorUnderline hold iconic insecure |
962 | borderLess console cursorBlink cursorUnderline hold iconic insecure |
955 | intensityStyles jumpScroll loginShell mapAlert meta8 mouseWheelScrollPage |
963 | intensityStyles jumpScroll loginShell mapAlert meta8 mouseWheelScrollPage |
956 | pastableTabs pointerBlank reverseVideo scrollBar scrollBar_floating |
964 | override-redirect pastableTabs pointerBlank reverseVideo scrollBar |
957 | scrollBar_right scrollTtyKeypress scrollTtyOutput scrollWithBuffer |
965 | scrollBar_floating scrollBar_right scrollTtyKeypress scrollTtyOutput |
958 | secondaryScreen secondaryScroll skipBuiltinGlyphs transparent |
966 | scrollWithBuffer secondaryScreen secondaryScroll skipBuiltinGlyphs |
959 | tripleclickwords utmpInhibit visualBell |
967 | transparent tripleclickwords utmpInhibit visualBell |
960 | |
968 | |
961 | =item $value = $term->resource ($name[, $newval]) |
969 | =item $value = $term->resource ($name[, $newval]) |
962 | |
970 | |
963 | Returns the current resource value associated with a given name and |
971 | Returns the current resource value associated with a given name and |
964 | optionally sets a new value. Setting values is most useful in the C<init> |
972 | optionally sets a new value. Setting values is most useful in the C<init> |
… | |
… | |
981 | |
989 | |
982 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
990 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
983 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
991 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
984 | display_name embed ext_bwidth fade font geometry hold iconName |
992 | display_name embed ext_bwidth fade font geometry hold iconName |
985 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
993 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
986 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
994 | italicFont jumpScroll lineSpace loginShell mapAlert meta8 modifier |
987 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext_1 perl_ext_2 |
995 | mouseWheelScrollPage name override_redirect pastableTabs path perl_eval |
988 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
996 | perl_ext_1 perl_ext_2 perl_lib pointerBlank pointerBlankDelay |
989 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
997 | preeditType print_pipe pty_fd reverseVideo saveLines scrollBar |
990 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
998 | scrollBar_align scrollBar_floating scrollBar_right scrollBar_thickness |
991 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
999 | scrollTtyKeypress scrollTtyOutput scrollWithBuffer scrollstyle |
992 | shade term_name title transparent transparent_all tripleclickwords |
1000 | secondaryScreen secondaryScroll selectstyle shade term_name title |
993 | utmpInhibit visualBell |
1001 | transient_for transparent transparent_all tripleclickwords utmpInhibit |
|
|
1002 | visualBell |
994 | |
1003 | |
995 | =cut |
1004 | =cut |
996 | |
1005 | |
997 | sub resource($$;$) { |
1006 | sub resource($$;$) { |
998 | my ($self, $name) = (shift, shift); |
1007 | my ($self, $name) = (shift, shift); |
… | |
… | |
1591 | # we can't hope to reproduce the locale algorithm, so nuke LC_ALL and set LC_CTYPE. |
1600 | # we can't hope to reproduce the locale algorithm, so nuke LC_ALL and set LC_CTYPE. |
1592 | delete $env->{LC_ALL}; |
1601 | delete $env->{LC_ALL}; |
1593 | $env->{LC_CTYPE} = $self->{term}->locale; |
1602 | $env->{LC_CTYPE} = $self->{term}->locale; |
1594 | |
1603 | |
1595 | urxvt::term->new ($env, "popup", |
1604 | urxvt::term->new ($env, "popup", |
1596 | "--perl-lib" => "", "--perl-ext-common" => "", "-pty-fd" => -1, "-sl" => 0, "-b" => 0, |
1605 | "--perl-lib" => "", "--perl-ext-common" => "", |
|
|
1606 | "-pty-fd" => -1, "-sl" => 0, |
|
|
1607 | "-b" => 1, "-bd" => "grey80", "-bl", "-override-redirect", |
1597 | "--transient-for" => $self->{term}->parent, |
1608 | "--transient-for" => $self->{term}->parent, |
1598 | "-display" => $self->{term}->display_id, |
1609 | "-display" => $self->{term}->display_id, |
1599 | "-pe" => "urxvt-popup") |
1610 | "-pe" => "urxvt-popup") |
1600 | or die "unable to create popup window\n"; |
1611 | or die "unable to create popup window\n"; |
1601 | } |
1612 | } |