Differences

This shows you the differences between the selected revisions of the page.

2016-05-24 2016-06-22
5.8.3 Local path pattern (!\) for custom commands. (martin) 5.8.4 Run time options for extensions. (martin)
Line 27: Line 27:
| ''!#''  | Any          | Current session port number. &beta_feature | | ''!#''  | Any          | Current session port number. &beta_feature |
| ''!N''  | Any          | Current session name. &beta_feature | | ''!N''  | Any          | Current session name. &beta_feature |
-| ''!?prompt[\]?default!'' | Any | When used, user is prompted to enter value that replaces the pattern. ''prompt'' can define a message of the prompt and ''default'' a default value, both can be empty. Special characters entered by user are automatically delimited. You can prohibit this using optional backslash (''\'') before second question mark (''?''). |+| ''!?prompt[\]?default!'' | Any | When used, user is prompted to enter value that replaces the pattern. ''prompt'' can define a message of the prompt and ''default'' a default value, both can be empty. Special characters entered by user are automatically delimited. You can prohibit this using optional backslash (''\'') before second question mark (''?''). \\ When implementing an [[extension]], use a runtime [[extension#options|option]] instead, as a more flexible alternative. |
| ''!`command`'' | Any | Replaced with output of a given local console command. \\ The command can also be used solely for its side effect, without actually outputting anything. | | ''!`command`'' | Any | Replaced with output of a given local console command. \\ The command can also be used solely for its side effect, without actually outputting anything. |
| ''%%!^!%%''    | Local        | Full path to a local file. In general it should be used in a combination with ''!'' or ''!&''. Command with the pattern will be executed once for every selected local file, unless only one local file and several remote files are selected and pattern ''!'' is used. Cannot be executed recursively. | | ''%%!^!%%''    | Local        | Full path to a local file. In general it should be used in a combination with ''!'' or ''!&''. Command with the pattern will be executed once for every selected local file, unless only one local file and several remote files are selected and pattern ''!'' is used. Cannot be executed recursively. |

Last modified: by martin