delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/14/16:09:39

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=lC/3LHLIeXHndiv12nZ1qTl3o4PZ
Uy9jA5JTUrragEEEpM9Fap1ywRkmLBG8lz8jcfOX3FnRkD0cs9kv4TdEZ5EUKs4H
dQahBgOFHjvUrl6w2bng5BVjYmSyC+GOQxgzgmwTJKusMz0yKCcuzoPNiSJyytO5
WPf/M4wIkVuosE4=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=iYc9sTvuhB/UnxnY5d14gvG9uig=; b=kJ
dG9GI7RLBk6RtpPotSzNfKXX2W0iw1UC6IuKOKW5L4Hvqnn+XizQpxXWhJHZnhz0
GntGruWsy62elUKgKBlu7CInuodZu3gUwPrUJJTbocxoFQ6u905dB3VulNyt9Rmh
VaKGgMcDz1EZNZWm6SjgO32cBEB1t5kptcSWwHgN8=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
Subject: Re: Cygwin terminal weirdness
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <91152470.20150913213611@yandex.ru>
Date: Mon, 14 Sep 2015 14:09:18 -0600
Message-Id: <7AF4498C-6FE4-4541-9CAD-03EC3D867D72@etr-usa.com>
References: <91152470 DOT 20150913213611 AT yandex DOT ru>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t8EK9ZQl018437

On Sep 13, 2015, at 12:36 PM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
> 
> Call "man" on a sufficiently long topic. man bash would be quite sufficient.
> Or just `less` a long enough text.
> Hold down "End" key.
> The screen buffer will jump and tear repeatedly, until you release the key.

That sounds like a video card performance issue, not a Cygwin, mintty, or less issue.

I just tried it here on a VM hosted on a box with an NVIDIA GeForce GTX 680MX GPU, and all I saw was normal redrawing, with scarcely any tearing.  That chip is about 3 years old, which probably still outperforms any current CPU-integrated GPU.

There are some small mitigations that might help.

One would be to convince the maintainers of less to be smarter about repainting the whole screen when it isn’t necessary.  But given that they haven’t fixed the horizontal scrolling bug in the ~20 years I’ve been using it, I wouldn’t hold out hope on that front.

Another would be to make mintty double-buffer its screen, if it doesn’t already.  That won’t help with the clear-screen call less is currently making, but it might reduce the tearing effect.

The same thing is happening with something like “ls -lR /“.  The only difference is that you can easily see what’s going on in the “man bash” case, since the content remains static.

Another way to see it is “vim /etc/sshd_config”, then hold down Ctrl-L.
--
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