X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FB6F385700F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1612457684;
	bh=t9cFM1QZE0KSIR1ioXp4J0uZGA20ziJ4EAePEEJhtD8=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=kB7u3R/Bjka9FD+rauX/unChNIifPdHdV0j4CMtA0EPB35R0X4tUnTkIM0Igz8Y7o
	 kC6Eg0BxZRjZbMJu/Qrj9su1azXZYX2M6kq+nt6ALwhCLzEBVrGsmgUGPQ5WloTm2f
	 cSgcNawlRbD3pyziAdebfAL7XOa5ztrjZLg7yc18=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E4CD43857C7B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=W8cCXZsTVm50fObU01DbpcCnL8lguSHg+TQ1UXwDqgo=;
 b=IqilGZ4w6wpl/C1BftnNXhSnTiQQY3e+TSG9lBxV1IioABtqHxMxg4p7uJXXNc2xvR
 qwS8ku+yKII8CIv+5TL5r0zWj+dJHdQvos6knz4laZFohFM+qxgx1SIYR5/uK2MI6tHu
 eDJR8S/cP9/7/ZuxgpDGYAArR+0ndXGTWfIW/bzUVNWdimggjw0+QCNTj2+WbpKn/kHo
 JwaaPCpgeXR+Vh1SULmVX79y4CyJuGZJZfbmEJTT7BYtYEOri2/T6btjydCDHspdwdf7
 vkqFgcFk42NhCUU91QJpoRskVWy4V/78UVLLOuJVqy1tSfsrWqg9qt/0VV+D1fK4zdi/
 RzYg==
X-Gm-Message-State: AOAM530VVxGXJjr48e6E7jgEY4BjqlBzsj+PMpRMSZRct+w34SaVEwg0
 ijs/WL2K88rRrns5BkBbcSZdf1OzfqVz1fizIiQ=
X-Google-Smtp-Source: ABdhPJw3nG0Jh96S6SbmNTIs8/fsB1ujII7mprx8zhm2rAedgdC4dbjajkZHz3HhQMQge8ypI6HtIGbRyqFzZ0grNm8=
X-Received: by 2002:a17:902:b18f:b029:dc:4096:fd72 with SMTP id
 s15-20020a170902b18fb02900dc4096fd72mr296945plr.40.1612457679972; Thu, 04 Feb
 2021 08:54:39 -0800 (PST)
MIME-Version: 1.0
References: <CA+DxmasG7Eh-pK_dFF5qTdScO5rgUhG1Y-P1vmOBK4AMAXuWPA@mail.gmail.com>
 <20210204090809.010b31c9b2a67cd4e33d69c2@nifty.ne.jp>
In-Reply-To: <20210204090809.010b31c9b2a67cd4e33d69c2@nifty.ne.jp>
Date: Thu, 4 Feb 2021 09:54:28 -0700
Message-ID: <CA+DxmavOA=0A7=XJL4eAPhk7Xr06_352=COSzMRCh8OH2zJhBA@mail.gmail.com>
Subject: Re: *shell* buffer freezes within Cygwin and Emacs 27.1
To: Takashi Yano <takashi.yano@nifty.ne.jp>
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Randy Galbraith via Cygwin <cygwin@cygwin.com>
Reply-To: Randy Galbraith <randy.galbraith@gmail.com>
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Good morning Takashi.

Thank you so much for your response. I just tried:

env CYGWIN=disable_pcon emacs-q

and cmd input/output works again. I'll now need to document this for our
team and seek out what this does.

Kind regards, -Randy


On Wed, Feb 3, 2021 at 5:08 PM Takashi Yano <takashi.yano@nifty.ne.jp>
wrote:

> On Wed, 3 Feb 2021 15:45:36 -0700
> Randy Galbraith via Cygwin <cygwin@cygwin.com> wrote:
> > Hi Everyone.
> >
> > Please note: I attempted to post this message from my work
> > email. I do not believe it every arrived.
> >
> > My long used work flow has recently stopped working. I'm trying to
> > understand why and how it could be resolved. The failing steps are:
> >
> > Cygwin64 Terminal (bash prompt)
> > startx -- :1 -multiwindow -clipboard &
> > xterm
> > emacs -q
> > M-x shell
> > $ cmd
> >
> > I expect to get a Windows 10 command prompt that works. Instead the shell
> > buffer display cmd output incorrectly formatted (e.g. extra white space)
> > and when I type a command like dir it freezes.
> >
> > I suspect this may be an issue related to a recent Windows 10 update
> > that in turn has changed the way cmd interacts with Cygwin bash and
> > Emacs. I have completed a re-install to the latest version (as of
> > 2/1/2021). Alas, this did not resolve the problem.
> >
> > ** details **
> > $ uname -r
> > 3.1.7(0.340/5/3)
> > GNU Emacs 27.1 (build 1, x86_64-pc-cygwin, GTK+ Version 3.22.28)
> > of 2020-10-29
> > ** details end **
> >
> > See below for *shell* buffer and cygcheck output.
> >
> > Kind regards,
> > -Randy Galbraith
> >
> > ** *shell* buffer **
> > ^[]0;~^G
> > xxxxxxxxx@xxxxxxxxxxx ~
> > $ cmd
> > <snip malformed output>
> >
> > $ Microsoft Windows [Version 10.0.17763.1697]
> > (c) 2018 Microsoft Corporation. All rights reserved.
> >
> > C:\cygwin64\home\xxxxxxxxx>dir
> > dir
> > ^ frozen at this point
> > ** *shell* buffer end **
>
> Please try latest cygwin snapshot.
> https://cygwin.com/snapshots/
>
> Or
> env CYGWIN=disable_pcon emacs -q
> instead of just
> emacs -q
>
> --
> Takashi Yano <takashi.yano@nifty.ne.jp>
>
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
