Differences
This shows you the differences between the selected revisions of the page.
2015-12-18 | 2016-01-27 | ||
5.8 bugs 1346 + 1020: Session name (!N) and port number (!#) patterns for custom commands and terminal client path. (martin) | command pattern can be used for its side effect (martin) | ||
Line 27: | Line 27: | ||
| ''!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 (''?''). | | ||
- | | ''!`command`'' | Any | Replaced with output of given local console command. | | + | | ''!`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. | | ||