delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/21/03:52:56

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=mLk97FEHH6MFmc4r1MnMhm7sqN1PY6ibMJRLeJF8SA4CsKHtWX3x1
dGbzQv2UOQ+a/03G0IsoTuMT1A+BDzbf9E1UlXs7B6F6oxs/GOGZKvSCrIGXKwXu
zpZTL7ItOFtJih5dmItzqNybFhv7zb3JQ/HwmfDU5RX9wPk9vx6pUQ=
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=o75iH4lhyJpVtdtE1x+wwUWBatE=; b=XU3Wii3f9vis9gSzrSuhxNv+jLAQ
cVHZ/hnVYkacT9fC1cCiBnVakFqex0D7+1JJ6mdVElrRjzygogXyaAK/Xz90v76I
JeRVL+ToJ+YkrjJWouq6G8dbTCZ14e9P30iqmXLvSSmfaQPfKYm7s7BwtJWlx9JP
2qAB1TclCp9zhdE=
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=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 21 Feb 2014 09:52:33 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Need general snapshot testers
Message-ID: <20140221085233.GX2246@calimero.vinschen.de>
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>
MIME-Version: 1.0
In-Reply-To: <166225961.20140221114928@yandex.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)

--3uZa4G/ShncPgKeZ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 21 11:49, Andrey Repin wrote:
> Greetings, Thomas Wolff!
>=20
> >>>>> 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 mint=
ty:
> >>>>> 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=3D" then.
> >> However you spell it :)
> >> Using same assignment in shell would have nearly equal results.
> > Having something like case `tty` in /dev/cons*) TERM=3Dcygwin;; esac in=
=20
> > /etc/profile would be a clumsy workaround and possibly have tricky glit=
ches.
>=20
> Except not every shell read /etc/profile
>=20
> > 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=
=20
> > Cygwin.bat is hiding;-)
>=20
> It's autogenerated.

...by setup itself.  Changing this would require to create a new setup.
Is it worth it?  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=3Dcygwin cygstart /Cygwin.bat


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--3uZa4G/ShncPgKeZ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTBxPRAAoJEPU2Bp2uRE+gLX0QAKNhdRv1ZQIc1zLzZO7GebMo
n5iafW43z2wGklHWK3AyDTw5VrDp6YY/ctvEL5B86W2X2+9c71WzWeHZ73w+7PEa
oMCdZ5tMo3Ux9YplWfDmOphqLybwwUTVK/8L0/S1p4Kl/4Zj6dKDt0AmqTYTiD6k
9ZFQySNjLqIpLXglI4yT938SG4/fDNrbj/VHBEHcw5/DBM+tjfWedX7cxEhVEWxa
m1pC0ShVWLqlPcT4GIvz77iTqER5HUdXoMu/GJEZIcBNj6MMYKCMRCiNOMQ6PzKE
axcHF6aEVkjhOd+kUaGYn2sSY5HWVt8xe2s+HXDStRxhrMfLlniD+DUqVWqGFVno
iEUWrxF6KnghPn/PdvNB2THOljO+qfeIxBR4FVrvqpkZJH4EuGSeuFuFE7NO9AYm
0iw0dp2U0k0C5sTD57JLZYaj/b2eKKzGcSuXhruI1D0I8VNP4eyqWEI2+00y/Rwg
moSpTWVs9+Ki9r5FJN4majbI0nL7c27tS8hyawV9Oc8A526uEVZNdau7nzmd3ktd
LDZYT1gvdG9rmA+Ewj1s4Rxlv1HiYUOpaoBcrqKTmR/Jj4P1JsWfuGsluDI8+a8K
xuGlmdbL7PQ1VPQnAsOYGTAzacns4zM+QqCwoNZj/CPUx4PlE+P7l6zTdY2W+qRL
N8etANxg50e5MhB2ZdWP
=t74k
-----END PGP SIGNATURE-----

--3uZa4G/ShncPgKeZ--

- Raw text -


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