… | |
… | |
1085 | As with any resource value, the I<action> string may contain backslash |
1085 | As with any resource value, the I<action> string may contain backslash |
1086 | escape sequences (C<\n>: newline, C<\\>: backslash, C<\000>: octal |
1086 | escape sequences (C<\n>: newline, C<\\>: backslash, C<\000>: octal |
1087 | number), see RESOURCES in C<man 7 X> for further details. |
1087 | number), see RESOURCES in C<man 7 X> for further details. |
1088 | |
1088 | |
1089 | An action starts with an action prefix that selects a certain type |
1089 | An action starts with an action prefix that selects a certain type |
1090 | of action, followed by a colon. An action strings without colons is |
1090 | of action, followed by a colon. An action string without colons is |
1091 | interpreted as a literal string to pass to the tty (as if they were |
1091 | interpreted as a literal string to pass to the tty (as if it was |
1092 | prefixed with C<string:>). |
1092 | prefixed with C<string:>). |
1093 | |
1093 | |
1094 | The following action prefixes are known - extensions can provide |
1094 | The following action prefixes are known - extensions can provide |
1095 | additional prefixes: |
1095 | additional prefixes: |
1096 | |
1096 | |
… | |
… | |
1210 | use in this terminal instance; option B<-pe>. |
1210 | use in this terminal instance; option B<-pe>. |
1211 | |
1211 | |
1212 | Extension names can be prefixed with a C<-> sign to prohibit using |
1212 | Extension names can be prefixed with a C<-> sign to prohibit using |
1213 | them. This can be useful to selectively disable some extensions loaded |
1213 | them. This can be useful to selectively disable some extensions loaded |
1214 | by default, or specified via the C<perl-ext-common> resource. For |
1214 | by default, or specified via the C<perl-ext-common> resource. For |
1215 | example, C<default,-selection> will use all the default extension except |
1215 | example, C<default,-selection> will use all the default extensions except |
1216 | C<selection>. |
1216 | C<selection>. |
1217 | |
1217 | |
1218 | Some extensions define resources or command line switches, and will |
1218 | The default set includes the C<selection>, C<option-popup>, |
1219 | automatically be used when their resource or switch is specified. |
1219 | C<selection-popup> and C<readline> extensions, any extensions that define |
|
|
1220 | keybindings via C<BINDING> meta comments, extensions loaded because |
|
|
1221 | their resources/commandline switches were used, and extensions which are |
|
|
1222 | mentioned in B<keysym> resources. |
1220 | |
1223 | |
1221 | Each extension is looked up in the library directories, loaded if |
1224 | Each extension is looked up in the library directories, loaded if |
1222 | necessary, and bound to the current terminal instance. |
1225 | necessary, and bound to the current terminal instance. When the library |
|
|
1226 | search path contains multiple extension files of the same name, then the |
|
|
1227 | first one found will be used. |
1223 | |
1228 | |
1224 | If both of these resources are the empty string, then the perl interpreter |
1229 | If both of these resources are the empty string, then the perl interpreter |
1225 | will not be initialized. The rationale for having two options is that |
1230 | will not be initialized. The rationale for having two options is that |
1226 | B<perl-ext-common> will be used for extensions that should be available to |
1231 | B<perl-ext-common> will be used for extensions that should be available to |
1227 | all instances, while B<perl-ext> is used for specific instances. |
1232 | all instances, while B<perl-ext> is used for specific instances. |