Here is the updated patch with the fallback to the old behavior if shelltemp is
set to true.

Le 28 févr. 2011 à 22:15, Vincent Berthoux a écrit :

> Hmm I didn't think about it, but I think I can do something by using
> the 'shelltemp' option, as the meaning more or less match the use of
> pipe, if we don't use pipes. We can show the command window as usual
> if 'shelltemp' is off, this way remaining backward compatible with the
> current behavior.
> 
> I'm going to investigate and send an updated patch
> 
> 
> 
> Le 28 févr. 2011 à 22:05, Bram Moolenaar a écrit :
> 
>> 
>> Vincent Berthoux wrote:
>> 
>>> This patch implement a pipe mechanism for the Win32 version of vim,
>>> it's benefits are :
>>> - No more temporary files for filtering
>>> - No console window opening while launching a shell command
>>> - Command results are directly displayed in the GVim window.
>>> With this patch, gvim behave the same way as gvim in Linux/Mac OS with
>>> regard to the shell.
>>> 
>>> Tested on : Windows7 x64 - GVim
>> 
>> Nice.
>> 
>> One reason to use a console is that some programs don't work without
>> one.  In rare cases it may cause the system to crash.  I'm not sure how
>> often this still happens with the check that you included, but perhaps
>> it also requires an option so that the user can switch off pipes when
>> they are not wanted?  Either globally or something that can be selected
>> per command.
>> 
>> -- 
>> ARTHUR:  Well, I AM king...
>> DENNIS:  Oh king, eh, very nice.  An' how'd you get that, eh?  By exploitin'
>>        the workers -- by 'angin' on to outdated imperialist dogma which
>>        perpetuates the economic an' social differences in our society!  If
>>        there's ever going to be any progress--
>>                                 The Quest for the Holy Grail (Monty Python)
>> 
>> /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
>> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
>> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>> \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
> 

Attachment: vim-win32-pipes.03_01_2011.patch
Description: Binary data

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui