delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/21/07:20:32

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <179706920.20140221161711@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: Need general snapshot testers
In-Reply-To: <20140221085233.GX2246@calimero.vinschen.de>
References: <20140218190809 DOT GA4395 AT ednor DOT casa DOT cgf DOT cx> <5305141C DOT 7070901 AT towo DOT net> <1255411108 DOT 20140220022456 AT yandex DOT ru> <530535DB DOT 7060200 AT towo DOT net> <945473572 DOT 20140220052622 AT yandex DOT ru> <53070313 DOT 8090608 AT towo DOT net> <166225961 DOT 20140221114928 AT yandex DOT ru> <20140221085233 DOT GX2246 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
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 AT yandex DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019