… | |
… | |
959 | 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 |
960 | source file F</src/optinc.h> to see the actual list: |
960 | source file F</src/optinc.h> to see the actual list: |
961 | |
961 | |
962 | borderLess console cursorBlink cursorUnderline hold iconic insecure |
962 | borderLess console cursorBlink cursorUnderline hold iconic insecure |
963 | intensityStyles jumpScroll loginShell mapAlert meta8 mouseWheelScrollPage |
963 | intensityStyles jumpScroll loginShell mapAlert meta8 mouseWheelScrollPage |
964 | pastableTabs pointerBlank reverseVideo scrollBar scrollBar_floating |
964 | override-redirect pastableTabs pointerBlank reverseVideo scrollBar |
965 | scrollBar_right scrollTtyKeypress scrollTtyOutput scrollWithBuffer |
965 | scrollBar_floating scrollBar_right scrollTtyKeypress scrollTtyOutput |
966 | secondaryScreen secondaryScroll skipBuiltinGlyphs transparent |
966 | scrollWithBuffer secondaryScreen secondaryScroll skipBuiltinGlyphs |
967 | tripleclickwords utmpInhibit visualBell |
967 | transparent tripleclickwords utmpInhibit visualBell |
968 | |
968 | |
969 | =item $value = $term->resource ($name[, $newval]) |
969 | =item $value = $term->resource ($name[, $newval]) |
970 | |
970 | |
971 | Returns the current resource value associated with a given name and |
971 | Returns the current resource value associated with a given name and |
972 | 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> |
… | |
… | |
989 | |
989 | |
990 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
990 | answerbackstring backgroundPixmap backspace_key boldFont boldItalicFont |
991 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
991 | borderLess color cursorBlink cursorUnderline cutchars delete_key |
992 | display_name embed ext_bwidth fade font geometry hold iconName |
992 | display_name embed ext_bwidth fade font geometry hold iconName |
993 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
993 | imFont imLocale inputMethod insecure int_bwidth intensityStyles |
994 | italicFont jumpScroll lineSpace loginShell mapAlert menu meta8 modifier |
994 | italicFont jumpScroll lineSpace loginShell mapAlert meta8 modifier |
995 | mouseWheelScrollPage name pastableTabs path perl_eval perl_ext_1 perl_ext_2 |
995 | mouseWheelScrollPage name override_redirect pastableTabs path perl_eval |
996 | perl_lib pointerBlank pointerBlankDelay preeditType print_pipe pty_fd |
996 | perl_ext_1 perl_ext_2 perl_lib pointerBlank pointerBlankDelay |
997 | reverseVideo saveLines scrollBar scrollBar_align scrollBar_floating |
997 | preeditType print_pipe pty_fd reverseVideo saveLines scrollBar |
998 | scrollBar_right scrollBar_thickness scrollTtyKeypress scrollTtyOutput |
998 | scrollBar_align scrollBar_floating scrollBar_right scrollBar_thickness |
999 | scrollWithBuffer scrollstyle secondaryScreen secondaryScroll selectstyle |
999 | scrollTtyKeypress scrollTtyOutput scrollWithBuffer scrollstyle |
1000 | shade term_name title transparent transparent_all tripleclickwords |
1000 | secondaryScreen secondaryScroll selectstyle shade term_name title |
1001 | utmpInhibit visualBell |
1001 | transient_for transparent transparent_all tripleclickwords utmpInhibit |
|
|
1002 | visualBell |
1002 | |
1003 | |
1003 | =cut |
1004 | =cut |
1004 | |
1005 | |
1005 | sub resource($$;$) { |
1006 | sub resource($$;$) { |
1006 | my ($self, $name) = (shift, shift); |
1007 | my ($self, $name) = (shift, shift); |
… | |
… | |
1599 | # 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. |
1600 | delete $env->{LC_ALL}; |
1601 | delete $env->{LC_ALL}; |
1601 | $env->{LC_CTYPE} = $self->{term}->locale; |
1602 | $env->{LC_CTYPE} = $self->{term}->locale; |
1602 | |
1603 | |
1603 | urxvt::term->new ($env, "popup", |
1604 | urxvt::term->new ($env, "popup", |
1604 | "--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", |
1605 | "--transient-for" => $self->{term}->parent, |
1608 | "--transient-for" => $self->{term}->parent, |
1606 | "-display" => $self->{term}->display_id, |
1609 | "-display" => $self->{term}->display_id, |
1607 | "-pe" => "urxvt-popup") |
1610 | "-pe" => "urxvt-popup") |
1608 | or die "unable to create popup window\n"; |
1611 | or die "unable to create popup window\n"; |
1609 | } |
1612 | } |