X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8036F393FC3F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1584486882;
	bh=uk0C7pTVt2iYeOXayG++LWGH2lYc1mProJhx+x6bO+o=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=K56bLwrsGiX69vbtSU+H1F/qSWz9DnxtYwXj0qZUrwRjn0fI4KuAnGPw26KmQL+So
	 SpaEjOGXEyXLq4v3z0EkPzyl/GfDQaAF4IWbG4HjPpvQYvmPDyIBoH0uQOcseJNrw0
	 u7L3+wENoZFBV8niobyUPeg012wGaGiG+o/1aWQc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E141B3877023
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=k5+L10gZLfmbXZUCV18aGkzC4HgeptOfuDXARsDlC28=;
 b=RsjDD3Zt+T2OJjNj6bM0DAv5yT24Z0fdWZYfNyPEXoUfmAtYJN0pQVBcSJSfWB3nYB
 e3P3KlPMBo2vbJuSOHsu1gO3/XiSyZU/BHUbbNnAjksuSKCcaRQYTvPr/eAK9h3laxZS
 25l7R1zz5LgN3XFZZcXURRid2+pdG7xFbI7Aa/JhfIOhFaugzddA2p3zsBWMVwBDh1OF
 oznyZNzvh1XHTXnYuJjM/xIXpdX9xI1nT8m6AylYtyZfvZ9X7d7hcdY7H/fN4kDO28g8
 5HNVDGrSip6Brq4BYiWbu4xVxXIJXON8Lyd5g/rDZNHgIrN8uqv0SizlFKgM0Yp9IQrB
 Qx9Q==
X-Gm-Message-State: ANhLgQ1KVBfHZ/NxxRiUEKSS9wmJTjhD5r312NSqatmBXqWHGV/hX8Ao
 zU5L3ZGvo5EB5j+sZFzSyDMSgWihAYjwl9m/UQc6OxiNvYs=
X-Google-Smtp-Source: ADFU+vvOVV7OOWzYcr2Q5B9ytkLUKtsEu7AB61ViVFL2MWDiAxzGB2577Fv44kUahwIQI139RD1e/5VGU/DGp9BG4jc=
X-Received: by 2002:a9d:21b4:: with SMTP id s49mr1430320otb.294.1584486876923; 
 Tue, 17 Mar 2020 16:14:36 -0700 (PDT)
MIME-Version: 1.0
Date: Tue, 17 Mar 2020 16:14:25 -0700
Message-ID: <CAA5t8VrUqQTbSRdC0Hh+TOuR1PiGBFgAs=uvFvz8ocGPAiOF0Q@mail.gmail.com>
Subject: After cygwin upgrade, Emacs shell buffers with colors are corrupted
To: The Cygwin Mailing List <cygwin@cygwin.com>
X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIM_SIGNED, DKIM_VALID,
 DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_2, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 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-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: David Karr via Cygwin <cygwin@cygwin.com>
Reply-To: David Karr <davidmichaelkarr@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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