Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00eb01c437d9$d30c3500$c3dc3680@yupeng> From: "Peng Yu" To: "Luc Hermitte" , References: <024501c437af$fc990df0$c3dc3680 AT yupeng> <40A18B2B DOT 2010305 AT ateb DOT com> <00ae01c437cb$453386b0$c3dc3680 AT yupeng> <20040512030840 DOT GC204 AT jade> Subject: Re: How to start windows version gvim for cygwin correctly? Date: Tue, 11 May 2004 21:30:15 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-MailScanner: PASSED (v1.2.8 51086 i4C4UI1p062530 mailbox6.ucsd.edu) X-IsSubscribed: yes Thank you for you script. I don't change $HOME, $VIM, $VIMRUNTIME in cygwin, because I'm afraid there are some potential conflicts. Do I have to worry about that. Instead, I add the -i and -u option to invoke gvim. It works. BTW, what's the best place to store cyg-wrapper.sh . I store it to /usr/bin. Is /bin better? alias gvim='cyg-wrapper.sh "D:/Progra~1/vim/vim61/gvim.exe -u D:/Progra~1/vim/_vimrc -i D:/Progra~1/vim/_viminfo" --binary-opt=-c,--cmd,-T,-t,--servername,--remote- send,--remote-expr --cyg-verbose --fork=2' ----- Original Message ----- From: "Luc Hermitte" To: Sent: Tuesday, May 11, 2004 8:08 PM Subject: Re: How to start windows version gvim for cygwin correctly? > * On Tue, May 11, 2004 at 07:46:04PM -0700, Peng Yu wrote: > > But I can not change the directory "Programs Files" to other names. > > Is there anyway to include blank in the alias command? > > I made cyg-wrapper.sh [1] to launch gVim-win32 (at first) from cygwin, > but it should not solve your problem which is probably specific to vim. > > Unless .... > Are your environment variables ($HOME, $VIM, $VIMRUNTIME) different > within cygwin and windows ? If so, fix this. > > [1] http://hermitte.free.fr/cygwin/#Win32 > -- > Luc Hermitte > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/