From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id E141B3877023 for ; Tue, 17 Mar 2020 23:14:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E141B3877023 Received: by mail-ot1-x32b.google.com with SMTP id i12so18347773otp.4 for ; Tue, 17 Mar 2020 16:14:37 -0700 (PDT) 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 From: David Karr Date: Tue, 17 Mar 2020 16:14:25 -0700 Message-ID: Subject: After cygwin upgrade, Emacs shell buffers with colors are corrupted To: The Cygwin Mailing List 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2020 23:14:40 -0000 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?