X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Lul3wxeLM0THfyOH FXD28fjuXGMiLe8sUUZ97XAoGT5PbbFUAYDevRp7rlYX49hg1G1z6ryroQpQHFRX U5ZhIRSScWTcbO3OyxsHiota8kuindo+JvqWkD0+Iw0tGYQpfS85NP5URYAyFQXs D0vGEDIS3J9ORKt7g4dmEzwfpjk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=fpb522u1Qp6EtBV1+AfZtZ 7HW8A=; b=LnZHYHtHDHAxDh5hNXEwKCmywMUPxl/WcflbfRYX5RViPbKaV51ZgA /rJEdsCNajrC/8UBQ0waqGHFp2s2/hm/Zg1j5hTZRgcTrk9KKD4xVHIk7kiWB3xA TLp+PtjvbZkNLQjvtSdauHHUEnC96HcmABgs76Rh0TZpFc9n70Iuc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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== Subject: Re: scrolling through history in cygwin terminal window line gets garbled To: cygwin AT cygwin DOT com References: <8098c8d2-38ab-0fc0-5eea-8d7009b821e8 AT towo DOT net> <5b7773eb DOT 1c69fb81 DOT 5d9c7 DOT 2e20 AT mx DOT google DOT com> From: cyg Simple Openpgp: preference=signencrypt Message-ID: <9ee31df5-32e2-22a5-1716-82bc150e6e3e@gmail.com> Date: Fri, 17 Aug 2018 23:47:33 -0400 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 Note-from-DJ: This may be spam 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