diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-02-20 22:18:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-02-20 22:18:30 +0100 |
commit | f66b3fcf6ce2801e3f378827e0ed19596901a9ba (patch) | |
tree | 46a1543aae183a8b03ce18b3572d57e04656e3f2 /runtime | |
parent | 034b115568a1fc40b374b0b755d89f0a40f6d940 (diff) | |
download | vim-git-f66b3fcf6ce2801e3f378827e0ed19596901a9ba.tar.gz |
updated for version 7.3.446v7.3.446
Problem: Win32: External commands with special characters don't work.
Solution: Add the 'shellxescape' option.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 0616857be..2836be5d5 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6043,8 +6043,9 @@ A jump table for the options with a short description can be found at |Q_op|. *'shellxquote'* *'sxq'* 'shellxquote' 'sxq' string (default: ""; - for Win32, when 'shell' is cmd.exe or - contains "sh" somewhere: "\"" + for Win32, when 'shell' is cmd.exe: "(" + for Win32, when 'shell' contains "sh" + somewhere: "\"" for Unix, when using system(): "\"") global {not in Vi} @@ -6052,6 +6053,9 @@ A jump table for the options with a short description can be found at |Q_op|. the "!" and ":!" commands. Includes the redirection. See 'shellquote' to exclude the redirection. It's probably not useful to set both options. + When the value is '(' then ')' is appended. When the value is '"(' + then ')"' is appended. + When the value is '(' then also see 'shellxescape'. This is an empty string by default on most systems, but is known to be useful for on Win32 version, either for cmd.exe which automatically strips off the first and last quote on a command, or 3rd-party shells @@ -6061,6 +6065,16 @@ A jump table for the options with a short description can be found at |Q_op|. This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. + *'shellxescape'* *'sxe'* +'shellxescape' 'sxe' string (default: ""; + for MS-DOS and MS-Windows: "\"&|<>()@^") + global + {not in Vi} + When 'shellxquote' is set to "(" then the characters listed in this + option will be escaped with a '^' character. This makes it possible + to execute most external commands with cmd.exe. + + *'shiftround'* *'sr'* *'noshiftround'* *'nosr'* 'shiftround' 'sr' boolean (default off) global |