X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AECC4385BF92
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo@towo.net
Subject: Re: pseudo console and auto-wrap
To: cygwin@cygwin.com
References: <0c9fd8af-bb5a-0d15-5a5a-3fc739d3e6cd@towo.net>
 <20200306005122.52a9b50615a16546e60defc1@nifty.ne.jp>
From: Thomas Wolff <towo@towo.net>
X-Tagtoolbar-Keys: D20200401235541129
Message-ID: <eddadcd7-8df3-9da6-bd54-0a97f9bb0bd9@towo.net>
Date: Wed, 1 Apr 2020 23:55:41 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <20200306005122.52a9b50615a16546e60defc1@nifty.ne.jp>
X-Provags-ID: V03:K1:FDmSgYB09iPxqfjIKxNve1HnJQYGCPe1JmVfr9sd7Y30XMiGMSz
 Ff3LggV4Q6pmGvXUqCtJKdHceXqwuG/8I6caOaI1mF95GSs6926ztw7hiuIxZVopsJ0mRki
 Ij9H66vTblz5fEElfowIlHEmYbCcreqpgwawuzWHZpb6eo+uNEwPXJvTFcXwemDuQXnKICN
 G6VR6jfDQXsD8AzZIW+rg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:4ibGTXQKh1w=:Q6Gci87mgfXkvf7hAwUIje
 NmOSce3jPWCkidRYgR8hHvQrRQx4Qcwrq69KdzibfsTqyvzlobYFDWZF9g+nwgAEUtZ/ssg42
 N85EvIs3rPKWOs2ZldQMmQcrw0De11LA5Rb7VvavKUK2XclGKBvJXctyqdzBUqnoiL2tZ/0iF
 Ed7yX5Um/QennAjT8ZLc0wREqZ5RhcQHtyKFGnI5qextntTUYXEtHuA3I3p/CM/4pwSovxsoH
 6fvuLbwWxsxosrkwCR22SI8gP0Kw9Yy18X5LA7msiAC5YAw5WTEbkK1AWkJ4/m9xLVQnwgKRL
 9jJh5a7VpXq/WNwft2QHLg/Y3S5C7bX2Ag4qJbKQvrzOM3DqEIjJqSdDdDHe+LMHX6A/Tcc51
 Gqbgi6wh3nXmC8oOo8UxsDcqwTthl9HUg4Tn+M62Jr1abBFd6lZQGwcp0z1BLTL90S/PS5N/r
 3Vi6Jm2SX2ETDjcoUuYvVEKf83v1RBg1YwxCvnPQY9s8t28m46WqhUAn6ndOQzV7ZJ3sN0vpn
 vriHLb27pZsLGOXT+sdmCxWJWnv1LihEAmliTmtolWRzNQzB6eu0PzlqGl5ehsSXlQlTYjYRD
 WyF4bk5BG2wMpBwvHmtdLnynqlydPToL4vaQbjNKcRZPBeB0DoNsHHF+jewzBA1INgBVlFVx5
 ODUS6n43Vuq0gbXRzQxMvFaO7U4rjiUJ0Lqcysaka63rIq/yuHYwxx5oizszuz1O4rIGADgVm
 bRVU+j7AHkLlRGXpxkVv0z3Z8HXjBycP+zMwYwdD63rWfPhAxGxzmKGd5qpJAzMgOWS9ptj2v
 abg0f67PgX4KKh5ZsrvjDazoOIfzcrED+wfgo6yDEQ4cNgglms=
X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Am 05.03.2020 um 16:51 schrieb Takashi Yano:
> Hi Thomas,
>
> On Thu, 5 Mar 2020 11:33:33 +0100
> Thomas Wolff wrote:
>> With ConPTY support, the following command results in output that
>> contains an explicit newline at the auto-wrap position:
>> cmd /c echo a line which is wider than your terminal ...
>>
>> For copy/paste, this is surprising and undesired
>> (https://github.com/mintty/mintty/issues/971).
>> Can the line wrapping case be handled specifically, assuming proper
>> auto-wrap mode on the terminal side, to avoid this?
> This is internal behaviour of pseudo console.
> So we can not touch it. WSL also behaves the same.
>
https://github.com/microsoft/terminal/pull/5181 seems to intend to fix it.
--
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
