From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3959 invoked by alias); 17 Dec 2002 00:13:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3937 invoked from network); 17 Dec 2002 00:13:08 -0000 Received: from unknown (HELO hank.lickey.com) (64.81.100.235) by sources.redhat.com with SMTP; 17 Dec 2002 00:13:08 -0000 Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 47A97EE3F for ; Mon, 16 Dec 2002 17:13:07 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id 406DCBF75 for ; Mon, 16 Dec 2002 17:13:05 -0700 (MST) Received: by squeaker.lickey.com (Postfix, from userid 1000) id 96468BF66; Mon, 16 Dec 2002 17:12:58 -0700 (MST) To: cygwin@cygwin.com Subject: Re: [ANN] Re: cyg-wrapper.sh References: <20021206013757.GA976927@ORLYN> <87adjd3k45.fsf@squeaker.lickey.com> <20021212225044.GA42218223@ORLYN> From: Matt Armstrong Date: Mon, 16 Dec 2002 19:04:00 -0000 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 X-SW-Source: 2002-12/txt/msg00863.txt.bz2 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/