From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66236 invoked by alias); 18 Aug 2018 01:18:40 -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 65818 invoked by uid 89); 18 Aug 2018 01:18:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=scrolling, Wolff, wolff, H*M:1c69fb81 X-HELO: mail-oi0-f44.google.com Received: from mail-oi0-f44.google.com (HELO mail-oi0-f44.google.com) (209.85.218.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 18 Aug 2018 01:18:38 +0000 Received: by mail-oi0-f44.google.com with SMTP id s198-v6so17008990oih.11 for ; Fri, 17 Aug 2018 18:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:subject:to:references:user-agent; bh=sDNwGNdVknfHvIGIhvXYJcaBApps2mIM4Wd+38pu0OM=; b=XWICwo/7GbCEtpR4LkksvrW5BTPSKTWwe3UyO0ClFxi6X4OmNmexkoOWaoV66ELvVa wib4bCabOwh3TcFguGQZCK7v0rlcRDdjkyGhbsJrm/5eGwMXGrPVaXFNy6nD1SeVetoh cdeyMF8qzYy2AHO3KLQbpLgQRObKJQ0sYMJ3BiObzR1WZkvpbYvTBUHv94oFYUtDn2KU q8ytQVlH4N9Cw/RKYNbHOzWuaMdthssJ30A6bjg9b+0hUD41RUFCLWoXrPNTB7ynr/FW MXhE6wpJjwTJfkbDVyDvPzbIsg9dnA60tvpdTU5MoyIHeDO6tcTDaeUAshk+54cQMk6C wLqA== Return-Path: Received: from 46I ([2605:6000:9fc0:56:cc81:ec52:ab35:2fe4]) by smtp.gmail.com with ESMTPSA id q204-v6sm3031663oih.49.2018.08.17.18.18.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Aug 2018 18:18:35 -0700 (PDT) Message-ID: <5b7773eb.1c69fb81.5d9c7.2e20@mx.google.com> Date: Sat, 18 Aug 2018 12:36:00 -0000 From: Steven Penny Subject: Re: scrolling through history in cygwin terminal window line gets garbled To: cygwin@cygwin.com References: <8098c8d2-38ab-0fc0-5eea-8d7009b821e8@towo.net> Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/tryst) X-SW-Source: 2018-08/txt/msg00244.txt.bz2 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. -- 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