X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=Ukv163596ZMce+wE3iB3DD7tsCAwPsn4saVGYpxwfKU
	YMDpUBOhMysU2oNQ/kOjMpRyhPPeacuoBNd+onQkI5WGRnXoyFiEwCgVmeBgu/Tg
	9n8IxuW+rckasuy/ErBdn9FhgMRoGStijItRZsXyO+jwlxWjr6Xn1eSbtjaqx8s8
	=
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:date:from:to:subject:message-id:in-reply-to
	:references:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=ODjQZ1sv5CnMmR31EKnW/YSSnZ8=; b=j18uxPqmWEcw034La
	rg0F9JEc3mLuIwqSkXRaaFVaNB2PzVd9dUuKXI7sR/CJ62qOjek7fNY4GMJq9Mzf
	YgNy5VvmgDmFDILNfWQXht4IiR0bB3AqGBwk/84EwOhBu08UFUvrn4hrjbItCgjq
	DCRT2flbJwBjTy7zUUnD+37epM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=
X-HELO: conssluserg-04.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 001F4ibd026715
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;	s=dec2015msa; t=1577891085;	bh=oEj6wb7dJDceTsF7m+S+xMEMQDYSsR+KwDvz/AozxDM=;	h=Date:From:To:Subject:In-Reply-To:References:From;	b=pYtMoBwuu/6paP+gNomx7/m+pIlmPkaDynh88D31T8M+5bMHubQKE1ColLGcskOqa	 lcMUc7tpzY3s35mWJ/gWkUmfD2a1xVoqcvNmRJIrBj0nCJLcsW7MzbYdQ4cePBeTwQ	 NrLA1vOffGIhMFyTuFSCsfOqhI9grrm7UMVsPoVtITGSJI/tvd2INCBYLmxmVcfbVN	 aHE402aW5xknW5c0u+rRdp2eOSlm6xXqVxi3fzPrGfH/F6yokM43cEt6w5FXS8N9Vd	 xjMQRej6XZmk3209qZ6lk44WWTrWGH+UjyklOFf28im9dcdCPOuDe+mrPPE8eCaTJ7	 LYGK8OygwlvcQ==
Date: Thu, 2 Jan 2020 00:04:53 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: output of ls / grep corrupted in cygwin 3.1.2-1 (x64) under conemu
Message-Id: <20200102000453.a74b2414403f9dff496598e1@nifty.ne.jp>
In-Reply-To: <9d91a8d9-4b22-206e-9cb0-6fe528de3fe5@gmail.com>
References: <9d91a8d9-4b22-206e-9cb0-6fe528de3fe5@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On Wed, 1 Jan 2020 15:55:15 +0100
Hartmut Bartels wrote:
> Hello
> I am running win10 Pro 1903 x64.
> After update to cygwin 3.1.2-1 for the x64 Version
> the command "ls-l" misses the <CR> running in Conemu.
> There is a <LF> for every new line, but the new line starts in position
> where the line before finished, just 1 line deeper. This is true using
> cygwin in the conemu version 191012 and also cmder and cmdermini.
> If I start a plain MS console cmd.exe the output looks good.
> The error also occoures for grep command. Others I did not test.
> 
> I tested also cygwin 3.1.2-1 under win7 Pro. Here everything works in
> cygwin 32 bit and 64 bit.
> 
> 
> Installing previous version  cygwin 3.0.7-1 shows correct output
> for conemu, cmder and cmd.exe.
> 
> Any help appreciated.

This is because ConEmu does not support DISABLE_NEWLINE_AUTO_RETURN.
Cygwin 3.1.2-1 uses this feature which is supported by command
prompt on Win10 1703 or later.

See https://github.com/Maximus5/ConEmu/issues/1966
and comment on line 1188 in
https://github.com/Maximus5/ConEmu/blob/master/src/ConEmuHk/Ansi.cpp

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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

