X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D711B41.3030601@cpan.org>
References: <4D6F690F.9010100@cpan.org>	<AANLkTimSwLjFOPk=v7HKfzjm1hdv+4MWfNBPEVYfsGbD@mail.gmail.com>	<4D6FDE68.8040705@cpan.org>	<AANLkTi=uYO0M0FNk6RJKoeDsEUz5PtwNjw5FogsGzdvQ@mail.gmail.com>	<4D711B41.3030601@cpan.org>
Date: Sat, 5 Mar 2011 12:53:04 +0000
Message-ID: <AANLkTinROaX4gN_vm=WBRGm7oF_Rscb5C5CCUEXHC_-y@mail.gmail.com>
Subject: Re: Detect mintty in .zshrc?
From: Andy Koppe <andy.koppe@gmail.com>
To: rkitover@cpan.org, 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 4 March 2011 17:02, Rafael Kitover wrote:
> When I installed SUA (and haven't played with it yet) it for some reason
> set TERM=dumb in my control panel env vars.

That's not very neighbourly.

> Cygwin apparently only sets
> it to 'cygwin' if it's initially unset, which makes sense.

Hmm, perhaps it should override it with 'cygwin' depending on whether
the standard FDs are hooked up to a console.

Andy

--
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

