X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=WXYdDhK0hAJraic/lElghv/gtk/Yn 5JG3niFWlMATfO+nTYV9/2ibRNrJpA71KJRPUztmPzHIt61QNrD6BGZP3GGU0Pbs MEmCP0T96aDbKG2skxWF5rolv9TbfkhL8V76d1tlPFXsWsi6rEtLF7e9uLM/a772 ERA/rt9ie+/8ZA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=dfXdJDiDNkA3gldqtRK6HjOiU0Q=; b=ZQ7 ntWl9F37ZRzdUDpTEoHdvZBbsrB74XlRXuaXhBEVMHTHUatzUChLsUr7wDcAZtwn poMs8d8pqPV+YCIgcXGvO5l0piCzJbwuEdFT7XmCFz7M8dPhE58c7WUy4bbb2iXj 6b6b8MdQ0LlFN45GEg0lmyJLOYhkaNoJOTOr+P2k= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=tracker, margin X-HELO: mail-qt1-f174.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=SmXMhnHi8iYd47WRswpHWLzzDsMH3eWNsg2yJEGi0A4=; b=skSy2s6ycV6JDwOcYaYdC8wRYdQyk8WnTTnv7Z0rFoVVa0eSKKhUSG9BtmXSGUMTrb yPHGlDzMCFdycgY8cZXfXl5FemEiXJoDrbzVhQKx60Ou6led97NbORhNZ82rbliO5fNB r13ZupEo+b/KsrromIaZTQVtAZYhL51tIOqiiEpbBYfOWHjuA9rgPnfjCGNOUfd9pIk1 ER4zRRRpIvg+N4orf2o0pOkEZQJsjQeQkp5Uf4/YjarGQ9icQrrsmq9ZQDq3rAY9aXnw wIGDe4KKfenbnosX+N0Q8H9TH6oQ2lg2A+UEAh/WW6HIGJ6hC2Zjz8c8nVApexhabBG5 IiLQ== MIME-Version: 1.0 From: Paul Moore

Date: Sun, 16 Feb 2020 12:22:10 +0000 Message-ID: Subject: Cygwin programs display output incorrectly when run under conemu To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes This issue has also been reported to the ConEmu tracker as https://github.com/Maximus5/ConEmu/issues/2059. If I run a cygwin command (for example ls, or for a simpler example, "printf hello\nthere", although the latter needs care to get the correct level of \n escaping :-)) newlines are displayed by the text moving down a line, but *not* returning to the left hand margin. An example, running in Powershell as my shell: >E:\Utils\Cygwin64\bin\printf.exe hello\nthere hello there This behaviour is present with the latest version of cygwin1.dll, as well as with the 20200212 snapshot. It is not present if I replace the Cygwin dll with version 3.0.7-1. The problem does not appear with a standard cmd.exe terminal (standard Windows console host) or the new Windows Terminal application. I understand that ConEmu handles the console management differently "behind the scenes" to present a GUI front end, but I don't know enough about the internals to know how it does that. I can work around the issue by pinning to cygwin 3.0.7-1, but it's obviously not ideal. I have been unable to find any details as to what changed between cygwin 3.0.7-1 and the next version to help me track down the issue any more specifically. There are some notes at https://conemu.github.io/en/CygwinMsys.html that I've read, but to be honest I don't entirely understand. I did, however, confirm that this issue doesn't occur in a standard `cmd` window (and I added that information to the ConEmu issue report). Any information that would help to pin down the cause of this problem would be very much appreciated. Paul -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple