X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=R062uOdZGPkAiEForKaH1xE2nGrb5ec2GrpS5SPRDGx3eXFBOw44N
	s3B7y2Go1XLSvLwPcB/hqlTegNUoWwNOV5eLCcpoAtRGaMD2ir4hBhIqbMkaJ+AQ
	74IVOsW66RNoy3ySAm1BF2q0VGXOPEY1FCfafmWCIr+NIm7Wauosuk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=6CB+NO3tI3+cymNGVdYz2HrJD5w=; b=GeOwXHyBhCeyHvVSgY6WVGXOTq5l
	czvZV1bD1pASJ8PD0MqUaqNWUPyWO0c/xhTjo87PUsfRPCGj7W3BxA/mk0FLRY85
	eDe9XHDipYiWnbx3TbfnBgegLA13WnLhDJFDQ3Hk94mFnuRxC4C1cFhg/ytWxksP
	XuSHRK00I7zCXXk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mho-01-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+oHIvx46ClZ6k7bIhHGMjp
Date: Fri, 21 Feb 2014 09:13:02 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Need general snapshot testers
Message-ID: <20140221141302.GA1492@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20140218190809.GA4395@ednor.casa.cgf.cx> <5305141C.7070901@towo.net> <1255411108.20140220022456@yandex.ru> <530535DB.7060200@towo.net> <945473572.20140220052622@yandex.ru> <53070313.8090608@towo.net> <166225961.20140221114928@yandex.ru> <20140221085233.GX2246@calimero.vinschen.de> <179706920.20140221161711@yandex.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <179706920.20140221161711@yandex.ru>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Fri, Feb 21, 2014 at 04:17:11PM +0400, Andrey Repin wrote:
>>> >>>>> Not specific to this snapshot but it happens when trying to test it:
>>> >>>>> If a cygwin console is started from a cygwin terminal (e.g. in mintty:
>>> >>>>> cygstart /Cygwin.bat), the TERM variable is set incorrectly.
>>> >>>>> Suggested fix: ... unset TERM to Cygwin.bat.
>>> >>>> unset would be better (more neutral) choice in a long-term, IMO.
>>> >>> Actually, unset doesn't exist in cmd (blush).
>>> >>> It should be "set TERM=" then.
>>> >> However you spell it :)
>>> >> Using same assignment in shell would have nearly equal results.
>>> > Having something like case `tty` in /dev/cons*) TERM=cygwin;; esac in 
>>> > /etc/profile would be a clumsy workaround and possibly have tricky glitches.
>>> 
>>> Except not every shell read /etc/profile
>>> 
>>> > My proposal catches the issue at its root in the simplest way.
>>> > I would provide a patch (if needed) if I had an idea in which package 
>>> > Cygwin.bat is hiding;-)
>>> 
>>> It's autogenerated.
>
>> ...by setup itself.  Changing this would require to create a new setup.
>> Is it worth it?
>
>It's not a priority, but something that needs fix.
>
>> I mean, how often do people start Cygwin.bat from
>> mintty?  I never occured to me to do that at all :}
>> And if so, why not just call it like this:
>
>>   $ TERM=cygwin cygstart /Cygwin.bat
>
>For that, you need to know, that you need to do it this way.

Can we PLEASE move this to another thread?  This has nothing to do with the
purpose of this thread.

cgf

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

