From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19615 invoked by alias); 18 Aug 2018 03:47:42 -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 19607 invoked by uid 89); 18 Aug 2018 03:47:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:72-v6so, love, HContent-Transfer-Encoding:8bit X-HELO: mail-it0-f47.google.com Received: from mail-it0-f47.google.com (HELO mail-it0-f47.google.com) (209.85.214.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 18 Aug 2018 03:47:40 +0000 Received: by mail-it0-f47.google.com with SMTP id 72-v6so13990865itw.3 for ; Fri, 17 Aug 2018 20:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=sX55Xvl9ACOK1YDtbtvZhMgCEPNUwR4438IKMxHUGPo=; b=KFSaiUgKIWHjDwZuZmYlcB8SNLFza6ey4YGajl81UYtCbWIn0vWLC5oq8xWraPQy7R 28nsIL4Si0/hw+U/6n/SicjBmFcP/uWtYNm3HIDOrAWRerf990gM02JXa4ZBXExAMIXB uVjY6a389gdTs5mBbo5+grRzTlxjIDhbSfv17GSdWD6R9KnEKKfHjBVARkNff5lTKwcL XcYD3ssfU/gbjoNPxvGgzitQPWrwWWzpyEfdKNEHAIYrensP+tN8SW6xY3kRn07xkJj9 5MXHZNPdEInv27ldEucllw3RikdWf/MbBwLpwBhtVo44TMhq4hFbPNjHQDpUc6UXBzz/ rv1w== Return-Path: Received: from [192.168.0.16] ([69.47.131.109]) by smtp.gmail.com with ESMTPSA id m13-v6sm2567669itm.40.2018.08.17.20.47.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 20:47:37 -0700 (PDT) Subject: Re: scrolling through history in cygwin terminal window line gets garbled To: cygwin@cygwin.com References: <8098c8d2-38ab-0fc0-5eea-8d7009b821e8@towo.net> <5b7773eb.1c69fb81.5d9c7.2e20@mx.google.com> From: cyg Simple Openpgp: preference=signencrypt Message-ID: <9ee31df5-32e2-22a5-1716-82bc150e6e3e@gmail.com> Date: Sat, 18 Aug 2018 14:17:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <5b7773eb.1c69fb81.5d9c7.2e20@mx.google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00246.txt.bz2 On 8/17/2018 9:18 PM, Steven Penny wrote: > On Fri, 17 Aug 2018 16:36:57, Thomas Wolff wrote: >> Please test the following: >> * Set you prompt to some basic string, e.g. PS1=%. Does that change >> anything? >> * Mintty 2.7.5 changed the default wraparound behaviour to become >> compatible with the xterm default. With setting -o OldWrapModes=true, >> does that change anything? >> * Can you cross-test this in xterm? >> * Does it happen in a freshly-started mintty? If it only happens >> later, which programs did you run in the meantime? >> * Make a screen log demonstrating a minimal test case, please. > > This bug has bothered me for years, I would love to see it fixed. Here is a > simple test case: > >    $ cat ~/.bash_history >    echo ABCDEF ABCDEF ABCDEF ABCDEF >    echo 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 > > Result: > >    $ echo ABCDEF ABCDEF ABCDEF ABCDEF        234 > > What I tried: > > 1. PS1=% > 2. "TERM" with no "am" or "bw" > 3. "TERM" with both "am" and "bw" > 4. "TERM" with "am" only (couldnt find one with "bw" only) > > If you have a custom terminal that this works with - provide the "infocmp" > output and I will try it. Note that I am not using Mintty, I am just using > sh.exe and conhost.exe, so it seems that mintty is not the culprit but > perhaps > Cygwin DLL or Readline. > Sorry, I can't duplicate this. I even tried with conhost and bash -il in the window and just don't see an issue. My TERM value is xterm and the data comes from the file /usr/share/terminfo/78/xterm. -- cyg Simple -- 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