delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/21/02:41:36

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=FIycWvr6s9vE0yp3GjsWMUlQ2UYLiPxPs/3YxmqxzEA
/fOIqTzxGgiUty2YXmy1acoDA/OPl651uvUbARb0yBNXmUDCA9DTVHQObXuLNHCK
7AuCJikLX8rqX/unW/EKcAeD1H90qdeDcrZHa8kIOeeBa0Du1kKyuRH4KojSz4Cs
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=d0xIi/IEVABQh7aP1kNikF+nImI=; b=KUezUfDLMxeY5noI/
6aWhnK2LpM/8Q7psdF41jXzbKccO7DrxTMkB8PaNFDGpIvJte2H1NoNppsNGawWX
nSOD23464vJVx2tux6UMSxIeoFZAh/RZHWGeyovZCwbq0q+gwp1YCKosSCpdVWiF
UFyhANCblQsUmEqMfnVeV7DmMg=
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.1 required=5.0 tests=AWL,BAYES_50,FOREIGN_BODY,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2
X-HELO: moutng.kundenserver.de
Message-ID: <53070313.8090608@towo.net>
Date: Fri, 21 Feb 2014 08:41:07 +0100
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Need general snapshot testers
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>
In-Reply-To: <945473572.20140220052622@yandex.ru>
X-TagToolbar-Keys: D20140221084107373
X-IsSubscribed: yes

Am 20.02.2014 02:26, schrieb Andrey Repin:
> Greetings, Thomas Wolff!
>
>>>> 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.
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;-)
------
Thomas

---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com


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