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:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=PRKnzHRBDcZVx8CP
	ATdfoV9tCIKHiJUa/KyhIxpqS42enc5MBGwUqRXvY5OnOoiuN0TJB6MUX1g5tdPr
	AcJfss5WJfFLyyNjqKWB8gw2j5kj4KIpQiYoR5fK8Uhwg841CD+OUBjJjAcrVw8Q
	pbkXR1e7MHxu1s1UfnJQtOq7dVQ=
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:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=G2YnRzJNCBUja7X+kVONuj
	jYw0I=; b=MqAgmzrvITarGytAjvellbHT7bfcWiBbaK3EGwbZRSSsmzjeQERzDz
	3xfgx4Ncrsggk4+r4fzahhBqeaBXOHaTxuU8nwHP0J6eMLthKrun0WMmdgmG/zj8
	LYzoZRVl7rFgSJtG9F9I5CaP1+Cdt/GL5D3yRj3lLthIZbj81T288=
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=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Fri, 21 Feb 2014 16:17:11 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <179706920.20140221161711@yandex.ru>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: Need general snapshot testers
In-Reply-To: <20140221085233.GX2246@calimero.vinschen.de>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

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


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 21.02.2014, <16:15>

Sorry for my terrible english...


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

