X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <CANhU=OgrNxMpHStRVjG+Pf_kQtZDECw6Oa7yL7vXnu63-Y9F9Q@mail.gmail.com>
References: <CANhU=OgrNxMpHStRVjG+Pf_kQtZDECw6Oa7yL7vXnu63-Y9F9Q@mail.gmail.com>
Date: Thu, 26 Jul 2012 09:27:50 -0400
Message-ID: <CA+sc5mmbV-vtGRe2eDw6kx7AUkAKaeWYU9nUMzMBw2AabUH1zQ@mail.gmail.com>
Subject: Re: environment variables & mks toolkit - patch opportunity?
From: Earnie Boyd <earnie@users.sourceforge.net>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, Jul 25, 2012 at 6:43 PM, M. Sebastian Comella wrote:
> My question is this: is there an opportunity to patch something in
> Cygwin's startup "chain" to detect unsavory environment variables and
> warn users in some fashion?

Create a .bat file that is used in the desktop shortcut to start
Cygwin.  You can add or remove what ever variables need to be added or
removed.  Copy the start command from the desktop shortcut to use as
the command once the environment is set.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

