public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Matt Armstrong <matt@lickey.com>
To: cygwin@cygwin.com
Subject: Re: [ANN] Re: cyg-wrapper.sh
Date: Mon, 16 Dec 2002 19:04:00 -0000	[thread overview]
Message-ID: <874r9dv6yf.fsf@squeaker.lickey.com> (raw)
In-Reply-To: <20021212225044.GA42218223@ORLYN> (Luc Hermitte's message of "Thu, 12 Dec 2002 23:50:44 +0100")

Luc Hermitte <hermitte@free.fr> writes:

> Hello Matt,
>
> * On Tue, Dec 10, 2002 at 09:38:02AM -0700, Matt Armstrong
> * <matt@lickey.com> 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/

  reply	other threads:[~2002-12-17  0:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 19:33 [ANN] cyg-wrapper.sh Luc Hermitte
2002-12-07 23:43 ` Soren A
2002-12-08 11:49   ` [ANN] cyg-wrapper.sh Luc Hermitte
2002-12-09 15:44     ` Soren A
2002-12-10  8:59 ` [ANN] cyg-wrapper.sh Matt Armstrong
2002-12-12 18:59   ` [ANN] cyg-wrapper.sh Luc Hermitte
2002-12-16 19:04     ` Matt Armstrong [this message]
2002-12-17  8:33       ` Luc Hermitte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874r9dv6yf.fsf@squeaker.lickey.com \
    --to=matt@lickey.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).