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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type; q=dns; s=default; b=t2Ur
	TshTyhl2XaqP6ryLOKEZv3ZjJdbqxv4FBFtgajdX96E2F7iEimH6WpDIz4E+Vkpg
	LPa4mtjVBCiwyRnKYhzSnSJl3LWOEzXI0Ex1SqDGGjfyOR8JjIiQzQtmQTlX1FrH
	VwvAugG7vvvB6RAkRQVFBnEo8ugrOILawlQI2ZQ=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type; s=default; bh=CEgmZnzQvo
	/fHQ+KYAP+nUea3Ds=; b=P5L0W+rkBLMU6oFTDDBj22U00j6au/j2fFYaSce4Si
	2aI3ZuNCJrdfrsFJKU+Qv2utmfCyn2y60bWgb+aMuvgx9eX9WZ5Syk2eKQJpL+6I
	iVQ5phOgl4E7798ToNJ4A/F/J4aJ0M/+VB3JAVJ12gqWl4ejTfYpIflUm60hi+yy
	c=
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=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=bat, LOT, step-by-step, stepbystep
X-HELO: mx1.redhat.com
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BB36D27680F
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=eblake@redhat.com
Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3
To: cygwin@cygwin.com
References: <e8a9e633-586c-2ce4-3e89-41e020f0e923@redhat.com> <597aa4d4.8ea8ca0a.8bfb6.a2e2@mx.google.com>
From: Eric Blake <eblake@redhat.com>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Message-ID: <60db3460-a1c1-7cc2-0369-a7109d782ea0@redhat.com>
Date: Fri, 28 Jul 2017 06:41:08 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <597aa4d4.8ea8ca0a.8bfb6.a2e2@mx.google.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BwrFbRqNWb1uFS6i4UpU8IXAnqK3rSCrf"
X-IsSubscribed: yes

--BwrFbRqNWb1uFS6i4UpU8IXAnqK3rSCrf
Content-Type: multipart/mixed; boundary="HkCsPn3Ap6ENhWpOjuA0FK3dwd0Tv4jTb";
 protected-headers="v1"
From: Eric Blake <eblake@redhat.com>
To: cygwin@cygwin.com
Message-ID: <60db3460-a1c1-7cc2-0369-a7109d782ea0@redhat.com>
Subject: Re: [ANNOUNCEMENT] Updated: libreadline7-7.0.3-3
References: <e8a9e633-586c-2ce4-3e89-41e020f0e923@redhat.com>
 <597aa4d4.8ea8ca0a.8bfb6.a2e2@mx.google.com>
In-Reply-To: <597aa4d4.8ea8ca0a.8bfb6.a2e2@mx.google.com>


--HkCsPn3Ap6ENhWpOjuA0FK3dwd0Tv4jTb
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 07/27/2017 09:43 PM, Steven Penny wrote:
> On Thu, 27 Jul 2017 16:37:45, Eric Blake wrote:
>> I still don't know your environment (it's really hard to reproduce
>> issues if I don't know the steps to reproduce them).  This looks like a
>> bash prompt, but are you running bash inside mintty, or directly in a
>> cmd window?
>=20
> 1. Clean Cygwin install
>=20
> 2. Start Cygwin.bat

As in /etc/defaults/Cygwin.bat installed by the base-files package?
It's short:

@echo off
setlocal enableextensions
set TERM=3D
cd /d "%~dp0bin" && .\bash --login -i

so if you are already in a cmd window, and typing cygwin.bat, then it is
the same as if you are directly starting bash from cmd.

By the way, I didn't know cygwin.bat was still around (I had to go
hunting for it).  Ages ago, that use to be the target of the shortcut
installed to the desktop, but we switched quite a while ago to having
the target point directly to mintty instead of the .bat file (since
mintty is a LOT friendlier than running inside cmd).

Also, what does 'chcp.com' say prior to you executing cygwin.bat, and
are you then trying to call chcp.com WHILE bash is running?  I have no
idea if cygwin is even aware/amenable of live code page changes while
running inside a cmd window; for now, I'm first trying to focus on the
odd behavior in bash when the code page is constant.

>=20
> 3. My previous email http://cygwin.com/ml/cygwin/2017-07/msg00388.html

Making me chase URLs doesn't help as much as a single mail, with a
step-by-step reproduction of what you did vs. what you expected, so that
I can refer to a single window rather than multiple browser tabs when
trying to follow those same steps.  I know it's not always easy to do
that (and to some extent, my debugging is also spread out), so it's not
the end of the world; but it is food for thought.

--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


--HkCsPn3Ap6ENhWpOjuA0FK3dwd0Tv4jTb--

--BwrFbRqNWb1uFS6i4UpU8IXAnqK3rSCrf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAll7ItQACgkQp6FrSiUn
Q2pJYgf+It6Q1KC1tETfcAbeIh5aLEqxmk00Wn5pzkfQIqJvHvC4eUjqypU9AsZA
sR4QffrMWKktQuCSMdqDL3jz6uJ63Qj/gotQqdzeeNA+v6BFLivF57V4upkDNSPP
5kt25JN23g0ROQkrI9zS0b88zek+vlPnQU7Shh+K0XrPRs9VHVq9scxGXSmN8VKf
6vHcVHez6PeLtHvvvCDkaoDjgvowhv5fN3AIWzAv2Ea/VdyJqAx/GLCTPvilprGj
no2wLqFyLf3iBjfJFEUaMmnbEMRvOd1fJgAcNSfeKCO4/2iDVkKy6o+lGMM6Ka/R
OIwNwn67I1eAeMuWwuZMSgXdyF32pA==
=y54e
-----END PGP SIGNATURE-----

--BwrFbRqNWb1uFS6i4UpU8IXAnqK3rSCrf--
