delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/21/09:13:28

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: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 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=-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 AT dyndns DOT 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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Need general snapshot testers
Message-ID: <20140221141302.GA1492@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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> <179706920 DOT 20140221161711 AT yandex DOT ru>
MIME-Version: 1.0
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

- Raw text -


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