delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/17/21:18:52

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:message-id:date:from:subject:to:references
:content-type; q=dns; s=default; b=KRVKDUusO/2fwJnws6Mh7+qvYKlpD
sn/BZE33KefmEl45b7A9FAR8hOfLxsbPo44f/qzZ8ze0ale/CuBGeS+QpSrk+QPS
PGIGKJjJvnbL+RPjAggECkNBr+fUinmStO2sLTmZQduKx23ngM63AkjZLQJZke8B
IyzmoD4XUmtYbw=
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:message-id:date:from:subject:to:references
:content-type; s=default; bh=wRx5pDWUZ4PdUurdRh1tur4QdmE=; b=qbq
v+UlvTAaFPOXUppt6VXIIR8xHXt/VL2HaWhnsPQX85YYIdu/MawPVX76Eg3/Q7Al
O4RcYn38CiSjTmSdVaUvF0PuGyB+zd03EUXJTz7bExEljwU5LI3Ckw9V/TIWGRxe
L3W0ZVyw7pFtfLMzrDKaNJwjjOTDUgyXVVAGc99g=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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
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==
Message-ID: <5b7773eb.1c69fb81.5d9c7.2e20@mx.google.com>
Date: Fri, 17 Aug 2018 18:18:35 -0700 (PDT)
From: Steven Penny <svnpenn AT gmail DOT com>
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>
User-Agent: Tryst/2.8.0 (cup.github.io/tryst)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019