Differences

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

2011-09-02 2011-09-02
elaborate on option abort values (martin) behaviout of option abort for choice prompts with default answer (martin)
Line 282: Line 282:
^ Option          ^ Values and description ^ ^ Option          ^ Values and description ^
| ''echo''        | ''%%off|on%%'' \\ Toggles echoing of command being executed. \\ Commands affected: all | | ''echo''        | ''%%off|on%%'' \\ Toggles echoing of command being executed. \\ Commands affected: all |
-| ''batch''      | ''%%off|on|abort|continue%%'' \\ Enables batch mode. In batch mode, all choice prompts are automatically replied and all input prompts are cancelled (after short time interval). \\ In batch mode, it is recommended to set ''confirm'' to ''off'' to allow overwrites. \\ When set to ''on'' all choice prompts are automatically replied negatively. \\ Value ''abort'' is like ''on''. In addition the script is aborted, when any script command fails or any choice prompt is replied with "Abort" answer (or similar). \\ When set to ''continue'' choice prompts are automatically replied with "Skip", "Ignore" or similar answer. \\ Commands affected: nearly all |+| ''batch''      | ''%%off|on|abort|continue%%'' \\ Enables batch mode. In batch mode, any choice prompt is automatically replied and any input prompt is cancelled (after short time interval). \\ In batch mode, it is recommended to set ''confirm'' to ''off'' to allow overwrites. \\ When set to ''on'' any choice prompt is automatically replied negatively. Unless the prompt has different default answer (such as default "Reconnect" answer for reconnect prompt), in what case the default answer is used (after short time interval). \\ Value ''abort'' is like ''on''. In addition the script is aborted, when any script command fails or any choice prompt is replied with "Abort" answer (or similar). \\ When set to ''continue'' any choice prompt is automatically replied with "Skip", "Ignore" or similar answer. \\ Commands affected: nearly all |
| ''confirm''    | ''%%off|on%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' | | ''confirm''    | ''%%off|on%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' |
| ''transfer''    | ''%%binary|ascii|automatic%%'' \\ [[transfer_mode|Transfer mode]]: binary, ascii (text), automatic (by extension). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' | | ''transfer''    | ''%%binary|ascii|automatic%%'' \\ [[transfer_mode|Transfer mode]]: binary, ascii (text), automatic (by extension). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' |