From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24262 invoked by alias); 14 Sep 2015 20:09:24 -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 24250 invoked by uid 89); 14 Sep 2015 20:09:23 -0000 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 Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Sep 2015 20:09:21 +0000 Received: (qmail 88272 invoked by uid 13447); 14 Sep 2015 20:09:19 -0000 Received: from unknown (HELO polypore.west.etr-usa.com) ([73.26.17.49]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Sep 2015 20:09:19 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Cygwin terminal weirdness From: Warren Young In-Reply-To: <91152470.20150913213611@yandex.ru> Date: Mon, 14 Sep 2015 20:09:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <7AF4498C-6FE4-4541-9CAD-03EC3D867D72@etr-usa.com> References: <91152470.20150913213611@yandex.ru> To: cygwin@cygwin.com X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00228.txt.bz2 On Sep 13, 2015, at 12:36 PM, Andrey Repin wrote: >=20 > Call "man" on a sufficiently long topic. man bash would be quite sufficie= nt. > Or just `less` a long enough text. > Hold down "End" key. > The screen buffer will jump and tear repeatedly, until you release the ke= y. That sounds like a video card performance issue, not a Cygwin, mintty, or l= ess issue. I just tried it here on a VM hosted on a box with an NVIDIA GeForce GTX 680= MX GPU, and all I saw was normal redrawing, with scarcely any tearing. Tha= t chip is about 3 years old, which probably still outperforms any current C= PU-integrated GPU. There are some small mitigations that might help. One would be to convince the maintainers of less to be smarter about repain= ting the whole screen when it isn=E2=80=99t necessary. But given that they= haven=E2=80=99t fixed the horizontal scrolling bug in the ~20 years I=E2= =80=99ve been using it, I wouldn=E2=80=99t hold out hope on that front. Another would be to make mintty double-buffer its screen, if it doesn=E2=80= =99t already. That won=E2=80=99t help with the clear-screen call less is c= urrently making, but it might reduce the tearing effect. The same thing is happening with something like =E2=80=9Cls -lR /=E2=80=9C.= The only difference is that you can easily see what=E2=80=99s going on in= the =E2=80=9Cman bash=E2=80=9D case, since the content remains static. Another way to see it is =E2=80=9Cvim /etc/sshd_config=E2=80=9D, 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