From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by sourceware.org (Postfix) with ESMTPS id DB681388F073 for ; Mon, 29 Jun 2020 14:02:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DB681388F073 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.245.244]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MeTD8-1jHfXX1gzU-00aRp7 for ; Mon, 29 Jun 2020 16:02:23 +0200 Subject: Re: Long lines output by a native process in the PTY have new lines at the wrap point in the terminal To: cygwin@cygwin.com References: From: Thomas Wolff X-Tagtoolbar-Keys: D20200629160221935 Message-ID: <38aa7ce3-a86e-c4df-edd2-3b559b9ece76@towo.net> Date: Mon, 29 Jun 2020 16:02:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:mOsQpHM1Hmn2i7IHh97dE4gyK0Nkw6kh/p+QQialSOUaVUSMnnA xXTUp+rhLWfsIhNWtGFIHmxk+a5Ka4vUmPEimwZyIlE+hXSVCeTCsIKVM5i162ZEsjNQgBN TspBYj2LAQsumzIktj23ZNYCqncFDukAWQScNmDHIB+cMa2vUZWdWx1Tfb6v8QriIe3e0hJ syckoOnG3FeuzmoA4i7ZQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:qqpnkfVXnes=:4LLeh6mCn4Rw4RhdVNy0L/ URZW2icdxeHRxrTPGmFIu1m0vHkINAQO+HBv+ekL9jw0SeIQIrgtTm5dPNFOEq35VtUE6v1aq ccyyVuoWmUBEVXodeY2cd5lmDdKI7qYkglk5Vrns516DOUXw4+htWS7zBI0exbmUvJtnb6uDc Cj5sD+P6uKEfWCsgeN0qC7KY38r48r/0tUVtXTSx182/fOqYjmW4S6DVS2zkHQqqddN5dK23z /tDfM2Axj9t49pDcadNYZvzm36J31Kk8k94pr9DkkRVw5koW7Uk+HC7JM4h4o3mh9XATgzxX0 keTtSKOFjFQjal/RbPd2hkgG0DfyKQuMnRXmu5rX2DLz0qc0lGRTULPqwqTpwpYgqFIchaQGP 5dKeIWcVz54nM+QLHIgzZ/QiTvSrcLVkEkmJ1KlCzTOdA0UBzELSeHO113G8HE60i7mUxILzR reOfkyE9YeYGAwzyOtnYdwZbSPXgMS3AZG+wXMWGSHAuwuJHTtkdL2ipkWuylZJIINzJhkI6W H5VjBP3ytiHGdo1TMyuY7FRCQptxhFW/uKaoaaPk8z5mUXtouhgZIaVItTeXg/zjqbgMycz3e pRiNzgvNYZKzpKVjo8xMqF1u0BnLG2QhPo4suyKfM/lOhs7ZiCsZ9/aUs+5ngffhor6E8FRw+ FoNk5hoUKEv4bl5XIH4EQa/ias5ZaWnlTY5XzGEZm/Uy28VHTKeo4l3c3/jWljoWifi2cY9YO z7WX8o8EdxuN9u0hw0Fb98JUzRoZFZCtDWhmNQLAGRoKxH6NHiMFX02E6Ier5rm8qIzcy/F/p WY3nqONzeHzsOYnXb/62hJK3WhUa6cwmmYEupsdKxfqHz/jWJEntVppi8OV1QdPPm4M/tMD X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 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: Mon, 29 Jun 2020 14:02:27 -0000 Am 29.06.2020 um 15:52 schrieb Andrew Ng via Cygwin: > Hi, > > If you run a native process in bash using mintty that outputs lines > longer than the width of the terminal, these lines become "split" with > a new line at the wrap point. This can make copying the output > somewhat tricky, especially if the output is a command line you want > to copy, paste and run. > > Can be reproduced using GnuWin32 'echo' or a native version of Python > using print. This has been discussed as a mintty issue https://github.com/mintty/mintty/issues/971 It's actually a Windows ConPTY handling issue and reportedly they have a fix already in their queue, to appear in some future Windows build... Thomas > I am running Cygwin 3.1.5 and mintty 3.2.0. > > Thank you, > Andrew Ng > -- > 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