From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91874 invoked by alias); 19 Aug 2018 16:35:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 91865 invoked by uid 89); 19 Aug 2018 16:35:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=UD:yandex.ru, Sunday, sunday, andrey X-HELO: forward101o.mail.yandex.net Received: from forward101o.mail.yandex.net (HELO forward101o.mail.yandex.net) (37.140.190.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 19 Aug 2018 16:35:06 +0000 Received: from mxback5o.mail.yandex.net (mxback5o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1f]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 203371344793; Sun, 19 Aug 2018 19:35:03 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback5o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id i0fvPMzLch-Z1CqxRn8; Sun, 19 Aug 2018 19:35:03 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1534696503; bh=W6BOgWpZmhTnY+hSGwpbi4PA2zIvon+9dtMvacpJDLE=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=Q+zjcP7JMnMrFT97ZVAvTm6TRtA8rLQiUZgB8GvOzwm8K7rWecVxLioVrkFQO64o3 BQ8PFqutvhtPqOfzlrFIwWJdes6Eofci9wY228uG0kH0MzVd301tPKOQ7IWL9TAYJX dxDL8FhEjPzmvsrWOotYvv/8t5Ftuq4+IAN0XHug= Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ShVi1FNJZc-Z1p0UhBH; Sun, 19 Aug 2018 19:35:01 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1534696501; bh=W6BOgWpZmhTnY+hSGwpbi4PA2zIvon+9dtMvacpJDLE=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=ID71rU5ee9lxwqny32+RS0/SzHDc3a2Md5DebJ+DyJ0DgOZjH3Ud/dTqX/kuXKJFa ps+MZCYkq0naL988xNHX+/yxgXXEH1Fem/EK9W/onqbQNaWgr/E+cXQ2nY6BIq5Hjy 69/w5ridoiiEgxS/Mnjq7SeR3FM3QkgWqFJjLKKY= Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sun, 19 Aug 2018 16:31:31 -0000 Date: Mon, 20 Aug 2018 06:23:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <416708705.20180819193131@yandex.ru> To: Thomas Wolff , cygwin@cygwin.com Subject: Re: Fw: When scrolling through history in cygwin terminal window line gets garbled In-Reply-To: <6277147e-67be-fa75-6dcd-812bcdd42f1f@towo.net> References: <1372072396.8455798.1534430210374.ref@mail.yahoo.com> <1372072396.8455798.1534430210374@mail.yahoo.com> <1179039299.9023936.1534512963906@mail.yahoo.com> <252738798.20180819124725@yandex.ru> <6277147e-67be-fa75-6dcd-812bcdd42f1f@towo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00266.txt.bz2 Greetings, Thomas Wolff! >> I can confirm this behavior. > How did you reproduce it? I don't. Exactly as described. Start Cygwin using cygwin.bat Enter command echo ABCDEF ABCDEF ABCDEF ABCDEF Enter command echo 6789 123456789 123456789 123456789 123456789 123456789 123456789 Tap twice to pull the first entered command from history. Observe part of the second command remaining on the screen. I tried playing with locale and chcp settings to no apparent effect. >> Given the position of cut-off, it appears the problem is in wrong character >> width to terminal position count translation. > All the fuzzy test case descriptions in this thread so far were > ASCII-only, so I'm puzzled about your conclusion as I see no > double-width or combining characters involved. > Maybe someone could care to provide a *reproducible test case*. Try with Win7 or not "new" Win10 native console. -- With best regards, Andrey Repin Sunday, August 19, 2018 19:10:04 Sorry for my terrible english... -- 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