From: Soren A <sor...@fa...> - 2002-12-12 08:31:13
|
Soren A <soren_andersen=97j...@pu...> wrote around 09 Dec 2002 news:Xns92DFC906AB2CDsoren1Gmane@80.91.224.249: > I'd like to share the script I use to start Win32 GVIM instances from > MSYS shell. That information has now been published at: > > http://home.att.net/~perlspinr/vim/VIMhelpers.html > > On that page there exists scripts for both Cygwin and MSYS users. I also wrote subsequently: I developed the above shell program under Windows98SE. With testing under WinNT I have determined that it is likely that there will be unwelcome complications for users of those OS'; namely, that the bash shell will "hang" while the child process is running. This arises from the fact that the workings of the & shell operator (directive to place the new process in the background) does not work the same on Win9x as it does in NT, that is across the board in Cygwin (and its derivative MSYS). I have known this for a long time but forgot it when I posted the scripts under discussion. Essentially under 9x, '&' does the opposite of what it is supposed to do. The rearrangement of the last few lines of the scripts posted on the aforementioned url, such that '&' is added where needed, fixes the problem of the shell hanging around (of not placing the process into the background under NT). Thus different versions are req'd for NT vs. 9x use. That's a complication I am not eager to address right away so I hope that interested users can just figure it out for themselves until I get around to writing a clean update to take care of this. Well, I have updated the scripts and now they should work -- do work, TTBOMK based on the various setups I have available to me to test on (permutations of Windows Operating Systems, versions of GVIM and Cygwin, etc). As always, YMMV, no warrenty whatsoever. Best, Soren A -- "So, tell me, my little one-eyed one, on what poor, pitiful, defenseless planet has my MONSTROSITY been unleashed?" - Dr. Jumba, Disney's "Lilo & Stitch" |