… | |
… | |
523 | PrivMode_Screen, PrivMode_Autowrap, PrivMode_aplCUR, PrivMode_aplKP, |
523 | PrivMode_Screen, PrivMode_Autowrap, PrivMode_aplCUR, PrivMode_aplKP, |
524 | PrivMode_HaveBackSpace, PrivMode_BackSpace, PrivMode_ShiftKeys, |
524 | PrivMode_HaveBackSpace, PrivMode_BackSpace, PrivMode_ShiftKeys, |
525 | PrivMode_VisibleCursor, PrivMode_MouseX10, PrivMode_MouseX11, |
525 | PrivMode_VisibleCursor, PrivMode_MouseX10, PrivMode_MouseX11, |
526 | PrivMode_scrollBar, PrivMode_TtyOutputInh, PrivMode_Keypress, |
526 | PrivMode_scrollBar, PrivMode_TtyOutputInh, PrivMode_Keypress, |
527 | PrivMode_smoothScroll, PrivMode_vt52, PrivMode_LFNL, PrivMode_MouseBtnEvent, |
527 | PrivMode_smoothScroll, PrivMode_vt52, PrivMode_LFNL, PrivMode_MouseBtnEvent, |
528 | PrivMode_MouseAnyEvent, PrivMode_BracketPaste, PrivMode_ExtModeMouse, |
528 | PrivMode_MouseAnyEvent, PrivMode_BracketPaste, PrivMode_ExtMouseUTF8, |
529 | PrivMode_ExtMouseRight, PrivMode_BlinkingCursor, PrivMode_mouse_report, |
529 | PrivMode_ExtMouseUrxvt, PrivMode_BlinkingCursor, PrivMode_mouse_report, |
530 | PrivMode_Default |
530 | PrivMode_Default |
531 | |
531 | |
532 | Constants for checking DEC private modes. |
532 | Constants for checking DEC private modes. |
533 | |
533 | |
534 | =back |
534 | =back |
… | |
… | |
729 | @TERM_EXT = (); |
729 | @TERM_EXT = (); |
730 | $TERM->register_package ($_) for @pkg; |
730 | $TERM->register_package ($_) for @pkg; |
731 | } |
731 | } |
732 | |
732 | |
733 | for ( |
733 | for ( |
|
|
734 | @{ delete $TERM->{perl_ext_3} }, |
734 | (grep $_, map { split /,/, $TERM->resource ("perl_ext_$_") } 1, 2), |
735 | (grep $_, map { split /,/, $TERM->resource ("perl_ext_$_") } 1, 2), |
735 | @{ delete $TERM->{perl_ext_3} } |
|
|
736 | ) { |
736 | ) { |
737 | if ($_ eq "default") { |
737 | if ($_ eq "default") { |
738 | |
738 | |
739 | $ext_arg{$_} = [] |
739 | $ext_arg{$_} = [] |
740 | for qw(selection option-popup selection-popup readline searchable-scrollback); |
740 | for qw(selection option-popup selection-popup readline searchable-scrollback confirm-paste); |
741 | |
741 | |
742 | for ($TERM->_keysym_resources) { |
742 | for ($TERM->_keysym_resources) { |
743 | next if /^(?:string|command|builtin|builtin-string|perl)/; |
743 | next if /^(?:string|command|builtin|builtin-string|perl)/; |
744 | next unless /^([A-Za-z0-9_\-]+):/; |
744 | next unless /^([A-Za-z0-9_\-]+):/; |
745 | |
745 | |
… | |
… | |
1284 | insecure intensityStyles iso14755 iso14755_52 jumpScroll loginShell |
1284 | insecure intensityStyles iso14755 iso14755_52 jumpScroll loginShell |
1285 | mapAlert meta8 mouseWheelScrollPage override_redirect pastableTabs |
1285 | mapAlert meta8 mouseWheelScrollPage override_redirect pastableTabs |
1286 | pointerBlank reverseVideo scrollBar scrollBar_floating scrollBar_right |
1286 | pointerBlank reverseVideo scrollBar scrollBar_floating scrollBar_right |
1287 | scrollTtyKeypress scrollTtyOutput scrollWithBuffer secondaryScreen |
1287 | scrollTtyKeypress scrollTtyOutput scrollWithBuffer secondaryScreen |
1288 | secondaryScroll skipBuiltinGlyphs skipScroll transparent tripleclickwords |
1288 | secondaryScroll skipBuiltinGlyphs skipScroll transparent tripleclickwords |
1289 | urgentOnBell utmpInhibit visualBell |
1289 | urgentOnBell utmpInhibit visualBell disablePasteBrackets |
1290 | |
1290 | |
1291 | =item $value = $term->resource ($name[, $newval]) |
1291 | =item $value = $term->resource ($name[, $newval]) |
1292 | |
1292 | |
1293 | Returns the current resource value associated with a given name and |
1293 | Returns the current resource value associated with a given name and |
1294 | optionally sets a new value. Setting values is most useful in the C<init> |
1294 | optionally sets a new value. Setting values is most useful in the C<init> |
… | |
… | |
1320 | preeditType print_pipe pty_fd reverseVideo saveLines scrollBar |
1320 | preeditType print_pipe pty_fd reverseVideo saveLines scrollBar |
1321 | scrollBar_align scrollBar_floating scrollBar_right scrollBar_thickness |
1321 | scrollBar_align scrollBar_floating scrollBar_right scrollBar_thickness |
1322 | scrollTtyKeypress scrollTtyOutput scrollWithBuffer scrollstyle |
1322 | scrollTtyKeypress scrollTtyOutput scrollWithBuffer scrollstyle |
1323 | secondaryScreen secondaryScroll shade skipBuiltinGlyphs skipScroll |
1323 | secondaryScreen secondaryScroll shade skipBuiltinGlyphs skipScroll |
1324 | term_name title transient_for transparent tripleclickwords urgentOnBell |
1324 | term_name title transient_for transparent tripleclickwords urgentOnBell |
1325 | utmpInhibit visualBell |
1325 | utmpInhibit visualBell rewrapMode disablePasteBrackets |
1326 | |
1326 | |
1327 | =cut |
1327 | =cut |
1328 | |
1328 | |
1329 | sub resource($$;$) { |
1329 | sub resource($$;$) { |
1330 | my ($self, $name) = (shift, shift); |
1330 | my ($self, $name) = (shift, shift); |