From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) by sourceware.org (Postfix) with ESMTPS id AECC4385BF92 for ; Wed, 1 Apr 2020 21:55:41 +0000 (GMT) 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 Received: from [192.168.178.45] ([95.90.246.248]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHoZM-1jWSeQ2auc-00EvFu for ; Wed, 01 Apr 2020 23:55:40 +0200 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 X-Tagtoolbar-Keys: D20200401235541129 Message-ID: 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2020 21:55:43 -0000 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.