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 To: cygwin AT cygwin DOT com Subject: Re: [ANN] Re: cyg-wrapper.sh References: <20021206013757 DOT GA976927 AT ORLYN> <87adjd3k45 DOT fsf AT squeaker DOT lickey DOT com> <20021212225044 DOT GA42218223 AT ORLYN> From: Matt Armstrong Date: Mon, 16 Dec 2002 17:12:56 -0700 In-Reply-To: <20021212225044.GA42218223@ORLYN> (Luc Hermitte's message of "Thu, 12 Dec 2002 23:50:44 +0100") Message-ID: <874r9dv6yf.fsf@squeaker.lickey.com> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS snapshot-20020300 Luc Hermitte writes: > Hello Matt, > > * On Tue, Dec 10, 2002 at 09:38:02AM -0700, Matt Armstrong > * wrote: >> Luc, you might consider adding an option to unset the PWD environment >> variable (or convert it to a Windows path). > > That's done. I haven't done any test with perforce, so, let me know. > > The two new options are: > --cyg-PWD-clear : to unset PWD > --cyg-PWD-convert : to convert PWD to its DOS (short) form. > > I was considering to handle other environment variables, but I > didn't see any good candidate -- ie. environment variables specific > to bash or cygwin that win32 native applications may also use. SHELL. Today I discovered the NT port of emacs uses "SHELL" if set, so it ends up getting its shell set to /usr/bin/zsh. Emacs looks for c:\usr\bin\zsh.exe, but it is really c:\cygwin\usr\bin\zsh.exe. The solution was to clear the SHELL env var, since I didn't want emacs using my cygwin shell. HOME is also probably a good idea to convert into DOS form. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/