X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 157493AA8026
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1612397330;
	bh=l++dCmG0KTHIewyCbLI3cPrppgaW8kO2oZqqsetykug=;
	h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=CiA4yXx1DV2l+S3CDPi1UxzZ4aOG+V6goabR66fsLFNgI+c4r4IuWhw/J3AwPFN+/
	 /KB2Veof10NNCmiSuDMyuthZ7/qnqZUt/xTZDC57Ig/oxQR8+8MwprCgHmJbaZAs3x
	 NaSKOEH7qzNRsWbhqf+kru+BQAeiMJcRWXTd8dgs=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DC8863939C26
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 114082eO009839
X-Nifty-SrcIP: [122.249.67.108]
Date: Thu, 4 Feb 2021 09:08:09 +0900
To: cygwin@cygwin.com
Subject: Re: *shell* buffer freezes within Cygwin and Emacs 27.1
Message-Id: <20210204090809.010b31c9b2a67cd4e33d69c2@nifty.ne.jp>
In-Reply-To: <CA+DxmasG7Eh-pK_dFF5qTdScO5rgUhG1Y-P1vmOBK4AMAXuWPA@mail.gmail.com>
References: <CA+DxmasG7Eh-pK_dFF5qTdScO5rgUhG1Y-P1vmOBK4AMAXuWPA@mail.gmail.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A,
 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-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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: Takashi Yano via Cygwin <cygwin@cygwin.com>
Reply-To: Takashi Yano <takashi.yano@nifty.ne.jp>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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
