delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/17/21:04:05

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1422387702B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1584493402;
bh=Bu17DaxFKAN+19eRtw52CnOXOXSkJRpraiUTz0EKkg0=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=fkn0M4oJ2nv82DxGwale9w8R3erTUgPreZkKjDYrq0ru5R20PjB54IBJWFOOrjUiF
2ASzVUtO4bRlPIoIQ/HKd78/N1H9Hl7gNO97MC3onPT9k0JP1eNNVMWH5/9fO9Bfrv
Atl8+PicpKSf4x/qdPn6Qiv4Xk3B4JwjlxGw95yM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C9A69387702B
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=bgyveqnDBIKAzQXBv5rLIbo9dSs/Dz2PYQlx9MGWHbFQuJnTXg5jtIIWcPGspajo2lrI836sE5ThfM2U9R6ch7acm3b5j1YH/axicLpK+yGsoVpLxX4dDyPZJmtgpNU488lPZ5vD1od+D1FXdPgY8TblCneOeKiRTzkkgZGATHWWgYt+4aTMVOjS/jYQZ0HGTpnlOyqOqWiQ/f4XUtCNUqEBfW+xDjOkCCj1Xqxnlji2DFleb68rwJqm/ULywfkld8DcLOIZLKkURX6QS25GX522svX+oPR9u9evdxJGrvXGZWezbKgN0QTwELF28BTCcXk0C28w/kY29+NXDyNo+Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=1Gf0w11b5i5H3zfH9hNjcolqxecMDBFsTbfBiGJuM20=;
b=ORBcwUv/pE9iACbyJ/Wp8adwtxTeh+5bOByDh7f2jvEU0+BRF2FLQLj7YDnuOgEgGIjYC4xeIfFQRjx7sSyU4u1vUIQ1rxFjlN88W6XY2l2jYQQ1gM2UhWa4nVYoLNCE/E664AnSOH7hABKJ2lPuiXM/szbMDWj7E34Ggj0MHltVQBpSsZWV90sGEjYFbQRgcobB+NXZTmtLZpQX09/2vjz3N2gX3BsKLze2aKMmmtjWKWta/FOaFvO7d1J75ravL8AHrzcloBI0hB5uQGYOl5TBTwp3Xhyw2Wz0S91KH7wieph9VQwfAHXlnsp9EphUy+SvtvncVAC8qL+Jx21DqA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: After cygwin upgrade, Emacs shell buffers with colors are
corrupted
To: cygwin AT cygwin DOT com
References: <CAA5t8VrUqQTbSRdC0Hh+TOuR1PiGBFgAs=uvFvz8ocGPAiOF0Q AT mail DOT gmail DOT com>
Message-ID: <77d22efc-4a2c-422a-c7d5-22b5632e707d@cornell.edu>
Date: Tue, 17 Mar 2020 21:03:15 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
In-Reply-To: <CAA5t8VrUqQTbSRdC0Hh+TOuR1PiGBFgAs=uvFvz8ocGPAiOF0Q@mail.gmail.com>
X-ClientProxiedBy: CH2PR19CA0010.namprd19.prod.outlook.com
(2603:10b6:610:4d::20) To MN2PR04MB6429.namprd04.prod.outlook.com
(2603:10b6:208:1b0::12)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-Originating-IP: [68.175.129.7]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 2bbc104f-8c32-43ed-26d0-08d7cad824e0
X-MS-TrafficTypeDiagnostic: MN2PR04MB6240:
X-Microsoft-Antispam-PRVS: <MN2PR04MB624074CD86C5A8AA218AFDD1D8F70 AT MN2PR04MB6240 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-Forefront-PRVS: 03468CBA43
X-Forefront-Antispam-Report: SFV:NSPM;
SFS:(10019020)(4636009)(136003)(366004)(39860400002)(396003)(376002)(346002)(199004)(956004)(2616005)(6486002)(81166006)(8936002)(6916009)(31696002)(16526019)(26005)(186003)(75432002)(36756003)(31686004)(86362001)(66556008)(66476007)(66946007)(8676002)(53546011)(2906002)(16576012)(5660300002)(316002)(81156014)(786003)(478600001)(52116002);
DIR:OUT; SFP:1102; SCL:1; SRVR:MN2PR04MB6240;
H:MN2PR04MB6429.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;
PTR:InfoNoRecords; A:1;
Received-SPF: None (protection.outlook.com: cornell.edu does not designate
permitted sender hosts)
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: anqeAH4rLifvUGx+zE195jYL0nubQcGkgSZYHtKVHAxUaS7Z4Q9GoyIjzb8XgLPKQlpMfzW410ZABMhrv62+1gMBp4/6P6iwmdmul8y7HWJH2vnjE8gt0o6f2l8x7VhoMdpN/Nesmny1ONonWOiVRDGKDPlKLRuotdlGh+DEHFGGIM5aQ1/WDUonPHSp6/b+pbWwAuQL10iQgocZ8iALQPQgM020/wSR2/HErccREvUp6gj009UNv0/03kBPqMpwLgz4dbMmdjj8Nt91NkUhDCwASkKhT7LcWCfF7f5pZ7DJjJ3LQwmMf0H5JPIeXySfJYbpza/ET/6/dSD/4LnlbVBslMgwXgxC6Zi6qw//yELunbGUR/LyqgPynUG5U7B0nQa0QYkxcbjef2n4gR+T4oAjAESnlmNJYdqD1ScOArgI1L7PTJuDQfrbZgVaz0Gr
X-MS-Exchange-AntiSpam-MessageData: kB3DtJQkfodo0F3MqY3fcc9Rs+e7IEZZ7ohBNXkof0KrbjGxz7/AfZ14YGwBGw7vgkb4n997/hisBfIw/k0+dEMZhmzk9fTjeZUdS/PvzJSXFnla+x6eLFMjPZNOeoZnoH/+ESkB6maUih1TuQOriQ==
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 2bbc104f-8c32-43ed-26d0-08d7cad824e0
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2020 01:03:17.8413 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: ErENIwFyz4Oy0G+gYugZxiEYQN6PGPBWoj2NSFVdEUrnHFAz/abmjgl1GM5fhbIqjk1nRFUfUwVKnaCaNDQpkw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6240
X-Spam-Status: No, score=-4.4 required=5.0 tests=DKIM_SIGNED, DKIM_VALID,
DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_2, KAM_ASCII_DIVIDERS,
MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,
SPF_PASS autolearn=ham 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 3/17/2020 7:14 PM, David Karr via Cygwin wrote:
> Yesterday I upgraded Cygwin, which I hadn't done in a while. I had recently
> upgraded my Windows 10 OS from build 1709 to 1809 (yes, those are correct).
> 
> My current Emacs version is 26.3, but I don't know what it was before the
> upgrade.
> 
> If I create a shell buffer and execute a command that produces plain,
> uncolored output, it appears to work fine.  However, output from "Maven"
> has always been colorized for me, and it's always worked fine.  Today, I'm
> seeing that the output is severely corrupted.  If I pipe the output into a
> file and view that, which doesn't have colors, the contents are fine. I
> also ran the same process in a mintty window, which is colorized in the
> same way, and that is also working fine.
> 
> For instance, if this is what I see in a mintty buffer:
> -----------------------
> [WACDTL03DK068X:~/git/cartms] mvn package
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
> MaxPermSize=128m; sup
> port was removed in 8.0
> [INFO] Scanning for projects...
> [WARNING]
> ...
> -------------------------
> 
> What I see in the Emacs shell buffer is something like this:
> -------------------------
> [WACDTL03DK068X:~/git/cartms] mvn package
> [WACDTL03DK068X:~/git/cartms] [WACDTL03DK068X:~/git/cartms] Java
> HotSpot(TM) 64-
> Bit Server VM warning:ignoring option MaxPermSize=128m; support was removed
> in
> 8.0
> [INFO] Scanning for projects...[
> [WARNING] l
> 
> 
> 
> 
> 
> ....
> ---------------------------
> 
> The first thing I see is that it prints the shell prompt twice AFTER
> pressing enter on the command line to run. That might possibly be an issue
> with my Bash dot files, but this didn't happen before the Cygwin upgrade,
> and it doesn't happen in the mintty window.
> 
> After that, it gets even worse.  The "Java HotSpot ..." line prints in
> three lines, instead of a single line.  Then, the first "WARNING" line has
> the "l" at the end of the line, and then numerous blank lines.  The rest of
> the output is mangled in other ways.
> 
> Any ideas what might be wrong here?

This is probably related to the new pty code.  Does it help if you start emacs 
like this?

   CYGWIN=disable_pcon emacs

If so, that confirms my guess and gives you a workaround.

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

- Raw text -


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