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 User-Agent: Mutt/1.4i Hamster-Fr/2.0.1.10 Date: Thu, 15 May 2003 06:39:43 +0200 From: Luc Hermitte To: cygwin AT cygwin DOT com Subject: Re: Does cygstart always expand arguments? Message-ID: <20030515043942.GA4312@Orlyn> References: <3EC1A7A6 DOT 7020504 AT kleckner DOT net> <3EC2E7BB DOT 5080703 AT mscha DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EC2E7BB.5080703@mscha.org> Hello, * On Thu, May 15, 2003 at 03:04:59AM +0200, Michael Schaap wrote: > Jim Kleckner wrote: > > >If anyone cares, here is a small bash snippet that will create either > >a shell alias or a function to figure out which version of > >gvim/vim/vimx/vi is available to use. [...] > Here's mine: [...] Based on your two snippets [1], I have upgraded cyg-wrapper.sh to support a new option: --fork=2. The big difference with the two other solutions: it can follow symbolic links ; a very important feature for people like that have a lot of symbolic links. :) It also has some other interresting features: it is not restricted to gvim, it can transform/unset CYGWIN environment variables, etc. [1] Actually I've used cygstart as Igor did in order to make gvim (or anything else) session not owned by the shell. Oddly I wasn't able to make disown work. -- Luc Hermitte http://hermitte.free.fr/cygwin/#Win32 -- 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/